# PlaybackStats.EventTimeAndException

# 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)

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/androidx/media3/exoplayer/analytics/PlaybackStats.EventTimeAndException "View this page in Java")

<br />

```
class PlaybackStats.EventTimeAndException
```

<br />

*** ** * ** ***

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

## Summary

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

|                                ### Public functions                                 |
|-------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html) | [equals](https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/analytics/PlaybackStats.EventTimeAndException#equals(java.lang.Object))`(o: `[Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html)`?)` |
| [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)         | [hashCode](https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/analytics/PlaybackStats.EventTimeAndException#hashCode())`()`                                                                                              |

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

## Public constructors

### EventTimeAndException

```
EventTimeAndException(
    eventTime: AnalyticsListener.EventTime!,
    exception: Exception!
)
```

Creates a new timed exception event.  

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

## Public functions

### equals

```
fun equals(o: Any?): Boolean
```  

### hashCode

```
fun hashCode(): Int
```  

## Public properties

### eventTime

```
val eventTime: AnalyticsListener.EventTime!
```

The event time at which the exception occurred.  

### exception

```
val exception: Exception!
```

The exception that was thrown.