Share via


PhoneTriggerType Enum

Definition

Indicates a type of event for a phone trigger.

public enum class PhoneTriggerType
/// [Windows.Foundation.Metadata.ContractVersion(Windows.ApplicationModel.Calls.CallsPhoneContract, 65536)]
enum class PhoneTriggerType
/// [Windows.Foundation.Metadata.ContractVersion(Windows.ApplicationModel.Calls.Background.CallsBackgroundContract, 65536)]
/// [Windows.Foundation.Metadata.PreviousContractVersion("Windows.ApplicationModel.Calls.CallsPhoneContract", 65536, 131072)]
enum class PhoneTriggerType
/// [Windows.Foundation.Metadata.ContractVersion(Windows.ApplicationModel.Calls.Background.CallsBackgroundContract, 65536)]
/// [Windows.Foundation.Metadata.PreviousContractVersion("Windows.ApplicationModel.Calls.CallsPhoneContract", 65536, 196608)]
enum class PhoneTriggerType
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.ApplicationModel.Calls.CallsPhoneContract), 65536)]
public enum PhoneTriggerType
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.ApplicationModel.Calls.Background.CallsBackgroundContract), 65536)]
[Windows.Foundation.Metadata.PreviousContractVersion("Windows.ApplicationModel.Calls.CallsPhoneContract", 65536, 131072)]
public enum PhoneTriggerType
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.ApplicationModel.Calls.Background.CallsBackgroundContract), 65536)]
[Windows.Foundation.Metadata.PreviousContractVersion("Windows.ApplicationModel.Calls.CallsPhoneContract", 65536, 196608)]
public enum PhoneTriggerType
var value = Windows.ApplicationModel.Calls.Background.PhoneTriggerType.newVoicemailMessage
Public Enum PhoneTriggerType
Inheritance
PhoneTriggerType
Attributes

Windows requirements

Device family
Windows Mobile Extension SDK (introduced in 10.0.10240.0)
Windows Desktop Extension SDK (introduced in 10.0.10586.0)
Windows Mobile Extension SDK (introduced in 10.0.10586.0)
Windows 10, version 1809 (introduced in 10.0.17763.0)
API contract
Windows.ApplicationModel.Calls.CallsPhoneContract (introduced in v1.0)
Windows.ApplicationModel.Calls.Background.CallsBackgroundContract (introduced in v1.0)
App capabilities
phoneCallHistory phoneCallHistorySystem

Fields

Name Value Description
NewVoicemailMessage 0

The system received a new voice mail message or the voice mail count went to 0.

CallHistoryChanged 1

The call history has changed.

LineChanged 2

The PhoneLineProperties have changed.

AirplaneModeDisabledForEmergencyCall 3

Airplane mode on a phone line was disabled so the phone could make an emergency call.

CallOriginDataRequest 4

A request was made for the origin of the phone call.

Note

This constant is deprecated.

CallBlocked 5

The call was blocked.

IncomingCallDismissed 6

The incoming call was dismissed.

Note

This constant is deprecated.

IncomingCallNotification 7

There is a new incoming call.

Remarks

Version history

Windows version SDK version Value added
1903 18362 IncomingCallDismissed

Applies to