clearCacheForAccount

fun SyncClient.Companion.clearCacheForAccount(context: <Error class: unknown class>, account: <Error class: unknown class>)

Clears offline cache for specified account.

Call this method before creating SyncClient instance for the account, otherwise this method does nothing.

Parameters

context

The Application Context from your Android application.

account

Account to clear cache for.