[]Struct jni_android_sys::android::text::method::QwertyKeyListener

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

public class QwertyKeyListener

Required feature: "android-text-method-QwertyKeyListener"

Methods

impl QwertyKeyListener

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

QwertyKeyListener

Required features: "android-text-method-TextKeyListener_Capitalize"

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

getInstance

Required features: "android-text-method-QwertyKeyListener", "android-text-method-TextKeyListener_Capitalize"

pub fn getInstanceForFullKeyboard<'env>(
    __jni_env: &'env Env
) -> Result<Option<Local<'env, QwertyKeyListener>>, Local<'env, Throwable>>
[src]

getInstanceForFullKeyboard

Required features: "android-text-method-QwertyKeyListener"

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

pub fn onKeyDown<'env>(
    &'env self,
    arg0: impl Into<Option<&'env View>>,
    arg1: impl Into<Option<&'env Editable>>,
    arg2: i32,
    arg3: impl Into<Option<&'env KeyEvent>>
) -> Result<bool, Local<'env, Throwable>>
[src]

onKeyDown

Required features: "android-text-Editable", "android-view-KeyEvent", "android-view-View"

pub fn markAsReplaced<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Spannable>>,
    arg1: i32,
    arg2: i32,
    arg3: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]

markAsReplaced

Required features: "android-text-Spannable", "java-lang-String"

Methods from Deref<Target = BaseKeyListener>

pub fn backspace<'env>(
    &'env self,
    arg0: impl Into<Option<&'env View>>,
    arg1: impl Into<Option<&'env Editable>>,
    arg2: i32,
    arg3: impl Into<Option<&'env KeyEvent>>
) -> Result<bool, Local<'env, Throwable>>
[src]

backspace

Required features: "android-text-Editable", "android-view-KeyEvent", "android-view-View"

pub fn forwardDelete<'env>(
    &'env self,
    arg0: impl Into<Option<&'env View>>,
    arg1: impl Into<Option<&'env Editable>>,
    arg2: i32,
    arg3: impl Into<Option<&'env KeyEvent>>
) -> Result<bool, Local<'env, Throwable>>
[src]

forwardDelete

Required features: "android-text-Editable", "android-view-KeyEvent", "android-view-View"

pub fn onKeyDown<'env>(
    &'env self,
    arg0: impl Into<Option<&'env View>>,
    arg1: impl Into<Option<&'env Editable>>,
    arg2: i32,
    arg3: impl Into<Option<&'env KeyEvent>>
) -> Result<bool, Local<'env, Throwable>>
[src]

onKeyDown

Required features: "android-text-Editable", "android-view-KeyEvent", "android-view-View"

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

onKeyOther

Required features: "android-text-Editable", "android-view-KeyEvent", "android-view-View"

Trait Implementations

impl AsJValue for QwertyKeyListener

impl AsValidJObjectAndEnv for QwertyKeyListener

impl Deref for QwertyKeyListener

type Target = BaseKeyListener

The resulting type after dereferencing.

impl JniType for QwertyKeyListener

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.