Snapshot Capture
Android
Capturing Snapshots in a Preview with zero-latency
To capture a snapshot of the current Preview View's contents, use takeSnapshot():
const preview = ...
const snapshot = await preview.takeSnapshot()Capturing Snapshots in a Preview with zero-latency
To capture a snapshot of the current Preview View's contents, use takeSnapshot():
const preview = ...
const snapshot = await preview.takeSnapshot()