PerceptionDepthFrameSource.PropertiesChanged 事件
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
订阅 PropertiesChanged 事件。
// Register
event_token PropertiesChanged(TypedEventHandler<PerceptionDepthFrameSource, PerceptionFrameSourcePropertiesChangedEventArgs const&> const& handler) const;
// Revoke with event_token
void PropertiesChanged(event_token const* cookie) const;
// Revoke with event_revoker
PerceptionDepthFrameSource::PropertiesChanged_revoker PropertiesChanged(auto_revoke_t, TypedEventHandler<PerceptionDepthFrameSource, PerceptionFrameSourcePropertiesChangedEventArgs 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 PropertiesChanged(TypedEventHandler<PerceptionDepthFrameSource, PerceptionFrameSourcePropertiesChangedEventArgs const&> const& handler) const;
// Revoke with event_token
void PropertiesChanged(event_token const* cookie) const;
// Revoke with event_revoker
PerceptionDepthFrameSource::PropertiesChanged_revoker PropertiesChanged(auto_revoke_t, TypedEventHandler<PerceptionDepthFrameSource, PerceptionFrameSourcePropertiesChangedEventArgs const&> const& handler) const;
public event TypedEventHandler<PerceptionDepthFrameSource,PerceptionFrameSourcePropertiesChangedEventArgs> PropertiesChanged;
[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,PerceptionFrameSourcePropertiesChangedEventArgs> PropertiesChanged;
function onPropertiesChanged(eventArgs) { /* Your code */ }
perceptionDepthFrameSource.addEventListener("propertieschanged", onPropertiesChanged);
perceptionDepthFrameSource.removeEventListener("propertieschanged", onPropertiesChanged);
- or -
perceptionDepthFrameSource.onpropertieschanged = onPropertiesChanged;
Public Custom Event PropertiesChanged As TypedEventHandler(Of PerceptionDepthFrameSource, PerceptionFrameSourcePropertiesChangedEventArgs)
事件类型
- 属性