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

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

public class InputConnectionWrapper

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

Methods

impl InputConnectionWrapper

pub fn new<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env InputConnection>>,
    arg1: bool
) -> Result<Local<'env, InputConnectionWrapper>, Local<'env, Throwable>>
[src]

InputConnectionWrapper

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

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

setTarget

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

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

getTextBeforeCursor

Required features: "java-lang-CharSequence"

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

getTextAfterCursor

Required features: "java-lang-CharSequence"

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

getSelectedText

Required features: "java-lang-CharSequence"

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

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

getExtractedText

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

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

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

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

setComposingText

Required features: "java-lang-CharSequence"

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

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

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

commitText

Required features: "java-lang-CharSequence"

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

commitCompletion

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

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

commitCorrection

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

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

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

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

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

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

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

sendKeyEvent

Required features: "android-view-KeyEvent"

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

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

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

performPrivateCommand

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

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

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

getHandler

Required features: "android-os-Handler"

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

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

commitContent

Required features: "android-os-Bundle", "android-view-inputmethod-InputContentInfo"

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 InputConnectionWrapper

impl AsRef<InputConnection> for InputConnectionWrapper

impl AsValidJObjectAndEnv for InputConnectionWrapper

impl Deref for InputConnectionWrapper

type Target = Object

The resulting type after dereferencing.

impl JniType for InputConnectionWrapper

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.