LightSDK.native.getSystemInfo

功能描述

通过js接口获取客户端基本信息

支持格式

Json

请求参数:

请求调用示例

LightSDK.native.getSystemInfo(null,cb);

返回值说明

字段名 字段类型 说明
version string app版本
pixelRatio int 像素比
windowWidth int
windowHeight int
model string 机型
systemVersion string 系统版本
platform string 操作平台

返回字段示例

"data":
{
"version":"1.0.1",
"pixelRatio":2,
"windowWidth":375,
"windowHeight":670
"model":"iphone6",
"systemVersion":"10.3.1",
"platform":"IOS"
}

注意事项