MediaRoute2Info.Builder.SetConnectionState(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the route's connection state.
[Android.Runtime.Register("setConnectionState", "(I)Landroid/media/MediaRoute2Info$Builder;", "", ApiSince=30)]
public Android.Media.MediaRoute2Info.Builder SetConnectionState(int connectionState);
[<Android.Runtime.Register("setConnectionState", "(I)Landroid/media/MediaRoute2Info$Builder;", "", ApiSince=30)>]
member this.SetConnectionState : int -> Android.Media.MediaRoute2Info.Builder
Parameters
- connectionState
- Int32
Value is one of the following: MediaRoute2Info.CONNECTION_STATE_DISCONNECTED MediaRoute2Info.CONNECTION_STATE_CONNECTING MediaRoute2Info.CONNECTION_STATE_CONNECTED
Returns
- Attributes
Remarks
Sets the route's connection state. MediaRoute2Info.CONNECTION_STATE_DISCONNECTED, MediaRoute2Info.CONNECTION_STATE_CONNECTING, or MediaRoute2Info.CONNECTION_STATE_CONNECTED.
Android reference for android.media.MediaRoute2Info.Builder.setConnectionState.
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.