AccessoryManager.GetEnabledAccessoryNotificationTypes Method

Definition

Gets a list of enable notification types, as represented by the AccessoryNotificationType enumeration.

public:
 static int GetEnabledAccessoryNotificationTypes();
 static int GetEnabledAccessoryNotificationTypes();
public static int GetEnabledAccessoryNotificationTypes();
function getEnabledAccessoryNotificationTypes()
Public Shared Function GetEnabledAccessoryNotificationTypes () As Integer

Returns

Int32

int

The values are bit flags combinations of the flags in the AccessoryNotificationType enumeration. You can OR the enum values together to indicate which notification types to be alerted for.

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