java.lang.Object
com.gluonhq.attach.ble.BleDevice
public class BleDevice
extends java.lang.Object
A BleDevice is defined by a name and an address, and a list of profiles/services,
and a connection state
- See Also:
BleProfile
-
Property Summary
Properties Type Property Description javafx.beans.property.ObjectProperty<BleDevice.State>state -
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBleDevice.State -
Constructor Summary
Constructors Constructor Description BleDevice() -
Method Summary
Modifier and Type Method Description java.lang.StringgetAddress()java.lang.StringgetName()javafx.collections.ObservableList<BleProfile>getProfiles()BleDevice.StategetState()Gets the value of the property state.voidsetAddress(java.lang.String address)voidsetName(java.lang.String name)voidsetState(BleDevice.State value)Sets the value of the property state.javafx.beans.property.ObjectProperty<BleDevice.State>stateProperty()java.lang.StringtoString()
-
Property Details
-
state
- See Also:
getState(),setState(BleDevice.State)
-
-
Constructor Details
-
BleDevice
public BleDevice()
-
-
Method Details
-
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
-
stateProperty
- See Also:
getState(),setState(BleDevice.State)
-
getState
Gets the value of the property state.- Property description:
-
setState
Sets the value of the property state.- Property description:
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-