Client API. The Codename One framework your app is built on: this runs on the device, not in a backend.

public interface PhoneVerification.CodeSender

Asks the application’s server to send a code to a number.

Methods

public abstract void sendCode(String e164Number, PhoneVerification.Response response)Sends the code.

Method details

sendCode

public abstract void sendCode(String e164Number, PhoneVerification.Response response)
Sends the code.

Parameters

e164Number String
the number in E.164 form, e.g. “+972501234567”
response PhoneVerification.Response
answered when the server replies