Enum Class PlayerState

java.lang.Object
java.lang.Enum<PlayerState>
com.ooyala.pulse.PlayerState
All Implemented Interfaces:
Serializable, Comparable<PlayerState>, Constable

public enum PlayerState extends Enum<PlayerState>
List of supported video event player states.
  • Enum Constant Details

    • MINIMIZED

      public static final PlayerState MINIMIZED
      The player is collapsed in such a way that the video is hidden. The video may or may not still be progressing in this state, and sound may be audible. This refers specifically to the video player state on the page, and not the state of the browser window.
    • COLLAPSED

      public static final PlayerState COLLAPSED
      The player has been reduced from its original size. The video is still potentially visible.
    • NORMAL

      public static final PlayerState NORMAL
      The player's default playback size.
    • EXPANDED

      public static final PlayerState EXPANDED
      The player has expanded from its original size.
    • FULLSCREEN

      public static final PlayerState FULLSCREEN
      The player has entered fullscreen mode.
  • Method Details

    • values

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