[−]Struct jni_android_sys::android::inputmethodservice::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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>,
arg1: i32
) -> Result<Local<'env, Keyboard>, Local<'env, Throwable>>
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]
__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>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>,
arg1: i32,
arg2: i32
) -> Result<Local<'env, Keyboard>, Local<'env, Throwable>>
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]
__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>>
Required features: "android-content-Context", "java-lang-CharSequence"
pub fn getKeys<'env>(
&'env self
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
Required features: "java-util-List"
pub fn getModifierKeys<'env>(
&'env self
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
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]
&'env self,
arg0: bool
) -> Result<bool, Local<'env, Throwable>>
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]
&'env self,
arg0: i32,
arg1: i32
) -> Result<Option<Local<'env, IntArray>>, Local<'env, Throwable>>
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]
&'env self
) -> Result<Option<Local<'env, Class>>, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "java-lang-Object"
pub fn toString<'env>(
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
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]
&'env self,
arg0: i64
) -> Result<(), Local<'env, Throwable>>
pub fn wait_long_int<'env>(
&'env self,
arg0: i64,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i64,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
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
impl JniType for Keyboard
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
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]
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>,