AutoResolvableResult
Stay organized with collections
Save and categorize content based on your preferences.
Known Indirect Subclasses
Public Methods
public abstract void
putIntoIntent
( Intent
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.
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."],[[["\u003cp\u003e\u003ccode\u003eAutoResolvableResult\u003c/code\u003e marks \u003ccode\u003eTask\u003c/code\u003e results that may require UI interaction for resolution, often through \u003ccode\u003eResolvableApiException\u003c/code\u003e, and supports automatic resolution via \u003ccode\u003eAutoResolveHelper\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eImplementations of this interface typically involve a \u003ccode\u003eputIntoIntent\u003c/code\u003e method to save the result's intent as an extra within another \u003ccode\u003eIntent\u003c/code\u003e and a corresponding static \u003ccode\u003egetFromIntent\u003c/code\u003e method for retrieval.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eAutoResolvableResult\u003c/code\u003e is extended by \u003ccode\u003eAutoResolvableVoidResult\u003c/code\u003e (for void results) and \u003ccode\u003ePaymentData\u003c/code\u003e (for payment responses containing necessary information to complete a payment).\u003c/p\u003e\n"]]],["`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"],null,["# AutoResolvableResult\n\npublic interface **AutoResolvableResult** \n\n|---|---|---|\n| Known Indirect Subclasses [AutoResolvableVoidResult](/android/reference/com/google/android/gms/wallet/AutoResolvableVoidResult), [PaymentData](/android/reference/com/google/android/gms/wallet/PaymentData) |-------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------| | [AutoResolvableVoidResult](/android/reference/com/google/android/gms/wallet/AutoResolvableVoidResult) | A Void result that is an [AutoResolvableResult](/android/reference/com/google/android/gms/wallet/AutoResolvableResult). | | [PaymentData](/android/reference/com/google/android/gms/wallet/PaymentData) | Parcelable representing a payment data response, which contains the necessary payment result to complete the payment. | |||\n\nMarks [Task](/android/reference/com/google/android/gms/tasks/Task) results which may\ninvolve showing UI to be resolved through [ResolvableApiException](/android/reference/com/google/android/gms/common/api/ResolvableApiException)\nand that support automatic resolution through the use of [AutoResolveHelper](/android/reference/com/google/android/gms/wallet/AutoResolveHelper). \n\n### Public Method Summary\n\n|---------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| abstract void | [putIntoIntent](/android/reference/com/google/android/gms/wallet/AutoResolvableResult#putIntoIntent(android.content.Intent))([Intent](//developer.android.com/reference/android/content/Intent.html) intent) Saves the intent as an extra into the given [Intent](//developer.android.com/reference/android/content/Intent.html). |\n\nPublic Methods\n--------------\n\n#### public abstract void **putIntoIntent** ([Intent](//developer.android.com/reference/android/content/Intent.html) intent)\n\nSaves the intent as an extra into the given [Intent](//developer.android.com/reference/android/content/Intent.html).\n\nGenerally speaking, any classes that implement this interface will also have a\nstatic method called `getFromIntent(Intent)` to do the opposite\noperation."]]