/ohos5.0/foundation/multimedia/camera_framework/frameworks/native/camera/test/ndktest/camera_ndk_demo/entry/src/main/ets/views/ |
H A D | FlashingLightPage.ets | 66 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 D | native-camera-shooting-case.md | 305 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 D | native-camera-shooting.md | 432 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 D | camera-shooting.md | 91 flashStatus = photoSession.hasFlash(); 94 console.error(`Failed to hasFlash. error: ${JSON.stringify(err)}`);
|
H A D | camera-background-recovery.md | 200 flashStatus = photoSession.hasFlash(); 203 console.error('Failed to hasFlash. errorCode = ' + err.code);
|
H A D | camera-shooting-case.md | 230 flashStatus = photoSession.hasFlash(); 233 console.error('Failed to hasFlash. errorCode = ' + err.code);
|
H A D | camera-deferred-capture-case.md | 246 flashStatus = photoSession.hasFlash(); 249 console.error('Failed to hasFlash. errorCode = ' + err.code);
|
H A D | camera-deferred-photo-case.md | 275 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 D | changelogs-camera-sync.md | 32 …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 D | changelogs-camera-sync.md | 34 …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 D | index.d.ts | 22 export const hasFlash: (a: number) => number;
|
/ohos5.0/docs/en/application-dev/media/camera/ |
H A D | native-camera-shooting-case.md | 305 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 D | native-camera-shooting.md | 433 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 D | camera-background-recovery.md | 199 flashStatus = photoSession.hasFlash(); 202 console.error('Failed to hasFlash. errorCode = ' + err.code);
|
H A D | camera-shooting.md | 91 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 D | CameraService.ts | 605 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 D | capture_session.cpp | 395 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 D | changelogs-camera-sync.md | 32 …eraOutput): void;<br>removeOutput(cameraOutput: CameraOutput): void;<br>hasFlash(): boolean;<br>is… 33 …ameraOutput: CameraOutput): Promise<void>;<br>hasFlash(callback: AsyncCallback<boolean>): void;<br… 276 …hasFlash** 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 D | changelogs-camera-sync.md | 34 …eraOutput): void;<br>removeOutput(cameraOutput: CameraOutput): void;<br>hasFlash(): boolean;<br>is… 35 …ameraOutput: CameraOutput): Promise<void>;<br>hasFlash(callback: AsyncCallback<boolean>): void;<br… 278 …hasFlash** 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 D | capture_session_impl.h | 98 Camera_ErrorCode HasFlash(bool* hasFlash);
|
/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_3.2.8.1/ |
H A D | changelogs-camera.md | 65 …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 D | camera_manager.cpp | 135 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 D | profession_session.h | 239 int32_t HasFlash(bool& hasFlash);
|
/ohos5.0/foundation/multimedia/camera_framework/interfaces/kits/native/include/camera/ |
H A D | capture_session.h | 394 Camera_ErrorCode OH_CaptureSession_HasFlash(Camera_CaptureSession* session, bool* hasFlash);
|
/ohos5.0/foundation/multimedia/camera_framework/test/fuzztest/capturesession_fuzzer/ |
H A D | capture_session_fuzzer.cpp | 283 bool hasFlash; in TestFlash() local 284 session->HasFlash(hasFlash); in TestFlash()
|