PerceptionInfraredFrameSource.VideoProfileChanged 事件

定义

订阅 VideoProfileChanged 事件。

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

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

// Revoke with event_revoker
PerceptionInfraredFrameSource::VideoProfileChanged_revoker VideoProfileChanged(auto_revoke_t, TypedEventHandler<PerceptionInfraredFrameSource, IInspectable const&> const& handler) const;
/// [add: Windows.Foundation.Metadata.Deprecated("PerceptionInfraredFrameSource 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("PerceptionInfraredFrameSource 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<PerceptionInfraredFrameSource, IInspectable const&> const& handler) const;

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

// Revoke with event_revoker
PerceptionInfraredFrameSource::VideoProfileChanged_revoker VideoProfileChanged(auto_revoke_t, TypedEventHandler<PerceptionInfraredFrameSource, IInspectable const&> const& handler) const;
public event TypedEventHandler<PerceptionInfraredFrameSource,object> VideoProfileChanged;
[add: Windows.Foundation.Metadata.Deprecated("PerceptionInfraredFrameSource 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("PerceptionInfraredFrameSource 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<PerceptionInfraredFrameSource,object> VideoProfileChanged;
function onVideoProfileChanged(eventArgs) { /* Your code */ }
perceptionInfraredFrameSource.addEventListener("videoprofilechanged", onVideoProfileChanged);
perceptionInfraredFrameSource.removeEventListener("videoprofilechanged", onVideoProfileChanged);
- or -
perceptionInfraredFrameSource.onvideoprofilechanged = onVideoProfileChanged;
Public Custom Event VideoProfileChanged As TypedEventHandler(Of PerceptionInfraredFrameSource, Object) 

事件类型

属性

适用于