cancelVideoDownload
Cancels a video download that has not been completed yet. Operations to cancel the video download will block the UI thread. For asynchronous version use cancelVideoDownload. If the video has been downloaded already, then calling this method will have no effect. Please call deleteVideo method instead to delete the video.
Return
true if the download was found in the download queue and removed, otherwise false.
Parameters
the video to be cancelled.
See also
Asynchronously cancels a video download that has not been completed yet. If the video has been downloaded already, then calling this method will have no effect. Please call deleteVideo method instead to delete the video.
Parameters
The video to be cancelled.
Provides the result of the operation. In case the download of the requested video has been canceled successfully, onSuccess will be called to provide a Boolean with its value as 'true' if the download was found in the download queue and removed, otherwise 'false'. onFailure will be called in case there was an error.
Cancels a video download that has not been completed yet. Operations to cancel the video download will block the UI thread. For asynchronous version use cancelVideoDownload. If the video has been downloaded already, then calling this method will have no effect. Please call deleteVideo method instead to delete the video.
Return
true if the download was found in the download queue and removed, otherwise false.
Parameters
the video id.
See also
Asynchronously cancels a video download that has not been completed yet. If the video has been downloaded already, then calling this method will have no effect. Please call deleteVideo method instead to delete the video.
Parameters
The id of the video to be cancelled.
Provides the result of the operation. In case the download of the requested video has been canceled successfully, onSuccess will be called to provide a Boolean with its value as 'true' if the download was found in the download queue and removed, otherwise 'false'. onFailure will be called in case there was an error.