Share via


ToastNotificationTriggerDetails Class

Definition

Represents all information necessary to render a toast notification on an accessory.

public ref class ToastNotificationTriggerDetails sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Phone.PhoneContract, 65536)]
class ToastNotificationTriggerDetails final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Phone.PhoneContract), 65536)]
public sealed class ToastNotificationTriggerDetails
Public NotInheritable Class ToastNotificationTriggerDetails
Inheritance
Object Platform::Object IInspectable ToastNotificationTriggerDetails
Attributes
Implements

Windows requirements

Device family
Windows Mobile Extension SDK (introduced in 10.0.10240.0)
API contract
Windows.Phone.PhoneContract (introduced in v1.0)
App capabilities
accessoryManager

Remarks

Trigger details contain only notification data. They do not contain any information about how the notification should be displayed.

Calling this API requires that the ID_CAP_SMS and ID_CAP_SMS_COMPANION capabilities be specified in the application manifest.

Properties

AccessoryNotificationType

An AccessoryNotificationType that specifies the type of notification received. For toast notifications, this value is AccessoryNotificationType.Toast.

AppDisplayName

This property represents the display name of the app that generated the notification.

AppId

The instance ID of the app that generated the notification.

InstanceId

Represents the unique identifier of the toast notification.

StartedProcessing

Specifies whether the accessory has started processing the toast notification.

SuppressPopup

Indicates whether the toast notification is suppressed. Suppressed toast notifications generate notifications in the Notification Center but do not appear on the phone.

Text1

Represents a text field that holds toast notification data.

Trigger details contain only notification data. They do not contain any information about how the notification should be displayed.

Text2

Represents a text field that holds toast notification data.

Trigger details contain only notification data. They do not contain any information about how the notification should be displayed.

Text3

Represents a text field that holds toast notification data.

Trigger details contain only notification data. They do not contain any information about how the notification should be displayed.

Text4

Represents a text field that holds toast notification data.

Trigger details contain only notification data. They do not contain any information about how the notification should be displayed.

TimeCreated

Represents the date and time at which the notification was created.

Applies to

See also