clearCacheForOtherAccounts

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

Clears offline caches for all accounts, except specified.

Call this method before creating SyncClient instances. This method does nothing for accounts with active SyncClient instances.

Parameters

context

The Application Context from your Android application.

account

Account to keep the cache for.