# uni.getSystemSetting()

获取系统设置

# # 返回值

类型
GetSystemSettingResult

# # GetSystemSettingResult 属性值

名称 类型 必备 默认值 描述
bluetoothEnabled boolean - 蓝牙是否开启
bluetoothError string - 蓝牙的报错信息
locationEnabled boolean - 位置是否开启
wifiEnabled boolean - wifi是否开启
wifiError string - wifi的报错信息
deviceOrientation string - 设备方向

# # getSystemSetting 兼容性

安卓系统版本 安卓 uni-app 安卓 uni-app-x iOS 系统版本 iOS uni-app iOS uni-app-x
4.4 3.9.0 9.0 3.9.0

# # 参见

getSystemSetting

# # 通用类型

# # GeneralCallbackResult

名称 类型 必备 默认值 描述
errMsg string - 错误信息