Enum Class BleSpecs.GattDescriptors

java.lang.Object
java.lang.Enum<BleSpecs.GattDescriptors>
com.gluonhq.attach.ble.BleSpecs.GattDescriptors
All Implemented Interfaces:
Serializable, Comparable<BleSpecs.GattDescriptors>, Constable
Enclosing class:
BleSpecs

public static enum BleSpecs.GattDescriptors extends Enum<BleSpecs.GattDescriptors>
https://www.bluetooth.com/specifications/gatt/descriptors
  • Enum Constant Details

  • Method Details

    • values

      public static BleSpecs.GattDescriptors[] 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 BleSpecs.GattDescriptors 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
    • getSpecificationName

      public String getSpecificationName()
    • getSpecificationType

      public String getSpecificationType()
    • getAssignedNumber

      public long getAssignedNumber()
    • ofAssignedNumber

      public static BleSpecs.GattDescriptors ofAssignedNumber(long number)
    • ofAssignedName

      public static BleSpecs.GattDescriptors ofAssignedName(String specificationName)