[]Struct jni_android_sys::android::inputmethodservice::Keyboard

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

public class Keyboard

Required feature: "android-inputmethodservice-Keyboard"

Methods

impl Keyboard

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

Keyboard

Required features: "android-content-Context"

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

Keyboard

Required features: "android-content-Context"

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

Keyboard

Required features: "android-content-Context"

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

Keyboard

Required features: "android-content-Context", "java-lang-CharSequence"

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

getKeys

Required features: "java-util-List"

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

getModifierKeys

Required features: "java-util-List"

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

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

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

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

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

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

pub const EDGE_BOTTOM: i32[src]

public static final EDGE_BOTTOM

pub const EDGE_LEFT: i32[src]

public static final EDGE_LEFT

pub const EDGE_RIGHT: i32[src]

public static final EDGE_RIGHT

pub const EDGE_TOP: i32[src]

public static final EDGE_TOP

pub const KEYCODE_ALT: i32[src]

public static final KEYCODE_ALT

pub const KEYCODE_CANCEL: i32[src]

public static final KEYCODE_CANCEL

pub const KEYCODE_DELETE: i32[src]

public static final KEYCODE_DELETE

pub const KEYCODE_DONE: i32[src]

public static final KEYCODE_DONE

pub const KEYCODE_MODE_CHANGE: i32[src]

public static final KEYCODE_MODE_CHANGE

pub const KEYCODE_SHIFT: i32[src]

public static final KEYCODE_SHIFT

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 Keyboard

impl AsValidJObjectAndEnv for Keyboard

impl Deref for Keyboard

type Target = Object

The resulting type after dereferencing.

impl JniType for Keyboard

Auto Trait Implementations

impl RefUnwindSafe for Keyboard

impl !Send for Keyboard

impl !Sync for Keyboard

impl Unpin for Keyboard

impl UnwindSafe for Keyboard

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.