PerceptionInfraredFrameSource.VideoProfileChanged Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Subscribes to the VideoProfileChanged event.
// 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)
Event Type
TypedEventHandler<PerceptionInfraredFrameSource,IInspectable>
- Attributes