Summary: Methods | Inherited Methods | [Expand All]
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() Returns a `GoogleSignInAccount` reflecting the user's sign in information if sign-in completed successfully; or `null` when failed.
Status | getStatus() Returns a `Status` object indicating 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
Object | clone()
boolean | equals(Object arg0)
void | finalize()
final Class<?> | getClass()
int | hashCode()
final void | notify()
final void | notifyAll()
String | toString()
final void | wait(long arg0, int arg1)
final void | wait(long arg0)
final void | wait()
From interface com.google.android.gms.common.api.Result
abstract Status | getStatus() Returns the status of this result.

## Public Methods

#### public GoogleSignInAccount getSignInAccount ()

Returns a `GoogleSignInAccount` reflecting the user's sign in information if sign-in completed successfully; or `null` when failed.

#### public Status getStatus ()

Returns a `Status` object indicating the status of the sign in attempt.

You can use `isSuccess()` to determine quickly if sign-in succeeded. If sign-in failed, you can match the status code retrieved from `getStatusCode()` to consts defined in `GoogleSignInStatusCodes` and its parent class.

#### public boolean isSuccess ()

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