PerceptionFrameProviderManagerService.PublishFrameForProvider 方法

定义

将 PerceptionFrame 发送到服务,以告知任何正在侦听所提供提供程序帧的应用。 在调用 IPerceptionFrameProvider::Start () 之前或调用 IPerceptionFrameProvider::Stop () 之后,不应发布帧。

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)

参数

provider
IPerceptionFrameProvider

生成帧的 IPerceptionFrameProvider。

frame
PerceptionFrame

生成并应发送到应用的 PerceptionFrame。

属性

适用于