Class BleDevice

java.lang.Object
com.gluonhq.attach.ble.BleDevice

public class BleDevice extends Object
A BleDevice is defined by a name and an address, and a list of profiles/services, and a connection state
See Also:
  • Property Details

  • Constructor Details

    • BleDevice

      public BleDevice()
  • Method Details

    • getAddress

      public String getAddress()
    • setAddress

      public void setAddress(String address)
    • getName

      public String getName()
    • setName

      public void setName(String name)
    • getProfiles

      public final javafx.collections.ObservableList<BleProfile> getProfiles()
    • stateProperty

      public final javafx.beans.property.ObjectProperty<BleDevice.State> stateProperty()
      See Also:
    • getState

      public final BleDevice.State getState()
      Gets the value of the property state.
      Property description:
    • setState

      public final void setState(BleDevice.State value)
      Sets the value of the property state.
      Property description:
    • toString

      public String toString()
      Overrides:
      toString in class Object