PhoneCallOriginManager.IsCurrentAppActiveCallOriginApp 属性

定义

检查当前应用程序是否设置为默认调用源应用程序。

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

属性值

Boolean

bool

如果当前应用程序是默认的调用源应用程序,则为 True,否则为 false

属性

Windows 要求

应用功能
phoneCallHistory phoneCallHistorySystem

注解

用户可以在手机上安装多个电话呼叫源应用程序。 但是,只有一个应用程序可以是默认应用程序并响应传入呼叫。 此方法确定当前应用程序是否为活动的电话呼叫源应用程序。

适用于