Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
VariablePhotoSequenceCapture.PhotoCaptured Event
Definition
- Namespace:
- Windows.Media.Capture.Core
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Occurs when a frame of a variable photo sequence is captured.
// 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)
Event Type
Applies to
Feedback
Was this page helpful?
