- java.lang.Object
-
- com.gluonhq.attach.ble.BleCharacteristic
-
public class BleCharacteristic extends java.lang.Object
Characteristics are defined attribute types that contain a single logical value. A BleCharacteristic is defined by an UUID, a list of properties, a value, and a list of descriptors- See Also:
BleDescriptor
-
-
Constructor Summary
Constructors Constructor Description BleCharacteristic(java.util.UUID uuid)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javafx.collections.ObservableList<BleDescriptor>
getDescriptors()
java.lang.String
getProperties()
java.util.UUID
getUuid()
byte[]
getValue()
void
setProperties(java.lang.String properties)
void
setValue(byte[] value)
java.lang.String
toString()
javafx.beans.property.ObjectProperty<byte[]>
valueProperty()
-
-
-
Method Detail
-
getUuid
public java.util.UUID getUuid()
-
getProperties
public java.lang.String getProperties()
-
setProperties
public void setProperties(java.lang.String properties)
-
getValue
public final byte[] getValue()
-
setValue
public final void setValue(byte[] value)
-
valueProperty
public final javafx.beans.property.ObjectProperty<byte[]> valueProperty()
-
getDescriptors
public final javafx.collections.ObservableList<BleDescriptor> getDescriptors()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-