We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e6b4135 commit 82bd09cCopy full SHA for 82bd09c
README.md
@@ -29,6 +29,16 @@ react-native link react-native-alive-view
29
```js
30
const NTESRNLiveDetectView = requireNativeComponent('RNAliveView');
31
```
32
+回调
33
+onActionChange: (e: {nativeEvent: {actions: string}}) => void;
34
+onWarnChange: (e: {nativeEvent: {message?: string}}) => void;
35
+onStepChange: (e: {
36
+ nativeEvent: {message?: string; currentStep: number};
37
+ }) => void;
38
+ onResultChange: (e: {
39
+ nativeEvent: {message?: string; token?: string};
40
41
+
42
### 活体检测操作
43
44
@@ -43,11 +53,6 @@ import {NativeModules} from 'react-native';
53
*方法描述:*
54
开始活体检测
45
55
46
-*参数说明:*
47
-```
48
-businessId: '从易盾申请的id',
49
-callback -- 初始化结果回调
50
-
51
56
### stopAlive()
52
57
58
关闭活体检测
0 commit comments