enableAutoRemoveCache

Sets whether to automatically delete cached media files.

virtual int enableAutoRemoveCache(bool enable) = 0;

When this feature is enabled, if the number or size of cached media files exceeds the set limit, the SDK automatically deletes the least recently used cached files.

Parameters

enable
Whether to enable automatic deletion of cached media files by the SDK:
  • true: Automatically delete cached media files.
  • false: (Default) Do not automatically delete cached media files.

Return Values