Package com.teamdev.jxbrowser.cast.rpc
Enum Class ResultCode
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,com.google.protobuf.ProtocolMessageEnum
,Serializable
,Comparable<ResultCode>
,Constable
@Generated("Generated by the protocol buffer compiler")
public enum ResultCode
extends Enum<ResultCode>
implements com.google.protobuf.ProtocolMessageEnum
The result code that is obtained after creating a cast session.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe cast session has been canceled, i.e.The cast session can not be created since it already exists.The cast session was not found.An attempt to show the screen picker has failed.The media source provider is not supported.The cast session successfully started.The receiver was not found when starting the cast session.Reserved value.The cast session has not been created within the specified time. -
Field Summary
Modifier and TypeFieldDescriptionstatic final int
The cast session has been canceled, i.e.static final int
The cast session can not be created since it already exists.static final int
The cast session was not found.static final int
An attempt to show the screen picker has failed.static final int
The media source provider is not supported.static final int
The cast session successfully started.static final int
The receiver was not found when starting the cast session.static final int
Reserved value.static final int
The cast session has not been created within the specified time. -
Method Summary
Modifier and TypeMethodDescriptionstatic ResultCode
forNumber
(int value) static final com.google.protobuf.Descriptors.EnumDescriptor
final com.google.protobuf.Descriptors.EnumDescriptor
final int
final com.google.protobuf.Descriptors.EnumValueDescriptor
static com.google.protobuf.Internal.EnumLiteMap<ResultCode>
static ResultCode
valueOf
(int value) Deprecated.static ResultCode
valueOf
(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.static ResultCode
Returns the enum constant of this class with the specified name.static ResultCode[]
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
-
RESULT_CODE_UNSPECIFIED
Reserved value. -
OK
The cast session successfully started. -
TIMED_OUT
The cast session has not been created within the specified time. -
CAST_SESSION_NOT_FOUND
The cast session was not found. -
RECEIVER_NOT_FOUND
The receiver was not found when starting the cast session. -
NO_SUPPORTED_PROVIDER
The media source provider is not supported. -
CANCELLED
The cast session has been canceled, i.e. via the "Cancel" button in the screen picker. -
CAST_SESSION_ALREADY_EXISTS
The cast session can not be created since it already exists. -
DESKTOP_PICKER_FAILED
An attempt to show the screen picker has failed. -
UNRECOGNIZED
-
-
Field Details
-
RESULT_CODE_UNSPECIFIED_VALUE
public static final int RESULT_CODE_UNSPECIFIED_VALUEReserved value.- See Also:
-
OK_VALUE
public static final int OK_VALUEThe cast session successfully started.- See Also:
-
TIMED_OUT_VALUE
public static final int TIMED_OUT_VALUEThe cast session has not been created within the specified time.- See Also:
-
CAST_SESSION_NOT_FOUND_VALUE
public static final int CAST_SESSION_NOT_FOUND_VALUEThe cast session was not found.- See Also:
-
RECEIVER_NOT_FOUND_VALUE
public static final int RECEIVER_NOT_FOUND_VALUEThe receiver was not found when starting the cast session.- See Also:
-
NO_SUPPORTED_PROVIDER_VALUE
public static final int NO_SUPPORTED_PROVIDER_VALUEThe media source provider is not supported.- See Also:
-
CANCELLED_VALUE
public static final int CANCELLED_VALUEThe cast session has been canceled, i.e. via the "Cancel" button in the screen picker.- See Also:
-
CAST_SESSION_ALREADY_EXISTS_VALUE
public static final int CAST_SESSION_ALREADY_EXISTS_VALUEThe cast session can not be created since it already exists.- See Also:
-
DESKTOP_PICKER_FAILED_VALUE
public static final int DESKTOP_PICKER_FAILED_VALUEAn attempt to show the screen picker has failed.- See Also:
-
-
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
-
getNumber
public final int getNumber()- Specified by:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
- Specified by:
getNumber
in interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
Deprecated.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:
value
- 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
-
forNumber
- Parameters:
value
- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptor
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
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:
desc
- 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
-