Enum AccessibilityService.SoundEvent
- java.lang.Object
-
- java.lang.Enum<AccessibilityService.SoundEvent>
-
- uk.ac.qmul.eecs.ccmi.accessibility.AccessibilityService.SoundEvent
-
- Enclosing class:
- AccessibilityService
public static enum AccessibilityService.SoundEvent extends java.lang.Enum<AccessibilityService.SoundEvent>
A list of events that have a sound associated. The sounds are built in and cannot be modified.
-
-
Enum Constant Summary
Enum Constants Enum Constant and Description V_CANCEL
V_COLLAPSE
V_DRAG
V_EDITING_MODE
V_ENDOFLIST
V_ERROR
V_EXPAND
V_HOOK_OFF
V_HOOK_ON
V_JUMP
V_MAGNET_OFF
V_MAGNET_ON
V_OK
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static AccessibilityService.SoundEvent
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static AccessibilityService.SoundEvent[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
V_CANCEL
public static final AccessibilityService.SoundEvent V_CANCEL
-
V_COLLAPSE
public static final AccessibilityService.SoundEvent V_COLLAPSE
-
V_DRAG
public static final AccessibilityService.SoundEvent V_DRAG
-
V_EDITING_MODE
public static final AccessibilityService.SoundEvent V_EDITING_MODE
-
V_ENDOFLIST
public static final AccessibilityService.SoundEvent V_ENDOFLIST
-
V_ERROR
public static final AccessibilityService.SoundEvent V_ERROR
-
V_EXPAND
public static final AccessibilityService.SoundEvent V_EXPAND
-
V_HOOK_OFF
public static final AccessibilityService.SoundEvent V_HOOK_OFF
-
V_HOOK_ON
public static final AccessibilityService.SoundEvent V_HOOK_ON
-
V_JUMP
public static final AccessibilityService.SoundEvent V_JUMP
-
V_MAGNET_OFF
public static final AccessibilityService.SoundEvent V_MAGNET_OFF
-
V_MAGNET_ON
public static final AccessibilityService.SoundEvent V_MAGNET_ON
-
V_OK
public static final AccessibilityService.SoundEvent V_OK
-
-
Method Detail
-
values
public static AccessibilityService.SoundEvent[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (AccessibilityService.SoundEvent c : AccessibilityService.SoundEvent.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AccessibilityService.SoundEvent valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-