FirebasePnvStatusCodes

public static class FirebasePnvStatusCodes extends CommonStatusCodes


Status codes for Firebase PNV.

Summary

Constants

static final int

The carrier is not supported

static final int

Credential Manager threw an error

static final int

Integrity check failed

static final int

The digital credential response is invalid

static final int

The test number ID is invalid or expired or not found

static final int

Preflight check failed

static final int

The SDK is already in test session

static final int

The API is not supported

Public fields

static @NonNull FirebasePnvStatusCodes

Public methods

final @NonNull String
getMessage(int errorCode)

Returns the default message for the given error code.

Constants

CARRIER_NOT_SUPPORTED

public static final int CARRIER_NOT_SUPPORTED = 55501

The carrier is not supported

CREDENTIAL_MANAGER_ERROR

public static final int CREDENTIAL_MANAGER_ERROR = 55506

Credential Manager threw an error

INTEGRITY_CHECK_FAILED

public static final int INTEGRITY_CHECK_FAILED = 55503

Integrity check failed

INVALID_DIGITAL_CREDENTIAL_RESPONSE

public static final int INVALID_DIGITAL_CREDENTIAL_RESPONSE = 55502

The digital credential response is invalid

INVALID_TEST_NUMBER_ID

public static final int INVALID_TEST_NUMBER_ID = 55507

The test number ID is invalid or expired or not found

PREFLIGHT_CHECK_FAILED

public static final int PREFLIGHT_CHECK_FAILED = 55504

Preflight check failed

TEST_SESSION_ALREADY_ENABLED

public static final int TEST_SESSION_ALREADY_ENABLED = 55508

The SDK is already in test session

UNSUPPORTED_OPERATION

public static final int UNSUPPORTED_OPERATION = 55505

The API is not supported

Public fields

INSTANCE

public static @NonNull FirebasePnvStatusCodes INSTANCE

Public methods

getMessage

public final @NonNull String getMessage(int errorCode)

Returns the default message for the given error code. These messages only get used if there is not more detailed error message information at the time that the exception is created.

Parameters
int errorCode

The error code to get the message for.

Returns
@NonNull String

The message for the given error code.