[−]Struct jni_android_sys::android::text::method::DigitsKeyListener
public class DigitsKeyListener
Required feature: "android-text-method-DigitsKeyListener"
Methods
impl DigitsKeyListener
pub fn new<'env>(
__jni_env: &'env Env
) -> Result<Local<'env, DigitsKeyListener>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env
) -> Result<Local<'env, DigitsKeyListener>, Local<'env, Throwable>>
pub fn new_boolean_boolean<'env>(
__jni_env: &'env Env,
arg0: bool,
arg1: bool
) -> Result<Local<'env, DigitsKeyListener>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: bool,
arg1: bool
) -> Result<Local<'env, DigitsKeyListener>, Local<'env, Throwable>>
pub fn new_Locale<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Locale>>
) -> Result<Local<'env, DigitsKeyListener>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Locale>>
) -> Result<Local<'env, DigitsKeyListener>, Local<'env, Throwable>>
Required features: "java-util-Locale"
pub fn new_Locale_boolean_boolean<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Locale>>,
arg1: bool,
arg2: bool
) -> Result<Local<'env, DigitsKeyListener>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Locale>>,
arg1: bool,
arg2: bool
) -> Result<Local<'env, DigitsKeyListener>, Local<'env, Throwable>>
Required features: "java-util-Locale"
pub fn getInstance<'env>(
__jni_env: &'env Env
) -> Result<Option<Local<'env, DigitsKeyListener>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env
) -> Result<Option<Local<'env, DigitsKeyListener>>, Local<'env, Throwable>>
Required features: "android-text-method-DigitsKeyListener"
pub fn getInstance_boolean_boolean<'env>(
__jni_env: &'env Env,
arg0: bool,
arg1: bool
) -> Result<Option<Local<'env, DigitsKeyListener>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: bool,
arg1: bool
) -> Result<Option<Local<'env, DigitsKeyListener>>, Local<'env, Throwable>>
Required features: "android-text-method-DigitsKeyListener"
pub fn getInstance_Locale<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Locale>>
) -> Result<Option<Local<'env, DigitsKeyListener>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Locale>>
) -> Result<Option<Local<'env, DigitsKeyListener>>, Local<'env, Throwable>>
Required features: "android-text-method-DigitsKeyListener", "java-util-Locale"
pub fn getInstance_Locale_boolean_boolean<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Locale>>,
arg1: bool,
arg2: bool
) -> Result<Option<Local<'env, DigitsKeyListener>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Locale>>,
arg1: bool,
arg2: bool
) -> Result<Option<Local<'env, DigitsKeyListener>>, Local<'env, Throwable>>
Required features: "android-text-method-DigitsKeyListener", "java-util-Locale"
pub fn getInstance_String<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, DigitsKeyListener>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, DigitsKeyListener>>, Local<'env, Throwable>>
Required features: "android-text-method-DigitsKeyListener", "java-lang-String"
pub fn getInputType<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>
[src]
pub fn filter<'env>(
&'env self,
arg0: impl Into<Option<&'env CharSequence>>,
arg1: i32,
arg2: i32,
arg3: impl Into<Option<&'env Spanned>>,
arg4: i32,
arg5: i32
) -> Result<Option<Local<'env, CharSequence>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env CharSequence>>,
arg1: i32,
arg2: i32,
arg3: impl Into<Option<&'env Spanned>>,
arg4: i32,
arg5: i32
) -> Result<Option<Local<'env, CharSequence>>, Local<'env, Throwable>>
Required features: "android-text-Spanned", "java-lang-CharSequence"
Methods from Deref<Target = NumberKeyListener>
pub fn filter<'env>(
&'env self,
arg0: impl Into<Option<&'env CharSequence>>,
arg1: i32,
arg2: i32,
arg3: impl Into<Option<&'env Spanned>>,
arg4: i32,
arg5: i32
) -> Result<Option<Local<'env, CharSequence>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env CharSequence>>,
arg1: i32,
arg2: i32,
arg3: impl Into<Option<&'env Spanned>>,
arg4: i32,
arg5: i32
) -> Result<Option<Local<'env, CharSequence>>, Local<'env, Throwable>>
Required features: "android-text-Spanned", "java-lang-CharSequence"
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"
Trait Implementations
impl AsJValue for DigitsKeyListener
impl AsValidJObjectAndEnv for DigitsKeyListener
impl Deref for DigitsKeyListener
type Target = NumberKeyListener
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
impl JniType for DigitsKeyListener
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for DigitsKeyListener
impl !Send for DigitsKeyListener
impl !Sync for DigitsKeyListener
impl Unpin for DigitsKeyListener
impl UnwindSafe for DigitsKeyListener
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>,