Back to Exoplayer

PlaybackStats.EventTimeAndException (ExoPlayer library)

docs/doc/reference/com/google/android/exoplayer2/analytics/PlaybackStats.EventTimeAndException.html

latest2.9 KB
Original Source

Package com.google.android.exoplayer2.analytics

Class PlaybackStats.EventTimeAndException


public static final classPlaybackStats.EventTimeAndExceptionextends[Object](https://developer.android.com/reference/java/lang/Object.html "class or interface in java.lang")

Stores an exception with the event time at which it occurred.

Field Summary

Fields | Modifier and Type | Field | Description | | --- | --- | --- | | AnalyticsListener.EventTime | eventTime | The event time at which the exception occurred. | | Exception | exception | The exception that was thrown. |

Constructor Summary

Constructors | Constructor | Description | | --- | --- | | EventTimeAndException​(AnalyticsListener.EventTime eventTime, Exception exception) | Creates a new timed exception event. |

Method Summary

All Methods Instance Methods Concrete Methods | Modifier and Type | Method | Description | | --- | --- | --- | | boolean | equals​(Object o) | | | int | hashCode() | |

- 

Methods inherited from class java.lang.Object

clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait

Field Detail

- 

eventTime

public final[AnalyticsListener.EventTime](AnalyticsListener.EventTime.html "class in com.google.android.exoplayer2.analytics")eventTime

The event time at which the exception occurred.

- 

exception

public final[Exception](https://developer.android.com/reference/java/lang/Exception.html "class or interface in java.lang")exception

The exception that was thrown.

Constructor Detail

- 

EventTimeAndException

public EventTimeAndException​([AnalyticsListener.EventTime](AnalyticsListener.EventTime.html "class in com.google.android.exoplayer2.analytics")eventTime,[Exception](https://developer.android.com/reference/java/lang/Exception.html "class or interface in java.lang")exception)

Creates a new timed exception event. Parameters:eventTime - The event time at which the exception occurred.exception - The exception that was thrown.

Method Detail

- 

equals

public boolean equals​(@Nullable[Object](https://developer.android.com/reference/java/lang/Object.html "class or interface in java.lang")o)

Overrides:equals in class Object

- 

hashCode

public int hashCode()

Overrides:hashCode in class Object