public class BluetoothManager
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
BluetoothManager.State |
Modifier and Type | Method and Description |
---|---|
BluetoothManager.State |
getState()
Returns the internal state.
|
void |
start()
Activates components required to detect Bluetooth devices and to enable
BT SCO (audio is routed via BT SCO) for the headset profile.
|
boolean |
startScoAudio()
Starts Bluetooth SCO connection with remote device.
|
void |
stop()
Stops and closes all components related to Bluetooth audio.
|
void |
stopScoAudio()
Stops Bluetooth SCO connection with remote device.
|
void |
updateDevice()
Use the BluetoothHeadset proxy object (controls the Bluetooth Headset
Service via IPC) to update the list of connected devices for the HEADSET
profile.
|
public BluetoothManager.State getState()
public void start()
public void stop()
public boolean startScoAudio()
public void stopScoAudio()
public void updateDevice()
Copyright 2016, Sinch AB