Language

MediaRoute2InfoConnectionState Enum

Definition

Describes a media route's reported connection progress.

public enum MediaRoute2InfoConnectionState
type MediaRoute2InfoConnectionState = 
Inheritance
MediaRoute2InfoConnectionState

Fields

Name Value Description
Disconnected 0

The default connection state indicating the route is disconnected.

Android reference for android.media.MediaRoute2Info.CONNECTION_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.

Connecting 1

A connection state indicating the route is in the process of connecting and is not yet ready for use.

Android reference for android.media.MediaRoute2Info.CONNECTION_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.

Connected 2

A connection state indicating the route is connected.

Android reference for android.media.MediaRoute2Info.CONNECTION_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.

Remarks

A connecting route is not yet ready for use. Connected and disconnected describe connection state rather than the route's device category or volume-control capability.

Applies to