IPerceptionFrameProvider IPerceptionFrameProvider IPerceptionFrameProvider IPerceptionFrameProvider IPerceptionFrameProvider Interface

Definition

Represents an object that can produce PerceptionFrames.

public : interface IPerceptionFrameProvider : IClosable
struct winrt::Windows::Devices::Perception::Provider::IPerceptionFrameProvider : IClosable
public interface IPerceptionFrameProvider : IDisposable
Public Interface IPerceptionFrameProvider Implements IDisposable
// You can't instantiate an interface directly in JavaScript. You can use objects that implement the interface, however.
Inheritance
IDisposableIDisposableIDisposable
IPerceptionFrameProviderIPerceptionFrameProviderIPerceptionFrameProviderIPerceptionFrameProviderIPerceptionFrameProvider
Attributes

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Properties

Available Available Available Available Available

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

FrameProviderInfo FrameProviderInfo FrameProviderInfo FrameProviderInfo FrameProviderInfo

Gets the PerceptionFrameProviderInfo describing this device.

Properties Properties Properties Properties Properties

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

Methods

Close Close Close Close Close

Releases system resources that are exposed by a Windows Runtime object.

.NET This interface appears as System.IDisposable.

C++/CX This interface appears as Platform::IDisposable.

(Inherited from IClosable)
SetProperty(PerceptionPropertyChangeRequest) SetProperty(PerceptionPropertyChangeRequest) SetProperty(PerceptionPropertyChangeRequest) SetProperty(PerceptionPropertyChangeRequest) SetProperty(PerceptionPropertyChangeRequest)

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

Start() Start() Start() Start() Start()

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

Stop() Stop() Stop() Stop() Stop()

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

See also

  • IDisposable IDisposable IDisposable