android.bluetooth
Interface BluetoothProfile

All Known Implementing Classes:
BluetoothA2dp, BluetoothHeadset, BluetoothHealth

public interface BluetoothProfile


Nested Class Summary
static interface BluetoothProfile.ServiceListener
           
 
Field Summary
static int A2DP
           
static String EXTRA_PREVIOUS_STATE
           
static String EXTRA_STATE
           
static int HEADSET
           
static int HEALTH
           
static int STATE_CONNECTED
           
static int STATE_CONNECTING
           
static int STATE_DISCONNECTED
           
static int STATE_DISCONNECTING
           
 
Method Summary
 List<BluetoothDevice> getConnectedDevices()
           
 int getConnectionState(BluetoothDevice device)
           
 List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states)
           
 

Field Detail

EXTRA_STATE

static final String EXTRA_STATE
See Also:
Constant Field Values

EXTRA_PREVIOUS_STATE

static final String EXTRA_PREVIOUS_STATE
See Also:
Constant Field Values

STATE_DISCONNECTED

static final int STATE_DISCONNECTED
See Also:
Constant Field Values

STATE_CONNECTING

static final int STATE_CONNECTING
See Also:
Constant Field Values

STATE_CONNECTED

static final int STATE_CONNECTED
See Also:
Constant Field Values

STATE_DISCONNECTING

static final int STATE_DISCONNECTING
See Also:
Constant Field Values

HEADSET

static final int HEADSET
See Also:
Constant Field Values

A2DP

static final int A2DP
See Also:
Constant Field Values

HEALTH

static final int HEALTH
See Also:
Constant Field Values
Method Detail

getConnectedDevices

List<BluetoothDevice> getConnectedDevices()

getDevicesMatchingConnectionStates

List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states)

getConnectionState

int getConnectionState(BluetoothDevice device)


Copyright © 2008-2012. All Rights Reserved.