PerceptionColorFrameSource.PropertiesChanged 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 PropertiesChanged.
// Register
event_token PropertiesChanged(TypedEventHandler<PerceptionColorFrameSource, PerceptionFrameSourcePropertiesChangedEventArgs const&> const& handler) const;
// Revoke with event_token
void PropertiesChanged(event_token const* cookie) const;
// Revoke with event_revoker
PerceptionColorFrameSource::PropertiesChanged_revoker PropertiesChanged(auto_revoke_t, TypedEventHandler<PerceptionColorFrameSource, PerceptionFrameSourcePropertiesChangedEventArgs const&> const& handler) const;
/// [add: Windows.Foundation.Metadata.Deprecated("PerceptionColorFrameSource 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("PerceptionColorFrameSource 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 PropertiesChanged(TypedEventHandler<PerceptionColorFrameSource, PerceptionFrameSourcePropertiesChangedEventArgs const&> const& handler) const;
// Revoke with event_token
void PropertiesChanged(event_token const* cookie) const;
// Revoke with event_revoker
PerceptionColorFrameSource::PropertiesChanged_revoker PropertiesChanged(auto_revoke_t, TypedEventHandler<PerceptionColorFrameSource, PerceptionFrameSourcePropertiesChangedEventArgs const&> const& handler) const;
public event TypedEventHandler<PerceptionColorFrameSource,PerceptionFrameSourcePropertiesChangedEventArgs> PropertiesChanged;
[add: Windows.Foundation.Metadata.Deprecated("PerceptionColorFrameSource 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("PerceptionColorFrameSource 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<PerceptionColorFrameSource,PerceptionFrameSourcePropertiesChangedEventArgs> PropertiesChanged;
function onPropertiesChanged(eventArgs) { /* Your code */ }
perceptionColorFrameSource.addEventListener("propertieschanged", onPropertiesChanged);
perceptionColorFrameSource.removeEventListener("propertieschanged", onPropertiesChanged);
- or -
perceptionColorFrameSource.onpropertieschanged = onPropertiesChanged;
Public Custom Event PropertiesChanged As TypedEventHandler(Of PerceptionColorFrameSource, PerceptionFrameSourcePropertiesChangedEventArgs)
Tipo de evento
- Atributos