Package com.teamdev.jxbrowser.cast
Enum Class MediaReceiverState
- All Implemented Interfaces:
Serializable,Comparable<MediaReceiverState>,Constable
The current media receiver's state.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe receiver is available to be cast to.Content is currently cast to the receiver.The receiver is starting a new cast session.The receiver is still connected but is in the process of disconnecting.The receiver is not available right now (disconnected/cached). -
Method Summary
Modifier and TypeMethodDescriptionstatic MediaReceiverStateReturns the enum constant of this class with the specified name.static MediaReceiverState[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
AVAILABLE
The receiver is available to be cast to. -
CONNECTING
The receiver is starting a new cast session. A receiver temporarily enters this state when transitioning from AVAILABLE to CONNECTED. -
CONNECTED
Content is currently cast to the receiver. -
DISCONNECTING
The receiver is still connected but is in the process of disconnecting. A receiver temporarily enters this state when transitioning from CONNECTED to AVAILABLE. -
UNAVAILABLE
The receiver is not available right now (disconnected/cached).
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-