Partager via


LowLagPhotoSequenceCapture.PhotoCaptured Événement

Définition

Se produit lorsqu’une photo a été capturée.

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

Type d'événement

Remarques

Ajoutez un gestionnaire à l’événement PhotoCaptured afin d’obtenir les photos capturées dans la séquence. PhotoCapturedEventArgs fournit les données des images capturées. PhotoCapturedEventArgs.Frame contient la photo capturée et PhotoCapturedEventArgs.Thumbnail contient la miniature.

S’applique à