Share via


AccessoryManager.DismissAlarm(Guid) Method

Definition

Dismisses the active alarm.

public:
 static void DismissAlarm(Platform::Guid alarmId);
 static void DismissAlarm(winrt::guid const& alarmId);
public static void DismissAlarm(Guid alarmId);
function dismissAlarm(alarmId)
Public Shared Sub DismissAlarm (alarmId As Guid)

Parameters

alarmId
Guid

Platform::Guid

winrt::guid

The identifier of the alarm to dismiss.

Windows requirements

App capabilities
accessoryManager

Remarks

Calling this API requires that the ID_CAP_SMS and ID_CAP_SMS_COMPANION capabilities be specified in the application manifest.

Applies to