MediaSession2.PlaybackActive Property

Definition

Returns whehther the playback is active (i. -or- Sets whether the playback is active (i.

public virtual bool PlaybackActive { [Android.Runtime.Register("isPlaybackActive", "()Z", "GetIsPlaybackActiveHandler", ApiSince=29)] get; [Android.Runtime.Register("setPlaybackActive", "(Z)V", "GetSetPlaybackActive_ZHandler", ApiSince=29)] set; }
[<get: Android.Runtime.Register("isPlaybackActive", "()Z", "GetIsPlaybackActiveHandler", ApiSince=29)>]
[<set: Android.Runtime.Register("setPlaybackActive", "(Z)V", "GetSetPlaybackActive_ZHandler", ApiSince=29)>]
member this.PlaybackActive : bool with get, set

Property Value

true if the playback active, false otherwise.

Attributes

Remarks

Property getter documentation:

Java documentation for android.media.MediaSession2.isPlaybackActive().

Property setter documentation:

Java documentation for android.media.MediaSession2.setPlaybackActive(boolean).

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