PhoneCallOriginManager.IsCurrentAppActiveCallOriginApp Property

Definition

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

public:
 static property bool IsCurrentAppActiveCallOriginApp { bool get(); };
static bool IsCurrentAppActiveCallOriginApp();
/// [get: 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")]
static bool IsCurrentAppActiveCallOriginApp();
public static bool IsCurrentAppActiveCallOriginApp { get; }
public static bool IsCurrentAppActiveCallOriginApp { [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")] get; }
var boolean = PhoneCallOriginManager.isCurrentAppActiveCallOriginApp;
Public Shared ReadOnly Property IsCurrentAppActiveCallOriginApp As Boolean

Property Value

Boolean

bool

True if the current application is the default call origin application, otherwise false.

Attributes

Windows requirements

App capabilities
phoneCallHistory phoneCallHistorySystem

Remarks

A user can have multiple phone call origin applications installed on a phone. However, only one of the applications can be the default application and respond to incoming calls. This method determines whether the current application is the active phone call origin application.

Applies to