Enum Class PermissionType

java.lang.Object
java.lang.Enum<PermissionType>
com.teamdev.jxbrowser.permission.PermissionType
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<PermissionType>, Constable

@Generated("Generated by the protocol buffer compiler") public enum PermissionType extends Enum<PermissionType> implements com.google.protobuf.ProtocolMessageEnum
The list of supported permission types.

  • Enum Constant Details

    • PERMISSION_TYPE_UNSPECIFIED

      public static final PermissionType PERMISSION_TYPE_UNSPECIFIED
      Reserved value.

    • MIDI_SYSEX

      public static final PermissionType MIDI_SYSEX
    • NOTIFICATIONS

      public static final PermissionType NOTIFICATIONS
    • GEOLOCATION

      public static final PermissionType GEOLOCATION
    • PROTECTED_MEDIA_IDENTIFIER

      public static final PermissionType PROTECTED_MEDIA_IDENTIFIER
    • MIDI

      public static final PermissionType MIDI
    • DURABLE_STORAGE

      public static final PermissionType DURABLE_STORAGE
    • AUDIO_CAPTURE

      public static final PermissionType AUDIO_CAPTURE
    • VIDEO_CAPTURE

      public static final PermissionType VIDEO_CAPTURE
    • BACKGROUND_SYNC

      public static final PermissionType BACKGROUND_SYNC
    • SENSORS

      public static final PermissionType SENSORS
    • ACCESSIBILITY_EVENTS

      public static final PermissionType ACCESSIBILITY_EVENTS
    • CLIPBOARD_READ_WRITE

      public static final PermissionType CLIPBOARD_READ_WRITE
    • CLIPBOARD_SANITIZED_WRITE

      public static final PermissionType CLIPBOARD_SANITIZED_WRITE
    • LOCAL_FONTS

      public static final PermissionType LOCAL_FONTS
    • UNRECOGNIZED

      public static final PermissionType UNRECOGNIZED
  • Field Details

  • Method Details

    • values

      public static PermissionType[] 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

      public static PermissionType valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite
      Specified by:
      getNumber in interface com.google.protobuf.ProtocolMessageEnum
    • valueOf

      @Deprecated public static PermissionType valueOf(int value)
      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 name
      NullPointerException - if the argument is null
    • forNumber

      public static PermissionType forNumber(int value)
      Parameters:
      value - The numeric wire value of the corresponding enum entry.
      Returns:
      The enum associated with the given numeric wire value.
    • internalGetValueMap

      public static com.google.protobuf.Internal.EnumLiteMap<PermissionType> internalGetValueMap()
    • getValueDescriptor

      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
      Specified by:
      getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptorForType

      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptor

      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
    • valueOf

      public static PermissionType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
      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 name
      NullPointerException - if the argument is null