interface VersionManager
A manager for VersionRecord.
checkVersion |
Checks for a version record in the wallet. If it does not exist, creates one. abstract fun checkVersion(wallet: Wallet): Completable |
getVersion |
Returns the version record from the agent's wallet. abstract fun getVersion(agent: Agent): Single<VersionRecord> |
setVersion |
Stores the version record in the wallet. abstract fun setVersion(wallet: Wallet): Single<VersionRecord> |
updateVersion |
Updates the version record in the wallet. abstract fun updateVersion(wallet: Wallet, record: VersionRecord): Completable |
DefaultVersionManager |
class DefaultVersionManager : VersionManager |