WalletObjects

  • WalletObjects is an interface serving as an entry point for Wallet objects functionality.

  • The primary method createWalletObjects in this interface is used to launch a UI allowing users to save a Loyalty Card wallet object.

  • The createWalletObjects method requires a GoogleApiClient , a CreateWalletObjectsRequest specifying the objects, and a requestCode for activity result handling.

public interface WalletObjects

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 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
Create a Mobile Website
View Site in Mobile | Classic
Share by: