deleteBookmark
abstract suspend fun deleteBookmark(contentId: String, episodeId: String? = null, mode: Mode? = null): Result<Unit, Error>
Deletes 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.
episodeId
The unique identifier of the content's episode.
mode
Type of the content (series, episode, or musicvideo).