习近平“4·19讲话”呈现互联网全球治理的“中..

public class WalletObjectsClient extends GoogleApi<Wallet.WalletOptions>
百度 上海有一条淞江,就是现在的苏州河,上海的先民们就在淞江和大海之间以沪捕鱼,所以淞江最早被当地人称为“沪渎”,渎就是河流入海的意思。

Entry point for Wallet objects functionality.

Public Method Summary

Task<AutoResolvableVoidResult>
createWalletObjects(CreateWalletObjectsRequest request)
Launches a UI allowing the user to save a wallet object (loyalty card, gift card, or offer) to Google Pay.

Inherited Method Summary

Public Methods

public Task<AutoResolvableVoidResult> createWalletObjects (CreateWalletObjectsRequest request)

Launches a UI allowing the user to save a wallet object (loyalty card, gift card, or offer) to Google Pay.

This API conforms to the protocol defined by AutoResolveHelper, so instead of handling the returned exceptions yourself when UI needs to be shown (i.e. ResolvableApiException), you should use the AutoResolveHelper to pipe the results back to Activity.onActivityResult(int, int, android.content.Intent). This allows your code to receive the result whether the UI is shown or not.

Parameters
request An instance of CreateWalletObjectsRequest which specifies actual objects to be created
Returns