public static interface BluetoothProfile.ServiceListener
Modifier and Type | Method and Description |
---|---|
void |
onServiceConnected(int profile,
BluetoothProfile proxy)
Called to notify the client when the proxy object has been
connected to the service.
|
void |
onServiceDisconnected(int profile)
Called to notify the client that this proxy object has been
disconnected from the service.
|
void onServiceConnected(int profile, BluetoothProfile proxy)
profile
- - One of BluetoothProfile.HEALTH
, BluetoothProfile.HEADSET
or
BluetoothProfile.A2DP
proxy
- - One of BluetoothHealth
, BluetoothHeadset
or
BluetoothA2dp
void onServiceDisconnected(int profile)
profile
- - One of BluetoothProfile.HEALTH
, BluetoothProfile.HEADSET
or
BluetoothProfile.A2DP