- java.lang.Object
-
- com.gluonhq.attach.ble.BleCharacteristic
-
public class BleCharacteristic extends java.lang.ObjectCharacteristics 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.StringgetProperties()java.util.UUIDgetUuid()byte[]getValue()voidsetProperties(java.lang.String properties)voidsetValue(byte[] value)java.lang.StringtoString()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:
toStringin classjava.lang.Object
-
-