Share via


MediaCapture.PhotoConfirmationCaptured Evento

Definición

Se produce cuando se captura un marco de confirmación de fotos.

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

Tipo de evento

Requisitos de Windows

Características de aplicaciones
backgroundMediaRecording

Comentarios

El objeto CapturedFrame pasado a este evento contiene datos de píxeles sin procesar y, por lo tanto, se deben copiar manualmente en el búfer de píxeles de un mapa de bits. Para obtener información sobre cómo hacerlo, vea la sección Comentarios de la propiedad Frame .

Se aplica a