AccountLocks

class AccountLocks(locked: List<Pair<String, List<String>>>, val hasHolds: Boolean, val hasUnreleasable: Boolean)

The accounts whose lock the app still holds, each under a pseudonymous key: the reasons of its holds with their age, UNAVAILABLE when its release threw, else FOREGROUND, or RELEASING while its release still runs.

Constructors

Link copied to clipboard
internal constructor(locked: List<Pair<String, List<String>>>, hasHolds: Boolean, hasUnreleasable: Boolean)

Properties

Link copied to clipboard
val hasHolds: Boolean

A call, upload, setup or restore still holds an account.

Link copied to clipboard
val hasUnreleasable: Boolean

In the background, an account's release threw and left its lock held: only the process's exit lets it go.

Functions

Link copied to clipboard
open override fun toString(): String

One log line, such as ACCOUNT_LOCKS_KEPT 1a2b3c4d=CALL@12s 9f8e7d6c=UNAVAILABLE.