Package-level declarations

Types

Link copied to clipboard

Factory class that helps in creating BookmarksService and BookmarksManager instances.

Link copied to clipboard

Manager that manages playback session's bookmark events i.e. the "continue-watching" position of the content.

Link copied to clipboard

Provides Bookmark Microservice client access protocol (API)

Link copied to clipboard

Information about the library such as version and name.

Properties

Functions

Link copied to clipboard
fun ComposablePlayer.configureBookmarksHeartBeatTask(assetID: String, bookmarksService: BookmarksService, bookmarkSyncIntervalMs: Long = DEFAULT_BOOKMARK_SYNC_INTERVAL_MILLIS, bookmarkDeleteThreshold: Float = DEFAULT_BOOKMARK_DELETE_THRESHOLD, seasonId: String? = null, episodeId: String? = null, seasonNumber: Int? = null, episodeNumber: Int? = null, musicId: String? = null, mode: Mode? = null)

ComposablePlayer extension function that periodically updates bookmark's the "watched until" time duration to Head-End Service.

Link copied to clipboard

ComposablePlayer extension function that fetches a bookmark from the Bookmark Microservice and seeks to the specified player resume marker.

Link copied to clipboard
fun ComposablePlayer.configureBookmarksStateChangeTask(assetID: String, bookmarksService: BookmarksService, bookmarkDeleteThreshold: Float = DEFAULT_BOOKMARK_DELETE_THRESHOLD, seasonId: String? = null, episodeId: String? = null, seasonNumber: Int? = null, episodeNumber: Int? = null, musicId: String? = null, mode: Mode? = null)

ComposablePlayer extension function that updates (bookmarks) the "watched until" time duration to Bookmark Microservice on playback resume, pause, and stop (if the content is not watched till the end).

Link copied to clipboard
fun ComposablePlayer.configureBookmarksTasks(bookmarksService: BookmarksService, assetID: String, bookmarkSyncIntervalMs: Long = DEFAULT_BOOKMARK_SYNC_INTERVAL_MILLIS, bookmarkDeleteThreshold: Float = DEFAULT_BOOKMARK_DELETE_THRESHOLD, seasonId: String? = null, episodeId: String? = null, seasonNumber: Int? = null, episodeNumber: Int? = null, musicId: String? = null, mode: Mode? = null)

ComposablePlayer extension function that aggregates all steps related to executing Bookmark Microservice call.