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

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

public final class InputMethodManager

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

Methods

impl InputMethodManager

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

getInputMethodList

Required features: "java-util-List"

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

getEnabledInputMethodList

Required features: "java-util-List"

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

getEnabledInputMethodSubtypeList

Required features: "android-view-inputmethod-InputMethodInfo", "java-util-List"

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

Deprecated

showStatusIcon

Required features: "android-os-IBinder", "java-lang-String"

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

Deprecated

hideStatusIcon

Required features: "android-os-IBinder"

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

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

isActive

Required features: "android-view-View"

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

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

pub fn displayCompletions<'env>(
    &'env self,
    arg0: impl Into<Option<&'env View>>,
    arg1: impl Into<Option<&'env ObjectArray<CompletionInfo, Throwable>>>
) -> Result<(), Local<'env, Throwable>>
[src]

displayCompletions

Required features: "android-view-View", "android-view-inputmethod-CompletionInfo"

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

updateExtractedText

Required features: "android-view-View", "android-view-inputmethod-ExtractedText"

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

showSoftInput

Required features: "android-view-View"

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

showSoftInput

Required features: "android-os-ResultReceiver", "android-view-View"

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

hideSoftInputFromWindow

Required features: "android-os-IBinder"

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

hideSoftInputFromWindow

Required features: "android-os-IBinder", "android-os-ResultReceiver"

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

toggleSoftInputFromWindow

Required features: "android-os-IBinder"

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

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

restartInput

Required features: "android-view-View"

pub fn updateSelection<'env>(
    &'env self,
    arg0: impl Into<Option<&'env View>>,
    arg1: i32,
    arg2: i32,
    arg3: i32,
    arg4: i32
) -> Result<(), Local<'env, Throwable>>
[src]

updateSelection

Required features: "android-view-View"

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

viewClicked

Required features: "android-view-View"

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

Deprecated

isWatchingCursor

Required features: "android-view-View"

pub fn updateCursor<'env>(
    &'env self,
    arg0: impl Into<Option<&'env View>>,
    arg1: i32,
    arg2: i32,
    arg3: i32,
    arg4: i32
) -> Result<(), Local<'env, Throwable>>
[src]

Deprecated

updateCursor

Required features: "android-view-View"

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

updateCursorAnchorInfo

Required features: "android-view-View", "android-view-inputmethod-CursorAnchorInfo"

pub fn sendAppPrivateCommand<'env>(
    &'env self,
    arg0: impl Into<Option<&'env View>>,
    arg1: impl Into<Option<&'env String>>,
    arg2: impl Into<Option<&'env Bundle>>
) -> Result<(), Local<'env, Throwable>>
[src]

sendAppPrivateCommand

Required features: "android-os-Bundle", "android-view-View", "java-lang-String"

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

Deprecated

setInputMethod

Required features: "android-os-IBinder", "java-lang-String"

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

Deprecated

setInputMethodAndSubtype

Required features: "android-os-IBinder", "android-view-inputmethod-InputMethodSubtype", "java-lang-String"

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

Deprecated

hideSoftInputFromInputMethod

Required features: "android-os-IBinder"

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

Deprecated

showSoftInputFromInputMethod

Required features: "android-os-IBinder"

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

dispatchKeyEventFromInputMethod

Required features: "android-view-KeyEvent", "android-view-View"

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

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

showInputMethodAndSubtypeEnabler

Required features: "java-lang-String"

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

getCurrentInputMethodSubtype

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

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

setCurrentInputMethodSubtype

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

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

getShortcutInputMethodsAndSubtypes

Required features: "java-util-Map"

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

Deprecated

switchToLastInputMethod

Required features: "android-os-IBinder"

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

Deprecated

switchToNextInputMethod

Required features: "android-os-IBinder"

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

Deprecated

shouldOfferSwitchingToNextInputMethod

Required features: "android-os-IBinder"

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

setAdditionalInputMethodSubtypes

Required features: "android-view-inputmethod-InputMethodSubtype", "java-lang-String"

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

getLastInputMethodSubtype

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

pub const HIDE_IMPLICIT_ONLY: i32[src]

public static final HIDE_IMPLICIT_ONLY

pub const HIDE_NOT_ALWAYS: i32[src]

public static final HIDE_NOT_ALWAYS

pub const RESULT_HIDDEN: i32[src]

public static final RESULT_HIDDEN

pub const RESULT_SHOWN: i32[src]

public static final RESULT_SHOWN

pub const RESULT_UNCHANGED_HIDDEN: i32[src]

public static final RESULT_UNCHANGED_HIDDEN

pub const RESULT_UNCHANGED_SHOWN: i32[src]

public static final RESULT_UNCHANGED_SHOWN

pub const SHOW_FORCED: i32[src]

public static final SHOW_FORCED

pub const SHOW_IMPLICIT: i32[src]

public static final SHOW_IMPLICIT

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 InputMethodManager

impl AsValidJObjectAndEnv for InputMethodManager

impl Deref for InputMethodManager

type Target = Object

The resulting type after dereferencing.

impl JniType for InputMethodManager

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.