GetWalletCardsResponse(IList<WalletCard>, Int32) 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
构造新响应。
[Android.Runtime.Register(".ctor", "(Ljava/util/List;I)V", "", ApiSince=30)]
public GetWalletCardsResponse(System.Collections.Generic.IList<Android.Service.QuickAccessWallet.WalletCard> walletCards, int selectedIndex);
[<Android.Runtime.Register(".ctor", "(Ljava/util/List;I)V", "", ApiSince=30)>]
new Android.Service.QuickAccessWallet.GetWalletCardsResponse : System.Collections.Generic.IList<Android.Service.QuickAccessWallet.WalletCard> * int -> Android.Service.QuickAccessWallet.GetWalletCardsResponse
参数
- walletCards
- IList<WalletCard>
电子钱包卡列表。 列表可能为空,但不能大于 GetWalletCardsRequest#getMaxCards()。 该列表可能不包含 null 值。
- selectedIndex
- Int32
应显示为最初“选定”卡的卡片的索引。 索引必须大于或等于零且小于电子钱包卡列表的大小(除非列表为空,在这种情况下,该值可能为 0)。
- 特性
注解
构造新响应。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。