HeartbeatRequest

@JsonClass(generateAdapter = true)
data class HeartbeatRequest(@Json(name = "deviceId") val deviceId: String, @Json(name = "itemId") val itemId: String, @Json(name = "offset") val offsetMs: Long? = null, @Json(name = "cty") val catalogType: String? = null, @Json(name = "prid") val primaryContentId: String? = null)

Data containing information for the request being made to Heartbeat microservice.

Constructors

Link copied to clipboard
constructor(@Json(name = "deviceId") deviceId: String, @Json(name = "itemId") itemId: String, @Json(name = "offset") offsetMs: Long? = null, @Json(name = "cty") catalogType: String? = null, @Json(name = "prid") primaryContentId: String? = null)

Creates an HeartbeatRequest instance.

Properties

Link copied to clipboard
val catalogType: String? = null

the value of the Catalog Type of content

Link copied to clipboard

The unique identifier of the device making the request.

Link copied to clipboard

The unique identifier of the playable content.

Link copied to clipboard
val offsetMs: Long? = null

The optional parameter that specifies the playback progress of the player, in milliseconds.

Link copied to clipboard

the unique identifier of the primary content to which the selected content (i.e. secondary angle content) to play is associated with. This is applicable only for multi-camera enabled content.