Enum Class UiState

java.lang.Object
java.lang.Enum<UiState>
com.jwplayer.pub.api.UiState
All Implemented Interfaces:
Serializable, Comparable<UiState>, Constable

public enum UiState extends Enum<UiState>
An public enum that acts as an ID for the current state of the UI
  • Enum Constant Details

    • UNSET

      public static final UiState UNSET
    • IDLE

      public static final UiState IDLE
    • LOADING

      public static final UiState LOADING
    • PLAYING

      public static final UiState PLAYING
    • PAUSED

      public static final UiState PAUSED
    • ERROR

      public static final UiState ERROR
    • COMPLETE

      public static final UiState COMPLETE
  • Method Details

    • values

      public static UiState[] 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 UiState 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