[−]Struct jni_android_sys::android::inputmethodservice::InputMethodService_InputMethodSessionImpl
public class InputMethodService.InputMethodSessionImpl
Required feature: "android-inputmethodservice-InputMethodService_InputMethodSessionImpl"
Methods
impl InputMethodService_InputMethodSessionImpl
pub fn new<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env InputMethodService>>
) -> Result<Local<'env, InputMethodService_InputMethodSessionImpl>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env InputMethodService>>
) -> Result<Local<'env, InputMethodService_InputMethodSessionImpl>, Local<'env, Throwable>>
Required features: "android-inputmethodservice-InputMethodService"
pub fn finishInput<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn displayCompletions<'env>(
&'env self,
arg0: impl Into<Option<&'env ObjectArray<CompletionInfo, Throwable>>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ObjectArray<CompletionInfo, Throwable>>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-view-inputmethod-CompletionInfo"
pub fn updateExtractedText<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env ExtractedText>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env ExtractedText>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-view-inputmethod-ExtractedText"
pub fn updateSelection<'env>(
&'env self,
arg0: i32,
arg1: i32,
arg2: i32,
arg3: i32,
arg4: i32,
arg5: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: i32,
arg2: i32,
arg3: i32,
arg4: i32,
arg5: i32
) -> Result<(), Local<'env, Throwable>>
pub fn viewClicked<'env>(
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
pub fn updateCursor<'env>(
&'env self,
arg0: impl Into<Option<&'env Rect>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Rect>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-graphics-Rect"
pub fn appPrivateCommand<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env Bundle>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env Bundle>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-os-Bundle", "java-lang-String"
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 updateCursorAnchorInfo<'env>(
&'env self,
arg0: impl Into<Option<&'env CursorAnchorInfo>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env CursorAnchorInfo>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-view-inputmethod-CursorAnchorInfo"
Methods from Deref<Target = AbstractInputMethodService_AbstractInputMethodSessionImpl>
pub fn isEnabled<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>
[src]
pub fn isRevoked<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>
[src]
pub fn setEnabled<'env>(
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
pub fn revokeSelf<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn dispatchKeyEvent<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env KeyEvent>>,
arg2: impl Into<Option<&'env InputMethodSession_EventCallback>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env KeyEvent>>,
arg2: impl Into<Option<&'env InputMethodSession_EventCallback>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-view-KeyEvent", "android-view-inputmethod-InputMethodSession_EventCallback"
pub fn dispatchTrackballEvent<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env MotionEvent>>,
arg2: impl Into<Option<&'env InputMethodSession_EventCallback>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env MotionEvent>>,
arg2: impl Into<Option<&'env InputMethodSession_EventCallback>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-view-MotionEvent", "android-view-inputmethod-InputMethodSession_EventCallback"
pub fn dispatchGenericMotionEvent<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env MotionEvent>>,
arg2: impl Into<Option<&'env InputMethodSession_EventCallback>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env MotionEvent>>,
arg2: impl Into<Option<&'env InputMethodSession_EventCallback>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-view-MotionEvent", "android-view-inputmethod-InputMethodSession_EventCallback"
Trait Implementations
impl AsJValue for InputMethodService_InputMethodSessionImpl
impl AsValidJObjectAndEnv for InputMethodService_InputMethodSessionImpl
impl Deref for InputMethodService_InputMethodSessionImpl
type Target = AbstractInputMethodService_AbstractInputMethodSessionImpl
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
impl JniType for InputMethodService_InputMethodSessionImpl
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for InputMethodService_InputMethodSessionImpl
impl !Send for InputMethodService_InputMethodSessionImpl
impl !Sync for InputMethodService_InputMethodSessionImpl
impl Unpin for InputMethodService_InputMethodSessionImpl
impl UnwindSafe for InputMethodService_InputMethodSessionImpl
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>,