zhizhi/node_modules/dingtalk-jsapi/api/device/base/getPhoneInfo.d.ts

34 lines
918 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/**
* 获取手机基础信息 请求参数定义
* @apiName device.base.getPhoneInfo
*/
export interface IDeviceBaseGetPhoneInfoParams {
}
/**
* 获取手机基础信息 返回结果定义
* @apiName device.base.getPhoneInfo
*/
export interface IDeviceBaseGetPhoneInfoResult {
/** 手机屏幕宽度 */
screenWidth: number;
/** 手机屏幕高度 */
screenHeight: number;
/** 手机品牌 */
brand: string;
/** 手机型号 */
model: string;
/** 版本 */
version: string;
/** 网络类型 wifi4g3g */
netInfo: 'wifi' | '4g' | '3g';
/** 运营商信息 */
operatorType: string;
}
/**
* 获取手机基础信息
* @apiName device.base.getPhoneInfo
* @supportVersion ios: 3.5.0 android: 3.5.0
*/
export declare function getPhoneInfo$(params: IDeviceBaseGetPhoneInfoParams): Promise<IDeviceBaseGetPhoneInfoResult>;
export default getPhoneInfo$;