Stay organized with collections
Save and categorize content based on your preferences.
public interface Result
Represents the final result of invoking an API method in Google Play services.
Summary
Public methods |
abstract Status |
Returns the status of this result.
|
Public methods
abstract Status getStatus()
Returns the status of this result. Use isSuccess
to determine whether the call was successful, and getStatusCode
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 via getResolution
.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-31 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-31 UTC."],[[["`Result` represents the final outcome of calling a Google Play services API method."],["It includes a `getStatus()` method to check the success or failure of the operation."],["`Status` provides details about the result, including success status, error codes, and potential resolution intents."],["Common subclasses of `Result` include `BatchResult`, `BooleanResult`, and `Status` for different types of API responses."]]],[]]