SmsRetrieverStatusCodes

public final class SmsRetrieverStatusCodes extends CommonStatusCodes

SMS Retriever specific status codes, for use in getStatusCode().

Constant Summary

int API_NOT_AVAILABLE The calling application is not eligible to use this particular API.
int PLATFORM_NOT_SUPPORTED The current Android platform does not support this particular API.
int USER_PERMISSION_REQUIRED The user has not granted the calling application permission to use this particular API.

Inherited Constant Summary

Public Method Summary

static String
getStatusCodeString(int statusCode)
Returns an untranslated debug string based on the given status code.

Inherited Method Summary

Constants

public static final int API_NOT_AVAILABLE

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

Note: For SmsCodeAutofillClient, this status indicates that the calling application is not the current user-designated autofill service.

Constant Value: 36501

public static final int PLATFORM_NOT_SUPPORTED

The current Android platform does not support this particular API.

Constant Value: 36500

public static final int USER_PERMISSION_REQUIRED

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

Constant Value: 36502

Public Methods

public static String getStatusCodeString (int statusCode)

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