# Parameter ## **Overview** Provides functions for obtaining system parameters. This module can obtain device information such as device type and manufacturer. **Since:** 1.0 **Version:** 1.0 ## **Summary** ## Files
GetParameter (const char *key, const char *def, char *value, unsigned int len) |
|
SetParameter (const char *key, const char *value) |
|
GetProductType (void) |
|
GetManufacture (void) |
|
GetBrand (void) |
|
GetMarketName (void) |
|
GetProductSeries (void) |
|
GetProductModel (void) |
|
GetSoftwareModel (void) |
|
GetHardwareModel (void) |
|
GetHardwareProfile (void) |
|
GetSerial (void) |
|
GetOsName (void) |
|
GetDisplayVersion (void) |
|
GetBootloaderVersion (void) |
|
GetSecurityPatchTag (void) |
|
GetAbiList (void) |
Obtains the list of application binary interfaces (ABIs) supported on this device. |
GetSdkApiLevel (void) |
Obtains the SDK API level that matches the current system software. |
GetFirstApiLevel (void) |
|
GetIncrementalVersion (void) |
|
GetVersionId (void) |
|
GetBuildType (void) |
|
GetBuildUser (void) |
|
GetBuildHost (void) |
|
GetBuildTime (void) |
|
GetBuildRootHash (void) |
key | Indicates the key for the system parameter to query. The value can contain lowercase letters, digits, underscores (_), and dots (.). Its length cannot exceed 32 bytes (including the end-of-text character in the string). |
def | Indicates the default value to return when no query result is found. This parameter is specified by the caller. |
value | Indicates the data buffer that stores the query result. This parameter is applied for and released by the caller and can be used as an output parameter. |
len | Indicates the length of the data in the buffer. |
key | Indicates the key for the parameter to set or update. The value can contain lowercase letters, digits, underscores (_), and dots (.). Its length cannot exceed 32 bytes (including the end-of-text character in the string). |
value | Indicates the system parameter value. Its length cannot exceed 128 bytes (including the end-of-text character in the string). |