PhoneCallOriginManager.IsSupported 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
如果支援 PhoneCallOriginManager API,則會傳回 true;如果不支援則傳回 false。 如需例外狀況,請參閱備註。
public:
static property bool IsSupported { bool get(); };
static bool IsSupported();
/// [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 IsSupported();
public static bool IsSupported { get; }
public static bool IsSupported { [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.isSupported;
Public Shared ReadOnly Property IsSupported As Boolean
屬性值
Boolean
bool
bool,表示是否支援 PhoneCallOriginManager API。
- 屬性
Windows 需求
裝置系列 |
Windows 10, version 1903 (已於 10.0.18362.0 引進)
|
API contract |
Windows.ApplicationModel.Calls.CallsPhoneContract (已於 v5.0 引進)
|
備註
例外狀況:支援 SetCallOrigin API,且不受此 API 影響