HarmonyOS deviceInfo获取的设备信息中,哪一项可以确定是HarmonyOS系统
需要一个字段能明确的确定该设备是否为HarmonyOS系统。后台根据这个标识调用相应的推送接口。
目前获得的信息如下:
the value of the manufactureInfo is :HUAWEI
the value of the device brand is :HUAWEI
the value of the deviceInfo marketName is :HUAWEI Mate 60 Pro
the value of the deviceInfo productSeries is :xxx
the value of the deviceInfo productModel is :xxx
the value of the deviceInfo softwareModel is :xxx
the value of the deviceInfo hardwareModel is :xxx
the value of the deviceInfo serial is :
the value of the deviceInfo bootloaderVersion is :bootloader
the value of the deviceInfo abiList is :arm64-v8a
the value of the deviceInfo securityPatchTag is :2024/07/01
the value of the deviceInfo displayVersion is :xxx
the value of the deviceInfo incrementalVersion is :default
the value of the deviceInfo osReleaseType is :xxx
the value of the deviceInfo osFullName is :xxx
the value of the deviceInfo majorVersion is :2
the value of the deviceInfo seniorVersion is :2
the value of the deviceInfo featureVersion is :0
the value of the deviceInfo buildVersion is :0
the value of the deviceInfo sdkApiVersion is :12
the value of the deviceInfo firstApiVersion is :1
the value of the deviceInfo versionId is :xxx
the value of the deviceInfo buildType is :default
the value of the deviceInfo buildUser is :default
the value of the deviceInfo buildHost is :default
the value of the deviceInfo buildTime is :default
the value of the deviceInfo buildRootHash is :default
the value of the deviceInfo udid is :
the value of the deviceInfo distributionOSName is :
the value of the deviceInfo distributionOSVersion is :xxx
the value of the deviceInfo distributionOSApiVersion is :xxx
the value of the deviceInfo distributionOSReleaseType is :xxx
the value of the deviceInfo odid is :xxxx
HarmonyOS
赞
收藏 0
回答 1
待解决
相关问题
HarmonyOS 应用打包的名字可以自定义吗,另外在应用内可以获取当前应用包打包的时间方便确定是否为最新包
331浏览 • 1回复 待解决
HarmonyOS 怎么删除cookie里某一项
248浏览 • 1回复 待解决
HarmonyOS如何实现List无限循环,例:List第一项再上拖是从列表最后一项
873浏览 • 1回复 待解决
通过@ohos.deviceInfo获取设备系统版本,应该使用哪个参数?
2312浏览 • 1回复 待解决
如何在鸿蒙系统中获取设备的硬件信息?
416浏览 • 0回复 待解决
HarmonyOS 列表List删除某一项的时候,如何添加动画效果
220浏览 • 1回复 待解决
mysql 5.7中联合索引仅对某一项进行desc可行吗?
3093浏览 • 1回复 待解决
HarmonyOS 如何获取用户设备系统字体信息?
597浏览 • 1回复 待解决
设备信息中的udid无法获取
2243浏览 • 1回复 待解决
HarmonyOS WaterFlow组件使用sections进行布局,删除某一项之后布局计算异常
76浏览 • 1回复 待解决
HarmonyOS 如何获取:设备品牌、手机型号、设备系统、系统版本等硬件信息
138浏览 • 1回复 待解决
HarmonyOS 如何获取对应的设备信息
127浏览 • 1回复 待解决
HarmonyOS c++侧怎么可以取到设备的uuid,系统版本号,设备名,设备型号等信息
315浏览 • 1回复 待解决
HarmonyOS 应用如何获取设备信息
354浏览 • 1回复 待解决
HarmonyOS如何获取规范格式的设备信息
594浏览 • 1回复 待解决
HarmonyOS Native层怎么获取获取设备信息?
349浏览 • 1回复 待解决
List与其他组件同级时上滑到最后一项底部显示错误
2351浏览 • 1回复 待解决
#鸿蒙通关秘籍#如何在鸿蒙系统获取设备的Wifi信息?
519浏览 • 1回复 待解决
如何获取设备的CPU信息
2735浏览 • 1回复 待解决
HarmonyOS 系统信息获取方式
762浏览 • 1回复 待解决
获取可信设备,设备与周边设备建立可信关系后,通过设备信息查询接口可以获取所有上线并且可信的设备。
1075浏览 • 1回复 待解决
HarmonyOS RN侧如何获取HarmonyOS设备信息
319浏览 • 1回复 待解决
如何获取设备相关信息
2185浏览 • 1回复 待解决
#鸿蒙通关秘籍#如何获取鸿蒙系统中所有显示设备的信息?
244浏览 • 1回复 待解决
HarmonyOS 如何获取设备信息,如果系统、版本、当前是否有网络连接
317浏览 • 1回复 待解决
目前没有获取原生系统名字"HarmonyOS"的接口,建议本地维护一个默认值,HarmonyOS应用正式名称为:“HarmonyOS NEXT”。