Class BleDescriptor

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.UUID getUuid()  
    byte[] getValue()
    Gets the value of the property value.
    void setUuid​(java.util.UUID uuid)  
    void setValue​(byte[] value)
    Sets the value of the property value.
    java.lang.String toString()  
    javafx.beans.property.ObjectProperty<byte[]> valueProperty()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Property Details

  • Constructor Details

  • 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:
      toString in class java.lang.Object