# PlaybackStats.EventTimeAndException

Artifact: [androidx.media3:media3-exoplayer](https://developer.android.com/jetpack/androidx/releases/media3) [View Source](https://cs.android.com/search?q=file:androidx/media3/exoplayer/analytics/PlaybackStats.java+class:androidx.media3.exoplayer.analytics.PlaybackStats.EventTimeAndException)

*** ** * ** ***


```
public final class PlaybackStats.EventTimeAndException
```

<br />

*** ** * ** ***

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

## Summary

| ### Public fields |
|---|---|
| `final https://developer.android.com/reference/androidx/media3/exoplayer/analytics/AnalyticsListener.EventTime` | `https://developer.android.com/reference/androidx/media3/exoplayer/analytics/PlaybackStats.EventTimeAndException#eventTime()` The event time at which the exception occurred. |
| `final https://developer.android.com/reference/java/lang/Exception.html` | `https://developer.android.com/reference/androidx/media3/exoplayer/analytics/PlaybackStats.EventTimeAndException#exception()` The exception that was thrown. |

| ### Public constructors |
|---|
| `https://developer.android.com/reference/androidx/media3/exoplayer/analytics/PlaybackStats.EventTimeAndException#EventTimeAndException(androidx.media3.exoplayer.analytics.AnalyticsListener.EventTime,java.lang.Exception)( https://developer.android.com/reference/androidx/media3/exoplayer/analytics/AnalyticsListener.EventTime eventTime, https://developer.android.com/reference/java/lang/Exception.html exception )` Creates a new timed exception event. |

| ### Public methods |
|---|---|
| `boolean` | `https://developer.android.com/reference/androidx/media3/exoplayer/analytics/PlaybackStats.EventTimeAndException#equals(java.lang.Object)(@https://developer.android.com/reference/androidx/annotation/Nullable https://developer.android.com/reference/java/lang/Object.html o)` |
| `int` | `https://developer.android.com/reference/androidx/media3/exoplayer/analytics/PlaybackStats.EventTimeAndException#hashCode()()` |

## Public fields

### eventTime

```
public final AnalyticsListener.EventTime eventTime
```

The event time at which the exception occurred.

### exception

```
public final Exception exception
```

The exception that was thrown.

## Public constructors

### EventTimeAndException

```
public EventTimeAndException(
    AnalyticsListener.EventTime eventTime,
    Exception exception
)
```

Creates a new timed exception event.

| Parameters |
|---|---|
| `https://developer.android.com/reference/androidx/media3/exoplayer/analytics/AnalyticsListener.EventTime eventTime` | The event time at which the exception occurred. |
| `https://developer.android.com/reference/java/lang/Exception.html exception` | The exception that was thrown. |

## Public methods

### equals

```
public boolean equals(@Nullable Object o)
```

### hashCode

```
public int hashCode()
```