PerceptionInfraredFrameSource.VideoProfileChanged Événement
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
S’abonne à l’événement 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)
Type d'événement
TypedEventHandler<PerceptionInfraredFrameSource,IInspectable>
- Attributs