[]Struct jni_android_sys::android::accessibilityservice::AccessibilityServiceInfo

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

public class AccessibilityServiceInfo

Required feature: "android-accessibilityservice-AccessibilityServiceInfo"

Methods

impl AccessibilityServiceInfo

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

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

getId

Required features: "java-lang-String"

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

getResolveInfo

Required features: "android-content-pm-ResolveInfo"

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

getSettingsActivityName

Required features: "java-lang-String"

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

Deprecated

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

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

loadSummary

Required features: "android-content-pm-PackageManager", "java-lang-CharSequence"

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

Deprecated

getDescription

Required features: "java-lang-String"

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

loadDescription

Required features: "android-content-pm-PackageManager", "java-lang-String"

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

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 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 feedbackTypeToString<'env>(
    __jni_env: &'env Env,
    arg0: i32
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

feedbackTypeToString

Required features: "java-lang-String"

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

flagToString

Required features: "java-lang-String"

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

capabilityToString

Required features: "java-lang-String"

pub const CAPABILITY_CAN_CONTROL_MAGNIFICATION: i32[src]

pub const CAPABILITY_CAN_PERFORM_GESTURES: i32[src]

public static final CAPABILITY_CAN_PERFORM_GESTURES

pub const CAPABILITY_CAN_REQUEST_ENHANCED_WEB_ACCESSIBILITY: i32[src]

Deprecated

pub const CAPABILITY_CAN_REQUEST_FILTER_KEY_EVENTS: i32[src]

pub const CAPABILITY_CAN_REQUEST_FINGERPRINT_GESTURES: i32[src]

pub const CAPABILITY_CAN_REQUEST_TOUCH_EXPLORATION: i32[src]

pub const CAPABILITY_CAN_RETRIEVE_WINDOW_CONTENT: i32[src]

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

public static final DEFAULT

pub const FEEDBACK_ALL_MASK: i32[src]

public static final FEEDBACK_ALL_MASK

pub const FEEDBACK_AUDIBLE: i32[src]

public static final FEEDBACK_AUDIBLE

pub const FEEDBACK_BRAILLE: i32[src]

public static final FEEDBACK_BRAILLE

pub const FEEDBACK_GENERIC: i32[src]

public static final FEEDBACK_GENERIC

pub const FEEDBACK_HAPTIC: i32[src]

public static final FEEDBACK_HAPTIC

pub const FEEDBACK_SPOKEN: i32[src]

public static final FEEDBACK_SPOKEN

pub const FEEDBACK_VISUAL: i32[src]

public static final FEEDBACK_VISUAL

pub const FLAG_ENABLE_ACCESSIBILITY_VOLUME: i32[src]

pub const FLAG_INCLUDE_NOT_IMPORTANT_VIEWS: i32[src]

pub const FLAG_REPORT_VIEW_IDS: i32[src]

public static final FLAG_REPORT_VIEW_IDS

pub const FLAG_REQUEST_ACCESSIBILITY_BUTTON: i32[src]

pub const FLAG_REQUEST_ENHANCED_WEB_ACCESSIBILITY: i32[src]

Deprecated

pub const FLAG_REQUEST_FILTER_KEY_EVENTS: i32[src]

public static final FLAG_REQUEST_FILTER_KEY_EVENTS

pub const FLAG_REQUEST_FINGERPRINT_GESTURES: i32[src]

pub const FLAG_REQUEST_TOUCH_EXPLORATION_MODE: i32[src]

pub const FLAG_RETRIEVE_INTERACTIVE_WINDOWS: i32[src]

pub fn eventTypes<'env>(&'env self) -> i32[src]

get public eventTypes

pub fn set_eventTypes<'env>(&'env self, value: i32)[src]

set public eventTypes

pub fn feedbackType<'env>(&'env self) -> i32[src]

get public feedbackType

pub fn set_feedbackType<'env>(&'env self, value: i32)[src]

set public feedbackType

pub fn flags<'env>(&'env self) -> i32[src]

get public flags

pub fn set_flags<'env>(&'env self, value: i32)[src]

set public flags

pub fn notificationTimeout<'env>(&'env self) -> i64[src]

pub fn set_notificationTimeout<'env>(&'env self, value: i64)[src]

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

get public packageNames

Required feature: "java-lang-String"

pub fn set_packageNames<'env, 'obj>(
    &'env self,
    value: impl Into<Option<&'obj ObjectArray<String, Throwable>>>
)
[src]

set public packageNames

Required feature: "java-lang-String"

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 AccessibilityServiceInfo

impl AsRef<Parcelable> for AccessibilityServiceInfo

impl AsValidJObjectAndEnv for AccessibilityServiceInfo

impl Deref for AccessibilityServiceInfo

type Target = Object

The resulting type after dereferencing.

impl JniType for AccessibilityServiceInfo

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.