getInstance

Returns the instance of this class associated with current user.

Return

Instance of this class.


Returns the instance of this class associated with this user account.

Return

Instance of this class.

Parameters

account

User account.


Returns the instance of this class associated with this user and community. Sync manager returned is ready to use.

Return

Instance of this class.

Parameters

account

User account.

communityId

Community ID.


fun getInstance(account: UserAccount?, communityId: String?, smartStore: SmartStore?): SyncManager

Returns the instance of this class associated with this user, community and smartstore.

Return

Instance of this class.

Parameters

account

User account. Pass null to user current user.

communityId

Community ID. Pass null if not applicable

smartStore

SmartStore instance. Pass null to use current user default smartstore.