PerceptionFrameProviderManagerService.PublishFrameForProvider 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
将 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。
- 属性