PerceptionDepthFrameReader.FrameArrived Evento
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Sottoscrive l'evento FrameArrived. Questo evento viene attivato ogni volta che arriva un nuovo frame dall'origine del frame di profondità.
// Register
event_token FrameArrived(TypedEventHandler<PerceptionDepthFrameReader, PerceptionDepthFrameArrivedEventArgs const&> const& handler) const;
// Revoke with event_token
void FrameArrived(event_token const* cookie) const;
// Revoke with event_revoker
PerceptionDepthFrameReader::FrameArrived_revoker FrameArrived(auto_revoke_t, TypedEventHandler<PerceptionDepthFrameReader, PerceptionDepthFrameArrivedEventArgs const&> const& handler) const;
/// [add: Windows.Foundation.Metadata.Deprecated("PerceptionDepthFrameReader may be unavailable after Windows Creator Update. Use Windows.Media.Capture.Frames.MediaFrameReader instead.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")]
/// [remove: Windows.Foundation.Metadata.Deprecated("PerceptionDepthFrameReader may be unavailable after Windows Creator Update. Use Windows.Media.Capture.Frames.MediaFrameReader instead.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")]
// Register
event_token FrameArrived(TypedEventHandler<PerceptionDepthFrameReader, PerceptionDepthFrameArrivedEventArgs const&> const& handler) const;
// Revoke with event_token
void FrameArrived(event_token const* cookie) const;
// Revoke with event_revoker
PerceptionDepthFrameReader::FrameArrived_revoker FrameArrived(auto_revoke_t, TypedEventHandler<PerceptionDepthFrameReader, PerceptionDepthFrameArrivedEventArgs const&> const& handler) const;
public event TypedEventHandler<PerceptionDepthFrameReader,PerceptionDepthFrameArrivedEventArgs> FrameArrived;
[add: Windows.Foundation.Metadata.Deprecated("PerceptionDepthFrameReader may be unavailable after Windows Creator Update. Use Windows.Media.Capture.Frames.MediaFrameReader instead.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")]
[remove: Windows.Foundation.Metadata.Deprecated("PerceptionDepthFrameReader may be unavailable after Windows Creator Update. Use Windows.Media.Capture.Frames.MediaFrameReader instead.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")]
public event TypedEventHandler<PerceptionDepthFrameReader,PerceptionDepthFrameArrivedEventArgs> FrameArrived;
function onFrameArrived(eventArgs) { /* Your code */ }
perceptionDepthFrameReader.addEventListener("framearrived", onFrameArrived);
perceptionDepthFrameReader.removeEventListener("framearrived", onFrameArrived);
- or -
perceptionDepthFrameReader.onframearrived = onFrameArrived;
Public Custom Event FrameArrived As TypedEventHandler(Of PerceptionDepthFrameReader, PerceptionDepthFrameArrivedEventArgs)
Tipo evento
- Attributi