Lines Matching refs:camera

3 …e developing a camera application, request permissions by following the instructions provided in […
5camera startup performance is affected by time-consuming operations such as power-on of underlying…
7 ​These features are involved in the processes of starting the camera device, configuring streams, a…
11 A typical camera startup process includes starting the camera device, configuring a data stream, an…
13 …from the surface. Before the **XComponent** provides the surface for the camera application, the s…
17 …d output streams, and start the session only after the UI is loaded. The camera HDI is responsible…
23 Read [Camera](../../reference/apis-camera-kit/js-apis-camera.md) for the API reference.
28 …../../reference/apis-camera-kit/js-apis-camera.md#commitconfig11) or [session.start](../../referen…
39 import { camera } from '@kit.CameraKit';
42 …ontext: common.BaseContext, cameraInfo: camera.CameraDevice, previewProfile: camera.Profile, photo…
43 const cameraManager: camera.CameraManager = camera.getCameraManager(baseContext);
44 const cameraInput: camera.CameraInput = cameraManager.createCameraInput(cameraInfo);
45 …const previewOutput: camera.PreviewOutput = cameraManager.createDeferredPreviewOutput(previewProfi…
46 const photoOutput: camera.PhotoOutput = cameraManager.createPhotoOutput(photoProfile);
47 …const session: camera.PhotoSession = cameraManager.createSession(camera.SceneMode.NORMAL_PHOTO) as…
62 …. When the user takes a photo, a thumbnail is output and reported to the camera application for di…
68 Read [Camera](../../reference/apis-camera-kit/js-apis-camera.md) for the API reference.
74 | on(type: 'quickThumbnail', callback: AsyncCallback\<image.PixelMap>): void | Listens for camera t…
78camera-kit/js-apis-camera-sys.md#isquickthumbnailsupported) and [enableQuickThumbnail](../../refer…
79 … effect after [enableQuickThumbnail(true)](../../reference/apis-camera-kit/js-apis-camera-sys.md#e…
89 import { camera } from '@kit.CameraKit';
94 async function enableQuickThumbnail(baseContext: common.BaseContext, photoProfile: camera.Profile):…
95 let cameraManager: camera.CameraManager = camera.getCameraManager(baseContext);
96 let cameras: Array<camera.CameraDevice> = cameraManager.getSupportedCameras();
98 …let photoSession: camera.PhotoSession = cameraManager.createSession(camera.SceneMode.NORMAL_PHOTO)…
102 let cameraInput: camera.CameraInput = cameraManager.createCameraInput(cameras[0]);
106 let photoOutPut: camera.PhotoOutput = cameraManager.createPhotoOutput(photoProfile);
130camera application is triggered when the user touches the camera icon on the home screen. The home…
132camera device before the camera application is started. In other words, when the user touches the
138 Read [Camera](../../reference/apis-camera-kit/js-apis-camera.md) for the API reference.
142 | isPrelaunchSupported(camera: CameraDevice) : boolean | Checks whether the camera supports prelau…
144 …unch() : void | Prelaunches the camera. This API is called when a user touches the system camera i…
157 import { camera } from '@kit.CameraKit';
162 let cameraManager: camera.CameraManager = camera.getCameraManager(baseContext);
174 …To use the prelaunch feature, the camera application must configure the **ohos.permission.CAMERA**…
179 import { camera } from '@kit.CameraKit';
184 let cameraManager: camera.CameraManager = camera.getCameraManager(baseContext);
185 let cameras: Array<camera.CameraDevice> = [];