BlackListManager

Properties

Link copied to clipboard
abstract val accountsFlow: Flow<List<AccountItem>>

Provides a list of accounts retrieved from the device.

Functions

Link copied to clipboard
abstract fun fetchAccounts(): Job

Method for obtaining accounts on the device.

Link copied to clipboard
abstract suspend fun setAccountEnabled(accountId: String, isEnabled: Boolean)

Marks the account by accountId as enabled or disabled. Contacts that belong to disabled accounts do not participate in the backup processes.

Link copied to clipboard
abstract suspend fun setAccountsEnabledByTypes(isEnabled: Boolean, accountTypes: Set<String>)

Marks the account by accountTypes as enabled or disabled. Contacts that belong to disabled accounts do not participate in the backup processes.

Link copied to clipboard
abstract suspend fun setAllAccountsEnabled(isEnabled: Boolean)

Marks all accounts as enabled or disabled. Contacts that belong to disabled accounts do not participate in the backup processes.