AlarmNotificationTriggerDetails.AccessoryNotificationType 属性

定义

指定收到的通知的类型。 对于警报,此值为 AccessoryNotificationType.Alarm

public:
 property AccessoryNotificationType AccessoryNotificationType { AccessoryNotificationType get(); };
AccessoryNotificationType AccessoryNotificationType();
public AccessoryNotificationType AccessoryNotificationType { get; }
var accessoryNotificationType = alarmNotificationTriggerDetails.accessoryNotificationType;
Public ReadOnly Property AccessoryNotificationType As AccessoryNotificationType

属性值

AccessoryNotificationType.Alarm

实现

Windows 要求

应用功能
accessoryManager

注解

调用此 API 需要在应用程序清单中指定 ID_CAP_SMSID_CAP_SMS_COMPANION 功能。

适用于