GoogleSignInResults are Result
implementations that potentially contain a ERROR(/GoogleSignInAccount).
| GoogleSignInAccount |
getSignInAccount()
Returns a
ERROR(/GoogleSignInAccount)
reflecting the user's sign in information if sign-in completed successfully; or
null when failed.
|
| Status | |
| boolean |
isSuccess()
Convenient method to help you tell if sign-in completed successfully.
|
Returns a ERROR(/GoogleSignInAccount)
reflecting the user's sign in information if sign-in completed successfully; or
null when failed.
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 Status.getStatusCode()
to consts defined in
GoogleSignInStatusCodes and its parent class.
Convenient method to help you tell if sign-in completed successfully.