putBookmark
abstract suspend fun putBookmark(contentId: String, offset: Long, seasonId: String? = null, episodeId: String? = null, seasonNumber: Int? = null, episodeNumber: Int? = null, musicId: String? = null, mode: Mode? = null): Result<Unit, Error>
Inserts a bookmark instance for a given content identifier 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 Bookmark Microservice call is successful or Result.Failure with Error object otherwise.
Parameters
contentId
unique identifier of the item. This could be the content identifier or the resource identifier.
offset
number of milliseconds that indicates the watched duration of the video content from the start position.
seasonId
The unique identifier of the content's season.
episodeId
The unique identifier of the content's episode.
musicId
The unique identifier of the content's musicvideo.
mode
Type of the content (series, episode, or musicvideo).