Package com.teamdev.jxbrowser.permission
Enum Class PermissionType
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<PermissionType>,Constable
public enum PermissionType
extends Enum<PermissionType>
implements com.google.protobuf.ProtocolMessageEnum
The list of supported permission types.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionReserved value. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intReserved value.static final intstatic final intstatic final intstatic final intstatic final int -
Method Summary
Modifier and TypeMethodDescriptionstatic PermissionTypeforNumber(int value) static final com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<PermissionType>static PermissionTypevalueOf(int value) Deprecated.static PermissionTypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.static PermissionTypeReturns the enum constant of this class with the specified name.static PermissionType[]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
-
PERMISSION_TYPE_UNSPECIFIED
Reserved value. -
MIDI_SYSEX
-
NOTIFICATIONS
-
GEOLOCATION
-
PROTECTED_MEDIA_IDENTIFIER
-
MIDI
-
DURABLE_STORAGE
-
AUDIO_CAPTURE
-
VIDEO_CAPTURE
-
BACKGROUND_SYNC
-
SENSORS
-
CLIPBOARD_READ_WRITE
-
CLIPBOARD_SANITIZED_WRITE
-
LOCAL_FONTS
-
WAKE_LOCK_SCREEN
-
WAKE_LOCK_SYSTEM
-
UNRECOGNIZED
-
-
Field Details
-
PERMISSION_TYPE_UNSPECIFIED_VALUE
public static final int PERMISSION_TYPE_UNSPECIFIED_VALUEReserved value.- See Also:
-
MIDI_SYSEX_VALUE
public static final int MIDI_SYSEX_VALUE- See Also:
-
NOTIFICATIONS_VALUE
public static final int NOTIFICATIONS_VALUE- See Also:
-
GEOLOCATION_VALUE
public static final int GEOLOCATION_VALUE- See Also:
-
PROTECTED_MEDIA_IDENTIFIER_VALUE
public static final int PROTECTED_MEDIA_IDENTIFIER_VALUE- See Also:
-
MIDI_VALUE
public static final int MIDI_VALUE- See Also:
-
DURABLE_STORAGE_VALUE
public static final int DURABLE_STORAGE_VALUE- See Also:
-
AUDIO_CAPTURE_VALUE
public static final int AUDIO_CAPTURE_VALUE- See Also:
-
VIDEO_CAPTURE_VALUE
public static final int VIDEO_CAPTURE_VALUE- See Also:
-
BACKGROUND_SYNC_VALUE
public static final int BACKGROUND_SYNC_VALUE- See Also:
-
SENSORS_VALUE
public static final int SENSORS_VALUE- See Also:
-
CLIPBOARD_READ_WRITE_VALUE
public static final int CLIPBOARD_READ_WRITE_VALUE- See Also:
-
CLIPBOARD_SANITIZED_WRITE_VALUE
public static final int CLIPBOARD_SANITIZED_WRITE_VALUE- See Also:
-
LOCAL_FONTS_VALUE
public static final int LOCAL_FONTS_VALUE- See Also:
-
WAKE_LOCK_SCREEN_VALUE
public static final int WAKE_LOCK_SCREEN_VALUE- See Also:
-
WAKE_LOCK_SYSTEM_VALUE
public static final int WAKE_LOCK_SYSTEM_VALUE- 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:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin 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:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein 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
-