Android.Service.QuickAccessWallet 命名空間

提供 Android 快速存取錢包的服務、卡片、請求與回應。

類別

名稱 Description
GetWalletCardsError

錯誤 GetWalletCardsRequest回應 。

GetWalletCardsError.InterfaceConsts

包含用於錢包卡錯誤的可包介面常數。

GetWalletCardsRequest

代表對 的QuickAccessWalletServiceWalletCard 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

代表系統介面中快速存取錢包的 QuickAccessWalletService wallet app 請求。

WalletServiceEvent.InterfaceConsts

包含為錢包服務事件所暴露的可包介面常數。

介面

名稱 Description
IGetWalletCardsCallback

處理來自 QuickAccessWalletService 的回應 GetWalletCardsRequest

列舉

名稱 Description
WalletCardType

指定錢包卡是支付卡、非支付卡,或是類型不明。

WalletServiceEventType

指定錢包服務傳送給系統錢包的事件類型。

備註

實施 QuickAccessWalletService 發放卡片、接收卡片選擇與解約回電,以及回報錢包事件。 用於WalletCard.Builder構建 。GetWalletCardsResponse

服務聲明必須要求 android.permission.BIND_QUICK_ACCESS_WALLET_SERVICE。 請參閱 Android 服務參考資料 以了解清單與設定需求。