VariablePhotoSequenceCapture.PhotoCaptured Evento
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Se produce cuando se captura un marco de una secuencia de fotos variable.
// Register
event_token PhotoCaptured(TypedEventHandler<VariablePhotoSequenceCapture, VariablePhotoCapturedEventArgs const&> const& handler) const;
// Revoke with event_token
void PhotoCaptured(event_token const* cookie) const;
// Revoke with event_revoker
VariablePhotoSequenceCapture::PhotoCaptured_revoker PhotoCaptured(auto_revoke_t, TypedEventHandler<VariablePhotoSequenceCapture, VariablePhotoCapturedEventArgs const&> const& handler) const;
public event TypedEventHandler<VariablePhotoSequenceCapture,VariablePhotoCapturedEventArgs> PhotoCaptured;
function onPhotoCaptured(eventArgs) { /* Your code */ }
variablePhotoSequenceCapture.addEventListener("photocaptured", onPhotoCaptured);
variablePhotoSequenceCapture.removeEventListener("photocaptured", onPhotoCaptured);
- or -
variablePhotoSequenceCapture.onphotocaptured = onPhotoCaptured;
Public Custom Event PhotoCaptured As TypedEventHandler(Of VariablePhotoSequenceCapture, VariablePhotoCapturedEventArgs)