public interface

GoogleSignInStatusCodes

com.neomades.googlesignin.GoogleSignInStatusCodes

Class Overview

Google Sign In specific status codes.

Summary

Constants
int DEVELOPER_ERROR The application is misconfigured.
int INTERNAL_ERROR An internal error occurred.
int INVALID_ACCOUNT The client attempted to connect to the service with an invalid account name specified.
int NETWORK_ERROR A network error occurred.
int SIGN_IN_CANCELLED The sign in was cancelled by the user.
int SIGN_IN_CURRENTLY_IN_PROGRESS A sign in process is currently in progress and the current one cannot continue.
int SIGN_IN_FAILED The sign in attempt didn't succeed with the current account.
int SIGN_IN_INVALID_SCREEN The screen handling the sign in process is not valid.
int SIGN_IN_REQUIRED The client attempted to connect to the service but the user is not signed in.

Constants

public static final int DEVELOPER_ERROR

The application is misconfigured. This error is not recoverable and will be treated as fatal. The developer should look at the logs after this to determine more actionable information.

Constant Value: 10 (0x0000000a)

public static final int INTERNAL_ERROR

An internal error occurred. Retrying should resolve the problem.

Constant Value: 8 (0x00000008)

public static final int INVALID_ACCOUNT

The client attempted to connect to the service with an invalid account name specified.

Constant Value: 5 (0x00000005)

public static final int NETWORK_ERROR

A network error occurred. Retrying should resolve the problem.

Constant Value: 7 (0x00000007)

public static final int SIGN_IN_CANCELLED

The sign in was cancelled by the user. i.e. user cancelled some of the sign in resolutions, e.g. account picking or OAuth consent.

Constant Value: 12501 (0x000030d5)

public static final int SIGN_IN_CURRENTLY_IN_PROGRESS

A sign in process is currently in progress and the current one cannot continue. e.g. the user clicks the SignInButton multiple times and more than one sign in intent was launched.

Constant Value: 12502 (0x000030d6)

public static final int SIGN_IN_FAILED

The sign in attempt didn't succeed with the current account. when seeing this error code, there is nothing user can do to recover from the sign in failure. Switching to another account may or may not help.

Constant Value: 12500 (0x000030d4)

public static final int SIGN_IN_INVALID_SCREEN

The screen handling the sign in process is not valid. It may be not created or destroyed.

Constant Value: 12510 (0x000030de)

public static final int SIGN_IN_REQUIRED

The client attempted to connect to the service but the user is not signed in.

Constant Value: 4 (0x00000004)