共用方式為


PhoneTriggerType 列舉

定義

指出手機觸發程式的事件種類。

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
繼承
PhoneTriggerType
屬性

Windows 需求

裝置系列
Windows Mobile Extension SDK (已於 10.0.10240.0 引進)
Windows Desktop Extension SDK (已於 10.0.10586.0 引進)
Windows Mobile Extension SDK (已於 10.0.10586.0 引進)
Windows 10, version 1809 (已於 10.0.17763.0 引進)
API contract
Windows.ApplicationModel.Calls.CallsPhoneContract (已於 v1.0 引進)
Windows.ApplicationModel.Calls.Background.CallsBackgroundContract (已於 v1.0 引進)
應用程式功能
phoneCallHistory phoneCallHistorySystem

欄位

AirplaneModeDisabledForEmergencyCall 3

電話線路上的飛機模式已停用,因此電話可以撥打緊急電話。

CallBlocked 5

已封鎖呼叫。

CallHistoryChanged 1

通話歷程記錄已變更。

CallOriginDataRequest 4

已針對通話來源提出要求。

注意

這個常數已被取代。

IncomingCallDismissed 6

已關閉來電。

注意

這個常數已被取代。

IncomingCallNotification 7

有新的來電。

LineChanged 2

PhoneLineProperties已變更。

NewVoicemailMessage 0

系統收到新的語音信箱訊息,或語音信箱計數已移至 0。

備註

版本歷程記錄

Windows 版本 SDK 版本 已新增值
1903 18362 IncomingCallDismissed

適用於