Result

Kotlin|Java

public interfaceResult

Known direct subclasses
BatchResult

The result of a batch operation.

BooleanResult

AResult with a boolean value.

GoogleSignInResult

This class is deprecated.

UseCredential Manager for authentication orGoogle Identity Services for authorization.

Status

Represents the results of work.


Represents the final result of invoking an API method in Google Play services.

Summary

Public methods

abstractStatus

Returns the status of this result.

Public methods

getStatus

abstract Status getStatus()

Returns the status of this result. UseisSuccess to determine whether the call was successful, andgetStatusCode to determine what the error cause was.

Certain errors are due to failures that can be resolved by launching a particular intent. The resolution intent is available viagetResolution.

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-03-17 UTC.