-
public interface VideoCacheManagerInterface to represent downloading a video from an external url
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classVideoCacheManager.DownloadResultClass to represent the video download result
-
Method Summary
Modifier and Type Method Description abstract VideoCacheManager.DownloadResultdownloadVideo(String videoURL)Request a video to be downloaded and cached to disk abstract BooleanisVideoPlayable(String key)Returns whether or not the video is considered playable abstract LonggetAvailableInternalMemorySpace()Returns the available space on device abstract BooleanisMediaSupported(String mediaFilePath)Checks to see if the media is supported by the media player -
-
Method Detail
-
downloadVideo
abstract VideoCacheManager.DownloadResult downloadVideo(String videoURL)
Request a video to be downloaded and cached to disk
-
isVideoPlayable
abstract Boolean isVideoPlayable(String key)
Returns whether or not the video is considered playable
-
getAvailableInternalMemorySpace
abstract Long getAvailableInternalMemorySpace()
Returns the available space on device
-
isMediaSupported
abstract Boolean isMediaSupported(String mediaFilePath)
Checks to see if the media is supported by the media player
-
-
-
-