[]Struct jni_android_sys::android::view::accessibility::AccessibilityEvent

#[repr(transparent)]
pub struct AccessibilityEvent(_);

public final class AccessibilityEvent

Required feature: "android-view-accessibility-AccessibilityEvent"

Methods

impl AccessibilityEvent

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

pub fn appendRecord<'env>(
    &'env self,
    arg0: impl Into<Option<&'env AccessibilityRecord>>
) -> Result<(), Local<'env, Throwable>>
[src]

appendRecord

Required features: "android-view-accessibility-AccessibilityRecord"

pub fn getRecord<'env>(
    &'env self,
    arg0: i32
) -> Result<Option<Local<'env, AccessibilityRecord>>, Local<'env, Throwable>>
[src]

getRecord

Required features: "android-view-accessibility-AccessibilityRecord"

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

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

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

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

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

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

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

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

getPackageName

Required features: "java-lang-CharSequence"

pub fn setPackageName<'env>(
    &'env self,
    arg0: impl Into<Option<&'env CharSequence>>
) -> Result<(), Local<'env, Throwable>>
[src]

setPackageName

Required features: "java-lang-CharSequence"

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

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

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

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

pub fn obtain_int<'env>(
    __jni_env: &'env Env,
    arg0: i32
) -> Result<Option<Local<'env, AccessibilityEvent>>, Local<'env, Throwable>>
[src]

obtain

Required features: "android-view-accessibility-AccessibilityEvent"

pub fn obtain_AccessibilityEvent<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env AccessibilityEvent>>
) -> Result<Option<Local<'env, AccessibilityEvent>>, Local<'env, Throwable>>
[src]

obtain

Required features: "android-view-accessibility-AccessibilityEvent"

pub fn obtain<'env>(
    __jni_env: &'env Env
) -> Result<Option<Local<'env, AccessibilityEvent>>, Local<'env, Throwable>>
[src]

obtain

Required features: "android-view-accessibility-AccessibilityEvent"

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

pub fn initFromParcel<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Parcel>>
) -> Result<(), Local<'env, Throwable>>
[src]

initFromParcel

Required features: "android-os-Parcel"

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

toString

Required features: "java-lang-String"

pub fn eventTypeToString<'env>(
    __jni_env: &'env Env,
    arg0: i32
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

eventTypeToString

Required features: "java-lang-String"

pub const CONTENT_CHANGE_TYPE_CONTENT_DESCRIPTION: i32[src]

pub const CONTENT_CHANGE_TYPE_PANE_APPEARED: i32[src]

pub const CONTENT_CHANGE_TYPE_PANE_DISAPPEARED: i32[src]

pub const CONTENT_CHANGE_TYPE_PANE_TITLE: i32[src]

public static final CONTENT_CHANGE_TYPE_PANE_TITLE

pub const CONTENT_CHANGE_TYPE_SUBTREE: i32[src]

public static final CONTENT_CHANGE_TYPE_SUBTREE

pub const CONTENT_CHANGE_TYPE_TEXT: i32[src]

public static final CONTENT_CHANGE_TYPE_TEXT

pub const CONTENT_CHANGE_TYPE_UNDEFINED: i32[src]

public static final CONTENT_CHANGE_TYPE_UNDEFINED

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 INVALID_POSITION: i32[src]

public static final INVALID_POSITION

pub const MAX_TEXT_LENGTH: i32[src]

Deprecated

public static final MAX_TEXT_LENGTH

pub const TYPES_ALL_MASK: i32[src]

public static final TYPES_ALL_MASK

pub const TYPE_ANNOUNCEMENT: i32[src]

public static final TYPE_ANNOUNCEMENT

pub const TYPE_ASSIST_READING_CONTEXT: i32[src]

public static final TYPE_ASSIST_READING_CONTEXT

pub const TYPE_GESTURE_DETECTION_END: i32[src]

public static final TYPE_GESTURE_DETECTION_END

pub const TYPE_GESTURE_DETECTION_START: i32[src]

public static final TYPE_GESTURE_DETECTION_START

pub const TYPE_NOTIFICATION_STATE_CHANGED: i32[src]

public static final TYPE_NOTIFICATION_STATE_CHANGED

pub const TYPE_TOUCH_EXPLORATION_GESTURE_END: i32[src]

pub const TYPE_TOUCH_EXPLORATION_GESTURE_START: i32[src]

pub const TYPE_TOUCH_INTERACTION_END: i32[src]

public static final TYPE_TOUCH_INTERACTION_END

pub const TYPE_TOUCH_INTERACTION_START: i32[src]

public static final TYPE_TOUCH_INTERACTION_START

pub const TYPE_VIEW_ACCESSIBILITY_FOCUSED: i32[src]

public static final TYPE_VIEW_ACCESSIBILITY_FOCUSED

pub const TYPE_VIEW_ACCESSIBILITY_FOCUS_CLEARED: i32[src]

pub const TYPE_VIEW_CLICKED: i32[src]

public static final TYPE_VIEW_CLICKED

pub const TYPE_VIEW_CONTEXT_CLICKED: i32[src]

public static final TYPE_VIEW_CONTEXT_CLICKED

pub const TYPE_VIEW_FOCUSED: i32[src]

