com.google.android.gms.wallet.contract
Stay organized with collections
Save and categorize content based on your preferences.
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\u003eApiTaskResult\u003c/code\u003e represents the result of a \u003ccode\u003eTask\u003c/code\u003e, including additional execution outcome information.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eTaskResultContracts\u003c/code\u003e provides \u003ccode\u003eActivityResultContract\u003c/code\u003es to resolve \u003ccode\u003eTask\u003c/code\u003e objects.\u003c/p\u003e\n"],["\u003cp\u003eContracts like \u003ccode\u003eGetApiTaskResult\u003c/code\u003e, \u003ccode\u003eGetPaymentData\u003c/code\u003e, and others help retrieve and manage task results, including payment data.\u003c/p\u003e\n"],["\u003cp\u003eThese contracts simplify handling \u003ccode\u003eTask\u003c/code\u003e outcomes and extracting results for Google Wallet operations.\u003c/p\u003e\n"]]],["The content outlines several classes for handling task results within the Google Wallet API. `ApiTaskResult` represents the outcome of a `Task`. `TaskResultContracts` offers contracts to resolve `Task` objects. Specific contracts include: `GetApiTaskResult`, which yields an `ApiTaskResult`; `GetPaymentData`, returning `PaymentData`; `GetPaymentDataResult`, a wrapper around `PaymentData` and task details; `ResolveApiTaskResult`, for converting a `Task` to a result; and `UnpackApiTaskResult`, for retrieving a `Task` result if successful.\n"],null,[]]