SmsRetrieverStatusCodes

public final class SmsRetrieverStatusCodes extends CommonStatusCodes


SMS Retriever specific status codes, for use in getStatusCode.

Summary

Constants

static final int

The calling application is not eligible to use this particular API.

static final int

The current Android platform does not support this particular API.

static final int

The user has not granted the calling application permission to use this particular API.

Public methods

static String
getStatusCodeString(int statusCode)

Returns an untranslated debug string based on the given status code.

Inherited Constants

From com.google.android.gms.common.api.CommonStatusCodes
static final int
static final int
static final int
static final int
static final int
static final int
ERROR = 13
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int

This field is deprecated.

static final int

This field is deprecated.

static final int
static final int
static final int
static final int
TIMEOUT = 15

Inherited methods

From com.google.android.gms.common.api.CommonStatusCodes
static String
getStatusCodeString(int statusCode)

Constants

API_NOT_AVAILABLE

public static final int API_NOT_AVAILABLE = 36501

The calling application is not eligible to use this particular API.

Note: For com.google.android.gms.auth.api.phone.SmsCodeAutofillClient, this status indicates that the calling application is not the current user-designated autofill service. For SmsCodeBrowserClient, it indicates that the caller is not the system default browser app.

PLATFORM_NOT_SUPPORTED

public static final int PLATFORM_NOT_SUPPORTED = 36500

The current Android platform does not support this particular API.

USER_PERMISSION_REQUIRED

public static final int USER_PERMISSION_REQUIRED = 36502

The user has not granted the calling application permission to use this particular API.

Public methods

getStatusCodeString

public static String getStatusCodeString(int statusCode)

Returns an untranslated debug string based on the given status code.