resumeVideoDownload

open fun resumeVideoDownload(video: Video): Int

This method is used to resume the download of a video which was previously paused. Operations to resume the video download will block the UI thread. For asynchronous version use resumeVideoDownload.

Parameters

video

the video to resume its download.

See also

Throws

if the underlying download process does not support pausing video downloads.


open fun resumeVideoDownload(video: Video, callback: OfflineCallback<Integer>)

This method is used to asynchronously resume the download of a video which was previously paused.

Parameters

video

the video to resume its download.

callback

Provides the result of the operation. In case the download of the requested video has been resumed successfully, onSuccess will be called to provide an Integer value of its current com.brightcove.player.network.DownloadStatus.StatusCode. onFailure will be called in case there was an error. UnsupportedOperationException if the underlying download process does not support pausing video downloads.


open fun resumeVideoDownload(videoId: String): Int

This method is used to resume a single video being downloaded which was previously paused. Operations to resume the video download will block the UI thread. For asynchronous version use resumeVideoDownload.

Return

the current status of the video download.

Parameters

videoId

the video id.

See also

Throws

if the underlying download process does not support pausing video downloads.


open fun resumeVideoDownload(videoId: String, callback: OfflineCallback<Integer>)

This method is used to asynchronously resume the download of a video which was previously paused.

Parameters

videoId

the Id of the video to resume its download.

callback

Provides the result of the operation. In case the download of the requested video has been resumed successfully, onSuccess will be called to provide an Integer value of its current com.brightcove.player.network.DownloadStatus.StatusCode. onFailure will be called in case there was an error. UnsupportedOperationException if the underlying download process does not support pausing video downloads.