@Generated(value="Generated by the protocol buffer compiler") public enum PermissionType extends java.lang.Enum<PermissionType> implements com.google.protobuf.ProtocolMessageEnum
Enum Constant and Description |
---|
AUDIO_CAPTURE |
BACKGROUND_SYNC |
CLIPBOARD_READ_WRITE |
CLIPBOARD_SANITIZED_WRITE |
DURABLE_STORAGE |
GEOLOCATION |
LOCAL_FONTS |
MIDI |
MIDI_SYSEX |
NOTIFICATIONS |
PERMISSION_TYPE_UNSPECIFIED
Reserved value.
|
PROTECTED_MEDIA_IDENTIFIER |
SENSORS |
UNRECOGNIZED |
VIDEO_CAPTURE |
Modifier and Type | Field and Description |
---|---|
static int |
AUDIO_CAPTURE_VALUE |
static int |
BACKGROUND_SYNC_VALUE |
static int |
CLIPBOARD_READ_WRITE_VALUE |
static int |
CLIPBOARD_SANITIZED_WRITE_VALUE |
static int |
DURABLE_STORAGE_VALUE |
static int |
GEOLOCATION_VALUE |
static int |
LOCAL_FONTS_VALUE |
static int |
MIDI_SYSEX_VALUE |
static int |
MIDI_VALUE |
static int |
NOTIFICATIONS_VALUE |
static int |
PERMISSION_TYPE_UNSPECIFIED_VALUE
Reserved value.
|
static int |
PROTECTED_MEDIA_IDENTIFIER_VALUE |
static int |
SENSORS_VALUE |
static int |
VIDEO_CAPTURE_VALUE |
Modifier and Type | Method and Description |
---|---|
static PermissionType |
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<PermissionType> |
internalGetValueMap() |
static PermissionType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static PermissionType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static PermissionType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PermissionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PermissionType PERMISSION_TYPE_UNSPECIFIED
public static final PermissionType MIDI_SYSEX
public static final PermissionType NOTIFICATIONS
public static final PermissionType GEOLOCATION
public static final PermissionType PROTECTED_MEDIA_IDENTIFIER
public static final PermissionType MIDI
public static final PermissionType DURABLE_STORAGE
public static final PermissionType AUDIO_CAPTURE
public static final PermissionType VIDEO_CAPTURE
public static final PermissionType BACKGROUND_SYNC
public static final PermissionType SENSORS
public static final PermissionType CLIPBOARD_READ_WRITE
public static final PermissionType CLIPBOARD_SANITIZED_WRITE
public static final PermissionType LOCAL_FONTS
public static final PermissionType UNRECOGNIZED
public static final int PERMISSION_TYPE_UNSPECIFIED_VALUE
public static final int MIDI_SYSEX_VALUE
public static final int NOTIFICATIONS_VALUE
public static final int GEOLOCATION_VALUE
public static final int PROTECTED_MEDIA_IDENTIFIER_VALUE
public static final int MIDI_VALUE
public static final int DURABLE_STORAGE_VALUE
public static final int AUDIO_CAPTURE_VALUE
public static final int VIDEO_CAPTURE_VALUE
public static final int BACKGROUND_SYNC_VALUE
public static final int SENSORS_VALUE
public static final int CLIPBOARD_READ_WRITE_VALUE
public static final int CLIPBOARD_SANITIZED_WRITE_VALUE
public static final int LOCAL_FONTS_VALUE
public static PermissionType[] values()
for (PermissionType c : PermissionType.values()) System.out.println(c);
public static PermissionType 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 PermissionType valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static PermissionType forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<PermissionType> 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 PermissionType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)