CalendarChangedNotificationTriggerDetails Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents all information necessary to render a calendar changed notification on an accessory.
public ref class CalendarChangedNotificationTriggerDetails sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Phone.PhoneContract, 65536)]
class CalendarChangedNotificationTriggerDetails final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Phone.PhoneContract), 65536)]
public sealed class CalendarChangedNotificationTriggerDetails
Public NotInheritable Class CalendarChangedNotificationTriggerDetails
- Inheritance
- 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
The AccessoryManager will wake up the BackgroundTask when it encounters a calendar change. The BackgroundTask is provided an IBackgroundTaskInstance which has a TriggerDetails property that contains the ICalendarChangedNotificationTriggerDetails.
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. |
AppDisplayName |
Represents the display name of the app that generated the notification. |
AppId |
Represents the instance ID of the app that generated the notification. |
EventType |
Represents the type of event. |
ItemId |
Represents the identifier of the calendar item. |
StartedProcessing |
Specifies whether the accessory has started processing the notification. |
TimeCreated |
Gets the date and time at which the notification was created. |