Enum Class BackButtonPressTriggerEvent

java.lang.Object
java.lang.Enum<BackButtonPressTriggerEvent>
com.unblu.sdk.core.model.BackButtonPressTriggerEvent
All Implemented Interfaces:
Serializable, Comparable<BackButtonPressTriggerEvent>, Constable

public enum BackButtonPressTriggerEvent extends Enum<BackButtonPressTriggerEvent>
Defines the trigger scenario for the native back button action
  • Enum Constant Details

    • UP

      public static final BackButtonPressTriggerEvent UP
      The event triggered because the button was released. The event matches KeyEvent.ACTION_UP.
    • DOWN

      public static final BackButtonPressTriggerEvent DOWN
      The event triggered because the button was pressed down. The event matches KeyEvent.ACTION_DOWN.
  • Method Details

    • values

      public static BackButtonPressTriggerEvent[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static BackButtonPressTriggerEvent valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null