MrShi
8 天以前 7c93550a244fcc74678344628c229b42438c729f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
/**
 * B1设备选择器,对外开放接口 请求参数定义
 * @apiName biz.ATMBle.beaconPicker
 */
export interface IBizATMBleBeaconPickerParams {
    /** 企业ID,服务端会对权限做控制 */
    corpId: string;
    /** 使用场景,通过调取平台服务获取 */
    bizCode: string;
    /** 默认勾选B1设备ID列表,List<Long>,json格式 */
    pickedBeacons?: string;
    /** 不可选设备ID列表,List<Long>,json格式 */
    disabledBeacons?: string;
    /** 必选设备ID列表,List<Long>,json格式 */
    requireBeacons?: string;
    /** 人脸管理,用户ID列表,List<Long>,json格式 */
    userIds?: string;
    /** 人脸管理,排除的用户ID列表,List<Long>,json格式 */
    excludeUserIds?: string;
    /** 人脸管理,部门ID列表,List<Long>,json格式 */
    deptIds?: string;
    /** 人脸管理,排除的部门ID列表,List<Long>,json格式 */
    excludeDeptIds?: string;
    /** 是否支持多选 */
    multiple?: boolean;
    /** 最大可选数量 */
    max?: number;
    /** 超过限定数量提示 */
    limitTips?: string;
    /** 页面标题 */
    title?: string;
    /** 上游业务来源 */
    origin?: string;
    /** 是否支持实人 */
    supportFace?: boolean;
    /** 是否支持距离 */
    supportDistance?: boolean;
    /** 设置的蓝牙设备距离 */
    distance?: string;
    /** 人脸开关 */
    useFaceRecognition?: boolean;
    /** 扩展字段,先预留 */
    extData?: string;
}
/**
 * B1设备选择器,对外开放接口 返回结果定义
 * @apiName biz.ATMBle.beaconPicker
 */
export interface IBizATMBleBeaconPickerResult {
    /** 选择的设备ID列表 */
    chosenBeacons: number[];
    /** 人脸识别开关 */
    useFaceRecognition: boolean;
    /** 设置的蓝牙设备距离 */
    distance: number;
}
/**
 * B1设备选择器,对外开放接口
 * @apiName biz.ATMBle.beaconPicker
 * @supportVersion ios: 5.0.7 android: 5.0.7
 * @author Android:序望,iOS:度尽
 */
export declare function beaconPicker$(params: IBizATMBleBeaconPickerParams): Promise<IBizATMBleBeaconPickerResult>;
export default beaconPicker$;