SRGErrorMessageProvider

Provides user-friendly error messages for PlaybackException instances.

This class analyzes the cause of a PlaybackException and maps it to a localized error message suitable for display to the user.

Parameters

context

The Android context used to access string resources.

Constructors

Link copied to clipboard
constructor(context: Context)

Functions

Link copied to clipboard
open override fun getErrorMessage(throwable: PlaybackException): Pair<Int, String>