React SDKAPI ReferenceInterfaces
CaptureProtectedEvent
Event fired immediately when an image is captured.
Contains the raw blob for instant preview and a captureId
that correlates with the later ProtectedEvent / ProtectErrorEvent.
Properties
blob
blob: Blob;The raw, unprotected media blob (e.g. image/jpeg or audio/mp3).
cameraSettings?
optional cameraSettings?: MediaTrackSettings & {
deviceName?: string;
};Device camera settings extracted from the media track.
Type Declaration
deviceName?
optional deviceName?: string;captureId
captureId: string;Unique identifier for this capture flow.
photoCapabilities?
optional photoCapabilities?: PhotoCapabilities;Hardware photo capabilities of the active camera.
sensorSnapshot
sensorSnapshot: SensorSnapshot;Device sensor data collected exactly at capture time.