- java.lang.Object
-
- java.lang.Enum<BleSpecs.GattServices>
-
- com.gluonhq.attach.ble.BleSpecs.GattServices
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<BleSpecs.GattServices>
- Enclosing class:
- BleSpecs
public static enum BleSpecs.GattServices extends java.lang.Enum<BleSpecs.GattServices>
https://www.bluetooth.com/specifications/gatt/services
-
-
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.GattServices
ofAssignedName(java.lang.String specificationName)
static BleSpecs.GattServices
ofAssignedNumber(long number)
static BleSpecs.GattServices
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static BleSpecs.GattServices[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ALERT_NOTIFICATION_SERVICE
public static final BleSpecs.GattServices ALERT_NOTIFICATION_SERVICE
-
AUTOMATION_IO
public static final BleSpecs.GattServices AUTOMATION_IO
-
BATTERY_SERVICE
public static final BleSpecs.GattServices BATTERY_SERVICE
-
BLOOD_PRESSURE
public static final BleSpecs.GattServices BLOOD_PRESSURE
-
BODY_COMPOSITION
public static final BleSpecs.GattServices BODY_COMPOSITION
-
BOND_MANAGEMENT
public static final BleSpecs.GattServices BOND_MANAGEMENT
-
CONTINUOUS_GLUCOSE_MONITORING
public static final BleSpecs.GattServices CONTINUOUS_GLUCOSE_MONITORING
-
CURRENT_TIME_SERVICE
public static final BleSpecs.GattServices CURRENT_TIME_SERVICE
-
CUSTOM_SERVICE
public static final BleSpecs.GattServices CUSTOM_SERVICE
-
CYCLING_POWER
public static final BleSpecs.GattServices CYCLING_POWER
-
CYCLING_SPEED_AND_CADENCE
public static final BleSpecs.GattServices CYCLING_SPEED_AND_CADENCE
-
DEVICE_INFORMATION
public static final BleSpecs.GattServices DEVICE_INFORMATION
-
ENVIRONMENTAL_SENSING
public static final BleSpecs.GattServices ENVIRONMENTAL_SENSING
-
FITNESS_MACHINE
public static final BleSpecs.GattServices FITNESS_MACHINE
-
GENERIC_ACCESS
public static final BleSpecs.GattServices GENERIC_ACCESS
-
GENERIC_ATTRIBUTE
public static final BleSpecs.GattServices GENERIC_ATTRIBUTE
-
GLUCOSE
public static final BleSpecs.GattServices GLUCOSE
-
HEALTH_THERMOMETER
public static final BleSpecs.GattServices HEALTH_THERMOMETER
-
HEART_RATE
public static final BleSpecs.GattServices HEART_RATE
-
HTTP_PROXY
public static final BleSpecs.GattServices HTTP_PROXY
-
HUMAN_INTERFACE_DEVICE
public static final BleSpecs.GattServices HUMAN_INTERFACE_DEVICE
-
IMMEDIATE_ALERT
public static final BleSpecs.GattServices IMMEDIATE_ALERT
-
INDOOR_POSITIONING
public static final BleSpecs.GattServices INDOOR_POSITIONING
-
INTERNET_PROTOCOL_SUPPORT
public static final BleSpecs.GattServices INTERNET_PROTOCOL_SUPPORT
-
LINK_LOSS
public static final BleSpecs.GattServices LINK_LOSS
-
LOCATION_AND_NAVIGATION
public static final BleSpecs.GattServices LOCATION_AND_NAVIGATION
-
NEXT_DST_CHANGE_SERVICE
public static final BleSpecs.GattServices NEXT_DST_CHANGE_SERVICE
-
OBJECT_TRANSFER
public static final BleSpecs.GattServices OBJECT_TRANSFER
-
PHONE_ALERT_STATUS_SERVICE
public static final BleSpecs.GattServices PHONE_ALERT_STATUS_SERVICE
-
PULSE_OXIMETER
public static final BleSpecs.GattServices PULSE_OXIMETER
-
REFERENCE_TIME_UPDATE_SERVICE
public static final BleSpecs.GattServices REFERENCE_TIME_UPDATE_SERVICE
-
RUNNING_SPEED_AND_CADENCE
public static final BleSpecs.GattServices RUNNING_SPEED_AND_CADENCE
-
SCAN_PARAMETERS
public static final BleSpecs.GattServices SCAN_PARAMETERS
-
TRANSPORT_DISCOVERY
public static final BleSpecs.GattServices TRANSPORT_DISCOVERY
-
TX_POWER
public static final BleSpecs.GattServices TX_POWER
-
USER_DATA
public static final BleSpecs.GattServices USER_DATA
-
WEIGHT_SCALE
public static final BleSpecs.GattServices WEIGHT_SCALE
-
-
Method Detail
-
values
public static BleSpecs.GattServices[] 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.GattServices c : BleSpecs.GattServices.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.GattServices 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.GattServices ofAssignedNumber(long number)
-
ofAssignedName
public static BleSpecs.GattServices ofAssignedName(java.lang.String specificationName)
-
-