MrShi
8 天以前 3845c70bd7ce578b65522ad020a8dc524316b4d4
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
import { ICommonAPIParams } from '../../constant/types';
/**
 * 媒体选择 请求参数定义
 * @apiName chooseMedia
 */
export interface IUnionChooseMediaParams extends ICommonAPIParams {
    count: number;
    camera: string;
    sizeType: string;
    mediaType: string;
    sourceType: string[];
    maxDuration: number;
}
/**
 * 媒体选择 返回结果定义
 * @apiName chooseMedia
 */
export interface IUnionChooseMediaResult {
    tempFiles: {
        size: number;
        width: number;
        height: number;
        duration: number;
        fileType: string;
        tempFilePath: string;
    }[];
}
/**
 * 媒体选择
 * @apiName chooseMedia
 */
export declare function chooseMedia$(params: IUnionChooseMediaParams): Promise<IUnionChooseMediaResult>;
export default chooseMedia$;