Partager via


PerceptionColorFrameSource.CameraIntrinsicsChanged Événement

Définition

S’abonne à l’événement CameraIntrinsicsChanged.

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

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

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

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

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

Type d'événement

Attributs

S’applique à