SystemUtils

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
val cores: Int
Link copied to clipboard

Returns the CPU features of the device. It is retrieved using the getFieldFromCPUInfo() function.

Link copied to clipboard

Returns the CPU processor value based on the is64Bit flag. If is64Bit is true, the value will be 64, otherwise 32.

Link copied to clipboard

Returns the list of supported ABIs (Application Binary Interfaces) for the device. It is retrieved from the Build.SUPPORTED_ABIS property.

Link copied to clipboard

Determines if the device is 64-bit capable

Link copied to clipboard

Returns the kernel architecture of the operating system

Link copied to clipboard

Returns the kernel version of the operating system

Functions

Link copied to clipboard
fun getCoreFrequency(currentFreq: Double): Double
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Reads a specific field from the CPU information file

Link copied to clipboard
fun getFieldFromFile(file: String, field: String): String?

Reads a specific field from the specified file