setDefaultAccount

Set default account

Using this method requires feature Multiple Accounts.

Parameters

accountId

ID of the account to set as default; null for none.


open fun setDefaultAccount(@IntRange(from = "-1") index: Int)

Set default account

Using this method requires feature Multiple Accounts.

Parameters

index

Index of the account to set as default; index <getAccountCount; -1 for none.