zhizhi/node_modules/dingtalk-jsapi/api/biz/ATMBle/detectFaceFullScreen.d.ts

39 lines
1.3 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/**
* 实人实地开放,全屏页面 请求参数定义
* @apiName biz.ATMBle.detectFaceFullScreen
*/
export interface IBizATMBleDetectFaceFullScreenParams {
/** 企业 ID */
corpId: string;
/** 企业用户 ID */
userId: string;
/** 当前是否已录入人脸 */
hasFace: boolean;
/** 是否需要美颜,部分机型由于兼容性问题不支持 */
needBeauty?: boolean;
/** 是否需要活体检测,未录入人脸时不支持 */
needFacePose?: boolean;
}
/**
* 实人实地开放,全屏页面 返回结果定义
* @apiName biz.ATMBle.detectFaceFullScreen
*/
export interface IBizATMBleDetectFaceFullScreenResult {
/**
* 人脸识别结果
* 1:人脸验证/录入成功
* 2:人脸验证/录入失败
*/
photoStatus: number;
/** 生成资源对应的sessionId可用于组件打卡时携带人脸信息 */
faceSessionId: string;
}
/**
* 实人实地开放,全屏页面
* @apiName biz.ATMBle.detectFaceFullScreen
* @supportVersion ios: 5.1.18 android: 5.1.18
* @author Android序望iOS度尽
*/
export declare function detectFaceFullScreen$(params: IBizATMBleDetectFaceFullScreenParams): Promise<IBizATMBleDetectFaceFullScreenResult>;
export default detectFaceFullScreen$;