[−]Struct jni_android_sys::android::view::inputmethod::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]
&'env self,
arg0: impl Into<Option<&'env IBinder>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-os-IBinder"
pub fn bindInput<'env>(
&'env self,
arg0: impl Into<Option<&'env InputBinding>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env InputBinding>>
) -> Result<(), Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env InputConnection>>,
arg1: impl Into<Option<&'env EditorInfo>>
) -> Result<(), Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env InputConnection>>,
arg1: impl Into<Option<&'env EditorInfo>>
) -> Result<(), Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env InputMethod_SessionCallback>>
) -> Result<(), Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env InputMethodSession>>,
arg1: bool
) -> Result<(), Local<'env, Throwable>>
Required features: "android-view-inputmethod-InputMethodSession"
pub fn revokeSession<'env>(
&'env self,
arg0: impl Into<Option<&'env InputMethodSession>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env InputMethodSession>>
) -> Result<(), Local<'env, Throwable>>
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]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env ResultReceiver>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-os-ResultReceiver"
pub fn hideSoftInput<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env ResultReceiver>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env ResultReceiver>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-os-ResultReceiver"
pub fn changeInputMethodSubtype<'env>(
&'env self,
arg0: impl Into<Option<&'env InputMethodSubtype>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env InputMethodSubtype>>
) -> Result<(), Local<'env, Throwable>>
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]
&'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 InputMethod
impl AsRef<InputMethod> for AbstractInputMethodService_AbstractInputMethodImpl
fn as_ref(&self) -> &InputMethod
impl AsValidJObjectAndEnv for InputMethod
impl Deref for InputMethod
impl JniType for InputMethod
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for InputMethod
impl !Send for InputMethod
impl !Sync for InputMethod
impl Unpin for InputMethod
impl UnwindSafe for InputMethod
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>,