Stay organized with collections Save and categorize content based on your preferences.
interface Result
Represents the final result of invoking an API method in Google Play services.
Summary
Public functions |
---|
Status! | Returns the status of this result. |
Public functions
fun getStatus(): Status!
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 2025-03-17 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 2025-03-17 UTC."],[[["`Result` represents the final result of invoking an API method in Google Play services."],["It provides a `getStatus()` function to retrieve a `Status` object, indicating the success or failure of the operation."],["`Status` objects can contain resolution intents for certain errors, accessible via `getResolution()`."],["`Result` has three known direct subclasses: `BatchResult`, `BooleanResult`, and `Status`, each serving a specific purpose."]]],[]]