Language

ScoAudioState Enum

Definition

Enumerates values returned by several types.

public enum ScoAudioState
type ScoAudioState = 
Inheritance
ScoAudioState

Fields

Name Value Description
Error -1

This constant was deprecated in API level 37. Use addOnCommunicationDeviceChangedListener(Executor, OnCommunicationDeviceChangedListener) instead.

Value for extra EXTRA_SCO_AUDIO_STATE indicating that there was an error trying to obtain the state

Android reference for android.media.AudioManager.SCO_AUDIO_STATE_ERROR.

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.

Disconnected 0

This constant was deprecated in API level 37. Use addOnCommunicationDeviceChangedListener(Executor, OnCommunicationDeviceChangedListener) instead.

Value for extra EXTRA_SCO_AUDIO_STATE or EXTRA_SCO_AUDIO_PREVIOUS_STATE indicating that the SCO audio channel is not established

Android reference for android.media.AudioManager.SCO_AUDIO_STATE_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.

Connected 1

This constant was deprecated in API level 37. Use addOnCommunicationDeviceChangedListener(Executor, OnCommunicationDeviceChangedListener) instead.

Value for extra EXTRA_SCO_AUDIO_STATE or EXTRA_SCO_AUDIO_PREVIOUS_STATE indicating that the SCO audio channel is established

Android reference for android.media.AudioManager.SCO_AUDIO_STATE_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.

Connecting 2

This constant was deprecated in API level 37. Use addOnCommunicationDeviceChangedListener(Executor, OnCommunicationDeviceChangedListener) instead.

Value for extra EXTRA_SCO_AUDIO_STATE or EXTRA_SCO_AUDIO_PREVIOUS_STATE indicating that the SCO audio channel is being established

Android reference for android.media.AudioManager.SCO_AUDIO_STATE_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.

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