deleteAccount

open fun deleteAccount(@Nullable accountId: String)

Delete an account.

Calling this method invalidates account indexes higher than getAccountIndex(accountId).

Parameters

accountId

ID of the account to delete; nullif feature Multiple Accounts is not provided.


open fun deleteAccount(@IntRange(from = 0) index: Int)

Delete an account

Calling this method invalidates account indexes higher than index.

Parameters

index

Account index; 0 ≤ index <getAccountCount; 0 if feature Multiple Accounts is not provided.