getCacheDir

Gets the storage path for media files to be cached.

virtual int getCacheDir(char* path, int length) = 0;

If you do not call setCacheDir to set the storage path for media files to be cached before calling this method, it returns the default storage path used by the SDK.

Parameters

path
An output parameter. The storage path for media files to be cached.
length
The maximum length of the path string for the cache file storage path.

Return Values