PerceptionDepthFrameSource.AvailableChanged Evento
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Sottoscrive l'evento AvailableChanged.
// Register
event_token AvailableChanged(TypedEventHandler<PerceptionDepthFrameSource, IInspectable const&> const& handler) const;
// Revoke with event_token
void AvailableChanged(event_token const* cookie) const;
// Revoke with event_revoker
PerceptionDepthFrameSource::AvailableChanged_revoker AvailableChanged(auto_revoke_t, TypedEventHandler<PerceptionDepthFrameSource, IInspectable const&> const& handler) const;
/// [add: Windows.Foundation.Metadata.Deprecated("PerceptionDepthFrameSource 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("PerceptionDepthFrameSource 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<PerceptionDepthFrameSource, IInspectable const&> const& handler) const;
// Revoke with event_token
void AvailableChanged(event_token const* cookie) const;
// Revoke with event_revoker
PerceptionDepthFrameSource::AvailableChanged_revoker AvailableChanged(auto_revoke_t, TypedEventHandler<PerceptionDepthFrameSource, IInspectable const&> const& handler) const;
public event TypedEventHandler<PerceptionDepthFrameSource,object> AvailableChanged;
[add: Windows.Foundation.Metadata.Deprecated("PerceptionDepthFrameSource 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("PerceptionDepthFrameSource 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<PerceptionDepthFrameSource,object> AvailableChanged;
function onAvailableChanged(eventArgs) { /* Your code */ }
perceptionDepthFrameSource.addEventListener("availablechanged", onAvailableChanged);
perceptionDepthFrameSource.removeEventListener("availablechanged", onAvailableChanged);
- or -
perceptionDepthFrameSource.onavailablechanged = onAvailableChanged;
Public Custom Event AvailableChanged As TypedEventHandler(Of PerceptionDepthFrameSource, Object)
Tipo evento
TypedEventHandler<PerceptionDepthFrameSource,IInspectable>
- Attributi