public final class

PlaybackStats.EventTimeAndPlaybackState

extends java.lang.Object

 java.lang.Object

↳androidx.media3.exoplayer.analytics.PlaybackStats.EventTimeAndPlaybackState

Overview

Stores a playback state with the event time at which it became active.

Summary

Fields
public final AnalyticsListener.EventTimeeventTime

The event time at which the playback state became active.

public final intplaybackState

The playback state that became active.

Constructors
publicEventTimeAndPlaybackState(AnalyticsListener.EventTime eventTime, int playbackState)

Creates a new timed playback state event.

Methods
public booleanequals(java.lang.Object o)

public inthashCode()

from java.lang.Objectclone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait

Fields

public final AnalyticsListener.EventTime eventTime

The event time at which the playback state became active.

public final int playbackState

The playback state that became active.

Constructors

public EventTimeAndPlaybackState(AnalyticsListener.EventTime eventTime, int playbackState)

Creates a new timed playback state event.

Parameters:

eventTime: The event time at which the playback state became active.
playbackState: The playback state that became active.

Methods

public boolean equals(java.lang.Object o)

public int hashCode()