Sdílet prostřednictvím


MediaController.PlaybackState Property

Definition

Get the current playback state for this session.

public Android.Media.Session.PlaybackState? PlaybackState { [Android.Runtime.Register("getPlaybackState", "()Landroid/media/session/PlaybackState;", "")] get; }
[<get: Android.Runtime.Register("getPlaybackState", "()Landroid/media/session/PlaybackState;", "")>]
member this.PlaybackState : Android.Media.Session.PlaybackState

Property Value

The current PlaybackState or null

Attributes

Remarks

Get the current playback state for this session.

Java documentation for android.media.session.MediaController.getPlaybackState().

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