PerceptionFrameProviderManagerService.UpdateAvailabilityForProvider Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets whether or not the IPerceptionFrameProvider is available.
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)
Parameters
- provider
- IPerceptionFrameProvider
The provider to set availability for.
- available
-
Boolean
bool
Whether or not the provider is available.
- Attributes
Remarks
Available providers are expected to be able to provide frames while unavailable providers aren't. Before calling this method, a provider is assumed to be available if registered.