|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectandroid.support.v4.accessibilityservice.AccessibilityServiceInfoCompat
public class AccessibilityServiceInfoCompat
Helper for accessing features in AccessibilityService
introduced after API level 4 in a backwards compatible fashion.
Field Summary | |
---|---|
static int |
FEEDBACK_ALL_MASK
Mask for all feedback types. |
Method Summary | |
---|---|
static String |
feedbackTypeToString(int feedbackType)
Returns the string representation of a feedback type. |
static String |
flagToString(int flag)
Returns the string representation of a flag. |
static boolean |
getCanRetrieveWindowContent(android.accessibilityservice.AccessibilityServiceInfo info)
Whether this service can retrieve the current window's content. |
static String |
getDescription(android.accessibilityservice.AccessibilityServiceInfo info)
Description of the accessibility service. |
static String |
getId(android.accessibilityservice.AccessibilityServiceInfo info)
The accessibility service id. |
static android.content.pm.ResolveInfo |
getResolveInfo(android.accessibilityservice.AccessibilityServiceInfo info)
The service ResolveInfo . |
static String |
getSettingsActivityName(android.accessibilityservice.AccessibilityServiceInfo info)
The settings activity name. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int FEEDBACK_ALL_MASK
AccessibilityServiceInfo.FEEDBACK_SPOKEN
,
AccessibilityServiceInfo.FEEDBACK_HAPTIC
,
AccessibilityServiceInfo.FEEDBACK_AUDIBLE
,
AccessibilityServiceInfo.FEEDBACK_VISUAL
,
AccessibilityServiceInfo.FEEDBACK_GENERIC
,
Constant Field ValuesMethod Detail |
---|
public static String getId(android.accessibilityservice.AccessibilityServiceInfo info)
Generated by the system.
public static android.content.pm.ResolveInfo getResolveInfo(android.accessibilityservice.AccessibilityServiceInfo info)
ResolveInfo
.
Generated by the system.
public static String getSettingsActivityName(android.accessibilityservice.AccessibilityServiceInfo info)
Statically set from meta-data
.
public static boolean getCanRetrieveWindowContent(android.accessibilityservice.AccessibilityServiceInfo info)
Statically set from meta-data
.
public static String getDescription(android.accessibilityservice.AccessibilityServiceInfo info)
Statically set from meta-data
.
public static String feedbackTypeToString(int feedbackType)
AccessibilityServiceInfo.FEEDBACK_SPOKEN
is represented by the
string FEEDBACK_SPOKEN.
feedbackType
- The feedback type.
public static String flagToString(int flag)
AccessibilityServiceInfo.DEFAULT
is represented by the
string DEFAULT.
flag
- The flag.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |