Android.Service.QuickAccessWallet 命名空间

为 Android 的快速访问钱包提供服务、卡、请求和响应。

类

名称 说明
GetWalletCardsError

错误的 GetWalletCardsRequest响应 。

GetWalletCardsError.InterfaceConsts

包含为钱包卡错误公开的可包裹接口常量。

GetWalletCardsRequest

表示对 QuickAccessWalletService for WalletCard walletCards的请求。

GetWalletCardsRequest.InterfaceConsts

包含为钱包卡请求公开的可包裹接口常量。

GetWalletCardsResponse

GetWalletCardsRequest响应包含电子钱包卡列表和最初应显示在“选定”位置的卡的索引。

GetWalletCardsResponse.InterfaceConsts

包含为钱包卡响应公开的可包裹接口常量。

QuickAccessWalletService

A QuickAccessWalletService 提供快速访问钱包中显示的 s 列表 WalletCard。

SelectWalletCardRequest

表示对 QuickAccessWalletService 选择特定 WalletCard walletCard项的请求。

SelectWalletCardRequest.InterfaceConsts

包含为卡片选择请求公开的可包裹接口常量。

WalletCard

A WalletCard 可以表示用户可能携带的任何内容 -- 信用卡、图书馆卡、传输通行证等。

WalletCard.Builder

对象的 WalletCard 生成器。

WalletCard.InterfaceConsts

包含为钱包卡公开的可包裹接口常量。

WalletServiceEvent

表示从系统 UI 中的 QuickAccessWalletService wallet app 快速访问钱包的请求。

WalletServiceEvent.InterfaceConsts

包含为钱包服务事件公开的可包裹接口常量。

接口

名称 说明
IGetWalletCardsCallback

处理其响应QuickAccessWalletServiceGetWalletCardsRequest

枚举

名称 说明
WalletCardType

指定钱包卡是支付卡、非支付卡还是具有未知类型。

WalletServiceEventType

指定电子钱包服务发送到系统钱包的事件类型。

注解

实现 QuickAccessWalletService 提供卡片、接收卡片选择和消除回调,以及报告钱包事件。 用于 WalletCard.Builder 为 . GetWalletCardsResponse.

服务声明必须要求 android.permission.BIND_QUICK_ACCESS_WALLET_SERVICE。 有关清单和配置要求,请参阅 Android 服务参考 。