Skip to content

Device info

The device information refers to the details of the device on which the application using KInfo is currently running

Original source

The device information are retrieved from UAParser.result.device interface

KInfo's source

val device: Device = webInfo.device

Properties

model

The model of the device

val model: String = device.model

println(model) //e.g. Xiaomi

type

The type of the device

val type: String = device.type

println(type) //e.g. mobile