Home
last modified time | relevance | path

Searched refs:hasFlash (Results 1 – 25 of 52) sorted by relevance

123

/ohos5.0/foundation/multimedia/camera_framework/frameworks/native/camera/test/ndktest/camera_ndk_demo/entry/src/main/ets/views/
H A DFlashingLightPage.ets66 cameraDemo.hasFlash(this.flashingNum)
75 cameraDemo.hasFlash(this.flashingNum)
84 cameraDemo.hasFlash(this.flashingNum)
93 cameraDemo.hasFlash(this.flashingNum)
/ohos5.0/docs/zh-cn/application-dev/media/camera/
H A Dnative-camera-shooting-case.md305 bool hasFlash = false;
306 ret = OH_CaptureSession_HasFlash(captureSession, &hasFlash);
310 if (hasFlash) {
311 OH_LOG_INFO(LOG_APP, "hasFlash success");
313 OH_LOG_ERROR(LOG_APP, "hasFlash fail");
H A Dnative-camera-shooting.md432 bool hasFlash = false;
433 ret = OH_CaptureSession_HasFlash(captureSession, &hasFlash);
437 if (hasFlash) {
438 OH_LOG_INFO(LOG_APP, "hasFlash success");
440 OH_LOG_ERROR(LOG_APP, "hasFlash fail");
H A Dcamera-shooting.md91 flashStatus = photoSession.hasFlash();
94 console.error(`Failed to hasFlash. error: ${JSON.stringify(err)}`);
H A Dcamera-background-recovery.md200 flashStatus = photoSession.hasFlash();
203 console.error('Failed to hasFlash. errorCode = ' + err.code);
H A Dcamera-shooting-case.md230 flashStatus = photoSession.hasFlash();
233 console.error('Failed to hasFlash. errorCode = ' + err.code);
H A Dcamera-deferred-capture-case.md246 flashStatus = photoSession.hasFlash();
249 console.error('Failed to hasFlash. errorCode = ' + err.code);
H A Dcamera-deferred-photo-case.md275 flashStatus = photoSession.hasFlash();
278 console.error('Failed to hasFlash. errorCode = ' + err.code);
/ohos5.0/docs/zh-cn/release-notes/changelogs/v3.2-beta5/
H A Dchangelogs-camera-sync.md32 …aOutput): void;<br/>removeOutput(cameraOutput: CameraOutput): void;<br/>hasFlash(): boolean;<br/>i…
33 …eraOutput: CameraOutput): Promise<void>;<br/>hasFlash(callback: AsyncCallback<boolean>): void;<br/…
276 …接口 hasFlash 返回方式由异步 callback 跟异步 promise 变更为同步返回,因此旧接口 hasFlash(callback: AsyncCallback<boolean>):…
281 let status = captureSession.hasFlash();
/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.3/
H A Dchangelogs-camera-sync.md34 …aOutput): void;<br/>removeOutput(cameraOutput: CameraOutput): void;<br/>hasFlash(): boolean;<br/>i…
35 …eraOutput: CameraOutput): Promise<void>;<br/>hasFlash(callback: AsyncCallback<boolean>): void;<br/…
278 …接口 hasFlash 返回方式由异步 callback 跟异步 promise 变更为同步返回,因此旧接口 hasFlash(callback: AsyncCallback<boolean>):…
283 let status = captureSession.hasFlash();
/ohos5.0/foundation/multimedia/camera_framework/frameworks/native/camera/test/ndktest/camera_ndk_demo/entry/src/main/cpp/types/libentry/
H A Dindex.d.ts22 export const hasFlash: (a: number) => number;
/ohos5.0/docs/en/application-dev/media/camera/
H A Dnative-camera-shooting-case.md305 bool hasFlash = false;
306 ret = OH_CaptureSession_HasFlash(captureSession, &hasFlash);
310 if (hasFlash) {
311 OH_LOG_INFO(LOG_APP, "hasFlash success");
313 OH_LOG_ERROR(LOG_APP, "hasFlash fail");
H A Dnative-camera-shooting.md433 bool hasFlash = false;
434 ret = OH_CaptureSession_HasFlash(captureSession, &hasFlash);
438 if (hasFlash) {
439 OH_LOG_INFO(LOG_APP, "hasFlash success");
441 OH_LOG_ERROR(LOG_APP, "hasFlash fail");
H A Dcamera-background-recovery.md199 flashStatus = photoSession.hasFlash();
202 console.error('Failed to hasFlash. errorCode = ' + err.code);
H A Dcamera-shooting.md91 flashStatus = photoSession.hasFlash();
94 console.error(`Failed to hasFlash. error: ${JSON.stringify(err)}`);
/ohos5.0/foundation/multimedia/camera_framework/frameworks/js/camera_napi/demo/entry/src/main/ets/model/
H A DCameraService.ts605 let hasFlash = session.hasFlash();
606 Logger.debug(TAG, `hasFlash success, hasFlash: ${hasFlash}`);
1914 let hasFlash: bool = functions.hasFlash();
1915 Logger.info(TAG_AB, `PortraitPhotoFunctions hasFlash:${hasFlash}`);
1950 let hasFlash: bool = functions.hasFlash();
1951 Logger.info(TAG_AB, `VideoFunctions hasFlash:${hasFlash}`);
1987 let hasFlash: bool = functions.hasFlash();
1988 Logger.info(TAG_AB, `PhotoFunctions hasFlash:${hasFlash}`);
/ohos5.0/foundation/multimedia/camera_framework/frameworks/native/ndk/
H A Dcapture_session.cpp395 Camera_ErrorCode OH_CaptureSession_HasFlash(Camera_CaptureSession* session, bool* hasFlash) in OH_CaptureSession_HasFlash() argument
398 …CHECK_AND_RETURN_RET_LOG(hasFlash != nullptr, CAMERA_INVALID_ARGUMENT, "Invaild argument, hasFlash… in OH_CaptureSession_HasFlash()
400 return session->HasFlash(hasFlash); in OH_CaptureSession_HasFlash()
/ohos5.0/docs/en/release-notes/changelogs/v3.2-beta5/
H A Dchangelogs-camera-sync.md32 …eraOutput): void;<br>removeOutput(cameraOutput: CameraOutput): void;<br>hasFlash(): boolean;<br>is…
33 …ameraOutput: CameraOutput): Promise<void>;<br>hasFlash(callback: AsyncCallback<boolean>): void;<br…
276hasFlash** API in CaptureSession from asynchronous callback and asynchronous promise to the synchr…
281 let status = captureSession.hasFlash();
/ohos5.0/docs/en/release-notes/changelogs/OpenHarmony_3.2.10.3/
H A Dchangelogs-camera-sync.md34 …eraOutput): void;<br>removeOutput(cameraOutput: CameraOutput): void;<br>hasFlash(): boolean;<br>is…
35 …ameraOutput: CameraOutput): Promise<void>;<br>hasFlash(callback: AsyncCallback<boolean>): void;<br…
278hasFlash** API in CaptureSession from asynchronous callback and asynchronous promise to the synchr…
283 let status = captureSession.hasFlash();
/ohos5.0/foundation/multimedia/camera_framework/frameworks/native/ndk/impl/
H A Dcapture_session_impl.h98 Camera_ErrorCode HasFlash(bool* hasFlash);
/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_3.2.8.1/
H A Dchangelogs-camera.md65 …s.multimedia.camera | CameraInput | hasFlash(callback: AsyncCallback<boolean>): void;<br/…
113 …ultimedia.camera | CaptureSession | hasFlash(callback: AsyncCallback<boolean>): void;<br/…
655 hasFlash(callback: AsyncCallback<boolean>): void;<br/>hasFlash(): Promise<boolean>;<br/>
/ohos5.0/foundation/multimedia/camera_framework/frameworks/native/camera/test/ndktest/camera_ndk_demo/entry/src/main/cpp/
H A Dcamera_manager.cpp135 bool hasFlash = false; in HasFlashFn() local
136 Camera_ErrorCode ret = OH_CaptureSession_HasFlash(captureSession_, &hasFlash); in HasFlashFn()
140 if (hasFlash) { in HasFlashFn()
/ohos5.0/foundation/multimedia/camera_framework/interfaces/inner_api/native/camera/include/session/
H A Dprofession_session.h239 int32_t HasFlash(bool& hasFlash);
/ohos5.0/foundation/multimedia/camera_framework/interfaces/kits/native/include/camera/
H A Dcapture_session.h394 Camera_ErrorCode OH_CaptureSession_HasFlash(Camera_CaptureSession* session, bool* hasFlash);
/ohos5.0/foundation/multimedia/camera_framework/test/fuzztest/capturesession_fuzzer/
H A Dcapture_session_fuzzer.cpp283 bool hasFlash; in TestFlash() local
284 session->HasFlash(hasFlash); in TestFlash()

123