RetryPlaybackContext
data class RetryPlaybackContext(val errorEvent: ErrorEvent, val playbackQuality: Quality?, val source: Source, val attemptedActions: List<RetryPlaybackAction>, val suggestedAction: RetryPlaybackAction = RetryPlaybackAction.None)
Context for retrying playback after an error.
Contains the error code associated with the playback failure and the current playback quality, which can be used to determine whether to retry and how to adjust playback parameters.
Constructors
| RetryPlaybackContext | constructor(errorEvent: ErrorEvent, playbackQuality: Quality?, source: Source, attemptedActions: List<RetryPlaybackAction>, suggestedAction: RetryPlaybackAction = RetryPlaybackAction.None) |
Properties
| Name | Summary |
|---|---|
| attemptedActions | val attemptedActions: List<RetryPlaybackAction> The previous RetryPlaybackAction that was taken for this error, if any. |
| errorEvent | val errorEvent: ErrorEvent The details of the error |
| playbackQuality | val playbackQuality: Quality? The quality at the time of the error, if any. |
| source | val source: Source The Source that caused the error, if any. |
| suggestedAction | val suggestedAction: RetryPlaybackAction The RetryPlaybackAction that is suggested for retrying playback based on the error and playback context. |