共用方式為


MediaControlsTriggerDetails.AccessoryNotificationType 屬性

定義

指定收到的通知類型。 針對媒體通知,此值為 AccessoryNotificationType.Media。

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

屬性值

AccessoryNotificationType.Media

實作

Windows 需求

應用程式功能
accessoryManager

備註

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

適用於