# getScaleFactorForTabletDevice ^11.3
缩放比,竖屏情况下返回的是横屏的放大倍数,横屏时返回1(安卓专用)
# 接口调用示例
this.$bridge.getScaleFactorForTabletDevice()
.then(res => {
this.$toast(res)
}).catch(err => {
this.$toast(err)
})
1
2
3
4
5
6
2
3
4
5
6
# 返回参数
- 成功时返回
| Prop | Type | Default | Description |
|---|---|---|---|
code | Number | N/A | 返回码0-成功,其他错误码:配网指引请求失败 |
msg | String | N/A | 返回Code对应的说明信息 |