Class PlaybackStats.EventTimeAndPlaybackState

  • Enclosing class:
    PlaybackStats

    public static final class PlaybackStats.EventTimeAndPlaybackState
    extends Object
    Stores a playback state with the event time at which it became active.
    • Field Detail

      • playbackState

        public final @com.google.android.exoplayer2.analytics.PlaybackStats.PlaybackState int playbackState
        The playback state that became active.
    • Constructor Detail

      • EventTimeAndPlaybackState

        public EventTimeAndPlaybackState​(AnalyticsListener.EventTime eventTime,
                                         @com.google.android.exoplayer2.analytics.PlaybackStats.PlaybackState 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.
    • Method Detail

      • equals

        public boolean equals​(@Nullable
                              Object o)
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object