setForcePurgeClientOnlyDataOnUserSwitch

open fun setForcePurgeClientOnlyDataOnUserSwitch(forcePurgeClientOnlyDataOnUserSwitch: Boolean)

Specifies whether or not to purge client only data before switch user.

If forcePurgeClientOnlyDataOnUserSwitch is true, all existing client-only data will be purged before switch to another user. forcePurgeClientOnlyDataOnUserSwitch is true by default.

If forcePurgeClientOnlyDataOnUserSwitch is false and there are existing client-only data created by previous users, the client-only data will be shared between different users.

Optionally, user may manually purge the client only data through the `OfflineODataProvider.purgeClientOnlyData` API

Parameters

forcePurgeClientOnlyDataOnUserSwitch

See also