Package su.litvak.chromecast.api.v2
Enum Class ChromeCastSpontaneousEvent.SpontaneousEventType
java.lang.Object
java.lang.Enum<ChromeCastSpontaneousEvent.SpontaneousEventType>
su.litvak.chromecast.api.v2.ChromeCastSpontaneousEvent.SpontaneousEventType
- All Implemented Interfaces:
Serializable,Comparable<ChromeCastSpontaneousEvent.SpontaneousEventType>,java.lang.constant.Constable
- Enclosing class:
ChromeCastSpontaneousEvent
public static enum ChromeCastSpontaneousEvent.SpontaneousEventType
extends Enum<ChromeCastSpontaneousEvent.SpontaneousEventType>
Type of a spontaneous events. Some events are expected and can contain some useful known data. For the rest
there is
UNKNOWN type of spontaneous event with generic data.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionData type will beAppEvent.Special event usually received when session is stopped.Data type will beMediaStatus.Data type will beStatus.Data type will beJsonNode. -
Method Summary
-
Enum Constant Details
-
MEDIA_STATUS
Data type will beMediaStatus. -
STATUS
Data type will beStatus. -
APPEVENT
Data type will beAppEvent. -
CLOSE
Special event usually received when session is stopped. -
UNKNOWN
Data type will beJsonNode.
-
-
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
-
getDataClass
-