[−]Struct jni_android_sys::android::view::inputmethod::InputMethodSession
public interface InputMethodSession
Required feature: android-view-inputmethod-InputMethodSession
Methods
impl InputMethodSession
pub fn finish_input<'env>(&'env self) -> Result<()>
[src]
pub fn update_selection<'env>(
&'env self,
arg0: i32,
arg1: i32,
arg2: i32,
arg3: i32,
arg4: i32,
arg5: i32
) -> Result<()>
[src]
&'env self,
arg0: i32,
arg1: i32,
arg2: i32,
arg3: i32,
arg4: i32,
arg5: i32
) -> Result<()>
pub fn view_clicked<'env>(&'env self, arg0: bool) -> Result<()>
[src]
pub fn update_cursor<'env>(
&'env self,
arg0: impl Into<Option<&'env Rect>>
) -> Result<()>
[src]
&'env self,
arg0: impl Into<Option<&'env Rect>>
) -> Result<()>
Required features: "android-graphics-Rect"
pub fn update_extracted_text<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env ExtractedText>>
) -> Result<()>
[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env ExtractedText>>
) -> Result<()>
Required features: "android-view-inputmethod-ExtractedText"
pub fn dispatch_key_event<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env KeyEvent>>,
arg2: impl Into<Option<&'env InputMethodSession_EventCallback>>
) -> Result<()>
[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env KeyEvent>>,
arg2: impl Into<Option<&'env InputMethodSession_EventCallback>>
) -> Result<()>
Required features: "android-view-KeyEvent", "android-view-inputmethod-InputMethodSession_EventCallback"
pub fn dispatch_trackball_event<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env MotionEvent>>,
arg2: impl Into<Option<&'env InputMethodSession_EventCallback>>
) -> Result<()>
[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env MotionEvent>>,
arg2: impl Into<Option<&'env InputMethodSession_EventCallback>>
) -> Result<()>
Required features: "android-view-MotionEvent", "android-view-inputmethod-InputMethodSession_EventCallback"
pub fn dispatch_generic_motion_event<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env MotionEvent>>,
arg2: impl Into<Option<&'env InputMethodSession_EventCallback>>
) -> Result<()>
[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env MotionEvent>>,
arg2: impl Into<Option<&'env InputMethodSession_EventCallback>>
) -> Result<()>
Required features: "android-view-MotionEvent", "android-view-inputmethod-InputMethodSession_EventCallback"
pub fn app_private_command<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env Bundle>>
) -> Result<()>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env Bundle>>
) -> Result<()>
Required features: "android-os-Bundle", "java-lang-String"
pub fn toggle_soft_input<'env>(&'env self, arg0: i32, arg1: i32) -> Result<()>
[src]
pub fn update_cursor_anchor_info<'env>(
&'env self,
arg0: impl Into<Option<&'env CursorAnchorInfo>>
) -> Result<()>
[src]
&'env self,
arg0: impl Into<Option<&'env CursorAnchorInfo>>
) -> Result<()>
Required features: "android-view-inputmethod-CursorAnchorInfo"
Methods from Deref<Target = Object>
pub fn get_class<'env>(&'env self) -> Result<Option<Local<'env, Class>>>
[src]
Required features: "java-lang-Class"
pub fn hash_code<'env>(&'env self) -> Result<i32>
[src]
pub fn equals<'env>(
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool>
[src]
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool>
Required features: "java-lang-Object"
pub fn to_string<'env>(&'env self) -> Result<Option<Local<'env, String>>>
[src]
Required features: "java-lang-String"
pub fn notify<'env>(&'env self) -> Result<()>
[src]
pub fn notify_all<'env>(&'env self) -> Result<()>
[src]
pub fn wait_long<'env>(&'env self, arg0: i64) -> Result<()>
[src]
pub fn wait_long_int<'env>(&'env self, arg0: i64, arg1: i32) -> Result<()>
[src]
pub fn wait<'env>(&'env self) -> Result<()>
[src]
Trait Implementations
impl AsRef<InputMethodSession> for AbstractInputMethodService_AbstractInputMethodSessionImpl
fn as_ref(&self) -> &InputMethodSession
impl Deref for InputMethodSession
impl AsValidJObjectAndEnv for InputMethodSession
impl AsJValue for InputMethodSession
Auto Trait Implementations
impl !Sync for InputMethodSession
impl Unpin for InputMethodSession
impl !Send for InputMethodSession
impl UnwindSafe for InputMethodSession
impl RefUnwindSafe for InputMethodSession
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
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> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,