Share via


PerceptionFrameProviderManagerService.PublishFrameForProvider Method

Definition

Sends the PerceptionFrame to the service to tell any apps listening for frames for the provided provider. Frames aren't expected to be published before IPerceptionFrameProvider::Start() is called or after IPerceptionFrameProvider::Stop() is called.

public:
 static void PublishFrameForProvider(IPerceptionFrameProvider ^ provider, PerceptionFrame ^ frame);
 static void PublishFrameForProvider(IPerceptionFrameProvider const& provider, PerceptionFrame const& frame);
/// [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 PublishFrameForProvider(IPerceptionFrameProvider const& provider, PerceptionFrame const& frame);
public static void PublishFrameForProvider(IPerceptionFrameProvider provider, PerceptionFrame frame);
[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 PublishFrameForProvider(IPerceptionFrameProvider provider, PerceptionFrame frame);
function publishFrameForProvider(provider, frame)
Public Shared Sub PublishFrameForProvider (provider As IPerceptionFrameProvider, frame As PerceptionFrame)

Parameters

provider
IPerceptionFrameProvider

The IPerceptionFrameProvider which produced the frame.

frame
PerceptionFrame

The PerceptionFrame that was produced and should be sent to apps.

Attributes

Applies to