deleteDatabase

open fun deleteDatabase(ctx: Context, account: UserAccount)

Deletes the underlying database for the specified user account.

Parameters

ctx

Context.

account

User account.


open fun deleteDatabase(ctx: Context, account: UserAccount, communityId: String)

Deletes the underlying database for the specified user and community.

Parameters

ctx

Context.

account

User account.

communityId

Community ID.


open fun deleteDatabase(ctx: Context, dbNamePrefix: String, account: UserAccount, communityId: String)

Deletes the underlying database for the specified user and community.

Parameters

ctx

Context.

dbNamePrefix

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

account

User account.

communityId

Community ID.