public enum MediaDeviceType extends java.lang.Enum<MediaDeviceType>
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 <any> |
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()
@Deprecated public static MediaDeviceType valueOf(int value)
forNumber(int)
instead.public static MediaDeviceType forNumber(int value)
public static <any> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static MediaDeviceType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)