saveOfflineVideo

open fun saveOfflineVideo(video: Video, downloadDirectory: File, requestSet: DownloadRequestSet): OfflineVideo

Saves the offline video information into the store.

Return

reference to the newly created entity.

Parameters

video

the video information to be saved.

downloadDirectory

the download directory for this video.

requestSet

the download request set related to this video.


open fun saveOfflineVideo(video: Video): OfflineVideo

Updates the entity with given unique video identifier to save the video metadata object, while retaining the previously saved license information.

Return

reference to the updated entity.

Parameters

video

the video to be saved.

See also