java.lang.Object
com.gluonhq.attach.ble.BleDescriptor
public class BleDescriptor
extends java.lang.Object
Descriptors are defined attributes that describe a characteristic value.
A BleDescriptor is defined by an UUID and a value given by a raw byte array
- See Also:
BleCharacteristic
-
Property Summary
Properties Type Property Description javafx.beans.property.ObjectProperty<byte[]>value -
Constructor Summary
Constructors Constructor Description BleDescriptor() -
Method Summary
Modifier and Type Method Description java.util.UUIDgetUuid()byte[]getValue()Gets the value of the property value.voidsetUuid(java.util.UUID uuid)voidsetValue(byte[] value)Sets the value of the property value.java.lang.StringtoString()javafx.beans.property.ObjectProperty<byte[]>valueProperty()
-
Property Details
-
value
public final javafx.beans.property.ObjectProperty<byte[]> valueProperty- See Also:
getValue(),setValue(byte[])
-
-
Constructor Details
-
BleDescriptor
public BleDescriptor()
-
-
Method Details
-
getUuid
public java.util.UUID getUuid() -
setUuid
public void setUuid(java.util.UUID uuid) -
getValue
public final byte[] getValue()Gets the value of the property value.- Property description:
-
setValue
public final void setValue(byte[] value)Sets the value of the property value.- Property description:
-
valueProperty
public final javafx.beans.property.ObjectProperty<byte[]> valueProperty()- See Also:
getValue(),setValue(byte[])
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-