今日头条小程序 > 字节跳动 > tt.getSystemInfoSync
今日头条小程序,字节跳动,tt.getSystemInfoSync

tt.getSystemInfoSync

2019-03-13 11:29:04


SystemInfott.getSystemInfoSync()tt.getSystemInfo的同步版本
输出属性类型说明brandstring手机品牌modelstring手机型号pixelRationumber设备像素比screenWidthnumber屏幕宽度screenHeightnumber屏幕高度windowWidthnumber可使用窗口宽度windowHeightnumber可使用窗口高度languagestring头条设置的语言versionstring头条版本号appNamestring宿主APP名称systemstring操作系统版本platformstring客户端平台fontSizeSettingnumber用户字体大小设置。以“我-设置-通用-字体大小”中的设置为准,单位px。SDKVersionstring客户端基础库版本benchmarkLevelnumber性能等级,-2或0:该设备无法运行小游戏,-1:性能未知,=1设备性能值,该值越高,设备性能越好(目前设备最高不到50)batterynumber电量,范围1-100wifiSignalnumberwifi信号强度,范围0-4appName说明值说明Toutiao今日头条Douyin抖音
标签:小游戏api,字节跳动小程序
今日头条小程序,字节跳动,tt.getSystemInfoSync

「tt.getSystemInfoSync」api接口订阅

方法1:今日头条扫描字节跳动小程序码即可订阅api接口「tt.getSystemInfoSync」

方法2:今日头条搜索字节跳动小程序名称进入,即可订阅api接口「tt.getSystemInfoSync」

方法3:今日头条网页访问即速商店,长按识别字节跳动小程序码即可订阅api接口「tt.getSystemInfoSync」

字节跳动小程序api接口「tt.getSystemInfoSync」由字节跳动原创摘录于今日头条小程序商店shop.jisuapp.cn,转载请注明出处。

字节跳动api接口「tt.getSystemInfoSync」由字节跳动开发者向今日头条用户提供,并对本服务内容、数据资料及其运营行为等真实性、合法性及有效性承担全部责任。