public final class SerialComBluetoothAdapter extends Object
Represents the local device Bluetooth adapter and information about it.
| Constructor and Description |
|---|
SerialComBluetoothAdapter(String name,
String address,
String type,
String bus)
Construct and allocates a new SerialComBluetoothAdapter object with given details.
|
| Modifier and Type | Method and Description |
|---|---|
void |
dumpDeviceInfo()
Prints information about this Bluetooth adaptor on console.
|
String |
getAddress()
Returns the hardware address of the local Bluetooth adapter
for example "00:11:22:AA:BB:CC".
|
String |
getBus()
Gives information about which bus this device is connected to.
|
String |
getName()
Get the friendly Bluetooth name of the local Bluetooth adapter.
|
String |
getType()
Returns the type of this device.
|
public String getName()
Get the friendly Bluetooth name of the local Bluetooth adapter. This name is visible to remote Bluetooth devices.
public String getAddress()
Returns the hardware address of the local Bluetooth adapter for example "00:11:22:AA:BB:CC".
public String getType()
Returns the type of this device.
public String getBus()
Gives information about which bus this device is connected to.
public void dumpDeviceInfo()
Prints information about this Bluetooth adaptor on console.
Copyright © 2016. All rights reserved.