Share via


PhoneCallStore Class

Definition

Represents a collection of information about the phone lines available on a device.

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
Inheritance
Object Platform::Object IInspectable PhoneCallStore
Attributes

Windows requirements

Device family
Windows Mobile Extension SDK (introduced in 10.0.10240.0)
API contract
Windows.ApplicationModel.Calls.CallsPhoneContract (introduced in v1.0)
App capabilities
phoneCallHistory phoneCallHistorySystem

Methods

GetDefaultLineAsync()

Gets the line ID for the current default phone line.

IsEmergencyPhoneNumberAsync(String)

Checks to see if a phone number connects to a known emergency services provider.

RequestLineWatcher()

Retrieves an instance of the PhoneLineWatcher class for the device.

Applies to