代码拉取完成,页面将自动刷新
接口名 | Android | IOS |
---|---|---|
实现 | 实现 | |
GetDeviceType | 根据应用类型或屏幕尺寸获取 | device.userInterfaceIdiom |
GetManufacture | Build.MANUFACTURER | "Apple" |
GetBrand | Build.BRAND | "Apple" |
GetMarketName | Build.PRODUCT / ro.product.name | device.name |
GetProductSeries | Build.DEVICE / ro.product.device | systemInfo.version |
GetProductModel | Build.MODEL / ro.product.model | device.model |
GetSoftwareModel | Build.MODEL / ro.product.model | device.model |
GetHardwareModel | Build.BOARD / ro.product.board | device.model |
GetHardwareProfile | default | default |
GetBootLoaderVersion | Build.BOOTLOADER | default 无,暂时显示device.systemName |
GetAbiList | Build.SUPPORTED_ABIS | NXGetLocalArchInfo |
GetSecurityPatchTag | 自定义 const.ohos.version.security_patch | 自定义 const.ohos.version.security_patch |
GetDisplayVersion | Build.VERSION.RELEASE | device.systemVersion |
GetIncrementalVersion | Build.VERSION.INCREMENTAL | default 无,暂时显示device.systemName |
GetOsReleaseType | const.ohos.releasetype | |
GetOSFullName | const.ohos.fullname | |
GetMajorVersion | majorVersion | |
GetSeniorVersion | seniorVersion | |
GetFeatureVersion | featureVersion | |
GetBuildVersion | persist.product.firstapiversion | default |
GetSdkApiVersion | const.ohos.apiversion | |
GetFirstApiVersion | const.product.firstapiversion | default |
GetVersionId | String output = String.format("%s/%s/%s/%s/%s/%s/%s/%s/%s/%s", GetDeviceType(), GetManufacture(), GetBrand(), GetProductSeries(), GetOSFullName(), GetProductModel(), GetSoftwareModel(), GetSdkApiVersion(), GetIncrementalVersion(), GetBuildType()); |
|
GetBuildType | 编译生成 | |
GetBuildUser | 编译生成 | |
GetBuildHost | 编译生成 | |
GetBuildTime | 编译生成 | |
GetBuildRootHash | const.ohos.buildroothash |
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。