CalendarChangedNotificationTriggerDetails 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
表示在附件上呈现日历更改通知所需的所有信息。
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
- 继承
- 属性
- 实现
Windows 要求
设备系列 |
Windows Mobile Extension SDK (在 10.0.10240.0 中引入)
|
API contract |
Windows.Phone.PhoneContract (在 v1.0 中引入)
|
应用功能 |
accessoryManager
|
注解
当 AccessoryManager 遇到日历更改时,它将唤醒 BackgroundTask。 为 BackgroundTask 提供了一个 IBackgroundTaskInstance,它具有包含 ICalendarChangedNotificationTriggerDetails 的 TriggerDetails 属性。
调用此 API 需要在应用程序清单中指定 ID_CAP_SMS 和 ID_CAP_SMS_COMPANION 功能。
属性
AccessoryNotificationType |
一个指定接收的通知类型的 AccessoryNotificationType 。 |
AppDisplayName |
表示生成通知的应用的显示名称。 |
AppId |
表示生成通知的应用的实例 ID。 |
EventType |
表示事件的类型。 |
ItemId |
表示日历项的标识符。 |
StartedProcessing |
指定附件是否已开始处理通知。 |
TimeCreated |
获取通知的创建日期和时间。 |
适用于
另请参阅
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