LowLagPhotoSequenceCapture.PhotoCaptured 事件

定义

在捕获照片时发生。

// Register
event_token PhotoCaptured(TypedEventHandler<LowLagPhotoSequenceCapture, PhotoCapturedEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
LowLagPhotoSequenceCapture::PhotoCaptured_revoker PhotoCaptured(auto_revoke_t, TypedEventHandler<LowLagPhotoSequenceCapture, PhotoCapturedEventArgs const&> const& handler) const;
public event TypedEventHandler<LowLagPhotoSequenceCapture,PhotoCapturedEventArgs> PhotoCaptured;
function onPhotoCaptured(eventArgs) { /* Your code */ }
lowLagPhotoSequenceCapture.addEventListener("photocaptured", onPhotoCaptured);
lowLagPhotoSequenceCapture.removeEventListener("photocaptured", onPhotoCaptured);
- or -
lowLagPhotoSequenceCapture.onphotocaptured = onPhotoCaptured;
Public Custom Event PhotoCaptured As TypedEventHandler(Of LowLagPhotoSequenceCapture, PhotoCapturedEventArgs) 

事件类型

注解

将处理程序添加到 PhotoCaptured 事件,以便获取序列中捕获的照片。 PhotoCapturedEventArgs 为捕获的帧提供数据。 PhotoCapturedEventArgs.Frame 包含捕获的照片, PhotoCapturedEventArgs.Thumbnail 包含缩略图。

适用于