1 Star 0 Fork 4.9K

罗小黑 / docs

forked from OpenHarmony / docs 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
parameter-h.md 16.72 KB
一键复制 编辑 原始数据 按行查看 历史
wenjun 提交于 2020-09-08 10:08 . add OpenHarmony 1.0 baseline

parameter.h

Overview

Related Modules:

Parameter

Description:

Declares functions for obtaining system parameters.

You can use the provided functions to obtain device information such as device type and manufacturer.

Since:

1.0

Version:

1.0

Summary

Functions

Function Name

Description

GetParameter (const char *key, const char *def, char *value, unsigned int len)

int 

Obtains a system parameter matching the specified key.

SetParameter (const char *key, const char *value)

int 

Sets or updates a system parameter.

GetProductType (void)

char * 

Obtains the device type.

GetManufacture (void)

char * 

Obtains the device manufacturer.

GetBrand (void)

char * 

Obtains the device brand.

GetMarketName (void)

char * 

Obtains the device marketing name.

GetProductSeries (void)

char * 

Obtains the device series name.

GetProductModel (void)

char * 

Obtains the device authentication model.

GetSoftwareModel (void)

char * 

Obtains the device software model.

GetHardwareModel (void)

char * 

Obtains the device hardware model.

GetHardwareProfile (void)

char * 

Obtains the device hardware profile.

GetSerial (void)

char * 

Obtains the device serial number (SN).

GetOsName (void)

char * 

Obtains the operating system (OS) name.

GetDisplayVersion (void)

char * 

Obtains the software version visible to users.

GetBootloaderVersion (void)

char * 

Obtains the bootloader version of this device.

GetSecurityPatchTag (void)

char * 

Obtains the security patch tag.

GetAbiList (void)

char * 

Obtains the list of application binary interfaces (ABIs) supported on this device.

GetSdkApiLevel (void)

char * 

Obtains the SDK API level that matches the current system software.

GetFirstApiLevel (void)

char * 

Obtains the first SDK API level of the system software.

GetIncrementalVersion (void)

char * 

Obtains the incremental version.

GetVersionId (void)

char * 

Obtains the version ID.

GetBuildType (void)

char * 

Obtains the build type.

GetBuildUser (void)

char * 

Obtains the build account user name.

GetBuildHost (void)

char * 

Obtains the build host name.

GetBuildTime (void)

char * 

Obtains the version build time.

GetBuildRootHash (void)

char * 

Obtains the buildroot hash value of this version.

1
https://gitee.com/lawguiren/docs.git
git@gitee.com:lawguiren/docs.git
lawguiren
docs
docs
master

搜索帮助