deleteVideo
This method can be used to remove all assets related to a single video from the host device. Deleting a video download will not cause the license to be deleted/released. Please call releaseLicense to release and remove the license. Operations to delete the video download will block the UI thread. For asynchronous version use deleteVideo.
Return
true if the video was found in the download queue and deleted, otherwise false.
Parameters
to be deleted.
See also
Asynchronously deletes the offline copy of the specified video. If the video has not been fully downloaded yet, then it will be removed from the download queue and any partially download assets belonging to the video will be deleted. The developer is responsible for either releasing any license key set identifier attached to the video using releaseLicense or saving the license key set identifier for future reuse.
Parameters
The video to be deleted.
Provides the result of the operation. In case the video has been successfully removed, will be called to provide a { } with its value as 'true' if the video was deleted, otherwise 'false'.
Deletes the offline copy of the specified video. If the video has not been fully downloaded yet, then it will be removed from the download queue and any partially download assets belonging to the video will be deleted. The developer is responsible for either releasing any license key set identifier attached to the video using releaseLicense or saving the license key set identifier for future reuse. Operations to delete the video download will block the UI thread. For asynchronous version use deleteVideo.
Return
true if the video was removed from the download queue and the storage, otherwise false.
Parameters
the unique identified of the video to be deleted.
See also
Asynchronously deletes the offline copy of the specified video. If the video has not been fully downloaded yet, then it will be removed from the download queue and any partially download assets belonging to the video will be deleted. The developer is responsible for either releasing any license key set identifier attached to the video using releaseLicense or saving the license key set identifier for future reuse.
Parameters
The Id of the video to be deleted.
Provides the result of the operation. In case the video has been successfully removed, will be called to provide a { } with its value as 'true' if the video was deleted, otherwise 'false'. { } will be called in case there was an error.