Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
Android APIs
public static interface

BluetoothProfile.ServiceListener

android.bluetooth.BluetoothProfile.ServiceListener

Class Overview

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

public abstract void onServiceConnected (int profile, BluetoothProfile proxy)

Called to notify the client when the proxy object has been connected to the service.

public abstract void onServiceDisconnected (int profile)

Called to notify the client that this proxy object has been disconnected from the service.

Parameters
profile - One of HEALTH , HEADSET or A2DP