MediaCapture.PhotoConfirmationCaptured Kejadian

Definisi

Terjadi ketika bingkai konfirmasi foto diambil.

// Register
event_token PhotoConfirmationCaptured(TypedEventHandler<MediaCapture, PhotoConfirmationCapturedEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
MediaCapture::PhotoConfirmationCaptured_revoker PhotoConfirmationCaptured(auto_revoke_t, TypedEventHandler<MediaCapture, PhotoConfirmationCapturedEventArgs const&> const& handler) const;
public event TypedEventHandler<MediaCapture,PhotoConfirmationCapturedEventArgs> PhotoConfirmationCaptured;
function onPhotoConfirmationCaptured(eventArgs) { /* Your code */ }
mediaCapture.addEventListener("photoconfirmationcaptured", onPhotoConfirmationCaptured);
mediaCapture.removeEventListener("photoconfirmationcaptured", onPhotoConfirmationCaptured);
- or -
mediaCapture.onphotoconfirmationcaptured = onPhotoConfirmationCaptured;
Public Custom Event PhotoConfirmationCaptured As TypedEventHandler(Of MediaCapture, PhotoConfirmationCapturedEventArgs) 

Jenis Acara

Persyaratan Windows

Kemampuan aplikasi
backgroundMediaRecording

Keterangan

Objek CapturedFrame yang diteruskan ke kejadian ini berisi data piksel mentah dan oleh karena itu harus disalin secara manual ke dalam buffer piksel bitmap. Untuk informasi tentang cara melakukannya, lihat bagian Keterangan dari properti Bingkai .

Berlaku untuk