QuickAccessWalletService.OnWalletCardSelected(SelectWalletCardRequest) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A wallet card was selected.
[Android.Runtime.Register("onWalletCardSelected", "(Landroid/service/quickaccesswallet/SelectWalletCardRequest;)V", "GetOnWalletCardSelected_Landroid_service_quickaccesswallet_SelectWalletCardRequest_Handler", ApiSince=30)]
public abstract void OnWalletCardSelected (Android.Service.QuickAccessWallet.SelectWalletCardRequest request);
[<Android.Runtime.Register("onWalletCardSelected", "(Landroid/service/quickaccesswallet/SelectWalletCardRequest;)V", "GetOnWalletCardSelected_Landroid_service_quickaccesswallet_SelectWalletCardRequest_Handler", ApiSince=30)>]
abstract member OnWalletCardSelected : Android.Service.QuickAccessWallet.SelectWalletCardRequest -> unit
Parameters
- request
- SelectWalletCardRequest
- Attributes
Remarks
A wallet card was selected. Sent when the user selects a wallet card from the list of cards. Selection may indicate that the card is now in the center of the screen, or highlighted in some other fashion. It does not mean that the user clicked on the card -- clicking on the card will cause the WalletCard#getPendingIntent()
to be sent.
Card selection events are especially important to NFC payment applications because many NFC terminals can only accept one payment card at a time. If the user has several NFC cards in their wallet, selecting different cards can change which payment method is presented to the terminal.
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.