clearLocalFileCache abstract method

Future<void> clearLocalFileCache(
  1. ZIMFileCacheClearConfig config
)

Clear the local message cache of the current user.

Available since: 2.15.0 and above. Description: Clear the local message cache of the current user. Use cases: This interface is invoked when the local message cache needs to be cleared. Restrictions: This takes effect after the login and becomes invalid after the logout. Related callbacks: ZIMFileCacheClearedResult.

  • config Clear the cache configuration.

Implementation

Future<void> clearLocalFileCache(ZIMFileCacheClearConfig config);