RetryPlaybackAction

sealed interface RetryPlaybackAction

Defines the possible actions to take when retrying playback after an error.

The RetryPlaybackAction interface allows the application to specify how playback should be handled in the event of an error. The different actions determine whether to retry playback and how to adjust the playback configuration (e.g., bitrate) during the retry.

Inheritors

Types

Link copied to clipboard
data class LimitBitrate(val maxBitrate: Int) : RetryPlaybackAction

Represents an action to retry playback while limiting the available tracks based on a maximum bitrate.

Link copied to clipboard

Represents no action to take for retrying playback.