PhoneCallOriginManager.IsCurrentAppActiveCallOriginApp Eigenschaft
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Überprüft, ob die aktuelle Anwendung als Standardanwendung für den Aufrufursprung festgelegt ist.
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
Eigenschaftswert
bool
True , wenn die aktuelle Anwendung die Standardanwendung für den Aufrufursprung ist, andernfalls false.
- Attribute
Windows-Anforderungen
| Anforderungen | Beschreibung |
|---|---|
| App-Funktionen |
phoneCallHistory
phoneCallHistorySystem
|
Hinweise
Ein Benutzer kann mehrere Anwendungen für den Ursprung von Telefonanrufen auf einem Telefon installiert haben. Allerdings kann nur eine der Anwendungen die Standardanwendung sein und auf eingehende Anrufe reagieren. Diese Methode bestimmt, ob die aktuelle Anwendung die aktive Anwendung für den Ursprung des Telefonanrufs ist.