Condividi tramite


MediaRoute2Info.ConnectionState Property

Definition

Gets the connection state of the route.

public int ConnectionState { [Android.Runtime.Register("getConnectionState", "()I", "", ApiSince=30)] get; }
[<get: Android.Runtime.Register("getConnectionState", "()I", "", ApiSince=30)>]
member this.ConnectionState : int

Property Value

The connection state of this route: #CONNECTION_STATE_DISCONNECTED, #CONNECTION_STATE_CONNECTING, or #CONNECTION_STATE_CONNECTED.

Attributes

Remarks

Gets the connection state of the route.

Java documentation for android.media.MediaRoute2Info.getConnectionState().

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