public final class

PlaybackStats.EventTimeAndFormat

extends java.lang.Object

 java.lang.Object

↳androidx.media3.exoplayer.analytics.PlaybackStats.EventTimeAndFormat

Overview

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

Summary

Fields
public final AnalyticsListener.EventTimeeventTime

The event time associated with PlaybackStats.EventTimeAndFormat.format.

public final Formatformat

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

Constructors
publicEventTimeAndFormat(AnalyticsListener.EventTime eventTime, Format format)

Creates a new timed format 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 associated with PlaybackStats.EventTimeAndFormat.format.

public final Format format

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

Constructors

public EventTimeAndFormat(AnalyticsListener.EventTime eventTime, Format format)

Creates a new timed format event.

Parameters:

eventTime: The event time associated with format.
format: The format that started being used, or null if no format was used.

Methods

public boolean equals(java.lang.Object o)

public int hashCode()