IncomingCallRetrieverStatusCodes

public static class IncomingCallRetrieverStatusCodes extends CommonStatusCodes


Incoming call verification specific status codes.

Summary

Constants

static final int

The API is currently unavailable.

static final int

Concurrent requests are not allowed.

static final int

Failure is unspecified.

static final int

Invalid phone number range passed.

static final int

The device is currently in an emergency call.

static final int

The rate limit for API calls has been reached.

static final int

The API is currently unavailable.

static final int

User consent not given for reading next incoming phone number.

Public methods

final @NonNull String

Returns a human-readable string based on the given status code.

Constants

API_UNAVAILABLE

public static final int API_UNAVAILABLE = 53003

The API is currently unavailable.

CONCURRENT_REQUESTS

public static final int CONCURRENT_REQUESTS = 53001

Concurrent requests are not allowed.

FAILURE_OTHER

public static final int FAILURE_OTHER = 53008

Failure is unspecified.

INVALID_PHONE_NUMBER_RANGE

public static final int INVALID_PHONE_NUMBER_RANGE = 53006

Invalid phone number range passed.

IN_EMERGENCY_CALL

public static final int IN_EMERGENCY_CALL = 53002

The device is currently in an emergency call.

RATE_LIMIT_REACHED

public static final int RATE_LIMIT_REACHED = 53004

The rate limit for API calls has been reached.

TELEPHONY_FEATURE_UNAVAILABLE

public static final int TELEPHONY_FEATURE_UNAVAILABLE = 53005

The API is currently unavailable.

public static final int USER_CONSENT_DENIED = 53007

User consent not given for reading next incoming phone number.

Public fields

Public methods

getVerificationStatusCodeString

public final @NonNull String getVerificationStatusCodeString(int statusCode)

Returns a human-readable string based on the given status code.