PlaybackStats.EventTimeAndPlaybackState


public final class PlaybackStats.EventTimeAndPlaybackState


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

Summary

Public fields

final AnalyticsListener.EventTime

The event time at which the playback state became active.

final int

The playback state that became active.

Public constructors

EventTimeAndPlaybackState(
    AnalyticsListener.EventTime eventTime,
    int playbackState
)

Creates a new timed playback state event.

Public methods

boolean
int

Public fields

eventTime

public final AnalyticsListener.EventTime eventTime

The event time at which the playback state became active.

playbackState

public final int playbackState

The playback state that became active.

Public constructors

EventTimeAndPlaybackState

public EventTimeAndPlaybackState(
    AnalyticsListener.EventTime eventTime,
    int playbackState
)

Creates a new timed playback state event.

Parameters
AnalyticsListener.EventTime eventTime

The event time at which the playback state became active.

int playbackState

The playback state that became active.

Public methods

equals

public boolean equals(@Nullable Object o)

hashCode

public int hashCode()