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 にはサムネイルが含まれています。

適用対象