[−]Struct jni_android_sys::android::view::textclassifier::SelectionEvent
public final class SelectionEvent
Required feature: "android-view-textclassifier-SelectionEvent"
Methods
impl SelectionEvent
pub fn writeToParcel<'env>(
&'env self,
arg0: impl Into<Option<&'env Parcel>>,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Parcel>>,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
Required features: "android-os-Parcel"
pub fn describeContents<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>
[src]
pub fn createSelectionStartedEvent<'env>(
__jni_env: &'env Env,
arg0: i32,
arg1: i32
) -> Result<Option<Local<'env, SelectionEvent>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: i32,
arg1: i32
) -> Result<Option<Local<'env, SelectionEvent>>, Local<'env, Throwable>>
Required features: "android-view-textclassifier-SelectionEvent"
pub fn createSelectionModifiedEvent_int_int<'env>(
__jni_env: &'env Env,
arg0: i32,
arg1: i32
) -> Result<Option<Local<'env, SelectionEvent>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: i32,
arg1: i32
) -> Result<Option<Local<'env, SelectionEvent>>, Local<'env, Throwable>>
Required features: "android-view-textclassifier-SelectionEvent"
pub fn createSelectionModifiedEvent_int_int_TextClassification<'env>(
__jni_env: &'env Env,
arg0: i32,
arg1: i32,
arg2: impl Into<Option<&'env TextClassification>>
) -> Result<Option<Local<'env, SelectionEvent>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: i32,
arg1: i32,
arg2: impl Into<Option<&'env TextClassification>>
) -> Result<Option<Local<'env, SelectionEvent>>, Local<'env, Throwable>>
Required features: "android-view-textclassifier-SelectionEvent", "android-view-textclassifier-TextClassification"
pub fn createSelectionModifiedEvent_int_int_TextSelection<'env>(
__jni_env: &'env Env,
arg0: i32,
arg1: i32,
arg2: impl Into<Option<&'env TextSelection>>
) -> Result<Option<Local<'env, SelectionEvent>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: i32,
arg1: i32,
arg2: impl Into<Option<&'env TextSelection>>
) -> Result<Option<Local<'env, SelectionEvent>>, Local<'env, Throwable>>
Required features: "android-view-textclassifier-SelectionEvent", "android-view-textclassifier-TextSelection"
pub fn createSelectionActionEvent_int_int_int<'env>(
__jni_env: &'env Env,
arg0: i32,
arg1: i32,
arg2: i32
) -> Result<Option<Local<'env, SelectionEvent>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: i32,
arg1: i32,
arg2: i32
) -> Result<Option<Local<'env, SelectionEvent>>, Local<'env, Throwable>>
Required features: "android-view-textclassifier-SelectionEvent"
pub fn createSelectionActionEvent_int_int_int_TextClassification<'env>(
__jni_env: &'env Env,
arg0: i32,
arg1: i32,
arg2: i32,
arg3: impl Into<Option<&'env TextClassification>>
) -> Result<Option<Local<'env, SelectionEvent>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: i32,
arg1: i32,
arg2: i32,
arg3: impl Into<Option<&'env TextClassification>>
) -> Result<Option<Local<'env, SelectionEvent>>, Local<'env, Throwable>>
Required features: "android-view-textclassifier-SelectionEvent", "android-view-textclassifier-TextClassification"
pub fn getEventType<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>
[src]
pub fn getEntityType<'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 getPackageName<'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 getWidgetType<'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 getWidgetVersion<'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 getInvocationMethod<'env>(
&'env self
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self
) -> Result<i32, Local<'env, Throwable>>
pub fn getResultId<'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 getEventTime<'env>(&'env self) -> Result<i64, Local<'env, Throwable>>
[src]
pub fn getDurationSinceSessionStart<'env>(
&'env self
) -> Result<i64, Local<'env, Throwable>>
[src]
&'env self
) -> Result<i64, Local<'env, Throwable>>
pub fn getDurationSincePreviousEvent<'env>(
&'env self
) -> Result<i64, Local<'env, Throwable>>
[src]
&'env self
) -> Result<i64, Local<'env, Throwable>>
pub fn getEventIndex<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>
[src]
pub fn getSessionId<'env>(
&'env self
) -> Result<Option<Local<'env, TextClassificationSessionId>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, TextClassificationSessionId>>, Local<'env, Throwable>>
Required features: "android-view-textclassifier-TextClassificationSessionId"
pub fn getStart<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>
[src]
pub fn getEnd<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>
[src]
pub fn getSmartStart<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>
[src]
pub fn getSmartEnd<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>
[src]
pub fn isTerminal<'env>(
__jni_env: &'env Env,
arg0: i32
) -> Result<bool, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: i32
) -> Result<bool, Local<'env, Throwable>>
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 const ACTION_ABANDON: i32
[src]
public static final ACTION_ABANDON
pub const ACTION_COPY: i32
[src]
public static final ACTION_COPY
pub const ACTION_CUT: i32
[src]
public static final ACTION_CUT
pub const ACTION_DRAG: i32
[src]
public static final ACTION_DRAG
pub const ACTION_OTHER: i32
[src]
public static final ACTION_OTHER
pub const ACTION_OVERTYPE: i32
[src]
public static final ACTION_OVERTYPE
pub const ACTION_PASTE: i32
[src]
public static final ACTION_PASTE
pub const ACTION_RESET: i32
[src]
public static final ACTION_RESET
pub const ACTION_SELECT_ALL: i32
[src]
public static final ACTION_SELECT_ALL
pub const ACTION_SHARE: i32
[src]
public static final ACTION_SHARE
pub const ACTION_SMART_SHARE: i32
[src]
public static final ACTION_SMART_SHARE
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 EVENT_AUTO_SELECTION: i32
[src]
public static final EVENT_AUTO_SELECTION
pub const EVENT_SELECTION_MODIFIED: i32
[src]
public static final EVENT_SELECTION_MODIFIED
pub const EVENT_SELECTION_STARTED: i32
[src]
public static final EVENT_SELECTION_STARTED
pub const EVENT_SMART_SELECTION_MULTI: i32
[src]
public static final EVENT_SMART_SELECTION_MULTI
pub const EVENT_SMART_SELECTION_SINGLE: i32
[src]
public static final EVENT_SMART_SELECTION_SINGLE
pub const INVOCATION_LINK: i32
[src]
public static final INVOCATION_LINK
pub const INVOCATION_MANUAL: i32
[src]
public static final INVOCATION_MANUAL
pub const INVOCATION_UNKNOWN: i32
[src]
public static final INVOCATION_UNKNOWN
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 SelectionEvent
impl AsRef<Parcelable> for SelectionEvent
fn as_ref(&self) -> &Parcelable
impl AsValidJObjectAndEnv for SelectionEvent
impl Deref for SelectionEvent
impl JniType for SelectionEvent
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for SelectionEvent
impl !Send for SelectionEvent
impl !Sync for SelectionEvent
impl Unpin for SelectionEvent
impl UnwindSafe for SelectionEvent
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>,