lib / tv.smartclip.smartclientandroid.lib.dto / SxError / SxAdError

SxAdError

@JsonClass(true) data class SxAdError : SxError

Represents a VAST 4.0 error thrown by the core. Listen for errors can be done with SxEventProvider.addOnErrorListener,

Constructors

<init>

Represents a VAST 4.0 error thrown by the core. Listen for errors can be done with SxEventProvider.addOnErrorListener,

SxAdError(code: Int, description: String, timestamp: Long)

Properties

code

Vast error code. See https://www.watchingthat.com/resources/error-codes for details.

val code: Int

description

Description of the error.

val description: String

message

val message: String

timestamp

Timestamp when the error occurred.

val timestamp: Long