共用方式為


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

屬性

適用於