public enum TextSelection.TextSelectionTrigger

  1. Object
  2. Enum<TextSelection.TextSelectionTrigger>
  3. TextSelection.TextSelectionTrigger

ImplementsComparable<TextSelection.TextSelectionTrigger>

Trigger types for text selection.

Enum constants

PressTextSelection is triggered by a pointer press and drag.
LongPressText 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

Press
TextSelection is triggered by a pointer press and drag. This is consistent with desktop mouse text selection behaviour.

LongPress

LongPress
Text 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)