@JsonClass(true) data class SxMediaError : SxError
Represents a media error from the sdk and is used to report errors to the core.
<init> |
SxMediaError(mediaErrorCode: SxMediaErrorCode, message: String)
Represents a media error from the sdk and is used to report errors to the core. SxMediaError(code: Int, message: String) |
code |
val code: Int |
mediaErrorCode |
See SxMediaErrorCode. val mediaErrorCode: SxMediaErrorCode |
message |
Description of the error. val message: String |
timestamp |
val timestamp: Long |
buildMediaError |
Builds a new SxMediaError out of a Throwable thrown by the ExoPlayer. fun Throwable.buildMediaError(): SxMediaError |