putStream
abstract suspend fun putStream(deviceId: String, contentId: String? = null, catalogType: String? = null, primaryContentId: String? = null, heartbeatToken: String? = null): Result<Unit, Error>
Inserts the stream concurrency record for a deviceId if successful.
Return
Result.Success with com.quickplay.vstb7.platform.model.NoDataResponse containing response status in com.quickplay.vstb7.platform.model.ResponseHeader object if the Stream Concurrency Microservice call is successful or Result.Failure with Error object otherwise.
Parameters
deviceId
The unique identifier of the device.
contentId
The content id for which the heartbeat is to be triggered.
catalogType
the value of the Catalog Type of content
primaryContentId
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.