IToastNotificationActivatedEventArgs IToastNotificationActivatedEventArgs IToastNotificationActivatedEventArgs IToastNotificationActivatedEventArgs Interface

Definition

Provides information about an event that occurs when the app is activated because a user tapped on the body of a toast notification or performed an action inside a toast notification.

public : interface IToastNotificationActivatedEventArgspublic interface IToastNotificationActivatedEventArgsPublic Interface IToastNotificationActivatedEventArgs// You can use this interface in JavaScript.
Inheritance
IToastNotificationActivatedEventArgsIToastNotificationActivatedEventArgsIToastNotificationActivatedEventArgsIToastNotificationActivatedEventArgs
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Inherited Members

Inherited properties

Properties

Argument Argument Argument Argument

Gets the arguments that the app can retrieve after it is activated through an interactive toast notification.

public : PlatForm::String Argument { get; }public string Argument { get; }Public ReadOnly Property Argument As string// You can use this property in JavaScript.
Value
PlatForm::String string string string

The arguments that the app can retrieve after it is activated through an interactive toast notification. The value of this property is defined previously in the XML that describes the data to deliver for the toast notification. The following elements and attributes of that XML define the value:

  • The arguments attribute of the element, if the user performs an action inside the interactive toast notification.
  • The launch attribute of the element, if the user simply clicks the body of the toast notification.

UserInput UserInput UserInput UserInput

Gets a set of values that you can use to obtain the user input from an interactive toast notification.

public : ValueSet UserInput { get; }public ValueSet UserInput { get; }Public ReadOnly Property UserInput As ValueSet// You can use this property in JavaScript.
Value
ValueSet ValueSet ValueSet ValueSet

A set of values that you can use to obtain the user input from an interactive toast notification.

This information consists of pairs of keys and values, in which the keys are the identifiers for the elements for which the user provided input and the values represent the input from the user. For elements that specify that the type of the input is text, the value is the string that the user specified. For elements that specify that the type of the input is an item that the user selects from a predefined list, the value is the identifier for the item that the user selected.

See Also

See Also