public class BluetoothHeadsetUtils
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
BluetoothHeadsetUtils.BlueToothListener |
| Constructor and Description |
|---|
BluetoothHeadsetUtils(android.content.Context context)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isOnHeadsetSco() |
void |
start(BluetoothHeadsetUtils.BlueToothListener listener)
Call this to start BluetoothHeadsetUtils functionalities.
|
void |
stop()
Should call this on onResume or onDestroy.
|
public BluetoothHeadsetUtils(android.content.Context context)
context - contextpublic void start(BluetoothHeadsetUtils.BlueToothListener listener)
public void stop()
public boolean isOnHeadsetSco()