Compartilhar via


LowLagPhotoSequenceCapture.PhotoCaptured Evento

Definição

Ocorre quando uma foto foi capturada.

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

Tipo de evento

Comentários

Adicione um manipulador ao evento PhotoCaptured para obter as fotos capturadas na sequência. PhotoCapturedEventArgs fornece os dados para os quadros capturados. PhotoCapturedEventArgs.Frame contém a foto capturada e PhotoCapturedEventArgs.Thumbnail contém a miniatura.

Aplica-se a