public enum TextSelection.TextSelectionTrigger
- Object
- Enum<TextSelection.TextSelectionTrigger>
- TextSelection.TextSelectionTrigger
Trigger types for text selection.
Enum constants
Press | TextSelection is triggered by a pointer press and drag. |
LongPress | Text selection is triggered by a long press on some text. |
Methods
public static TextSelection.TextSelectionTrigger[] values() | |
public static TextSelection.TextSelectionTrigger valueOf(String name) |
Inherited methods
Enum constant details
Press
PressTextSelection is triggered by a pointer press and drag. This is
consistent with desktop mouse text selection behaviour.
LongPress
LongPressText selection is triggered by a long press on some text.
Method details
values
public static TextSelection.TextSelectionTrigger[] values()valueOf
public static TextSelection.TextSelectionTrigger valueOf(String name)