Lines Matching refs:photo

3 … APIs for you to set information such as resolution, flash, focal length, photo quality, and rotat…
9 …he APIs provided by this module are used to obtain the surface ID and create a photo output stream.
19 2. Create a photo output stream.
21photo output streams supported by the current device from **photoProfiles** in the [CameraOutputCa…
40 3. Set the callback for the **'photoAvailable'** event and save the photo buffer as an image.
51 …// After the callback is set, call capture() of photoOutput to transfer the photo buffer back to t…
52 photoOutput.on('photoAvailable', (errCode: BusinessError, photo: camera.Photo): void => {
55 if (errCode || photo === undefined) {
59 let imageObj: image.Image = photo.main;
75 …plete, the buffer must be released. Otherwise, no buffer is available for subsequent photo capture.
84 …You can set camera parameters to adjust photo capture functions, including the flash, zoom ratio, …
156 5. Trigger photo capture.
158 …ss to capture a photo. In this API, the first parameter specifies the settings (for example, photo
160 …To obtain the photo rotation angle (specified by **rotation**), call [getPhotoRotation](../../refe…
165 quality: camera.QualityLevel.QUALITY_LEVEL_HIGH, // Set the photo quality to high.
166 …rotation: camera.ImageRotation.ROTATION_0, // The photo rotation angle, camera.ImageRotation.ROTAT…
167 location: captureLocation, // Set the geolocation information of the photo.
172 console.error(`Failed to capture the photo. error: ${JSON.stringify(err)}`);
175 console.info('Callback invoked to indicate the photo capture request success.');
182 …tatus of the photo output stream, including the start of the photo stream, the start and end of th…
184photo capture start events. This event can be registered when a **PhotoOutput** instance is create…
192 console.info(`photo capture started, captureId : ${captureStartInfo.captureId}`);
197 … listen for photo capture end events. This event can be registered when a **PhotoOutput** instance…
205 console.info(`photo capture end, captureId : ${captureEndInfo.captureId}`);
211photo capture. This event can be registered when a **PhotoOutput** instance is created and is trig…
219 console.info(`photo capture ready`);
224 - Register the **'error'** event to listen for photo output errors. The callback function returns a…