PlaybackState.IsActive Property
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.
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
true for buffering, connecting, fast forwarding, playing, rewinding, or skipping to the next, previous, or specified queue item; otherwise, false. This does not indicate whether the media session itself is active.
- 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.