[]Struct jni_android_sys::android::view::inputmethod::InputMethod

#[repr(transparent)]
pub struct InputMethod(_);

public interface InputMethod

Required feature: "android-view-inputmethod-InputMethod"

Methods

impl InputMethod

pub fn attachToken<'env>(
    &'env self,
    arg0: impl Into<Option<&'env IBinder>>
) -> Result<(), Local<'env, Throwable>>
[src]

attachToken

Required features: "android-os-IBinder"

pub fn bindInput<'env>(
    &'env self,
    arg0: impl Into<Option<&'env InputBinding>>
) -> Result<(), Local<'env, Throwable>>
[src]

bindInput

Required features: "android-view-inputmethod-InputBinding"

pub fn unbindInput<'env>(&'env self) -> Result<(), Local<'env, Throwable>>[src]

pub fn startInput<'env>(
    &'env self,
    arg0: impl Into<Option<&'env InputConnection>>,
    arg1: impl Into<Option<&'env EditorInfo>>
) -> Result<(), Local<'env, Throwable>>
[src]

startInput

Required features: "android-view-inputmethod-EditorInfo", "android-view-inputmethod-InputConnection"

pub fn restartInput<'env>(
    &'env self,
    arg0: impl Into<Option<&'env InputConnection>>,
    arg1: impl Into<Option<&'env EditorInfo>>
) -> Result<(), Local<'env, Throwable>>
[src]

restartInput

Required features: "android-view-inputmethod-EditorInfo", "android-view-inputmethod-InputConnection"

pub fn createSession<'env>(
    &'env self,
    arg0: impl Into<Option<&'env InputMethod_SessionCallback>>
) -> Result<(), Local<'env, Throwable>>
[src]

createSession

Required features: "android-view-inputmethod-InputMethod_SessionCallback"

pub fn setSessionEnabled<'env>(
    &'env self,
    arg0: impl Into<Option<&'env InputMethodSession>>,
    arg1: bool
) -> Result<(), Local<'env, Throwable>>
[src]

setSessionEnabled

Required features: "android-view-inputmethod-InputMethodSession"

pub fn revokeSession<'env>(
    &'env self,
    arg0: impl Into<Option<&'env InputMethodSession>>
) -> Result<(), Local<'env, Throwable>>
[src]

revokeSession

Required features: "android-view-inputmethod-InputMethodSession"

pub fn showSoftInput<'env>(
    &'env self,
    arg0: i32,
    arg1: impl Into<Option<&'env ResultReceiver>>
) -> Result<(), Local<'env, Throwable>>
[src]

showSoftInput

Required features: "android-os-ResultReceiver"

pub fn hideSoftInput<'env>(
    &'env self,
    arg0: i32,
    arg1: impl Into<Option<&'env ResultReceiver>>
) -> Result<(), Local<'env, Throwable>>
[src]

hideSoftInput

Required features: "android-os-ResultReceiver"

pub fn changeInputMethodSubtype<'env>(
    &'env self,
    arg0: impl Into<Option<&'env InputMethodSubtype>>
) -> Result<(), Local<'env, Throwable>>
[src]

changeInputMethodSubtype

Required features: "android-view-inputmethod-InputMethodSubtype"

pub const SERVICE_INTERFACE: &'static str[src]

public static final SERVICE_INTERFACE

pub const SERVICE_META_DATA: &'static str[src]

public static final SERVICE_META_DATA

pub const SHOW_EXPLICIT: i32[src]

public static final SHOW_EXPLICIT

pub const SHOW_FORCED: i32[src]

public static final SHOW_FORCED

Methods from Deref<Target = Object>

pub fn getClass<'env>(
    &'env self
) -> Result<Option<Local<'env, Class>>, Local<'env, Throwable>>
[src]

getClass

Required features: "java-lang-Class"

pub fn hashCode<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>[src]

pub fn equals<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Object>>
) -> Result<bool, Local<'env, Throwable>>
[src]

equals

Required features: "java-lang-Object"

pub fn toString<'env>(
    &'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

toString

Required features: "java-lang-String"

pub fn notify<'env>(&'env self) -> Result<(), Local<'env, Throwable>>[src]

pub fn notifyAll<'env>(&'env self) -> Result<(), Local<'env, Throwable>>[src]

pub fn wait_long<'env>(
    &'env self,
    arg0: i64
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn wait_long_int<'env>(
    &'env self,
    arg0: i64,
    arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn wait<'env>(&'env self) -> Result<(), Local<'env, Throwable>>[src]

Trait Implementations

impl AsJValue for InputMethod

impl AsRef<InputMethod> for AbstractInputMethodService_AbstractInputMethodImpl

impl AsValidJObjectAndEnv for InputMethod

impl Deref for InputMethod

type Target = Object

The resulting type after dereferencing.

impl JniType for InputMethod

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.