# Device Info
## Modules to Import
```
import deviceInfo from '@ohos.deviceInfo'
```
## Required Permissions
None
## Attributes
Name
|
Type
|
Readable
|
Writable
|
Description
|
deviceType
|
string
|
Yes
|
No
|
Device type.
|
manufacture
|
string
|
Yes
|
No
|
Device manufacturer.
|
brand
|
string
|
Yes
|
No
|
Device brand.
|
marketName
|
string
|
Yes
|
No
|
External product series.
|
productSeries
|
string
|
Yes
|
No
|
Product series.
|
productModel
|
string
|
Yes
|
No
|
Product model.
|
softwareModel
|
string
|
Yes
|
No
|
Software model.
|
hardwareModel
|
string
|
Yes
|
No
|
Hardware model.
|
hardwareProfile
|
string
|
Yes
|
No
|
Hardware profile.
|
serial
|
string
|
Yes
|
No
|
Device serial number.
|
bootloaderVersion
|
string
|
Yes
|
No
|
Bootloader version.
|
abiList
|
string
|
Yes
|
No
|
Application binary interface (Abi) list.
|
securityPatchTag
|
string
|
Yes
|
No
|
Security patch tag.
|
displayVersion
|
string
|
Yes
|
No
|
Product version.
|
incrementalVersion
|
string
|
Yes
|
No
|
Incremental version.
|
osReleaseType
|
string
|
Yes
|
No
|
Release type. The options are as follows:
- Canary: Preliminary release open only to specific developers. This release does not promise API stability and may require tolerance of instability.
- Beta: Release open to all developers. This release does not promise API stability and may require tolerance of instability.
- Release: Official release open to all developers. This release promises that all APIs are stable.
|
osFullName
|
string
|
Yes
|
No
|
OS version.
|
majorVersion
|
number
|
Yes
|
No
|
Major version, incrementing along with OS version updates.
|
seniorVersion
|
number
|
Yes
|
No
|
Senior version, incrementing along with architecture and feature updates.
|
featureVersion
|
number
|
Yes
|
No
|
Feature version.
|
buildVersion
|
number
|
Yes
|
No
|
Build version.
|
sdkApiVersion
|
number
|
Yes
|
No
|
SDK API version.
|
firstApiVersion
|
number
|
Yes
|
No
|
First API version.
|
versionId
|
string
|
Yes
|
No
|
Version ID.
|
buildType
|
string
|
Yes
|
No
|
Build type.
|
buildUser
|
string
|
Yes
|
No
|
Build user.
|
buildHost
|
string
|
Yes
|
No
|
Build host.
|
buildTime
|
string
|
Yes
|
No
|
Build time.
|
buildRootHash
|
string
|
Yes
|
No
|
Build root hash.
|