語言

GetWalletCardsResponse.SelectedIndex 屬性

定義

代表 selectedIndex 卡片在快速存取錢包中首次顯示時,應以「選擇」位置呈現的卡片索引。

public int SelectedIndex { [Android.Runtime.Register("getSelectedIndex", "()I", "", ApiSince=30)] get; }
[<get: Android.Runtime.Register("getSelectedIndex", "()I", "", ApiSince=30)>]
member this.SelectedIndex : int

屬性值

屬性

備註

代表 selectedIndex 卡片在快速存取錢包中首次顯示時,應以「選擇」位置呈現的卡片索引。 除非 selectedIndex 列表為空,否則 應該大於或等於零且小於 的 WalletCard walletCards列表大小,除非列表為空,此時 可以 selectedIndex 取任意值。 0 是這類情況的一個不錯的整數。

Java 文件 android.service.quickaccesswallet.GetWalletCardsResponse.getSelectedIndex()。

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

適用於