Session

@Serializable
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.

Constructors

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

Types

Link copied to clipboard
@Serializable
data class Device(val id: String, val model: String, val type: Session.Device.Type?)

Information about the device.

Link copied to clipboard
@Serializable
data class Media(val assetUrl: String, val id: String, val metadataUrl: String, val origin: String)

Information about the media being played.

Link copied to clipboard
@Serializable
data class OS(val name: String, val version: String)

Information about the operating system.

Link copied to clipboard
@Serializable
data class Player(val name: String, val platform: String, val version: String)

Information about the player.

Link copied to clipboard
@Serializable
data class Screen(val height: Int, val width: Int)

Information about the device screen.

Properties

Link copied to clipboard

The information about the device.

Link copied to clipboard

The information about the media being played.

Link copied to clipboard
@SerialName(value = "os")
val operatingSystem: Session.OS

The information about the operating system.

Link copied to clipboard

The information about the player.

Link copied to clipboard
@SerialName(value = "qoe_timings")
val qoeTimings: Timings.QoE

The metrics about the time needed to load the various media components, as experienced by the user.

Link copied to clipboard
@SerialName(value = "qos_timings")
val qosTimings: Timings.QoS

The metrics about the time needed to load the various media components, during the preload phase.

Link copied to clipboard

The information about the device screen.