interface WalletBirthdayStore : ReadWriteProperty<R, WalletBirthday>
Interface for classes that can handle birthday storage. This makes it possible to bridge into
existing storage logic. Instances of this interface can also be used as property delegates,
which enables the syntax val birthday by birthdayStore
newWalletBirthday |
abstract val newWalletBirthday: WalletBirthday |
getBirthday |
Get the birthday of the wallet, saved in this store. abstract fun getBirthday(): WalletBirthday |
getValue |
Implement readable interface in order to be able to use instances of this interface as property delegates. open fun getValue(thisRef: R, property: KProperty<*>): WalletBirthday |
hasExistingBirthday |
Return true when a birthday has been stored in this instance. abstract fun hasExistingBirthday(): Boolean |
hasImportedBirthday |
Return true when a birthday was imported into this instance. abstract fun hasImportedBirthday(): Boolean |
loadBirthday |
Load a birthday matching the given height. This is most commonly used during import to find the first available checkpoint that is lower than the requested height. abstract fun loadBirthday(birthdayHeight: Int): WalletBirthday |
setBirthday |
Set the birthday of the wallet to be saved in this store. abstract fun setBirthday(value: WalletBirthday): Unit |
setValue |
Implement writable interface in order to be able to use instances of this interface as property delegates. open fun setValue(thisRef: R, property: KProperty<*>, value: WalletBirthday): Unit |