android.bluetooth
Class BluetoothA2dp

java.lang.Object
  extended by android.bluetooth.BluetoothA2dp
All Implemented Interfaces:
BluetoothProfile

public final class BluetoothA2dp
extends Object
implements BluetoothProfile


Nested Class Summary
 
Nested classes/interfaces inherited from interface android.bluetooth.BluetoothProfile
BluetoothProfile.ServiceListener
 
Field Summary
static String ACTION_CONNECTION_STATE_CHANGED
           
static String ACTION_PLAYING_STATE_CHANGED
           
static int STATE_NOT_PLAYING
           
static int STATE_PLAYING
           
 
Fields inherited from interface android.bluetooth.BluetoothProfile
A2DP, EXTRA_PREVIOUS_STATE, EXTRA_STATE, HEADSET, HEALTH, STATE_CONNECTED, STATE_CONNECTING, STATE_DISCONNECTED, STATE_DISCONNECTING
 
Method Summary
 List<BluetoothDevice> getConnectedDevices()
           
 int getConnectionState(BluetoothDevice device)
           
 List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states)
           
 boolean isA2dpPlaying(BluetoothDevice device)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ACTION_CONNECTION_STATE_CHANGED

public static final String ACTION_CONNECTION_STATE_CHANGED
See Also:
Constant Field Values

ACTION_PLAYING_STATE_CHANGED

public static final String ACTION_PLAYING_STATE_CHANGED
See Also:
Constant Field Values

STATE_PLAYING

public static final int STATE_PLAYING
See Also:
Constant Field Values

STATE_NOT_PLAYING

public static final int STATE_NOT_PLAYING
See Also:
Constant Field Values
Method Detail

getConnectedDevices

public List<BluetoothDevice> getConnectedDevices()
Specified by:
getConnectedDevices in interface BluetoothProfile

getDevicesMatchingConnectionStates

public List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states)
Specified by:
getDevicesMatchingConnectionStates in interface BluetoothProfile

getConnectionState

public int getConnectionState(BluetoothDevice device)
Specified by:
getConnectionState in interface BluetoothProfile

isA2dpPlaying

public boolean isA2dpPlaying(BluetoothDevice device)


Copyright © 2008-2012. All Rights Reserved.