@Generated(value="Generated by the protocol buffer compiler") public enum MediaReceiverState extends java.lang.Enum<MediaReceiverState> implements com.google.protobuf.ProtocolMessageEnum
Enum Constant and Description |
---|
AVAILABLE
The receiver is available to be cast to.
|
CONNECTED
Content is currently cast to the receiver.
|
CONNECTING
The receiver is starting a new cast session.
|
DISCONNECTING
The receiver is still connected but is in the process of disconnecting.
|
SINK_STATE_UNDEFINED |
UNAVAILABLE
The receiver is disconnected/cached (not available right now).
|
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
AVAILABLE_VALUE
The receiver is available to be cast to.
|
static int |
CONNECTED_VALUE
Content is currently cast to the receiver.
|
static int |
CONNECTING_VALUE
The receiver is starting a new cast session.
|
static int |
DISCONNECTING_VALUE
The receiver is still connected but is in the process of disconnecting.
|
static int |
SINK_STATE_UNDEFINED_VALUE |
static int |
UNAVAILABLE_VALUE
The receiver is disconnected/cached (not available right now).
|
Modifier and Type | Method and Description |
---|---|
static MediaReceiverState |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<MediaReceiverState> |
internalGetValueMap() |
static MediaReceiverState |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static MediaReceiverState |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static MediaReceiverState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MediaReceiverState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MediaReceiverState SINK_STATE_UNDEFINED
public static final MediaReceiverState AVAILABLE
public static final MediaReceiverState CONNECTING
public static final MediaReceiverState CONNECTED
public static final MediaReceiverState DISCONNECTING
public static final MediaReceiverState UNAVAILABLE
public static final MediaReceiverState UNRECOGNIZED
public static final int SINK_STATE_UNDEFINED_VALUE
public static final int AVAILABLE_VALUE
public static final int CONNECTING_VALUE
public static final int CONNECTED_VALUE
public static final int DISCONNECTING_VALUE
public static final int UNAVAILABLE_VALUE
public static MediaReceiverState[] values()
for (MediaReceiverState c : MediaReceiverState.values()) System.out.println(c);
public static MediaReceiverState valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic final int getNumber()
getNumber
in interface com.google.protobuf.Internal.EnumLite
getNumber
in interface com.google.protobuf.ProtocolMessageEnum
@Deprecated public static MediaReceiverState valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static MediaReceiverState forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<MediaReceiverState> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface com.google.protobuf.ProtocolMessageEnum
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.ProtocolMessageEnum
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static MediaReceiverState valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)