@ProviderType
public interface BluetoothDevice
BluetoothConnector
and Bluetooth LE devices will use
BluetoothGatt
.
BluetoothConnector
, A default connector is not provided
and will need to be implemented.Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAdress()
Returns the physical address of the device.
|
BluetoothConnector |
getBluetoothConnector()
Deprecated.
|
BluetoothGatt |
getBluetoothGatt()
Return an instance of a Bluetooth GATT server to be
used in communicating with Bluetooth LE devices.
|
java.lang.String |
getName()
Returns the the name of the Bluetooth device.
|
int |
getType()
The type of devices, name whether the device supports
Bluetooth LE or not.
|
java.lang.String getName()
java.lang.String getAdress()
int getType()
@Deprecated BluetoothConnector getBluetoothConnector()
BluetoothGatt getBluetoothGatt()