Device info
The device information refers to the details of the device on which the application using KInfo is currently running
board
The board name of the device hardware
Original source
The board name is retrieved from Build.BOARD property
KInfo's source
bootloader
The version of the device bootloader
Original source
The version of the bootloader is retrieved from Build.BOOTLOADER property
KInfo's source
device
The device name
Original source
The device name is retrieved from Build.DEVICE property
KInfo's source
display
The display identifier for the build
Original source
The display identifier is retrieved from Build.DISPLAY property
KInfo's source
fingerprint
Unique identifier for the build fingerprint
Original source
The identifier is retrieved from Build.FINGERPRINT property
KInfo's source
val fingerprint: String = androidInfo.fingerprint
println(fingerprint)
// e.g. google/sdk_gphone64_x86_64/emu64xa:14/UE1A.230829.036.A4/12096271:user/release-keys
hardware
The name of the device hardware
Original source
The hardware value is retrieved from Build.HARDWARE property
KInfo's source
host
The host name used to build the system
Original source
The host name is retrieved from Build.HOST property
KInfo's source
id
The build ID for the software
Original source
The build identifier is retrieved from Build.ID property
KInfo's source
manufacturer
The manufacturer name of the device
Original source
The manufacturer value is retrieved from Build.MANUFACTURER property
KInfo's source
model
The model name of the device
Original source
The model name is retrieved from Build.MODEL property
KInfo's source
brand
The brand name of the device
Original source
The brand name is retrieved from Build.BRAND property
KInfo's source
product
The product name of the device
Original source
The product name is retrieved from Build.PRODUCT property
KInfo's source
deviceOrientation
The current orientation of the device
Original source
The orientation value is retrieved from Context.resources.configuration.orientation property
KInfo's source
Properties
isPortrait
Whether the device is currently in portrait mode
isLandscape
Whether the device is currently in landscape mode