[]Struct jni_android_sys::android::view::KeyCharacterMap

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

public class KeyCharacterMap

Required feature: "android-view-KeyCharacterMap"

Methods

impl KeyCharacterMap

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

load

Required features: "android-view-KeyCharacterMap"

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

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

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

pub fn getMatch_int_char_array_int<'env>(
    &'env self,
    arg0: i32,
    arg1: impl Into<Option<&'env CharArray>>,
    arg2: i32
) -> Result<jchar, Local<'env, Throwable>>
[src]

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

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

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

Deprecated

getKeyData

Required features: "android-view-KeyCharacterMap_KeyData"

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

getEvents

Required features: "android-view-KeyEvent"

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

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

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

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

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

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

writeToParcel

Required features: "android-os-Parcel"

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

pub const ALPHA: i32[src]

public static final ALPHA

pub const BUILT_IN_KEYBOARD: i32[src]

Deprecated

public static final BUILT_IN_KEYBOARD

pub const COMBINING_ACCENT: i32[src]

public static final COMBINING_ACCENT

pub const COMBINING_ACCENT_MASK: i32[src]

public static final COMBINING_ACCENT_MASK

pub fn CREATOR<'env>(env: &'env Env) -> Option<Local<'env, Parcelable_Creator>>[src]

get public static final CREATOR

Required feature: "android-os-Parcelable_Creator"

pub const FULL: i32[src]

public static final FULL

pub const HEX_INPUT: jchar[src]

public static final HEX_INPUT

pub const MODIFIER_BEHAVIOR_CHORDED: i32[src]

public static final MODIFIER_BEHAVIOR_CHORDED

pub const MODIFIER_BEHAVIOR_CHORDED_OR_TOGGLED: i32[src]

pub const NUMERIC: i32[src]

public static final NUMERIC

pub const PICKER_DIALOG_INPUT: jchar[src]

public static final PICKER_DIALOG_INPUT

pub const PREDICTIVE: i32[src]

public static final PREDICTIVE

pub const SPECIAL_FUNCTION: i32[src]

public static final SPECIAL_FUNCTION

pub const VIRTUAL_KEYBOARD: i32[src]

public static final VIRTUAL_KEYBOARD

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 KeyCharacterMap

impl AsRef<Parcelable> for KeyCharacterMap

impl AsValidJObjectAndEnv for KeyCharacterMap

impl Deref for KeyCharacterMap

type Target = Object

The resulting type after dereferencing.

impl JniType for KeyCharacterMap

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.