PhoneCallStore 类

定义

表示有关设备上可用电话线路的信息集合。

public ref class PhoneCallStore sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.ApplicationModel.Calls.CallsPhoneContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class PhoneCallStore final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.ApplicationModel.Calls.CallsPhoneContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class PhoneCallStore
Public NotInheritable Class PhoneCallStore
继承
Object Platform::Object IInspectable PhoneCallStore
属性

Windows 要求

设备系列
Windows Mobile Extension SDK (在 10.0.10240.0 中引入)
API contract
Windows.ApplicationModel.Calls.CallsPhoneContract (在 v1.0 中引入)
应用功能
phoneCallHistory phoneCallHistorySystem

方法

GetDefaultLineAsync()

获取当前默认电话线路的线路 ID。

IsEmergencyPhoneNumberAsync(String)

检查电话号码是否连接到已知的紧急服务提供商。

RequestLineWatcher()

检索设备的 PhoneLineWatcher 类的实例。

适用于