From 00ffa46efcd3f60ca7080e32b68d6a3d00fdaf87 Mon Sep 17 00:00:00 2001 From: zhangZhenWei <5237428+zhang_zhenwei@user.noreply.gitee.com> Date: Tue, 28 Oct 2025 11:42:11 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20[Issue#ID3HHB]=E4=BF=AE=E6=94=B9eact-na?= =?UTF-8?q?tive-camera-kit=E4=B8=AD=E8=8B=B1=E6=96=87=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- en/react-native-camera-kit.md | 2 +- zh-cn/react-native-camera-kit.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/en/react-native-camera-kit.md b/en/react-native-camera-kit.md index cf997300..be772f48 100644 --- a/en/react-native-camera-kit.md +++ b/en/react-native-camera-kit.md @@ -396,7 +396,7 @@ Open `entry/src/main/resources/base/element/string.json` and add the following i | onOrientationChange | Callback when physical device orientation changes. Returned event contains orientation. Ex: onOrientationChange={(event) => console.log(event.nativeEvent.orientation)}. Use import { Orientation } from 'react-native-camera-kit'; if (event.nativeEvent.orientation === Orientation.PORTRAIT) { ... } to understand the new value | Function | no | iOS | no | | onError | Android only. Callback when camera fails to initialize. Ex: onError={(e) => console.log(e.nativeEvent.errorMessage)}. | Function | no | Android | yes | | resetFocusTimeout | Dismiss tap to focus after this many milliseconds. Default 0 (disabled). Example: 5000 is 5 seconds. | Number | no | All | yes | -| scanThrottleDelay | Duration between scan detection in milliseconds. Default 2000 (2s) | Number | no | All | yes | +| scanThrottleDelay | Duration between scan detection in milliseconds. Default 2000 (2s) if you need to dynamically set this value, you need to add the key parameter to force refresh this component | Number | no | All | yes | | scanBarcode | Enable barcode scanner. Default: `false` | boolean | no | All | yes | | showFrame | Show frame in barcode scanner. Default: `false` | boolean | no | All | yes | | laserColor | Color of barcode scanner laser visualization. Default: `red` | string | no | All | yes | diff --git a/zh-cn/react-native-camera-kit.md b/zh-cn/react-native-camera-kit.md index 993803da..7141fd30 100644 --- a/zh-cn/react-native-camera-kit.md +++ b/zh-cn/react-native-camera-kit.md @@ -394,7 +394,7 @@ ohpm install | onOrientationChange | Callback when physical device orientation changes. Returned event contains orientation. Ex: onOrientationChange={(event) => console.log(event.nativeEvent.orientation)}. Use import { Orientation } from 'react-native-camera-kit'; if (event.nativeEvent.orientation === Orientation.PORTRAIT) { ... } to understand the new value | Function | no | iOS | no | | onError | Android only. Callback when camera fails to initialize. Ex: onError={(e) => console.log(e.nativeEvent.errorMessage)}. | Function | no | Android | yes | | resetFocusTimeout | Dismiss tap to focus after this many milliseconds. Default 0 (disabled). Example: 5000 is 5 seconds. | Number | no | All | yes | -| scanThrottleDelay | Duration between scan detection in milliseconds. Default 2000 (2s) | Number | no | All | yes | +| scanThrottleDelay | Duration between scan detection in milliseconds. Default 2000 (2s) if you need to dynamically set this value, you need to add the key parameter to force refresh this component | Number | no | All | yes | | scanBarcode | Enable barcode scanner. Default: `false` | boolean | no | All | yes | | showFrame | Show frame in barcode scanner. Default: `false` | boolean | no | All | yes | | laserColor | Color of barcode scanner laser visualization. Default: `red` | string | no | All | yes | -- Gitee