表盘 APIhmSetting 系统模块getScreenType版本:v3On this pagehmSetting.getScreenType()获取当前界面 Screen 信息。 类型 () => screenType 参数 screenType: number 值说明hmSetting.screen_type.APP在 js 应用内hmSetting.screen_type.WATCHFACE在 js 表盘主界面hmSetting.screen_type.SETTINGS在 js 应用配置或表盘编辑页hmSetting.screen_type.AOD在息屏界面 代码示例 const screenType = hmSetting.getScreenType()