Condividi tramite


PerceptionDepthFrameSource.VideoProfileChanged Evento

Definizione

Sottoscrive l'evento VideoProfileChanged.

// Register
event_token VideoProfileChanged(TypedEventHandler<PerceptionDepthFrameSource, IInspectable const&> const& handler) const;

// Revoke with event_token
void VideoProfileChanged(event_token const* cookie) const;

// Revoke with event_revoker
PerceptionDepthFrameSource::VideoProfileChanged_revoker VideoProfileChanged(auto_revoke_t, TypedEventHandler<PerceptionDepthFrameSource, IInspectable const&> const& handler) const;
/// [add: Windows.Foundation.Metadata.Deprecated("PerceptionDepthFrameSource may be unavailable after Windows Creator Update.  Use Windows.Media.Capture.Frames.MediaFrameSource instead.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")]
/// [remove: Windows.Foundation.Metadata.Deprecated("PerceptionDepthFrameSource may be unavailable after Windows Creator Update.  Use Windows.Media.Capture.Frames.MediaFrameSource instead.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")]
// Register
event_token VideoProfileChanged(TypedEventHandler<PerceptionDepthFrameSource, IInspectable const&> const& handler) const;

// Revoke with event_token
void VideoProfileChanged(event_token const* cookie) const;

// Revoke with event_revoker
PerceptionDepthFrameSource::VideoProfileChanged_revoker VideoProfileChanged(auto_revoke_t, TypedEventHandler<PerceptionDepthFrameSource, IInspectable const&> const& handler) const;
public event TypedEventHandler<PerceptionDepthFrameSource,object> VideoProfileChanged;
[add: Windows.Foundation.Metadata.Deprecated("PerceptionDepthFrameSource may be unavailable after Windows Creator Update.  Use Windows.Media.Capture.Frames.MediaFrameSource instead.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")]
[remove: Windows.Foundation.Metadata.Deprecated("PerceptionDepthFrameSource may be unavailable after Windows Creator Update.  Use Windows.Media.Capture.Frames.MediaFrameSource instead.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")]
public event TypedEventHandler<PerceptionDepthFrameSource,object> VideoProfileChanged;
function onVideoProfileChanged(eventArgs) { /* Your code */ }
perceptionDepthFrameSource.addEventListener("videoprofilechanged", onVideoProfileChanged);
perceptionDepthFrameSource.removeEventListener("videoprofilechanged", onVideoProfileChanged);
- or -
perceptionDepthFrameSource.onvideoprofilechanged = onVideoProfileChanged;
Public Custom Event VideoProfileChanged As TypedEventHandler(Of PerceptionDepthFrameSource, Object) 

Tipo evento

Attributi

Si applica a