public static final class PhoneVerification.Response
- Object
- PhoneVerification.Response
The application’s answer to one request. Exactly one of its methods takes effect, and later calls are ignored rather than rejected: a server wrapper that answers twice on a retry is a nuisance, not a reason to leave the screen stuck.
Either method may be called from any thread.
Methods
public void succeeded() | The request succeeded: the message was sent, or the code was correct. |
public void failed(String message) | The request failed. |
Inherited methods
Method details
succeeded
public void succeeded()The request succeeded: the message was sent, or the code was
correct.
failed
public void failed(String message)The request failed.
Parameters
messageString- what to show the user; a default is shown when null