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

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

public class MetaKeyKeyListener

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

Methods

impl MetaKeyKeyListener

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

pub fn resetMetaState<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Spannable>>
) -> Result<(), Local<'env, Throwable>>
[src]

resetMetaState

Required features: "android-text-Spannable"

pub fn getMetaState_CharSequence<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env CharSequence>>
) -> Result<i32, Local<'env, Throwable>>
[src]

getMetaState

Required features: "java-lang-CharSequence"

pub fn getMetaState_CharSequence_KeyEvent<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env CharSequence>>,
    arg1: impl Into<Option<&'env KeyEvent>>
) -> Result<i32, Local<'env, Throwable>>
[src]

getMetaState

Required features: "android-view-KeyEvent", "java-lang-CharSequence"

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

getMetaState

Required features: "java-lang-CharSequence"

pub fn getMetaState_CharSequence_int_KeyEvent<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env CharSequence>>,
    arg1: i32,
    arg2: impl Into<Option<&'env KeyEvent>>
) -> Result<i32, Local<'env, Throwable>>
[src]

getMetaState

Required features: "android-view-KeyEvent", "java-lang-CharSequence"

pub fn adjustMetaAfterKeypress_Spannable<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Spannable>>
) -> Result<(), Local<'env, Throwable>>
[src]

adjustMetaAfterKeypress

Required features: "android-text-Spannable"

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

isMetaTracker

Required features: "java-lang-CharSequence", "java-lang-Object"

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

isSelectingMetaTracker

Required features: "java-lang-CharSequence", "java-lang-Object"

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 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]

onKeyUp

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]

clearMetaKeyState

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

pub fn clearMetaKeyState_Editable_int<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Editable>>,
    arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]

clearMetaKeyState

Required features: "android-text-Editable"

pub fn resetLockedMeta<'env>(
    __jni_env: &'env Env,
    arg0: i64
) -> Result<i64, Local<'env, Throwable>>
[src]

pub fn getMetaState_long<'env>(
    __jni_env: &'env Env,
    arg0: i64
) -> Result<i32, Local<'env, Throwable>>
[src]

pub fn getMetaState_long_int<'env>(
    __jni_env: &'env Env,
    arg0: i64,
    arg1: i32
) -> Result<i32, Local<'env, Throwable>>
[src]

pub fn adjustMetaAfterKeypress_long<'env>(
    __jni_env: &'env Env,
    arg0: i64
) -> Result<i64, Local<'env, Throwable>>
[src]

pub fn handleKeyDown<'env>(
    __jni_env: &'env Env,
    arg0: i64,
    arg1: i32,
    arg2: impl Into<Option<&'env KeyEvent>>
) -> Result<i64, Local<'env, Throwable>>
[src]

handleKeyDown

Required features: "android-view-KeyEvent"

pub fn handleKeyUp<'env>(
    __jni_env: &'env Env,
    arg0: i64,
    arg1: i32,
    arg2: impl Into<Option<&'env KeyEvent>>
) -> Result<i64, Local<'env, Throwable>>
[src]

handleKeyUp

Required features: "android-view-KeyEvent"

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

pub const META_ALT_LOCKED: i32[src]

public static final META_ALT_LOCKED

pub const META_ALT_ON: i32[src]

public static final META_ALT_ON

pub const META_CAP_LOCKED: i32[src]

public static final META_CAP_LOCKED

pub const META_SHIFT_ON: i32[src]

public static final META_SHIFT_ON

pub const META_SYM_LOCKED: i32[src]

public static final META_SYM_LOCKED

pub const META_SYM_ON: i32[src]

public static final META_SYM_ON

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 MetaKeyKeyListener

impl AsValidJObjectAndEnv for MetaKeyKeyListener

impl Deref for MetaKeyKeyListener

type Target = Object

The resulting type after dereferencing.

impl JniType for MetaKeyKeyListener

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.