getSmartStore

Returns the database used by smart store for the current user.

Return

SmartStore instance.


Returns the database used by smart store for a specified user.

Return

SmartStore instance.

Parameters

account

UserAccount instance.


open fun getSmartStore(account: UserAccount, communityId: String): SmartStore

Returns the database used by smart store for a specified user in the specified community.

Return

SmartStore instance.

Parameters

account

UserAccount instance.

communityId

Community ID.


open fun getSmartStore(dbNamePrefix: String, account: UserAccount, communityId: String): SmartStore

Returns the database used by smart store for a specified database name and user in the specified community.

Return

SmartStore instance.

Parameters

dbNamePrefix

The database name. This must be a valid file name without a filename extension such as ".db".

account

UserAccount instance.

communityId

Community ID.