Udostępnij za pośrednictwem


QuickAccessWalletService.SendWalletServiceEvent(WalletServiceEvent) Method

Definition

Send a WalletServiceEvent to the Quick Access Wallet.

[Android.Runtime.Register("sendWalletServiceEvent", "(Landroid/service/quickaccesswallet/WalletServiceEvent;)V", "", ApiSince=30)]
public void SendWalletServiceEvent (Android.Service.QuickAccessWallet.WalletServiceEvent serviceEvent);
[<Android.Runtime.Register("sendWalletServiceEvent", "(Landroid/service/quickaccesswallet/WalletServiceEvent;)V", "", ApiSince=30)>]
member this.SendWalletServiceEvent : Android.Service.QuickAccessWallet.WalletServiceEvent -> unit

Parameters

serviceEvent
WalletServiceEvent
Attributes

Remarks

Send a WalletServiceEvent to the Quick Access Wallet.

Background events may require that the Quick Access Wallet view be updated. For example, if the wallet application hosting this service starts to handle an NFC payment while the Quick Access Wallet is being shown, the Quick Access Wallet will need to be dismissed so that the Activity showing the payment can be displayed to the user.

Java documentation for android.service.quickaccesswallet.QuickAccessWalletService.sendWalletServiceEvent(android.service.quickaccesswallet.WalletServiceEvent).

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