Share via


PhoneNotificationTriggerDetails Class

Definition

Represents all information necessary to render a phone notification on an accessory.

public ref class PhoneNotificationTriggerDetails sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Phone.PhoneContract, 65536)]
class PhoneNotificationTriggerDetails final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Phone.PhoneContract), 65536)]
public sealed class PhoneNotificationTriggerDetails
Public NotInheritable Class PhoneNotificationTriggerDetails
Inheritance
Object Platform::Object IInspectable PhoneNotificationTriggerDetails
Attributes
Implements

Windows requirements

Device family
Windows Mobile Extension SDK (introduced in 10.0.10240.0)
API contract
Windows.Phone.PhoneContract (introduced in v1.0)
App capabilities
accessoryManager

Remarks

Trigger details contain only notification data. They do not contain any information about how the notification should be displayed.

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

Properties

AccessoryNotificationType

An AccessoryNotificationType that specifies the type of notification received. For phone notifications, this value is AccessoryNotificationType.Phone.

AppDisplayName

Represents the display name of the app that generated the phone notification.

AppId

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.

CallDetails

Represents the details about a phone call that generated the phone notification.

PhoneLineChangedId

Represents the instance ID of the changed phone line that generated the notification.

PhoneNotificationType

A value from the PhoneNotificationType enumeration that indicates the type of notification received.

StartedProcessing

Specifies whether the accessory has started processing the phone notification.

TimeCreated

Represents the date and time at which the phone call notification was created.

Applies to

See also