zhizhi/node_modules/dingtalk-jsapi/api/union/getSystemInfo.d.ts

38 lines
981 B
TypeScript
Raw Normal View History

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$;