getCaches
Retrieves information about cached music resources.
public abstract MusicCacheInfo[] getCaches();
Before calling this method, you need to preallocate memory to store information about cached music resources. To set the number of cacheable music resources, configure the configuration parameter of initialize. When the cached music resources are no longer needed, you should release the memory in time to avoid memory leaks.
Return Values
- If the method call succeeds, returns an array of MusicCacheInfo objects.
- If the method call fails, returns
null.