[−]Struct jni_android_sys::android::view::inputmethod::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]
&'env self
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
Required features: "java-util-List"
pub fn getEnabledInputMethodList<'env>(
&'env self
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env InputMethodInfo>>,
arg1: bool
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env IBinder>>,
arg1: impl Into<Option<&'env String>>,
arg2: i32
) -> Result<(), Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env IBinder>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-os-IBinder"
pub fn isFullscreenMode<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn isActive_View<'env>(
&'env self,
arg0: impl Into<Option<&'env View>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env View>>
) -> Result<bool, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: impl Into<Option<&'env ObjectArray<CompletionInfo, Throwable>>>
) -> Result<(), Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: i32,
arg2: impl Into<Option<&'env ExtractedText>>
) -> Result<(), Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: i32
) -> Result<bool, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: i32,
arg2: impl Into<Option<&'env ResultReceiver>>
) -> Result<bool, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env IBinder>>,
arg1: i32
) -> Result<bool, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env IBinder>>,
arg1: i32,
arg2: impl Into<Option<&'env ResultReceiver>>
) -> Result<bool, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env IBinder>>,
arg1: i32,
arg2: i32
) -> Result<(), Local<'env, Throwable>>
Required features: "android-os-IBinder"
pub fn toggleSoftInput<'env>(
&'env self,
arg0: i32,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
pub fn restartInput<'env>(
&'env self,
arg0: impl Into<Option<&'env View>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env View>>
) -> Result<(), Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: i32,
arg2: i32,
arg3: i32,
arg4: i32
) -> Result<(), Local<'env, Throwable>>
Required features: "android-view-View"
pub fn viewClicked<'env>(
&'env self,
arg0: impl Into<Option<&'env View>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env View>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-view-View"
pub fn isWatchingCursor<'env>(
&'env self,
arg0: impl Into<Option<&'env View>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env View>>
) -> Result<bool, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: i32,
arg2: i32,
arg3: i32,
arg4: i32
) -> Result<(), Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: impl Into<Option<&'env CursorAnchorInfo>>
) -> Result<(), Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env Bundle>>
) -> Result<(), Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env IBinder>>,
arg1: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env IBinder>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env InputMethodSubtype>>
) -> Result<(), Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env IBinder>>,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
Required features: "android-os-IBinder"
pub fn showSoftInputFromInputMethod<'env>(
&'env self,
arg0: impl Into<Option<&'env IBinder>>,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env IBinder>>,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: impl Into<Option<&'env KeyEvent>>
) -> Result<(), Local<'env, Throwable>>
dispatchKeyEventFromInputMethod
Required features: "android-view-KeyEvent", "android-view-View"
pub fn showInputMethodPicker<'env>(
&'env self
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self
) -> Result<(), Local<'env, Throwable>>
pub fn showInputMethodAndSubtypeEnabler<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
showInputMethodAndSubtypeEnabler
Required features: "java-lang-String"
pub fn getCurrentInputMethodSubtype<'env>(
&'env self
) -> Result<Option<Local<'env, InputMethodSubtype>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, InputMethodSubtype>>, Local<'env, Throwable>>
Required features: "android-view-inputmethod-InputMethodSubtype"
pub fn setCurrentInputMethodSubtype<'env>(
&'env self,
arg0: impl Into<Option<&'env InputMethodSubtype>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env InputMethodSubtype>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-view-inputmethod-InputMethodSubtype"
pub fn getShortcutInputMethodsAndSubtypes<'env>(
&'env self
) -> Result<Option<Local<'env, Map>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Map>>, Local<'env, Throwable>>
getShortcutInputMethodsAndSubtypes
Required features: "java-util-Map"
pub fn switchToLastInputMethod<'env>(
&'env self,
arg0: impl Into<Option<&'env IBinder>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env IBinder>>
) -> Result<bool, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env IBinder>>,
arg1: bool
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-os-IBinder"
pub fn shouldOfferSwitchingToNextInputMethod<'env>(
&'env self,
arg0: impl Into<Option<&'env IBinder>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env IBinder>>
) -> Result<bool, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env ObjectArray<InputMethodSubtype, Throwable>>>
) -> Result<(), Local<'env, Throwable>>
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]
&'env self
) -> Result<Option<Local<'env, InputMethodSubtype>>, Local<'env, Throwable>>
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]
&'env self
) -> Result<Option<Local<'env, Class>>, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "java-lang-Object"
pub fn toString<'env>(
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
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]
&'env self,
arg0: i64
) -> Result<(), Local<'env, Throwable>>
pub fn wait_long_int<'env>(
&'env self,
arg0: i64,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i64,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
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
impl JniType for InputMethodManager
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for InputMethodManager
impl !Send for InputMethodManager
impl !Sync for InputMethodManager
impl Unpin for InputMethodManager
impl UnwindSafe for InputMethodManager
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,