Stay organized with collections Save and categorize content based on your preferences.

PlaybackStats.EventTimeAndFormat

public final class PlaybackStats.EventTimeAndFormat


Stores a format with the event time at which it started being used, or null to indicate that no format was used.

Summary

Public fields

final AnalyticsListener.EventTime

The event time associated with format.

final @Nullable Format

The format that started being used, or null if no format was used.

Public constructors

EventTimeAndFormat(
    AnalyticsListener.EventTime eventTime,
    @Nullable Format format
)

Creates a new timed format event.

Public methods

boolean
int

Public fields

eventTime

public final AnalyticsListener.EventTime eventTime

The event time associated with format.

format

public final @Nullable Format format

The format that started being used, or null if no format was used.

Public constructors

EventTimeAndFormat

public EventTimeAndFormat(
    AnalyticsListener.EventTime eventTime,
    @Nullable Format format
)

Creates a new timed format event.

Parameters
AnalyticsListener.EventTime eventTime

The event time associated with format.

@Nullable Format format

The format that started being used, or null if no format was used.

Public methods

equals

public boolean equals(@Nullable Object o)

hashCode

public int hashCode()