A custom path where the snapshot will be saved to.
This must be a directory, as VisionCamera will generate a unique filename itself.
If the given directory does not exist, this method will throw an error.
By default, VisionCamera will use the device's temporary directory.
Optionalquality
quality?:number
Specify a quality for the JPEG encoding of the snapshot.
A custom
path
where the snapshot will be saved to.This must be a directory, as VisionCamera will generate a unique filename itself. If the given directory does not exist, this method will throw an error.
By default, VisionCamera will use the device's temporary directory.