java.lang.Object | ||
↳ | com.google.android.gms.common.api.GoogleApi<com.google.android.gms.common.api.Api.ApiOptions.NoOptions> | |
↳ | com.google.android.gms.auth.api.phone.SmsRetrieverClient |
The main entry point for interacting with SmsRetriever.
This is a connectionless client and therefore does not require a GoogleApiClient
. See
GoogleApi
for more information.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Starts SmsRetreiver, which waits for ONE matching SMS message until timeout (5 minutes).
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
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 | |
---|---|
Task<Void> |
a Task for the call. Attach an OnCompleteListener and then check isSuccessful() to determine if it was successful.
|