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

SxError

sealed class SxError

Generic error used by this sdk.

Types

SxAdError

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

data class SxAdError : SxError

SxMediaError

Represents a media error from the sdk and is used to report errors to the core.

data class SxMediaError : SxError

SxPluginError

Represents an error that can be thrown during initialization of the JavaScript advertising plugin.

data class SxPluginError : SxError

Properties

code

abstract val code: Int

message

abstract val message: String

timestamp

abstract val timestamp: Long