Enum Class AdPauseReason

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

public enum AdPauseReason extends Enum<AdPauseReason>
  • Enum Constant Details

    • INTERACTION

      public static final AdPauseReason INTERACTION
    • CLICK_THROUGH

      public static final AdPauseReason CLICK_THROUGH
    • VIEWABLE

      public static final AdPauseReason VIEWABLE
    • EXTERNAL

      public static final AdPauseReason EXTERNAL
    • AUDIO_INTERRUPTION

      public static final AdPauseReason AUDIO_INTERRUPTION
      The ad was paused because the device's audio was interrupted (headphones or Bluetooth audio disconnected, or audio focus lost when audio-focus handling is enabled).
    • UNKNOWN

      public static final AdPauseReason UNKNOWN
  • Method Details

    • values

      public static AdPauseReason[] 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 AdPauseReason 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
    • equalsName

      public boolean equalsName(String otherName)
    • toString

      public String toString()
      Overrides:
      toString in class Enum<AdPauseReason>
    • fromString

      public static AdPauseReason fromString(String position)