cacheVideo

fun cacheVideo(mediaId: String)

Caches the video with the given media ID.

Parameters

mediaId

The ID of the media to cache.


fun cacheVideo(mediaId: String, customPlayerId: String?)

Caches the video with the given media ID and optional custom player ID.

Parameters

mediaId

The ID of the media to cache.

customPlayerId

An optional custom player ID to use for caching.


fun cacheVideo(mediaId: String, customPlayerId: String?, languageCode: String?)

Caches the video with the given media ID, custom player ID, and optional language code.

Parameters

mediaId

The ID of the media to cache.

customPlayerId

An optional custom player ID to use for caching.

languageCode

The language code to be used for playback (optional).