create Phone Verification
suspend fun createPhoneVerification(accountId: String): Pair<AccountObjects.PhoneVerification?, NetworkingError?>
Initiates a phone verification for an account.
Return
A pair of the AccountObjects.PhoneVerification and any NetworkingError.
Parameters
account Id
The ID of the account whose phone number to verify.
fun createPhoneVerification(accountId: String, completionHandler: (AccountObjects.PhoneVerification?, NetworkingError?) -> Unit)
Initiates a phone verification for an account.
Parameters
account Id
The ID of the account whose phone number to verify.
completion Handler
Called with the AccountObjects.PhoneVerification or a NetworkingError.