public abstract class SmsRetrieverClient extends GoogleApi<Api.ApiOptions.NoOptions>
implements SmsRetrieverApi
implements SmsRetrieverApi
The main entry point for interacting with SmsRetriever.
This does not require a GoogleApiClient
.
See GoogleApi
for more information.
Public Method Summary
abstract Task<Void> |
startSmsRetriever()
Starts SmsRetreiver, which waits for ONE matching SMS message until timeout (5
minutes).
|
Inherited Method Summary
Public Methods
public abstract Task<Void> startSmsRetriever ()
Starts SmsRetreiver, which waits for ONE matching SMS message until timeout (5
minutes). The matching SMS message will be sent via a Broadcast Intent with action
SmsRetriever.SMS_RETRIEVED_ACTION
.
Returns
- a
Task
for the call. Attach anOnCompleteListener
and then checkisSuccessful()
to determine if it was successful.