BookmarksManager

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

Types

Link copied to clipboard
data class BookmarksConfiguration(val assetID: String, val bookmarksEndPointURL: String, val bookmarkSyncIntervalMs: Long = DEFAULT_BOOKMARK_SYNC_INTERVAL_MILLIS, val bookmarkDeleteThreshold: Float = DEFAULT_BOOKMARK_DELETE_THRESHOLD, val seasonId: String? = null, val episodeId: String? = null, val seasonNumber: Int? = null, val episodeNumber: Int? = null, val musicId: String? = null, val mode: Mode? = null, val nextEpisodeDetails: BookmarksPutRecord? = null)

Holds all the required and optional metadata to perform bookmarks operations.

Properties

Link copied to clipboard

The BookmarksManager.BookmarksConfiguration instance that holds all the relevant metadata of the playback.

Link copied to clipboard
abstract val player: ComposablePlayer

ComposablePlayer instance that provides PlaybackState and playback position information which is used to fire bookmark calls at requisite points of time / player events.