[−]Struct jni_android_sys::android::view::textclassifier::SelectionEvent
public final class SelectionEvent
Required feature: android-view-textclassifier-SelectionEvent
Methods
impl SelectionEvent
pub fn write_to_parcel<'env>(
&'env self,
arg0: impl Into<Option<&'env Parcel>>,
arg1: i32
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Parcel>>,
arg1: i32
) -> Result<()>
Required features: "android-os-Parcel"
pub fn describe_contents<'env>(&'env self) -> Result<i32>[src]
pub fn create_selection_started_event<'env>(
__jni_env: &'env Env,
arg0: i32,
arg1: i32
) -> Result<Option<Local<'env, SelectionEvent>>>[src]
__jni_env: &'env Env,
arg0: i32,
arg1: i32
) -> Result<Option<Local<'env, SelectionEvent>>>
Required features: "android-view-textclassifier-SelectionEvent"
pub fn create_selection_modified_event_int_int<'env>(
__jni_env: &'env Env,
arg0: i32,
arg1: i32
) -> Result<Option<Local<'env, SelectionEvent>>>[src]
__jni_env: &'env Env,
arg0: i32,
arg1: i32
) -> Result<Option<Local<'env, SelectionEvent>>>
Required features: "android-view-textclassifier-SelectionEvent"
pub fn create_selection_modified_event_int_int_text_classification<'env>(
__jni_env: &'env Env,
arg0: i32,
arg1: i32,
arg2: impl Into<Option<&'env TextClassification>>
) -> Result<Option<Local<'env, SelectionEvent>>>[src]
__jni_env: &'env Env,
arg0: i32,
arg1: i32,
arg2: impl Into<Option<&'env TextClassification>>
) -> Result<Option<Local<'env, SelectionEvent>>>
Required features: "android-view-textclassifier-SelectionEvent", "android-view-textclassifier-TextClassification"
pub fn create_selection_modified_event_int_int_text_selection<'env>(
__jni_env: &'env Env,
arg0: i32,
arg1: i32,
arg2: impl Into<Option<&'env TextSelection>>
) -> Result<Option<Local<'env, SelectionEvent>>>[src]
__jni_env: &'env Env,
arg0: i32,
arg1: i32,
arg2: impl Into<Option<&'env TextSelection>>
) -> Result<Option<Local<'env, SelectionEvent>>>
Required features: "android-view-textclassifier-SelectionEvent", "android-view-textclassifier-TextSelection"
pub fn create_selection_action_event_int_int_int<'env>(
__jni_env: &'env Env,
arg0: i32,
arg1: i32,
arg2: i32
) -> Result<Option<Local<'env, SelectionEvent>>>[src]
__jni_env: &'env Env,
arg0: i32,
arg1: i32,
arg2: i32
) -> Result<Option<Local<'env, SelectionEvent>>>
Required features: "android-view-textclassifier-SelectionEvent"
pub fn create_selection_action_event_int_int_int_text_classification<'env>(
__jni_env: &'env Env,
arg0: i32,
arg1: i32,
arg2: i32,
arg3: impl Into<Option<&'env TextClassification>>
) -> Result<Option<Local<'env, SelectionEvent>>>[src]
__jni_env: &'env Env,
arg0: i32,
arg1: i32,
arg2: i32,
arg3: impl Into<Option<&'env TextClassification>>
) -> Result<Option<Local<'env, SelectionEvent>>>
Required features: "android-view-textclassifier-SelectionEvent", "android-view-textclassifier-TextClassification"
pub fn get_event_type<'env>(&'env self) -> Result<i32>[src]
pub fn get_entity_type<'env>(&'env self) -> Result<Option<Local<'env, String>>>[src]
Required features: "java-lang-String"
pub fn get_package_name<'env>(&'env self) -> Result<Option<Local<'env, String>>>[src]
Required features: "java-lang-String"
pub fn get_widget_type<'env>(&'env self) -> Result<Option<Local<'env, String>>>[src]
Required features: "java-lang-String"
pub fn get_widget_version<'env>(
&'env self
) -> Result<Option<Local<'env, String>>>[src]
&'env self
) -> Result<Option<Local<'env, String>>>
Required features: "java-lang-String"
pub fn get_invocation_method<'env>(&'env self) -> Result<i32>[src]
pub fn get_result_id<'env>(&'env self) -> Result<Option<Local<'env, String>>>[src]
Required features: "java-lang-String"
pub fn get_event_time<'env>(&'env self) -> Result<i64>[src]
pub fn get_duration_since_session_start<'env>(&'env self) -> Result<i64>[src]
pub fn get_duration_since_previous_event<'env>(&'env self) -> Result<i64>[src]
pub fn get_event_index<'env>(&'env self) -> Result<i32>[src]
pub fn get_session_id<'env>(
&'env self
) -> Result<Option<Local<'env, TextClassificationSessionId>>>[src]
&'env self
) -> Result<Option<Local<'env, TextClassificationSessionId>>>
Required features: "android-view-textclassifier-TextClassificationSessionId"
pub fn get_start<'env>(&'env self) -> Result<i32>[src]
pub fn get_end<'env>(&'env self) -> Result<i32>[src]
pub fn get_smart_start<'env>(&'env self) -> Result<i32>[src]
pub fn get_smart_end<'env>(&'env self) -> Result<i32>[src]
pub fn is_terminal<'env>(__jni_env: &'env Env, arg0: i32) -> Result<bool>[src]
pub fn hash_code<'env>(&'env self) -> Result<i32>[src]
pub fn equals<'env>(
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool>[src]
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool>
Required features: "java-lang-Object"
pub fn to_string<'env>(&'env self) -> Result<Option<Local<'env, String>>>[src]
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 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 get_class<'env>(&'env self) -> Result<Option<Local<'env, Class>>>[src]
Required features: "java-lang-Class"
pub fn hash_code<'env>(&'env self) -> Result<i32>[src]
pub fn equals<'env>(
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool>[src]
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool>
Required features: "java-lang-Object"
pub fn to_string<'env>(&'env self) -> Result<Option<Local<'env, String>>>[src]
Required features: "java-lang-String"
pub fn notify<'env>(&'env self) -> Result<()>[src]
pub fn notify_all<'env>(&'env self) -> Result<()>[src]
pub fn wait_long<'env>(&'env self, arg0: i64) -> Result<()>[src]
pub fn wait_long_int<'env>(&'env self, arg0: i64, arg1: i32) -> Result<()>[src]
pub fn wait<'env>(&'env self) -> Result<()>[src]
Trait Implementations
impl AsRef<Parcelable> for SelectionEvent
fn as_ref(&self) -> &Parcelable
impl Deref for SelectionEvent
impl AsValidJObjectAndEnv for SelectionEvent
impl AsJValue for SelectionEvent
Auto Trait Implementations
impl !Sync for SelectionEvent
impl Unpin for SelectionEvent
impl !Send for SelectionEvent
impl UnwindSafe for SelectionEvent
impl RefUnwindSafe for SelectionEvent
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> From<T> for T[src]
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
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> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,