# getSystemInfo ^6.8
获取系统信息,平台,版本号,语言、系统版本、uuid 等
# 请求参数
- N/A
# 接口调用示例
this.$bridge
  .getSystemInfo()
  .then((res) => {
    this.$alert(res)
  })
  .catch((err) => {
    this.$toast(err)
  })
1
2
3
4
5
6
7
8
2
3
4
5
6
7
8
# 返回参数
- 成功时返回
| Prop | Type | Comment | 
|---|---|---|
| platform | String | 基础库版本 | 
| SDKVersion | Number | 基础库版本 | 
| brand | String | 手机品牌 | 
| model | String | 手机机型 | 
| screenWidth | Number | 屏幕宽度 | 
| screenHeight | Number | 屏幕高度 | 
| wifiEnabled | Boolean | wireless 状态 | 
| bluetoothEnabled | Boolean | 蓝牙状态 | 
| mobileNetEnabled | Boolean | 4G/5G 状态 | 
| locationEnabled | Boolean | 定位状态 | 
| language | String | 系统语言 | 
| system | String | 系统版本号 | 
# 返回示例
{
  "platform": "Android",
  "SDKVersion": 29,
  "system": 269,
  "brand": "HONOR",
  "model": "COL-AL10",
  "screenWidth": 1080,
  "screenHeight": 2280,
  "wifiEnable": true,
  "bluetoothEnabled": true,
  "mobileNetEnabled": false,
  "locationEnabled": true,
  "language": "zh_CN_#Hans"
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
2
3
4
5
6
7
8
9
10
11
12
13
14
