[−]Struct jni_android_sys::android::text::method::TextKeyListener
public class TextKeyListener
Required feature: "android-text-method-TextKeyListener"
Methods
impl TextKeyListener
pub fn new<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env TextKeyListener_Capitalize>>,
arg1: bool
) -> Result<Local<'env, TextKeyListener>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env TextKeyListener_Capitalize>>,
arg1: bool
) -> Result<Local<'env, TextKeyListener>, Local<'env, Throwable>>
Required features: "android-text-method-TextKeyListener_Capitalize"
pub fn getInstance_boolean_Capitalize<'env>(
__jni_env: &'env Env,
arg0: bool,
arg1: impl Into<Option<&'env TextKeyListener_Capitalize>>
) -> Result<Option<Local<'env, TextKeyListener>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: bool,
arg1: impl Into<Option<&'env TextKeyListener_Capitalize>>
) -> Result<Option<Local<'env, TextKeyListener>>, Local<'env, Throwable>>
Required features: "android-text-method-TextKeyListener", "android-text-method-TextKeyListener_Capitalize"
pub fn getInstance<'env>(
__jni_env: &'env Env
) -> Result<Option<Local<'env, TextKeyListener>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env
) -> Result<Option<Local<'env, TextKeyListener>>, Local<'env, Throwable>>
Required features: "android-text-method-TextKeyListener"
pub fn shouldCap<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env TextKeyListener_Capitalize>>,
arg1: impl Into<Option<&'env CharSequence>>,
arg2: i32
) -> Result<bool, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env TextKeyListener_Capitalize>>,
arg1: impl Into<Option<&'env CharSequence>>,
arg2: i32
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-text-method-TextKeyListener_Capitalize", "java-lang-CharSequence"
pub fn getInputType<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>
[src]
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"
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]
&'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"
pub fn onKeyOther<'env>(
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: impl Into<Option<&'env Editable>>,
arg2: 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: impl Into<Option<&'env KeyEvent>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-text-Editable", "android-view-KeyEvent", "android-view-View"
pub fn clear<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Editable>>
) -> Result<(), Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Editable>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-text-Editable"
pub fn onSpanAdded<'env>(
&'env self,
arg0: impl Into<Option<&'env Spannable>>,
arg1: impl Into<Option<&'env Object>>,
arg2: i32,
arg3: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Spannable>>,
arg1: impl Into<Option<&'env Object>>,
arg2: i32,
arg3: i32
) -> Result<(), Local<'env, Throwable>>
Required features: "android-text-Spannable", "java-lang-Object"
pub fn onSpanRemoved<'env>(
&'env self,
arg0: impl Into<Option<&'env Spannable>>,
arg1: impl Into<Option<&'env Object>>,
arg2: i32,
arg3: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Spannable>>,
arg1: impl Into<Option<&'env Object>>,
arg2: i32,
arg3: i32
) -> Result<(), Local<'env, Throwable>>
Required features: "android-text-Spannable", "java-lang-Object"
pub fn onSpanChanged<'env>(
&'env self,
arg0: impl Into<Option<&'env Spannable>>,
arg1: impl Into<Option<&'env Object>>,
arg2: i32,
arg3: i32,
arg4: i32,
arg5: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Spannable>>,
arg1: impl Into<Option<&'env Object>>,
arg2: i32,
arg3: i32,
arg4: i32,
arg5: i32
) -> Result<(), Local<'env, Throwable>>
Required features: "android-text-Spannable", "java-lang-Object"
pub fn release<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
Methods from Deref<Target = BaseKeyListener>
pub fn backspace<'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"
pub fn forwardDelete<'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"
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"
pub fn onKeyOther<'env>(
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: impl Into<Option<&'env Editable>>,
arg2: 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: 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 TextKeyListener
impl AsRef<SpanWatcher> for TextKeyListener
fn as_ref(&self) -> &SpanWatcher
impl AsValidJObjectAndEnv for TextKeyListener
impl Deref for TextKeyListener
type Target = BaseKeyListener
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
impl JniType for TextKeyListener
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for TextKeyListener
impl !Send for TextKeyListener
impl !Sync for TextKeyListener
impl Unpin for TextKeyListener
impl UnwindSafe for TextKeyListener
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>,