public static final TYPE_VIEW_FOCUSED

pub const TYPE_VIEW_HOVER_ENTER: i32[src]

public static final TYPE_VIEW_HOVER_ENTER

pub const TYPE_VIEW_HOVER_EXIT: i32[src]

public static final TYPE_VIEW_HOVER_EXIT

pub const TYPE_VIEW_LONG_CLICKED: i32[src]

public static final TYPE_VIEW_LONG_CLICKED

pub const TYPE_VIEW_SCROLLED: i32[src]

public static final TYPE_VIEW_SCROLLED

pub const TYPE_VIEW_SELECTED: i32[src]

public static final TYPE_VIEW_SELECTED

pub const TYPE_VIEW_TEXT_CHANGED: i32[src]

public static final TYPE_VIEW_TEXT_CHANGED

pub const TYPE_VIEW_TEXT_SELECTION_CHANGED: i32[src]

pub const TYPE_VIEW_TEXT_TRAVERSED_AT_MOVEMENT_GRANULARITY: i32[src]

pub const TYPE_WINDOWS_CHANGED: i32[src]

public static final TYPE_WINDOWS_CHANGED

pub const TYPE_WINDOW_CONTENT_CHANGED: i32[src]

public static final TYPE_WINDOW_CONTENT_CHANGED

pub const TYPE_WINDOW_STATE_CHANGED: i32[src]

public static final TYPE_WINDOW_STATE_CHANGED

pub const WINDOWS_CHANGE_ACCESSIBILITY_FOCUSED: i32[src]

pub const WINDOWS_CHANGE_ACTIVE: i32[src]

public static final WINDOWS_CHANGE_ACTIVE

pub const WINDOWS_CHANGE_ADDED: i32[src]

public static final WINDOWS_CHANGE_ADDED

pub const WINDOWS_CHANGE_BOUNDS: i32[src]

public static final WINDOWS_CHANGE_BOUNDS

pub const WINDOWS_CHANGE_CHILDREN: i32[src]

public static final WINDOWS_CHANGE_CHILDREN

pub const WINDOWS_CHANGE_FOCUSED: i32[src]

public static final WINDOWS_CHANGE_FOCUSED

pub const WINDOWS_CHANGE_LAYER: i32[src]

public static final WINDOWS_CHANGE_LAYER

pub const WINDOWS_CHANGE_PARENT: i32[src]

public static final WINDOWS_CHANGE_PARENT

pub const WINDOWS_CHANGE_PIP: i32[src]

public static final WINDOWS_CHANGE_PIP

pub const WINDOWS_CHANGE_REMOVED: i32[src]

public static final WINDOWS_CHANGE_REMOVED

pub const WINDOWS_CHANGE_TITLE: i32[src]

public static final WINDOWS_CHANGE_TITLE

Methods from Deref<Target = AccessibilityRecord>

pub fn setSource_View<'env>(
    &'env self,
    arg0: impl Into<Option<&'env View>>
) -> Result<(), Local<'env, Throwable>>
[src]

setSource

Required features: "android-view-View"

pub fn setSource_View_int<'env>(
    &'env self,
    arg0: impl Into<Option<&'env View>>,
    arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]

setSource

Required features: "android-view-View"

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

getSource

Required features: "android-view-accessibility-AccessibilityNodeInfo"

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

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

pub fn setChecked<'env>(
    &'env self,
    arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]

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

pub fn setEnabled<'env>(
    &'env self,
    arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]

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

pub fn setPassword<'env>(
    &'env self,
    arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]

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

pub fn setFullScreen<'env>(
    &'env self,
    arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]

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

pub fn setScrollable<'env>(
    &'env self,
    arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

getClassName

Required features: "java-lang-CharSequence"

pub fn setClassName<'env>(
    &'env self,
    arg0: impl Into<Option<&'env CharSequence>>
) -> Result<(), Local<'env, Throwable>>
[src]

setClassName

Required features: "java-lang-CharSequence"

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

getText

Required features: "java-util-List"

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

getBeforeText

Required features: "java-lang-CharSequence"

pub fn setBeforeText<'env>(
    &'env self,
    arg0: impl Into<Option<&'env CharSequence>>
) -> Result<(), Local<'env, Throwable>>
[src]

setBeforeText

Required features: "java-lang-CharSequence"

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

getContentDescription

Required features: "java-lang-CharSequence"

pub fn setContentDescription<'env>(
    &'env self,
    arg0: impl Into<Option<&'env CharSequence>>
) -> Result<(), Local<'env, Throwable>>
[src]

setContentDescription

Required features: "java-lang-CharSequence"

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

getParcelableData

Required features: "android-os-Parcelable"

pub fn setParcelableData<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Parcelable>>
) -> Result<(), Local<'env, Throwable>>
[src]

setParcelableData

Required features: "android-os-Parcelable"

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

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

toString

Required features: "java-lang-String"

Trait Implementations

impl AsJValue for AccessibilityEvent

impl AsRef<Parcelable> for AccessibilityEvent

impl AsValidJObjectAndEnv for AccessibilityEvent

impl Deref for AccessibilityEvent

type Target = AccessibilityRecord

The resulting type after dereferencing.

impl JniType for AccessibilityEvent

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.