- java.lang.Object
-
- com.gluonhq.attach.ble.BleDevice
-
public class BleDevice extends java.lang.ObjectA BleDevice is defined by a name and an address, and a list of profiles/services, and a connection state- See Also:
BleProfile
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBleDevice.State
-
Constructor Summary
Constructors Constructor Description BleDevice()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetAddress()java.lang.StringgetName()javafx.collections.ObservableList<BleProfile>getProfiles()BleDevice.StategetState()voidsetAddress(java.lang.String address)voidsetName(java.lang.String name)voidsetState(BleDevice.State value)javafx.beans.property.ObjectProperty<BleDevice.State>stateProperty()java.lang.StringtoString()
-
-
-
Method Detail
-
getAddress
public java.lang.String getAddress()
-
setAddress
public void setAddress(java.lang.String address)
-
getName
public java.lang.String getName()
-
setName
public void setName(java.lang.String name)
-
getProfiles
public final javafx.collections.ObservableList<BleProfile> getProfiles()
-
stateProperty
public final javafx.beans.property.ObjectProperty<BleDevice.State> stateProperty()
-
getState
public final BleDevice.State getState()
-
setState
public final void setState(BleDevice.State value)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-