createAccount

abstract suspend fun createAccount(    userName: String?,     password: String?,     initialDeviceDisplayName: String?): RegistrationResult

This is the first method to call in order to create an account and start the registration process.

Parameters

userName

the desired username. Ex: "alice"

password

the desired password

initialDeviceDisplayName

the device display name