Share via


AdvancedPhotoCapture.AllPhotosCaptured Event

Definition

Occurs when all of the frames required for the advanced photo capture have been captured.

// Register
event_token AllPhotosCaptured(TypedEventHandler<AdvancedPhotoCapture, IInspectable const&> const& handler) const;

// Revoke with event_token
void AllPhotosCaptured(event_token const* cookie) const;

// Revoke with event_revoker
AdvancedPhotoCapture::AllPhotosCaptured_revoker AllPhotosCaptured(auto_revoke_t, TypedEventHandler<AdvancedPhotoCapture, IInspectable const&> const& handler) const;
public event TypedEventHandler<AdvancedPhotoCapture,object> AllPhotosCaptured;
function onAllPhotosCaptured(eventArgs) { /* Your code */ }
advancedPhotoCapture.addEventListener("allphotoscaptured", onAllPhotosCaptured);
advancedPhotoCapture.removeEventListener("allphotoscaptured", onAllPhotosCaptured);
- or -
advancedPhotoCapture.onallphotoscaptured = onAllPhotosCaptured;
Public Custom Event AllPhotosCaptured As TypedEventHandler(Of AdvancedPhotoCapture, Object) 

Event Type

Remarks

An advanced photo capture operation may require that multiple frames be captured and processed to produce the resulting image. This event notifies you when the source frames have been captured, which allows you to initiate another advanced photo capture as soon as the capture device is available, instead of waiting for the call to CaptureAsync to complete, which is raised only after the image processing of the captured frames is finished.

Applies to