@ProviderType
public interface BluetoothService
Modifier and Type | Method and Description |
---|---|
BluetoothAdapter |
getBluetoothAdapter()
Get the default Bluetooth adapter for the host machine.
|
BluetoothAdapter |
getBluetoothAdapter(java.lang.String name)
Get the Bluetooth adapter specified by name.
|
BluetoothAdapter |
getBluetoothAdapter(java.lang.String name,
BluetoothBeaconCommandListener bbcl)
Get the Bluetooth adapter specified by name.
|
BluetoothAdapter getBluetoothAdapter()
BluetoothAdapter getBluetoothAdapter(java.lang.String name)
name
- Name of the Bluetooth AdapterBluetoothAdapter getBluetoothAdapter(java.lang.String name, BluetoothBeaconCommandListener bbcl)
name
- Name of the Bluetooth Adapterbbcl
- Bluetooth Beacon Listener for commands