Registration
Defines APIs for the registration phase. The registration phase is the main entry point to imahub's services, where one should retrieve his imahub-uuid at the end of it.
Functions
Blocking-call variant of Registration.registerAccount.
Blocking-call variant of Registration.registerNonSignalCompliantAccount.
Blocking-call variant of Registration.replaceMasterDevice.
Registers an account to hub-server and creates a linked device with empty keys.
As registerAccount, but the AccountKeyBundle.identityKey is immediately set as NON_SIGNAL_COMPLIANT during registration and there should not be a call to set keys afterward
Replaces the old master-device by deleting it and makes the receiving device the new master-device. Also, through this API the end-user's new device discovers its account's uuid. After this operation the device should set its signal-keys.
Runs a new coroutine in HubClientCoroutineContextStrategy.clientCoroutineContext context and blocks the current thread until its completion. This function should not be used from a coroutine.
Properties
The hubClient's-coroutine-context. It can be used to explicit define in which CoroutineContext the new client will run.