共用方式為


PerceptionFrameProviderManagerService.UpdateAvailabilityForProvider 方法

定義

設定 IPerceptionFrameProvider 是否可用。

public:
 static void UpdateAvailabilityForProvider(IPerceptionFrameProvider ^ provider, bool available);
 static void UpdateAvailabilityForProvider(IPerceptionFrameProvider const& provider, bool const& available);
/// [Windows.Foundation.Metadata.Deprecated("PerceptionFrameProviderManagerService may be unavailable after Windows Creator Update. Please refer to AVStream on MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")]
 static void UpdateAvailabilityForProvider(IPerceptionFrameProvider const& provider, bool const& available);
public static void UpdateAvailabilityForProvider(IPerceptionFrameProvider provider, bool available);
[Windows.Foundation.Metadata.Deprecated("PerceptionFrameProviderManagerService may be unavailable after Windows Creator Update. Please refer to AVStream on MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")]
public static void UpdateAvailabilityForProvider(IPerceptionFrameProvider provider, bool available);
function updateAvailabilityForProvider(provider, available)
Public Shared Sub UpdateAvailabilityForProvider (provider As IPerceptionFrameProvider, available As Boolean)

參數

provider
IPerceptionFrameProvider

要設定可用性的提供者。

available
Boolean

bool

提供者是否可用。

屬性

備註

可用的提供者預期能夠在無法使用的提供者時提供框架。 呼叫此方法之前,假設提供者可在註冊時使用。

適用於