## uni.getSystemInfo(OBJECT)
獲取系統信息。
**OBJECT 參數說明:**

**success 返回參數說明**:

**示例**
```
uni.getSystemInfo({
success: function (res) {
console.log(res.model);
console.log(res.pixelRatio);
console.log(res.windowWidth);
console.log(res.windowHeight);
console.log(res.language);
console.log(res.version);
console.log(res.platform);
}
});
```
## uni.getSystemInfoSync()
獲取系統信息同步接口。
**
同步返回參數說明**

**示例**
```
try {
const res = uni.getSystemInfoSync();
console.log(res.model);
console.log(res.pixelRatio);
console.log(res.windowWidth);
console.log(res.windowHeight);
console.log(res.language);
console.log(res.version);
console.log(res.platform);
} catch (e) {
// error
}
```
**uni.canIUse(String)**
判斷應用的 API,回調,參數,組件等是否在當前版本可用。
**String 參數說明**
使用 ${API}.${method}.${param}.${options} 或者 ${component}.${attribute}.${option} 方式來調用,例如:
${API} 代表 API 名字
${method} 代表調用方式,有效值為return, success, object, callback
${param} 代表參數或者返回值
${options} 代表參數的可選值
${component} 代表組件名字
${attribute} 代表組件屬性
${option} 代表組件屬性的可選值
示例
uni.canIUse('getSystemInfoSync.return.screenWidth');
uni.canIUse('getSystemInfo.success.screenWidth');
uni.canIUse('showToast.object.image');
uni.canIUse('request.object.method.GET');