com.bitmovin.player.api
LoadErrorFallbackConfig
sealed interface LoadErrorFallbackConfig : Parcelable
Defines the conditions for falling back to a different resource when encountering a load error.
Inheritors
| HttpStatusCode |
| Custom |
Types
| Name | Summary |
|---|---|
| Custom | data class Custom(val callback: (IOException) -> Boolean) : LoadErrorFallbackConfig A fallback config based on a custom implementation. |
| HttpStatusCode | data class HttpStatusCode(val statusCodes: List<Int>) : LoadErrorFallbackConfig A fallback config based on HTTP status codes. |
Functions
| Name | Summary |
|---|---|
| describeContents | abstract fun describeContents(): Int |
| writeToParcel | abstract fun writeToParcel(p0: Parcel, p1: Int) |