- java.lang.Object
-
- java.lang.Enum<BleSpecs.GattDescriptors>
-
- com.gluonhq.attach.ble.BleSpecs.GattDescriptors
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<BleSpecs.GattDescriptors>
- Enclosing class:
- BleSpecs
public static enum BleSpecs.GattDescriptors extends java.lang.Enum<BleSpecs.GattDescriptors>
https://www.bluetooth.com/specifications/gatt/descriptors
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getAssignedNumber()
java.lang.String
getSpecificationName()
java.lang.String
getSpecificationType()
static BleSpecs.GattDescriptors
ofAssignedName(java.lang.String specificationName)
static BleSpecs.GattDescriptors
ofAssignedNumber(long number)
static BleSpecs.GattDescriptors
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static BleSpecs.GattDescriptors[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CHARACTERISTIC_AGGREGATE_FORMAT
public static final BleSpecs.GattDescriptors CHARACTERISTIC_AGGREGATE_FORMAT
-
CHARACTERISTIC_EXTENDED_PROPERTIES
public static final BleSpecs.GattDescriptors CHARACTERISTIC_EXTENDED_PROPERTIES
-
CHARACTERISTIC_PRESENTATION_FORMAT
public static final BleSpecs.GattDescriptors CHARACTERISTIC_PRESENTATION_FORMAT
-
CHARACTERISTIC_USER_DESCRIPTION
public static final BleSpecs.GattDescriptors CHARACTERISTIC_USER_DESCRIPTION
-
CLIENT_CHARACTERISTIC_CONFIGURATION
public static final BleSpecs.GattDescriptors CLIENT_CHARACTERISTIC_CONFIGURATION
-
ENVIRONMENTAL_SENSING_CONFIGURATION
public static final BleSpecs.GattDescriptors ENVIRONMENTAL_SENSING_CONFIGURATION
-
ENVIRONMENTAL_SENSING_MEASUREMENT
public static final BleSpecs.GattDescriptors ENVIRONMENTAL_SENSING_MEASUREMENT
-
ENVIRONMENTAL_SENSING_TRIGGER_SETTING
public static final BleSpecs.GattDescriptors ENVIRONMENTAL_SENSING_TRIGGER_SETTING
-
EXTERNAL_REPORT_REFERENCE
public static final BleSpecs.GattDescriptors EXTERNAL_REPORT_REFERENCE
-
NUMBER_OF_DIGITALS
public static final BleSpecs.GattDescriptors NUMBER_OF_DIGITALS
-
REPORT_REFERENCE
public static final BleSpecs.GattDescriptors REPORT_REFERENCE
-
SERVER_CHARACTERISTIC_CONFIGURATION
public static final BleSpecs.GattDescriptors SERVER_CHARACTERISTIC_CONFIGURATION
-
TIME_TRIGGER_SETTING
public static final BleSpecs.GattDescriptors TIME_TRIGGER_SETTING
-
VALID_RANGE
public static final BleSpecs.GattDescriptors VALID_RANGE
-
VALUE_TRIGGER_SETTING
public static final BleSpecs.GattDescriptors VALUE_TRIGGER_SETTING
-
-
Method Detail
-
values
public static BleSpecs.GattDescriptors[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (BleSpecs.GattDescriptors c : BleSpecs.GattDescriptors.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BleSpecs.GattDescriptors valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getSpecificationName
public java.lang.String getSpecificationName()
-
getSpecificationType
public java.lang.String getSpecificationType()
-
getAssignedNumber
public long getAssignedNumber()
-
ofAssignedNumber
public static BleSpecs.GattDescriptors ofAssignedNumber(long number)
-
ofAssignedName
public static BleSpecs.GattDescriptors ofAssignedName(java.lang.String specificationName)
-
-