-
- All Implemented Interfaces:
-
java.io.Serializable
,java.lang.Comparable
public enum ReactAccessibilityDelegate.AccessibilityRole
These roles are defined by Google's TalkBack screen reader, and this list should be kept up todate with their implementation. Details can be seen in their source code here:
https://github.com/google/talkback/blob/master/utils/src/main/java/Role.java
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NONE
BUTTON
TOGGLEBUTTON
LINK
SEARCH
IMAGE
IMAGEBUTTON
KEYBOARDKEY
TEXT
ADJUSTABLE
SUMMARY
HEADER
ALERT
CHECKBOX
COMBOBOX
MENU
MENUBAR
MENUITEM
PROGRESSBAR
RADIO
RADIOGROUP
SCROLLBAR
SPINBUTTON
SWITCH
TAB
TABLIST
TIMER
LIST
TOOLBAR
-
Method Summary
Modifier and Type Method Description static String
getValue(ReactAccessibilityDelegate.AccessibilityRole role)
static ReactAccessibilityDelegate.AccessibilityRole
fromValue(@Nullable() String value)
static Array<ReactAccessibilityDelegate.AccessibilityRole>
values()
static ReactAccessibilityDelegate.AccessibilityRole
valueOf(String name)
-
-
Method Detail
-
getValue
static String getValue(ReactAccessibilityDelegate.AccessibilityRole role)
-
fromValue
static ReactAccessibilityDelegate.AccessibilityRole fromValue(@Nullable() String value)
-
values
static Array<ReactAccessibilityDelegate.AccessibilityRole> values()
-
valueOf
static ReactAccessibilityDelegate.AccessibilityRole valueOf(String name)
-
-
-
-