PhoneCallManager PhoneCallManager PhoneCallManager PhoneCallManager PhoneCallManager Class

Definition

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

public : static class PhoneCallManager
static struct winrt::Windows::ApplicationModel::Calls::PhoneCallManager
public static class PhoneCallManager
Public Shared Class PhoneCallManager
// This class does not provide a public constructor.
Attributes
Windows 10 requirements
Device family
Windows Mobile Extension SDK (introduced v10.0.10240.0)
API contract
Windows.ApplicationModel.Calls.CallsPhoneContract (introduced v1)
Capabilities
phoneCallHistorySystem phoneCallHistory

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 IsCallActive IsCallActive IsCallActive IsCallActive

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

IsCallIncoming IsCallIncoming IsCallIncoming IsCallIncoming IsCallIncoming

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

Methods

RequestStoreAsync() RequestStoreAsync() RequestStoreAsync() RequestStoreAsync() RequestStoreAsync()

Retrieves a PhoneCallStore.

ShowPhoneCallSettingsUI() ShowPhoneCallSettingsUI() ShowPhoneCallSettingsUI() ShowPhoneCallSettingsUI() ShowPhoneCallSettingsUI()

Launches the call settings UI.

ShowPhoneCallUI(String, String) ShowPhoneCallUI(String, String) ShowPhoneCallUI(String, String) ShowPhoneCallUI(String, String) ShowPhoneCallUI(String, String)

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

Events

CallStateChanged CallStateChanged CallStateChanged CallStateChanged CallStateChanged

Occurs when the basic call state of the device changes.