@Generated(value="Generated by the protocol buffer compiler") public enum ResultCode extends java.lang.Enum<ResultCode> implements com.google.protobuf.ProtocolMessageEnum
Enum Constant and Description |
---|
CANCELLED
The cast session has been canceled, i.e.
|
CAST_SESSION_ALREADY_EXISTS
The cast session can not be created since it already exists.
|
CAST_SESSION_NOT_FOUND
The cast session was not found.
|
DESKTOP_PICKER_FAILED
An attempt to show the screen picker has failed.
|
NO_SUPPORTED_PROVIDER
The media source provider is not supported.
|
OK
The cast session successfully started.
|
RECEIVER_NOT_FOUND
The receiver was not found when starting the cast session.
|
RESULT_CODE_UNSPECIFIED
Reserved value.
|
TIMED_OUT
The cast session has not been created within the specified time.
|
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
CANCELLED_VALUE
The cast session has been canceled, i.e.
|
static int |
CAST_SESSION_ALREADY_EXISTS_VALUE
The cast session can not be created since it already exists.
|
static int |
CAST_SESSION_NOT_FOUND_VALUE
The cast session was not found.
|
static int |
DESKTOP_PICKER_FAILED_VALUE
An attempt to show the screen picker has failed.
|
static int |
NO_SUPPORTED_PROVIDER_VALUE
The media source provider is not supported.
|
static int |
OK_VALUE
The cast session successfully started.
|
static int |
RECEIVER_NOT_FOUND_VALUE
The receiver was not found when starting the cast session.
|
static int |
RESULT_CODE_UNSPECIFIED_VALUE
Reserved value.
|
static int |
TIMED_OUT_VALUE
The cast session has not been created within the specified time.
|
Modifier and Type | Method and Description |
---|---|
static ResultCode |
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<ResultCode> |
internalGetValueMap() |
static ResultCode |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static ResultCode |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static ResultCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ResultCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResultCode RESULT_CODE_UNSPECIFIED
public static final ResultCode OK
public static final ResultCode TIMED_OUT
public static final ResultCode CAST_SESSION_NOT_FOUND
public static final ResultCode RECEIVER_NOT_FOUND
public static final ResultCode NO_SUPPORTED_PROVIDER
public static final ResultCode CANCELLED
public static final ResultCode CAST_SESSION_ALREADY_EXISTS
public static final ResultCode DESKTOP_PICKER_FAILED
public static final ResultCode UNRECOGNIZED
public static final int RESULT_CODE_UNSPECIFIED_VALUE
public static final int OK_VALUE
public static final int TIMED_OUT_VALUE
public static final int CAST_SESSION_NOT_FOUND_VALUE
public static final int RECEIVER_NOT_FOUND_VALUE
public static final int NO_SUPPORTED_PROVIDER_VALUE
public static final int CANCELLED_VALUE
public static final int CAST_SESSION_ALREADY_EXISTS_VALUE
public static final int DESKTOP_PICKER_FAILED_VALUE
public static ResultCode[] values()
for (ResultCode c : ResultCode.values()) System.out.println(c);
public static ResultCode 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 ResultCode valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static ResultCode forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<ResultCode> 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 ResultCode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)