PerceptionDepthFrameSource.CameraIntrinsicsChanged 事件

定义

订阅 CameraIntrinsicsChanged 事件。

// Register
event_token CameraIntrinsicsChanged(TypedEventHandler<PerceptionDepthFrameSource, IInspectable const&> const& handler) const;

// Revoke with event_token
void CameraIntrinsicsChanged(event_token const* cookie) const;

// Revoke with event_revoker
PerceptionDepthFrameSource::CameraIntrinsicsChanged_revoker CameraIntrinsicsChanged(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 CameraIntrinsicsChanged(TypedEventHandler<PerceptionDepthFrameSource, IInspectable const&> const& handler) const;

// Revoke with event_token
void CameraIntrinsicsChanged(event_token const* cookie) const;

// Revoke with event_revoker
PerceptionDepthFrameSource::CameraIntrinsicsChanged_revoker CameraIntrinsicsChanged(auto_revoke_t, TypedEventHandler<PerceptionDepthFrameSource, IInspectable const&> const& handler) const;
public event TypedEventHandler<PerceptionDepthFrameSource,object> CameraIntrinsicsChanged;
[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> CameraIntrinsicsChanged;
function onCameraIntrinsicsChanged(eventArgs) { /* Your code */ }
perceptionDepthFrameSource.addEventListener("cameraintrinsicschanged", onCameraIntrinsicsChanged);
perceptionDepthFrameSource.removeEventListener("cameraintrinsicschanged", onCameraIntrinsicsChanged);
- or -
perceptionDepthFrameSource.oncameraintrinsicschanged = onCameraIntrinsicsChanged;
Public Custom Event CameraIntrinsicsChanged As TypedEventHandler(Of PerceptionDepthFrameSource, Object) 

事件类型

属性

适用于