[]Struct jni_android_sys::android::inputmethodservice::InputMethodService_InputMethodImpl

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

public class InputMethodService.InputMethodImpl

Required feature: "android-inputmethodservice-InputMethodService_InputMethodImpl"

Methods

impl InputMethodService_InputMethodImpl

pub fn new<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env InputMethodService>>
) -> Result<Local<'env, InputMethodService_InputMethodImpl>, Local<'env, Throwable>>
[src]

InputMethodImpl

Required features: "android-inputmethodservice-InputMethodService"

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 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 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 changeInputMethodSubtype<'env>(
    &'env self,
    arg0: impl Into<Option<&'env InputMethodSubtype>>
) -> Result<(), Local<'env, Throwable>>
[src]

changeInputMethodSubtype

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

Methods from Deref<Target = AbstractInputMethodService_AbstractInputMethodImpl>

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"

Trait Implementations

impl AsJValue for InputMethodService_InputMethodImpl

impl AsValidJObjectAndEnv for InputMethodService_InputMethodImpl

impl Deref for InputMethodService_InputMethodImpl

type Target = AbstractInputMethodService_AbstractInputMethodImpl

The resulting type after dereferencing.

impl JniType for InputMethodService_InputMethodImpl

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.