LowLagPhotoSequenceCapture.PhotoCaptured Kejadian
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
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.