Share via


IPerceptionFrameProvider Interface

Definition

Represents an object that can produce PerceptionFrames.

public interface class IPerceptionFrameProvider : IClosable
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(2035251897, 45949, 15155, 161, 13, 48, 98, 100, 25, 206, 101)]
struct IPerceptionFrameProvider : IClosable
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(2035251897, 45949, 15155, 161, 13, 48, 98, 100, 25, 206, 101)]
/// [Windows.Foundation.Metadata.Deprecated("IPerceptionFrameProvider may be unavailable after Windows Creator Update. Please refer to AVStream on MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")]
struct IPerceptionFrameProvider : IClosable
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Guid(2035251897, 45949, 15155, 161, 13, 48, 98, 100, 25, 206, 101)]
public interface IPerceptionFrameProvider : System.IDisposable
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Guid(2035251897, 45949, 15155, 161, 13, 48, 98, 100, 25, 206, 101)]
[Windows.Foundation.Metadata.Deprecated("IPerceptionFrameProvider may be unavailable after Windows Creator Update. Please refer to AVStream on MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")]
public interface IPerceptionFrameProvider : System.IDisposable
Public Interface IPerceptionFrameProvider
Implements IDisposable
Attributes
Implements

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Properties

Available

Gets a value indicating whether or not the device is ready to start producing PerceptionFrames.

FrameProviderInfo

Gets the PerceptionFrameProviderInfo describing this device.

Properties

The properties describing the device and the frames produced by the device.

Methods

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

SetProperty(PerceptionPropertyChangeRequest)

The device is requested to update one of its Properties to a new value.

Start()

Tells the device to start producing frames. If success is returned, PerceptionFrameProviderManagerService::PublishFrameForProvider is expected to be called by this Provider.

Stop()

Tells the device to stop producing frames. Called only after Start is called and only if Start returns success.

Applies to

See also