Android APIs
public class

GoogleSignInResult

extends Object
implements Result
java.lang.Object
   ↳ com.google.android.gms.auth.api.signin.GoogleSignInResult

Class Overview

GoogleSignInResults are Result implementations that potentially contain a GoogleSignInAccount.

Summary

Public Methods
GoogleSignInAccount getSignInAccount()
Gets a GoogleSignInAccount if sign-in completed successfully.
Status getStatus()
Gets the status of the sign in attempt.
boolean isSuccess()
Convenient method to help you tell if sign-in completed successfully.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.google.android.gms.common.api.Result

Public Methods

public GoogleSignInAccount getSignInAccount ()

Gets a GoogleSignInAccount if sign-in completed successfully.

Returns
  • GoogleSignInAccount reflecting the user's sign in information. May be null when failed.

public Status getStatus ()

Gets the status of the sign in attempt.

Returns

public boolean isSuccess ()

Convenient method to help you tell if sign-in completed successfully.

Returns
  • whether the sign in attempt succeeded.