Lines Matching refs:instance

18     let instance = null;
22 instance = ref;
53 instance = null;
75 const ratios = await instance.getSupportedRatiosAsync();
87 const picture = await instance.takePictureAsync();
94 const picture = await instance.takePictureAsync();
102 let picture = await instance.takePictureAsync({ exif: false });
106 picture = await instance.takePictureAsync({ exif: true });
118 let picture = await instance.takePictureAsync({ exif: false, additionalExif });
122 picture = await instance.takePictureAsync({ exif: true, additionalExif });
135 let picture = await instance.takePictureAsync({ base64: false });
139 picture = await instance.takePictureAsync({ base64: true });
151 const picture = await instance.takePictureAsync({ exif: true });
167 const picture = await instance.takePictureAsync({ exif: true });
184 const picture = await instance.takePictureAsync({ exif: true });
198 const picture = await instance.takePictureAsync({ exif: true });
209 const picture = await instance.takePictureAsync({ exif: true });
220 const picture = await instance.takePictureAsync({ exif: true });
229 const picture = await instance.takePictureAsync({ exif: true });
238 const picture = await instance.takePictureAsync({ exif: true });
249 const picture = await instance.takePictureAsync({ exif: true });
261 const picture = await instance.takePictureAsync({ exif: true });
281 const recordingPromise = instance.recordAsync();
283 instance.stopRecording();
293 await instance
313 const response = await instance.recordAsync({ maxDuration: 2 });
322 await retryForStatus(instance, { isBuffering: false });
323 const video = await instance.getStatusAsync();
331 const response = await instance.recordAsync({ maxDuration: 2 });
337 await retryForStatus(instance, { isBuffering: false });
338 const video = await instance.getStatusAsync();
370 await instance.recordAsync({ maxFileSize: 256 * 1024 }); // 256 KiB
389 const recordingPromise = instance.recordAsync();
391 instance.stopRecording();
413 const response = await instance.recordAsync({ maxDuration: duration / 1000 });