共用方式為


AlarmNotificationTriggerDetails 類別

定義

表示在配件上呈現警示通知所需的所有資訊。

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
繼承
Object Platform::Object IInspectable AlarmNotificationTriggerDetails
屬性
實作

Windows 需求

裝置系列
Windows Mobile Extension SDK (已於 10.0.10240.0 引進)
API contract
Windows.Phone.PhoneContract (已於 v1.0 引進)
應用程式功能
accessoryManager

備註

觸發程式詳細資料只包含通知資料。 它們不包含通知顯示方式的任何資訊。

呼叫此 API 需要在應用程式資訊清單中指定 ID_CAP_SMSID_CAP_SMS_COMPANION 功能。

屬性

AccessoryNotificationType

指定收到的通知類型。 針對警示,此值為 AccessoryNotificationType.Alarm

AlarmId

建立通知之警示的唯一識別碼。

AppDisplayName

產生通知之應用程式的顯示名稱。

AppId

產生通知之應用程式的實例識別碼。

InstanceId

取得可厘清多個警示實例之間的識別碼。

ReminderState

ReminderState值,指出警示的目前狀態。

StartedProcessing

指定配件是否已開始處理通知。

TimeCreated

建立通知的日期和時間。

Timestamp

代表通知從 Accessory Manager 服務傳遞至配件應用程式的日期和時間。

Title

警示的標題。

適用於

另請參閱