MrShi
5 天以前 05aec1e9986fbe3e907259bb1a1396f129bd0fa1
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
export declare const apiName = "internal.util.chooseFile";
/**
 * 选择本地文件,返回其虚拟路径 请求参数定义
 * @apiName internal.util.chooseFile
 */
export interface IInternalUtilChooseFileParams {
    /**
     * 最多可以选择的文件个数,取值范围[1,9]
     * multiSelection 专有钉独有 是否多选,默认单选,iOS11及以上才支持多选
     */
    count: number;
    multiSelection?: boolean;
}
/**
 * 选择本地文件,返回其虚拟路径 返回结果定义
 * @apiName internal.util.chooseFile
 */
export interface IInternalUtilChooseFileResult {
    files: Array<{
        path: string;
        size: number;
        name: string;
    }>;
}
/**
 * 选择本地文件,返回其虚拟路径
 * @apiName internal.util.chooseFile
 * @supportVersion ios: 4.7.12 android: 4.7.12
 * @author Android:泠轩 ; iOS: 贾逵
 */
export declare function chooseFile$(params: IInternalUtilChooseFileParams): Promise<IInternalUtilChooseFileResult>;
export default chooseFile$;