Bagikan melalui


LowLagPhotoSequenceCapture.PhotoCaptured Kejadian

Definisi

Terjadi ketika foto telah diambil.

// 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) 

Jenis Acara

Keterangan

Tambahkan handler ke peristiwa PhotoCaptured untuk mendapatkan foto yang diambil secara berurutan. PhotoCapturedEventArgs menyediakan data untuk bingkai yang diambil. PhotoCapturedEventArgs.Frame berisi foto yang diambil dan PhotoCapturedEventArgs.Thumbnail berisi gambar mini.

Berlaku untuk