Class PlaybackStats.EventTimeAndFormat
- java.lang.Object
-
- com.google.android.exoplayer2.analytics.PlaybackStats.EventTimeAndFormat
-
- Enclosing class:
- PlaybackStats
public static final class PlaybackStats.EventTimeAndFormat extends Object
Stores a format with the event time at which it started being used, ornull
to indicate that no format was used.
-
-
Field Summary
Fields Modifier and Type Field Description AnalyticsListener.EventTime
eventTime
The event time associated withformat
.Format
format
The format that started being used, ornull
if no format was used.
-
Constructor Summary
Constructors Constructor Description EventTimeAndFormat(AnalyticsListener.EventTime eventTime, Format format)
Creates a new timed format event.
-
-
-
Field Detail
-
eventTime
public final AnalyticsListener.EventTime eventTime
The event time associated withformat
.
-
format
@Nullable public final Format format
The format that started being used, ornull
if no format was used.
-
-
Constructor Detail
-
EventTimeAndFormat
public EventTimeAndFormat(AnalyticsListener.EventTime eventTime, @Nullable Format format)
Creates a new timed format event.- Parameters:
eventTime
- The event time associated withformat
.format
- The format that started being used, ornull
if no format was used.
-
-