Condividi tramite


PerceptionFrameProviderManagerService.PublishFrameForProvider Metodo

Definizione

Invia il perceptionFrame al servizio per indicare a qualsiasi app in ascolto di frame per il provider fornito. I frame non devono essere pubblicati prima che venga chiamato IPerceptionFrameProvider::Start() o dopo la chiamata di 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)

Parametri

provider
IPerceptionFrameProvider

IPerceptionFrameProvider che ha prodotto il frame.

frame
PerceptionFrame

Il PerceptionFrame prodotto e deve essere inviato alle app.

Attributi

Si applica a