LoadErrorFallbackConfig

LoadErrorFallbackConfig

sealed interface LoadErrorFallbackConfig : Parcelable

Defines the conditions for falling back to a different resource when encountering a load error.

Inheritors

HttpStatusCode
Custom

Types

NameSummary
Customdata class Custom(val callback: (IOException) -> Boolean) : LoadErrorFallbackConfig
A fallback config based on a custom implementation.
HttpStatusCodedata class HttpStatusCode(val statusCodes: List<Int>) : LoadErrorFallbackConfig
A fallback config based on HTTP status codes.