Class PhoneVerification.Response
java.lang.Object
com.codename1.components.PhoneVerification.Response
- Enclosing class:
PhoneVerification
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.
-
Method Summary
-
Method Details
-
succeeded
public void succeeded()The request succeeded: the message was sent, or the code was correct. -
failed
The request failed.
Parameters
message: what to show the user; a default is shown when null
-