WalletVerb
WalletVerb
WalletVerb
WalletVerb
Class
Definition
Represents a wallet verb, which is potentially used for app activation. This is a string suitable for UI that is descriptive of the action.
public : sealed class WalletVerb : IWalletVerbpublic sealed class WalletVerb : IWalletVerbPublic NotInheritable Class WalletVerb Implements IWalletVerb// You can use this class in JavaScript.
- Attributes
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Remarks
You can associate verbs, such as "register", "pay with" with an item in the wallet. When the user selects a verb, your app is activated. The selected verb is passed to an app as part of activation (in the WalletActionActivatedEventArgs data, as the ActionId value, and ActionKind will be Verb).
Note
JavaScript apps use WebUIWalletActionActivatedEventArgs.
A WalletVerb object represents the individual items for the WalletItem.Verbs property.
The verb is a cue to the app of which UI to display on activation, which might be specific to the verb that was chosen by the user.
For more info on using Wallet activation, see the "Handling app activation by Wallet " section of Quickstart: Using the APIs.
Constructors
WalletVerb(String) WalletVerb(String) WalletVerb(String) WalletVerb(String)
Initializes a new instance of the WalletVerb class.
public : WalletVerb(PlatForm::String name)public WalletVerb(String name)Public Sub New(name As String)// You can use this method in JavaScript.
- name
- PlatForm::String String String String
The name of the custom verb. Sets the value of the Name property.