WalletObjects Stay organized with collections Save and categorize content based on your preferences.
Page Summary
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
| 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. |
Public Methods
public abstract voidcreateWalletObjects(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 ofGoogleApiClient which uses the Wallet API |
|---|---|
| request | An instance ofCreateWalletObjectsRequest which specifies actual objects to create |
| requestCode | is passed back in Activity.onActivityResult(int, int, Intent) where you can check if request succeeded |
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-31 UTC.