GetWalletCardsResponse(IList<WalletCard>, Int32) Constructor

Definition

Construct a new response.

[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

Parameters

walletCards
IList<WalletCard>

The list of wallet cards. The list may be empty but must NOT be larger than GetWalletCardsRequest#getMaxCards(). The list may not contain null values.

selectedIndex
Int32

The index of the card that should be presented as the initially 'selected' card. The index must be greater than or equal to zero and less than the size of the list of walletCards (unless the list is empty in which case the value may be 0).

Attributes

Remarks

Construct a new response.

Java documentation for android.service.quickaccesswallet.GetWalletCardsResponse.GetWalletCardsResponse(java.util.List<android.service.quickaccesswallet.WalletCard>, int).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to