Package-level declarations

Types

Link copied to clipboard
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.

Link copied to clipboard
data class EventMessageData(val bandwidth: Long, val bitrate: Long, val bufferDuration: Long, val duration: Long, val playbackDuration: Long, val position: Long, val positionTimestamp: Long?, val stall: EventMessageData.Stall, val streamType: EventMessageData.StreamType, val url: String, val vpn: Boolean?, val frameDrops: Int) : MessageData

Represents a generic event, which contains metrics about the current media stream.

Link copied to clipboard
data class Message(val data: MessageData, val eventName: Message.EventName, val sessionId: String, val timestamp: Long = System.currentTimeMillis(), val version: Int = 1)

Represents a monitoring message.

Link copied to clipboard
sealed interface MessageData

Base interface for all monitoring message data.

Link copied to clipboard
data class Session(val device: Session.Device, val media: Session.Media, val operatingSystem: Session.OS = OS( name = PLATFORM_NAME, version = OPERATING_SYSTEM_VERSION, ), val player: Session.Player = Player( name = PLAYER_NAME, platform = PLATFORM_NAME, version = PLAYER_VERSION, ), val qoeTimings: Timings.QoE = Timings.QoE(), val qosTimings: Timings.QoS = Timings.QoS(), val screen: Session.Screen) : MessageData

Represents a monitoring session, which contains information about the device, current media, and player.

Link copied to clipboard
object Timings

Timings