public final class LocalBluetoothProfileManager extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
LocalBluetoothProfileManager.ServiceListener
An interface for notifying BluetoothHeadset IPC clients when they have
been connected to the BluetoothHeadset service.
|
Modifier and Type | Method and Description |
---|---|
void |
addServiceListener(LocalBluetoothProfileManager.ServiceListener l) |
A2dpProfile |
getA2dpProfile() |
com.android.settingslib.bluetooth.A2dpSinkProfile |
getA2dpSinkProfile() |
HeadsetProfile |
getHeadsetProfile() |
com.android.settingslib.bluetooth.HfpClientProfile |
getHfpClientProfile() |
MapProfile |
getMapProfile() |
com.android.settingslib.bluetooth.PbapClientProfile |
getPbapClientProfile() |
PbapServerProfile |
getPbapProfile() |
LocalBluetoothProfile |
getProfileByName(String name) |
boolean |
isManagerReady() |
void |
removeServiceListener(LocalBluetoothProfileManager.ServiceListener l) |
public LocalBluetoothProfile getProfileByName(String name)
public void addServiceListener(LocalBluetoothProfileManager.ServiceListener l)
public void removeServiceListener(LocalBluetoothProfileManager.ServiceListener l)
public boolean isManagerReady()
public A2dpProfile getA2dpProfile()
public com.android.settingslib.bluetooth.A2dpSinkProfile getA2dpSinkProfile()
public HeadsetProfile getHeadsetProfile()
public com.android.settingslib.bluetooth.HfpClientProfile getHfpClientProfile()
public com.android.settingslib.bluetooth.PbapClientProfile getPbapClientProfile()
public PbapServerProfile getPbapProfile()
public MapProfile getMapProfile()