[−]Struct jni_android_sys::android::text::method::BaseKeyListener
public class BaseKeyListener
Required feature: "android-text-method-BaseKeyListener"
Methods
impl BaseKeyListener
pub fn new<'env>(
__jni_env: &'env Env
) -> Result<Local<'env, BaseKeyListener>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env
) -> Result<Local<'env, BaseKeyListener>, Local<'env, Throwable>>
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]
&'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>>
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]
&'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>>
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]
&'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>>
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]
&'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>>
Required features: "android-text-Editable", "android-view-KeyEvent", "android-view-View"
Methods from Deref<Target = MetaKeyKeyListener>
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]
&'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>>
Required features: "android-text-Editable", "android-view-KeyEvent", "android-view-View"
pub fn onKeyUp<'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]
&'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>>
Required features: "android-text-Editable", "android-view-KeyEvent", "android-view-View"
pub fn clearMetaKeyState_View_Editable_int<'env>(
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: impl Into<Option<&'env Editable>>,
arg2: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: impl Into<Option<&'env Editable>>,
arg2: i32
) -> Result<(), Local<'env, Throwable>>
Required features: "android-text-Editable", "android-view-View"
pub fn clearMetaKeyState_long_int<'env>(
&'env self,
arg0: i64,
arg1: i32
) -> Result<i64, Local<'env, Throwable>>
[src]
&'env self,
arg0: i64,
arg1: i32
) -> Result<i64, Local<'env, Throwable>>
pub const META_ALT_LOCKED: i32
[src]
pub const META_ALT_ON: i32
[src]
pub const META_CAP_LOCKED: i32
[src]
pub const META_SHIFT_ON: i32
[src]
pub const META_SYM_LOCKED: i32
[src]
pub const META_SYM_ON: i32
[src]
Trait Implementations
impl AsJValue for BaseKeyListener
impl AsRef<KeyListener> for BaseKeyListener
fn as_ref(&self) -> &KeyListener
impl AsValidJObjectAndEnv for BaseKeyListener
impl Deref for BaseKeyListener
type Target = MetaKeyKeyListener
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
impl JniType for BaseKeyListener
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for BaseKeyListener
impl !Send for BaseKeyListener
impl !Sync for BaseKeyListener
impl Unpin for BaseKeyListener
impl UnwindSafe for BaseKeyListener
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>,