PlaybackState.IsActive Property

Definition

Returns whether this is considered as an active playback state.

public bool IsActive { [Android.Runtime.Register("isActive", "()Z", "", ApiSince=31)] get; }
[<get: Android.Runtime.Register("isActive", "()Z", "", ApiSince=31)>]
member this.IsActive : bool

Property Value

Attributes

Remarks

Returns whether this is considered as an active playback state.

The playback state is considered as an active if the state is one of the following: <ul> <li>#STATE_BUFFERING</li> <li>#STATE_CONNECTING</li> <li>#STATE_FAST_FORWARDING</li> <li>#STATE_PLAYING</li> <li>#STATE_REWINDING</li> <li>#STATE_SKIPPING_TO_NEXT</li> <li>#STATE_SKIPPING_TO_PREVIOUS</li> <li>#STATE_SKIPPING_TO_QUEUE_ITEM</li> </ul>

Java documentation for android.media.session.PlaybackState.isActive().

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