public enum MediaDeviceType extends java.lang.Enum<MediaDeviceType> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enum teamdev.browsercore.media.MediaDeviceType
Enum Constant and Description |
---|
AUDIO_DEVICE |
MEDIA_DEVICE_TYPE_UNSPECIFIED
Reserved value.
|
UNRECOGNIZED |
VIDEO_DEVICE |
Modifier and Type | Field and Description |
---|---|
static int |
AUDIO_DEVICE_VALUE |
static int |
MEDIA_DEVICE_TYPE_UNSPECIFIED_VALUE
Reserved value.
|
static int |
VIDEO_DEVICE_VALUE |
Modifier and Type | Method and Description |
---|---|
static MediaDeviceType |
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<MediaDeviceType> |
internalGetValueMap() |
static MediaDeviceType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static MediaDeviceType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static MediaDeviceType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MediaDeviceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MediaDeviceType MEDIA_DEVICE_TYPE_UNSPECIFIED
public static final MediaDeviceType AUDIO_DEVICE
public static final MediaDeviceType VIDEO_DEVICE
public static final MediaDeviceType UNRECOGNIZED
public static final int MEDIA_DEVICE_TYPE_UNSPECIFIED_VALUE
public static final int AUDIO_DEVICE_VALUE
public static final int VIDEO_DEVICE_VALUE
public static MediaDeviceType[] values()
for (MediaDeviceType c : MediaDeviceType.values()) System.out.println(c);
public static MediaDeviceType 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 MediaDeviceType valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static MediaDeviceType forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<MediaDeviceType> 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 MediaDeviceType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)