mirai-core / net.mamoe.mirai.utils / SystemDeviceInfo

SystemDeviceInfo

open class SystemDeviceInfo : DeviceInfo

通过本机信息来获取设备信息.

Android: 获取手机信息, 与 QQ 官方相同. JVM: 部分为常量, 部分为随机

Types

Version

object Version : Version

Constructors

<init>

SystemDeviceInfo()
SystemDeviceInfo(context: Context)

Properties

androidId

open val androidId: ByteArray

apn

open val apn: ByteArray

baseBand

open val baseBand: ByteArray

board

open val board: ByteArray

bootId

open val bootId: ByteArray

bootloader

open val bootloader: ByteArray

brand

open val brand: ByteArray

context

lateinit var context: Context

device

open val device: ByteArray

display

open val display: ByteArray

fingerprint

open val fingerprint: ByteArray

imei

open val imei: String

imsiMd5

open val imsiMd5: ByteArray

macAddress

open val macAddress: ByteArray

model

open val model: ByteArray

osType

open val osType: ByteArray

procVersion

open val procVersion: ByteArray

product

open val product: ByteArray

simInfo

open val simInfo: ByteArray

version

open val version: Version

wifiBSSID

open val wifiBSSID: ByteArray?

wifiSSID

open val wifiSSID: ByteArray?