- 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
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BleDevice.State
-
Constructor Summary
Constructors Constructor Description BleDevice()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getAddress()
java.lang.String
getName()
javafx.collections.ObservableList<BleProfile>
getProfiles()
BleDevice.State
getState()
void
setAddress(java.lang.String address)
void
setName(java.lang.String name)
void
setState(BleDevice.State value)
javafx.beans.property.ObjectProperty<BleDevice.State>
stateProperty()
java.lang.String
toString()
-
-
-
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:
toString
in classjava.lang.Object
-
-