Share via


PhoneNotificationType Enum

Definition

Represents the type of notification sent to the accessory application.

public enum class PhoneNotificationType
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Phone.PhoneContract, 65536)]
enum class PhoneNotificationType
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Phone.PhoneContract), 65536)]
public enum PhoneNotificationType
var value = Windows.Phone.Notification.Management.PhoneNotificationType.newCall
Public Enum PhoneNotificationType
Inheritance
PhoneNotificationType
Attributes

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

Fields

Name Value Description
NewCall 0

The notification is of a new call.

CallChanged 1

The notification is of a changed call.

LineChanged 2

The notification is of a changed phone line.

PhoneCallAudioEndpointChanged 3

The notification is of the audio enpoint--hand's free, speaker, or phone--changing.

PhoneMuteChanged 4

The notification is of the phone mute state changing.

Remarks

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

Applies to