public abstract class AbstractPromptReceiver extends Object implements VerificationCodeReceiver
Implementation is thread-safe.
| Constructor and Description |
|---|
AbstractPromptReceiver() |
| Modifier and Type | Method and Description |
|---|---|
void |
stop()
Releases any resources and stops any processes started.
|
String |
waitForCode()
Waits for a verification code.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetRedirectUripublic String waitForCode()
VerificationCodeReceiver
Upgrade warning: this method now throws an IOException. In prior version 1.11 it threw
an Exception.
waitForCode in interface VerificationCodeReceiverpublic void stop()
VerificationCodeReceiver
Upgrade warning: this method now throws an IOException. In prior version 1.11 it threw
an Exception.
stop in interface VerificationCodeReceiverCopyright © 2011-2012 Google. All Rights Reserved.