AutoResolvableResult
Stay organized with collections
Save and categorize content based on your preferences.
AI-generated Key Takeaways
AutoResolvableResult is an interface for Task results that may involve showing UI and can be resolved through ResolvableApiException or automatically through AutoResolveHelper.
Known indirect subclasses of AutoResolvableResult include AutoResolvableVoidResult and PaymentData.
The AutoResolvableResult interface has a public abstract method called putIntoIntent that saves the result as an extra into a given Intent.
Saves the intent as an extra into the given Intent.
Generally speaking, any classes that implement this interface will also have a
static method called getFromIntent(Intent) to do the opposite
operation.
[[["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."],[],["`AutoResolvableResult` marks `Task` results that might require UI interaction for resolution, often via `ResolvableApiException`. It supports automatic resolution using `AutoResolveHelper`. This interface has two known subclasses: `AutoResolvableVoidResult` and `PaymentData`. The core action is the `putIntoIntent(Intent)` method, which saves the result into an `Intent` as an extra. Implementing classes are expected to have a static `getFromIntent(Intent)` method to retrieve the result from an `Intent`.\n"]]