Added in API level 31
PlaybackStateEvent
public
final
class
PlaybackStateEvent
extends Event
implements
Parcelable
| java.lang.Object | ||
| ↳ | android.media.metrics.Event | |
| ↳ | android.media.metrics.PlaybackStateEvent | |
Playback state event.
Summary
Nested classes | |
|---|---|
class |
PlaybackStateEvent.Builder
A builder for |
Constants | |
|---|---|
int |
STATE_ABANDONED
Playback is abandoned before reaching the end of the media. |
int |
STATE_BUFFERING
Playback is buffering to resume active playback. |
int |
STATE_ENDED
Playback has reached the end of the media. |
int |
STATE_FAILED
Playback is stopped due a fatal error and can be retried. |
int |
STATE_INTERRUPTED_BY_AD
Playback is interrupted by an ad. |
int |
|