public interface

SmsRetrieverApi

com.google.android.gms.auth.api.phone.SmsRetrieverApi
Known Indirect Subclasses

Class Overview

API interface for SmsRetriever.

Summary

Public Methods
abstract Task<Void> startSmsRetriever()
Starts SmsRetreiver, which waits for ONE matching SMS message until timeout (5 minutes).

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
Task<Void> a Task for the call. Attach an OnCompleteListener and then check isSuccessful() to determine if it was successful.