Sprache

HeadsetAudioState Enum

Definition

Enumerates values returned by several types.

public enum HeadsetAudioState
type HeadsetAudioState = 
Inheritance
HeadsetAudioState

Fields

Name Value Description
AudioDisconnected 10

Headset state when SCO audio is not connected. This state can be one of BluetoothProfile.EXTRA_STATE or BluetoothProfile.EXTRA_PREVIOUS_STATE of ACTION_AUDIO_STATE_CHANGED intent.

Android reference for android.bluetooth.BluetoothHeadset.STATE_AUDIO_DISCONNECTED.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

AudioConnecting 11

Headset state when SCO audio is connecting. This state can be one of BluetoothProfile.EXTRA_STATE or BluetoothProfile.EXTRA_PREVIOUS_STATE of ACTION_AUDIO_STATE_CHANGED intent.

Android reference for android.bluetooth.BluetoothHeadset.STATE_AUDIO_CONNECTING.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

AudioConnected 12

Headset state when SCO audio is connected. This state can be one of BluetoothProfile.EXTRA_STATE or BluetoothProfile.EXTRA_PREVIOUS_STATE of ACTION_AUDIO_STATE_CHANGED intent.

Android reference for android.bluetooth.BluetoothHeadset.STATE_AUDIO_CONNECTED.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to