android.bluetooth
Class BluetoothHeadset
java.lang.Object
android.bluetooth.BluetoothHeadset
- All Implemented Interfaces:
- BluetoothProfile
public final class BluetoothHeadset
- extends Object
- implements BluetoothProfile
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ACTION_CONNECTION_STATE_CHANGED
public static final String ACTION_CONNECTION_STATE_CHANGED
- See Also:
- Constant Field Values
ACTION_AUDIO_STATE_CHANGED
public static final String ACTION_AUDIO_STATE_CHANGED
- See Also:
- Constant Field Values
ACTION_VENDOR_SPECIFIC_HEADSET_EVENT
public static final String ACTION_VENDOR_SPECIFIC_HEADSET_EVENT
- See Also:
- Constant Field Values
EXTRA_VENDOR_SPECIFIC_HEADSET_EVENT_CMD
public static final String EXTRA_VENDOR_SPECIFIC_HEADSET_EVENT_CMD
- See Also:
- Constant Field Values
EXTRA_VENDOR_SPECIFIC_HEADSET_EVENT_CMD_TYPE
public static final String EXTRA_VENDOR_SPECIFIC_HEADSET_EVENT_CMD_TYPE
- See Also:
- Constant Field Values
AT_CMD_TYPE_READ
public static final int AT_CMD_TYPE_READ
- See Also:
- Constant Field Values
AT_CMD_TYPE_TEST
public static final int AT_CMD_TYPE_TEST
- See Also:
- Constant Field Values
AT_CMD_TYPE_SET
public static final int AT_CMD_TYPE_SET
- See Also:
- Constant Field Values
AT_CMD_TYPE_BASIC
public static final int AT_CMD_TYPE_BASIC
- See Also:
- Constant Field Values
AT_CMD_TYPE_ACTION
public static final int AT_CMD_TYPE_ACTION
- See Also:
- Constant Field Values
EXTRA_VENDOR_SPECIFIC_HEADSET_EVENT_ARGS
public static final String EXTRA_VENDOR_SPECIFIC_HEADSET_EVENT_ARGS
- See Also:
- Constant Field Values
VENDOR_SPECIFIC_HEADSET_EVENT_COMPANY_ID_CATEGORY
public static final String VENDOR_SPECIFIC_HEADSET_EVENT_COMPANY_ID_CATEGORY
- See Also:
- Constant Field Values
STATE_AUDIO_DISCONNECTED
public static final int STATE_AUDIO_DISCONNECTED
- See Also:
- Constant Field Values
STATE_AUDIO_CONNECTING
public static final int STATE_AUDIO_CONNECTING
- See Also:
- Constant Field Values
STATE_AUDIO_CONNECTED
public static final int STATE_AUDIO_CONNECTED
- See Also:
- Constant Field Values
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
startVoiceRecognition
public boolean startVoiceRecognition(BluetoothDevice device)
stopVoiceRecognition
public boolean stopVoiceRecognition(BluetoothDevice device)
isAudioConnected
public boolean isAudioConnected(BluetoothDevice device)
Copyright © 2008-2012. All Rights Reserved.