Share via


MediaCapture.PhotoConfirmationCaptured Evento

Definição

Ocorre quando um quadro de confirmação de foto é capturado.

// 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 do Windows

Funcionalidades do aplicativo
backgroundMediaRecording

Comentários

O objeto CapturedFrame passado para esse evento contém dados de pixel brutos e, portanto, deve ser copiado manualmente no buffer de pixel de um bitmap. Para obter informações sobre como fazer isso, consulte a seção Comentários da propriedade Frame .

Aplica-se a