lib / tv.smartclip.smartclientandroid.lib.dto / SxMediaErrorCode

SxMediaErrorCode

sealed class SxMediaErrorCode

Types

MEDIA_ERR_ABORTED

The fetching of the associated resource was aborted by the user's request.

object MEDIA_ERR_ABORTED : SxMediaErrorCode

MEDIA_ERR_DECODE

Despite having previously been determined to be usable, an error occurred while trying to decode the media resource, resulting in an error.

object MEDIA_ERR_DECODE : SxMediaErrorCode

MEDIA_ERR_NETWORK

Some kind of network error occurred which prevented the media from being successfully fetched, despite having previously been available.

object MEDIA_ERR_NETWORK : SxMediaErrorCode

MEDIA_ERR_SRC_NOT_SUPPORTED

The associated resource or media provider object (such as a MediaStream) has been found to be unsuitable.

object MEDIA_ERR_SRC_NOT_SUPPORTED : SxMediaErrorCode

NO_ERROR

No error.

object NO_ERROR : SxMediaErrorCode

UNKNOWN

Unknown error code.

class UNKNOWN : SxMediaErrorCode

Properties

code

val code: Int

Companion Object Properties

mediaErrorCode

val Int.mediaErrorCode: SxMediaErrorCode

Companion Object Functions

values

fun values(): List<SxMediaErrorCode>