BluetoothProfile.ServiceListener
public
static
interface
BluetoothProfile.ServiceListener
android.bluetooth.BluetoothProfile.ServiceListener |
An interface for notifying BluetoothProfile IPC clients when they have been connected or disconnected to the service.
Summary
Public methods | |
---|---|
abstract
void
|
onServiceConnected(int profile, BluetoothProfile proxy)
Called to notify the client when the proxy object has been connected to the service. |
abstract
void
|
onServiceDisconnected(int profile)
Called to notify the client that this proxy object has been disconnected from the service. |
Public methods
onServiceConnected
void onServiceConnected (int profile, BluetoothProfile proxy)
Called to notify the client when the proxy object has been connected to the service.
Parameters | |
---|---|
profile |
int : - One of HEALTH , HEADSET or A2DP |
proxy |
BluetoothProfile : - One of BluetoothHealth , BluetoothHeadset or BluetoothA2dp
|
onServiceDisconnected
void onServiceDisconnected (int profile)
Called to notify the client that this proxy object has been disconnected from the service.
Parameters | |
---|---|
profile |
int : - One of HEALTH , HEADSET or A2DP
|
Interfaces
Classes
- BluetoothA2dp
- BluetoothAdapter
- BluetoothAssignedNumbers
- BluetoothClass
- BluetoothClass.Device
- BluetoothClass.Device.Major
- BluetoothClass.Service
- BluetoothDevice
- BluetoothGatt
- BluetoothGattCallback
- BluetoothGattCharacteristic
- BluetoothGattDescriptor
- BluetoothGattServer
- BluetoothGattServerCallback
- BluetoothGattService
- BluetoothHeadset
- BluetoothHealth
- BluetoothHealthAppConfiguration
- BluetoothHealthCallback
- BluetoothHidDevice
- BluetoothHidDeviceAppQosSettings
- BluetoothHidDeviceAppQosSettings.Builder
- BluetoothHidDeviceAppSdpSettings
- BluetoothHidDeviceCallback
- BluetoothManager
- BluetoothServerSocket
- BluetoothSocket