[]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 writeToParcel<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Parcel>>,
    arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]

writeToParcel

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]

createSelectionStartedEvent

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]

createSelectionModifiedEvent

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]

createSelectionModifiedEvent

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]

createSelectionModifiedEvent

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]

createSelectionActionEvent

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]

createSelectionActionEvent

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]

getEntityType

Required features: "java-lang-String"

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

getPackageName

Required features: "java-lang-String"

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

getWidgetType

Required features: "java-lang-String"

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

getWidgetVersion

Required features: "java-lang-String"

pub fn getInvocationMethod<'env>(
    &'env self
) -> Result<i32, Local<'env, Throwable>>
[src]

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

getResultId

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]

pub fn getDurationSincePreviousEvent<'env>(
    &'env self
) -> Result<i64, Local<'env, Throwable>>
[src]

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]

getSessionId

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]

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]

equals

Required features: "java-lang-Object"

pub fn toString<'env>(
    &'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[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 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

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]

getClass

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]

equals

Required features: "java-lang-Object"

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

toString

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]

pub fn wait_long_int<'env>(
    &'env self,
    arg0: i64,
    arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn wait<'env>(&'env self) -> Result<(), Local<'env, Throwable>>[src]

Trait Implementations

impl AsJValue for SelectionEvent

impl AsRef<Parcelable> for SelectionEvent

impl AsValidJObjectAndEnv for SelectionEvent

impl Deref for SelectionEvent

type Target = Object

The resulting type after dereferencing.

impl JniType for SelectionEvent

Auto Trait Implementations

Blanket Implementations

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

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

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

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

impl<T, U> Into<U> for T where
    U: From<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.