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
import { ICommonAPIParams } from '../../constant/types';
/**
 * 获取手机系统信息 请求参数定义
 * @apiName getSystemInfo
 */
export interface IUnionGetSystemInfoParams extends ICommonAPIParams {
}
/**
 * 获取手机系统信息 返回结果定义
 * @apiName getSystemInfo
 */
export interface IUnionGetSystemInfoResult {
    app: string;
    brand: string;
    model?: string;
    system?: string;
    storage?: string;
    version?: string;
    language?: string;
    platform?: string;
    pixelRatio?: number;
    orientation: number;
    screenWidth?: number;
    windowWidth?: number;
    screenHeight?: number;
    windowHeight?: number;
    currentBattery?: string;
    titleBarHeight: number;
    fontSizeSetting?: number;
    statusBarHeight: number;
}
/**
 * 获取手机系统信息
 * @apiName getSystemInfo
 */
export declare function getSystemInfo$(params: IUnionGetSystemInfoParams): Promise<IUnionGetSystemInfoResult>;
export default getSystemInfo$;