ErrorMessageData

@Serializable
data class ErrorMessageData(val duration: Long?, val log: String, val message: String, val name: String, val position: Long?, val positionTimestamp: Long?, val url: String) : MessageData

Represents a Player error to send to a monitoring server.

Constructors

Link copied to clipboard
constructor(throwable: Throwable, player: Player, url: String)
constructor(duration: Long?, log: String, message: String, name: String, position: Long?, positionTimestamp: Long?, url: String)

Properties

Link copied to clipboard

The duration of the media being player, in milliseconds.

Link copied to clipboard
val log: String

The log associated with the error.

Link copied to clipboard

The error message.

Link copied to clipboard

The name of the error.

Link copied to clipboard

The position of the player when the error occurred, in milliseconds, or null if not available.

Link copied to clipboard
@SerialName(value = "position_timestamp")
val positionTimestamp: Long?

The current player timestamp, as retrieved from the playlist.

Link copied to clipboard
val url: String

The last loaded url.