Share via


PhoneCallManager Class

Definition

Provides the ability to query the call status and launch phone calls.

public ref class PhoneCallManager abstract 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 PhoneCallManager 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 static class PhoneCallManager
Public Class PhoneCallManager
Inheritance
Object Platform::Object IInspectable PhoneCallManager
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

Remarks

Most of the methods of this API can be used even if your application is not responsible for placing phone calls. You can do this if you want to determine the status of phone calls.

Properties

IsCallActive

Gets a value that indicates whether an active call is in progress on the device.

IsCallIncoming

Gets a value that indicates if a call is incoming on the device.

Methods

RequestStoreAsync()

Retrieves a PhoneCallStore.

ShowPhoneCallSettingsUI()

Launches the call settings UI.

ShowPhoneCallUI(String, String)

Launches the built-in phone call UI with the specified phone number and display name.

Events

CallStateChanged

Occurs when the basic call state of the device changes.

Applies to