hasSmartStore

Returns whether smart store is enabled for the current user or not.

Return

True - if the user has a smart store database, False - otherwise.


open fun hasSmartStore(account: UserAccount): Boolean

Returns whether smart store is enabled for the specified user or not.

Return

True - if the user has a smart store database, False - otherwise.

Parameters

account

UserAccount instance.


open fun hasSmartStore(account: UserAccount, communityId: String): Boolean

Returns whether smart store is enabled for the specified community or not.

Return

True - if the user has a smart store database, False - otherwise.

Parameters

account

UserAccount instance.

communityId

Community ID.


open fun hasSmartStore(dbNamePrefix: String, account: UserAccount, communityId: String): Boolean

Returns whether smart store is enabled for the specified database or not.

Return

True - if the user has a smart store database, False - otherwise.

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.