1# deviceinfo.h
2
3
4## Overview
5
6Declares the APIs for querying device information.
7
8\@kit BasicServicesKit
9
10**Library**: libdeviceinfo_ndk.z.so
11
12**System capability**: SystemCapability.Startup.SystemInfo
13
14**Since**: 10
15
16**Related module**: [DeviceInfo](_device_info.md)
17
18
19## Summary
20
21
22### Functions
23
24| Name| Description|
25| -------- | -------- |
26| const char \* [OH_GetDeviceType](_device_info.md#oh_getdevicetype) (void) | Obtains the device type.|
27| const char \* [OH_GetManufacture](_device_info.md#oh_getmanufacture) (void) | Obtains the device manufacturer.|
28| const char \* [OH_GetBrand](_device_info.md#oh_getbrand) (void) | Obtains the device brand.|
29| const char \* [OH_GetMarketName](_device_info.md#oh_getmarketname) (void) | Obtains the market name.|
30| const char \* [OH_GetProductSeries](_device_info.md#oh_getproductseries) (void) | Obtains the product series.|
31| const char \* [OH_GetProductModel](_device_info.md#oh_getproductmodel) (void) | Obtains the product model.|
32| const char \* [OH_GetSoftwareModel](_device_info.md#oh_getsoftwaremodel) (void) | Obtains the software model.|
33| const char \* [OH_GetHardwareModel](_device_info.md#oh_gethardwaremodel) (void) | Obtains the hardware model.|
34| const char \* [OH_GetBootloaderVersion](_device_info.md#oh_getbootloaderversion) (void) | Obtains the Bootloader version.|
35| const char \* [OH_GetAbiList](_device_info.md#oh_getabilist) (void) | Obtains the application binary interface (ABI) list. |
36| const char \* [OH_GetSecurityPatchTag](_device_info.md#oh_getsecuritypatchtag) (void) | Obtains the security patch tag.|
37| const char \* [OH_GetDisplayVersion](_device_info.md#oh_getdisplayversion) (void) | Obtains the display version.|
38| const char \* [OH_GetIncrementalVersion](_device_info.md#oh_getincrementalversion) (void) | Obtains the incremental version.|
39| const char \* [OH_GetOsReleaseType](_device_info.md#oh_getosreleasetype) (void) | Obtains the OS release type.|
40| const char \* [OH_GetOSFullName](_device_info.md#oh_getosfullname) (void) | Obtains the OS full name.|
41| int [OH_GetSdkApiVersion](_device_info.md#oh_getsdkapiversion) (void) | Obtains the SDK API version.|
42| int [OH_GetFirstApiVersion](_device_info.md#oh_getfirstapiversion) (void) | Obtains the first API version.|
43| const char \* [OH_GetVersionId](_device_info.md#oh_getversionid) (void) | Obtains the version ID.|
44| const char \* [OH_GetBuildType](_device_info.md#oh_getbuildtype) (void) | Obtains the build type.|
45| const char \* [OH_GetBuildUser](_device_info.md#oh_getbuilduser) (void) | Obtains the build user. |
46| const char \* [OH_GetBuildHost](_device_info.md#oh_getbuildhost) (void) | Obtains the build host. |
47| const char \* [OH_GetBuildTime](_device_info.md#oh_getbuildtime) (void) | Obtains the build time.|
48| const char \* [OH_GetBuildRootHash](_device_info.md#oh_getbuildroothash) (void) | Obtains the build root hash.|
49| const char \* [OH_GetDistributionOSName](_device_info.md#oh_getdistributionosname) (void) | Obtains the ISV distribution OS name. Independent software vendors (ISVs) can use their own OS names.|
50| const char \* [OH_GetDistributionOSVersion](_device_info.md#oh_getdistributionosversion) (void) | Obtains the ISV distribution OS version.|
51| int [OH_GetDistributionOSApiVersion](_device_info.md#oh_getdistributionosapiversion) (void) | Obtains the ISV distribution OS API version. |
52| const char \* [OH_GetDistributionOSReleaseType](_device_info.md#oh_getdistributionosreleasetype) (void) | Obtains the ISV distribution OS release type.|
53