PerceptionInfraredFrameSource.AvailableChanged Evento
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Assina o evento AvailableChanged.
// Register
event_token AvailableChanged(TypedEventHandler<PerceptionInfraredFrameSource, IInspectable const&> const& handler) const;
// Revoke with event_token
void AvailableChanged(event_token const* cookie) const;
// Revoke with event_revoker
PerceptionInfraredFrameSource::AvailableChanged_revoker AvailableChanged(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 AvailableChanged(TypedEventHandler<PerceptionInfraredFrameSource, IInspectable const&> const& handler) const;
// Revoke with event_token
void AvailableChanged(event_token const* cookie) const;
// Revoke with event_revoker
PerceptionInfraredFrameSource::AvailableChanged_revoker AvailableChanged(auto_revoke_t, TypedEventHandler<PerceptionInfraredFrameSource, IInspectable const&> const& handler) const;
public event TypedEventHandler<PerceptionInfraredFrameSource,object> AvailableChanged;
[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> AvailableChanged;
function onAvailableChanged(eventArgs) { /* Your code */ }
perceptionInfraredFrameSource.addEventListener("availablechanged", onAvailableChanged);
perceptionInfraredFrameSource.removeEventListener("availablechanged", onAvailableChanged);
- or -
perceptionInfraredFrameSource.onavailablechanged = onAvailableChanged;
Public Custom Event AvailableChanged As TypedEventHandler(Of PerceptionInfraredFrameSource, Object)
Tipo de evento
TypedEventHandler<PerceptionInfraredFrameSource,IInspectable>
- Atributos