Interface: TakeSnapshotOptions
Properties​
path?​
optionalpath:string
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.
Defined in​
types/Snapshot.ts:17
quality?​
optionalquality:number
Specify a quality for the JPEG encoding of the snapshot.
Default​
100
Defined in​
types/Snapshot.ts:8