PhoneCallManager Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- Attributes
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
|
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.
Is |
Gets a value that indicates whether an active call is in progress on the device. |
Is |
Gets a value that indicates if a call is incoming on the device. |
Request |
Retrieves a PhoneCallStore. |
Show |
Launches the call settings UI. |
Show |
Launches the built-in phone call UI with the specified phone number and display name. |
Call |
Occurs when the basic call state of the device changes. |
Product | Versions |
---|---|
WinRT | Build 10240, Build 10586, Build 14383, Build 15063, Build 16299, Build 17134, Build 17763, Build 18362, Build 19041, Build 20348, Build 22000, Build 22621, Build 26100 |