MediaCapture.PhotoConfirmationCaptured Événement

Définition

Se produit lorsqu’un cadre de confirmation de photo est capturé.

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

Type d'événement

Configuration requise pour Windows

Fonctionnalités de l’application
backgroundMediaRecording

Remarques

L’objet CapturedFrame passé à cet événement contient des données de pixel brutes et doit donc être copié manuellement dans la mémoire tampon de pixels d’une bitmap. Pour plus d’informations sur la procédure à suivre, consultez la section Remarques de la propriété Frame .

S’applique à