PhoneNotificationTriggerDetails.AppId Property

Definition

The ID of the app associated with the notification, if applicable. This is not the ID of the app in the store. It is the ID of the app instance on the specific phone to uniquely identify the app.

public:
 property Platform::String ^ AppId { Platform::String ^ get(); };
winrt::hstring AppId();
public string AppId { get; }
var string = phoneNotificationTriggerDetails.appId;
Public ReadOnly Property AppId As String

Property Value

String

Platform::String

winrt::hstring

A character string that specifies the ID of the app.

Implements

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