getCacheDir abstract method
Gets the storage path of the cached media files.
If you have not called the setCacheDir method to set the storage path for the media files to be cached before calling this method, you get the default storage path used by the SDK.
length
An input parameter; the maximum length of the cache file storage path string.
Returns The call succeeds, and the SDK returns the storage path of the cached media files. < 0: Failure. See MediaPlayerReason.
Implementation
Future<String> getCacheDir(int length);