AutoResolvableVoidResult
Stay organized with collections
Save and categorize content based on your preferences.
A Void result that is an AutoResolvableResult
.
This is returned as the Task
result type for
APIs that do not return data beyond an error code on failures but that still show UI and can
be handled using AutoResolveHelper
.
Public Constructor Summary
Inherited Method Summary
From class java.lang.Object
Object
|
clone()
|
boolean |
|
void |
finalize()
|
final Class<?>
|
getClass()
|
int |
hashCode()
|
final void |
notify()
|
final void |
notifyAll()
|
String
|
toString()
|
final void |
wait(long arg0, int arg1)
|
final void |
wait(long arg0)
|
final void |
wait()
|
Public Constructors
public AutoResolvableVoidResult ()
Public Methods
public 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 2022-03-03 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 2022-03-03 UTC."],[[["`AutoResolvableVoidResult` is a class used for Google Pay APIs that don't return data but still display UI and can be resolved using `AutoResolveHelper`."],["It implements the `AutoResolvableResult` interface, allowing it to save its state into an Intent for handling UI flows."],["This class is primarily used as the result type for tasks representing operations without specific data outputs, focusing on error codes and UI interactions."],["It provides a constructor to create an instance and a `putIntoIntent` method to store the result into an Intent."]]],[]]