AI-generated Key Takeaways
-
WalletObjects is an interface serving as an entry point for Wallet objects functionality.
-
The primary method
createWalletObjectsin this interface is used to launch a UI allowing users to save a Loyalty Card wallet object. -
The
createWalletObjectsmethod requires aGoogleApiClient, aCreateWalletObjectsRequestspecifying the objects, and arequestCodefor activity result handling.
Entry point for Wallet objects functionality.
Public Method Summary
Public Methods
public abstract void createWalletObjects ( GoogleApiClient googleApiClient, CreateWalletObjectsRequest request, int requestCode)
Launches a UI that allows the user to save a Loyalty Card wallet object to their Wallet.
Parameters
| googleApiClient | An instance of GoogleApiClient
which uses the Wallet API |
|---|---|
| request | An instance of CreateWalletObjectsRequest
which specifies actual objects to create |
| requestCode | is passed back in Activity.onActivityResult(int, int, Intent)
where you can check if
request succeeded |

