Android APIs
public final class

GoogleSignInStatusCodes

extends CommonStatusCodes
java.lang.Object
   ↳ com.google.android.gms.common.api.CommonStatusCodes
     ↳ com.google.android.gms.auth.api.signin.GoogleSignInStatusCodes

Class Overview

Google Sign In specific status codes, for use in Status#getStatusCode().

In addition to codes defined in this class, you might also want to check:

Summary

Constants
int SIGN_IN_CANCELLED The sign in was cancelled by the user.
int SIGN_IN_FAILED The sign in attempt didn't succeed with the current account.
[Expand]
Inherited Constants
From class com.google.android.gms.common.api.CommonStatusCodes
Public Methods
static String getStatusCodeString(int statusCode)
Returns an untranslated debug (not user-friendly) string based on the current status code.
[Expand]
Inherited Methods
From class com.google.android.gms.common.api.CommonStatusCodes
From class java.lang.Object

Constants

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_FAILED

The sign in attempt didn't succeed with the current account.

Unlike SIGN_IN_REQUIRED. when seeing this error code, there is nothing user can do to recover from the sign in failure.

Constant Value: 12500 (0x000030d4)

Public Methods

public static String getStatusCodeString (int statusCode)

Returns an untranslated debug (not user-friendly) string based on the current status code.