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,應該傳送至應用程式。
- 屬性