Enum TunnelingException.Reason

java.lang.Object
java.lang.Enum<TunnelingException.Reason>
com.castlabs.android.player.exceptions.TunnelingException.Reason
All Implemented Interfaces:
Serializable, Comparable<TunnelingException.Reason>
Enclosing class:
TunnelingException

public static enum TunnelingException.Reason extends Enum<TunnelingException.Reason>
The reason why tunneling mode could not be enabled.
  • Enum Constant Details

    • API_MISMATCH

      public static final TunnelingException.Reason API_MISMATCH
      Tunneling mode could not be enabled because of an API mismatch.
    • NO_VIDEO_CODEC

      public static final TunnelingException.Reason NO_VIDEO_CODEC
      Tunneling mode could not be enabled because there is no video codec.
    • NO_AUDIO_CODEC

      public static final TunnelingException.Reason NO_AUDIO_CODEC
      Tunneling mode could not be enabled because there is no audio codec.
  • Method Details

    • values

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

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