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
The reason why tunneling mode could not be enabled.
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionTunneling mode could not be enabled because of an API mismatch.Tunneling mode could not be enabled because there is no audio codec.Tunneling mode could not be enabled because there is no video codec. -
Method Summary
Modifier and TypeMethodDescriptionstatic TunnelingException.ReasonReturns the enum constant of this type with the specified name.static TunnelingException.Reason[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
API_MISMATCH
Tunneling mode could not be enabled because of an API mismatch. -
NO_VIDEO_CODEC
Tunneling mode could not be enabled because there is no video codec. -
NO_AUDIO_CODEC
Tunneling mode could not be enabled because there is no audio codec.
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-