Share via


AlarmNotificationTriggerDetails Class

Definition

Represents all information necessary to render an alarm notification on an accessory.

public ref class AlarmNotificationTriggerDetails sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Phone.PhoneContract, 65536)]
class AlarmNotificationTriggerDetails final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Phone.PhoneContract), 65536)]
public sealed class AlarmNotificationTriggerDetails
Public NotInheritable Class AlarmNotificationTriggerDetails
Inheritance
Object Platform::Object IInspectable AlarmNotificationTriggerDetails
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

Specifies the type of notification received. For alarms, this value is AccessoryNotificationType.Alarm.

AlarmId

The unique ID of the alarm for which the notification was created.

AppDisplayName

The display name of the app that generated the notification.

AppId

The instance ID of the app that generated the notification.

InstanceId

Gets an identifier that disambiguates between multiple instances of alarms.

ReminderState

A ReminderState value that indicates the current state of the alarm.

StartedProcessing

Specifies whether the accessory has started processing the notification.

TimeCreated

The date and time at which the notification was created.

Timestamp

Represents the date and time at which the notification was delivered from Accessory Manager service to the accessory app.

Title

The title of the alarm.

Applies to

See also