語言

GetWalletCardsRequest(Int32, Int32, Int32, Int32) 建構函式

定義

建立一個新的 GetWalletCardsRequest。

[Android.Runtime.Register(".ctor", "(IIII)V", "", ApiSince=30)]
public GetWalletCardsRequest(int cardWidthPx, int cardHeightPx, int iconSizePx, int maxCards);
[<Android.Runtime.Register(".ctor", "(IIII)V", "", ApiSince=30)>]
new Android.Service.QuickAccessWallet.GetWalletCardsRequest : int * int * int * int -> Android.Service.QuickAccessWallet.GetWalletCardsRequest

參數

cardWidthPx
Int32

卡片影像的寬度(像素單位)。

cardHeightPx
Int32

卡片影像的高度(像素單位)。

iconSizePx
Int32

可選卡片圖示的寬度與高度(像素單位)。

maxCards
Int32

回應中可提供的最大牌數。

屬性

備註

建立一個新的 GetWalletCardsRequest。

Java 文件 android.service.quickaccesswallet.GetWalletCardsRequest.GetWalletCardsRequest(int, int, int, int)。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於