MediaErrorEvent

class MediaErrorEvent @JvmOverloads constructor(var errorCode: String? = null, var errorName: String? = null, var errorDescription: String? = null) : AbstractSelfDescribing

Media player event tracked when the resource could not be loaded due to an error.

Parameters

errorCode

Error-identifying code for the playback issue. E.g. E522.

errorName

Name for the type of error that occurred in the playback. E.g. forbidden.

errorDescription

Longer description for the error that occurred in the playback.

Constructors

Link copied to clipboard
constructor(errorCode: String? = null, errorName: String? = null, errorDescription: String? = null)

Functions

Link copied to clipboard

Adds a list of context entities to the existing ones.

Link copied to clipboard

Adds a list of context entities to the existing ones.

Link copied to clipboard
fun trueTimestamp(trueTimestamp: Long?): AbstractEvent

Set the custom timestamp of the event.

Properties

Link copied to clipboard
open override var contexts: List<SelfDescribingJson>
Link copied to clipboard
open override val dataPayload: Map<String, Any?>

The payload for the event.

Link copied to clipboard
Link copied to clipboard

Used for events whose properties are added as entities, e.g. Ecommerce events

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val schema: String
Link copied to clipboard
open override var trueTimestamp: Long?