[]Struct jni_android_sys::android::view::textclassifier::SelectionEvent

#[repr(transparent)]
pub struct 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]

writeToParcel

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]

createSelectionStartedEvent

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]

createSelectionModifiedEvent

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]

createSelectionModifiedEvent

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]

createSelectionModifiedEvent

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]

createSelectionActionEvent

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]

createSelectionActionEvent

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]

getEntityType

Required features: "java-lang-String"

pub fn get_package_name<'env>(&'env self) -> Result<Option<Local<'env, String>>>[src]

getPackageName

Required features: "java-lang-String"

pub fn get_widget_type<'env>(&'env self) -> Result<Option<Local<'env, String>>>[src]

getWidgetType

Required features: "java-lang-String"

pub fn get_widget_version<'env>(
    &'env self
) -> Result<Option<Local<'env, String>>>
[src]

getWidgetVersion

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]

getResultId

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]

getSessionId

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]

equals

Required features: "java-lang-Object"

pub fn to_string<'env>(&'env self) -> Result<Option<Local<'env, String>>>[src]

toString

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

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]

getClass

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]

equals

Required features: "java-lang-Object"

pub fn to_string<'env>(&'env self) -> Result<Option<Local<'env, String>>>[src]

toString

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

impl Deref for SelectionEvent

type Target = Object

The resulting type after dereferencing.

impl AsValidJObjectAndEnv for SelectionEvent

impl AsJValue for SelectionEvent

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]