MediaCapture.PhotoConfirmationCaptured MediaCapture.PhotoConfirmationCaptured MediaCapture.PhotoConfirmationCaptured MediaCapture.PhotoConfirmationCaptured MediaCapture.PhotoConfirmationCaptured Event

Definition

Occurs when a photo confirmation frame is captured.

public : event TypedEventHandler<MediaCapture, PhotoConfirmationCapturedEventArgs> PhotoConfirmationCaptured
// Register
event_token PhotoConfirmationCaptured(TypedEventHandler<MediaCapture, PhotoConfirmationCapturedEventArgs> const& handler) const;

// Revoke with event_token
void PhotoConfirmationCaptured(event_token const& cookie) const;

// Revoke with event_revoker
PhotoConfirmationCaptured_revoker PhotoConfirmationCaptured(auto_revoke_t, TypedEventHandler<MediaCapture, PhotoConfirmationCapturedEventArgs> const& handler) const;
public event TypedEventHandler<MediaCapture, PhotoConfirmationCapturedEventArgs> PhotoConfirmationCaptured
Public Event PhotoConfirmationCaptured As TypedEventHandler (Of MediaCapture, PhotoConfirmationCapturedEventArgs)
function onPhotoConfirmationCaptured(eventArgs){/* Your code */}


mediaCapture.addEventListener("photoconfirmationcaptured", onPhotoConfirmationCaptured);
mediaCapture.removeEventListener("photoconfirmationcaptured", onPhotoConfirmationCaptured);

Remarks

The CapturedFrame object passed to this event contains raw pixel data and therefore must be manually copied into the pixel buffer of a bitmap. For information on how to do this, see the Remarks section of the Frame property.