Share via


PhoneCallOriginManager Class

Definition

Controls which application is responsible for determining the origin of incoming calls and sets the PhoneCallOrigin information.

Note

This class is deprecated.

public ref class PhoneCallOriginManager 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 PhoneCallOriginManager final
/// [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)]
/// [Windows.Foundation.Metadata.Deprecated("PhoneCallOriginManager is deprecated and might not work for all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 458752, "Windows.ApplicationModel.Calls.CallsPhoneContract")]
class PhoneCallOriginManager 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 PhoneCallOriginManager
[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)]
[Windows.Foundation.Metadata.Deprecated("PhoneCallOriginManager is deprecated and might not work for all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 458752, "Windows.ApplicationModel.Calls.CallsPhoneContract")]
public static class PhoneCallOriginManager
Public Class PhoneCallOriginManager
Inheritance
Object Platform::Object IInspectable PhoneCallOriginManager
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

Version history

Windows version SDK version Value added
1709 16299 RequestSetAsActiveCallOriginAppAsync
1903 18362 IsSupported

Properties

IsCurrentAppActiveCallOriginApp

Checks to see if the current application is set as the default call origin application.

IsSupported

Returns true if PhoneCallOriginManager APIs are supported and false if they are not supported. See remarks for exception.

Methods

RequestSetAsActiveCallOriginAppAsync()

Calls a dialog to set the current app as the default phone origin app.

SetCallOrigin(Guid, PhoneCallOrigin)

Sets the call origin when a phone call comes in.

ShowPhoneCallOriginSettingsUI()

Opens the interface that enables the user to select the call origin application.

Applies to