Package-level declarations

Types

Link copied to clipboard
class DisplayImpl(val edid: ByteArray) : Display

Implementation of the Display interface. This class provides details about a display device, including the Extended Display Identification Data (EDID). EDID contains information about the display's capabilities and characteristics.

Link copied to clipboard
class GraphicsCardImpl(val name: String, val deviceId: String, val vendor: String, val versionInfo: String, val vRam: Long) : GraphicsCard

Implementation of the GraphicsCard interface. This class provides details about the graphics card, including its name, device ID, vendor, version information, and VRAM size.

Link copied to clipboard
class HardwareImpl(systemInfo: SystemInfo) : Hardware

Implementation of the Hardware interface. This class provides detailed information about the system's hardware, including processors, memory, storage devices, network interfaces, displays, and more. It lazily loads hardware data using the provided SystemInfo object and transforms it into domain-specific objects that implement the relevant interfaces.

Link copied to clipboard
class NetworkIFImpl(    val name: String,     val index: Int,     val displayName: String,     val ifAlias: String,     val ifOperStatus: IfOperStatus,     val mtu: Long,     val macaddr: String,     val ipv4addr: Array<String>,     val subnetMasks: ShortArray,     val ipv6addr: Array<String>,     val prefixLengths: ShortArray,     val ifType: Int,     val ndisPhysicalMediumType: Int,     val isConnectorPresent: Boolean,     val bytesRecv: Long,     val bytesSent: Long,     val packetsRecv: Long,     val packetsSent: Long,     val inErrors: Long,     val outErrors: Long,     val inDrops: Long,     val collisions: Long,     val speed: Long,     val timestamp: Long,     val isKnownVmMacAddr: Boolean,     val updateAttributes: Boolean) : NetworkIF

Implementation of the NetworkIF interface. This class provides details about the network interface, including its name, operational status, MAC address, IP addresses, and network statistics like bytes and packets sent/received, errors, and collisions.

Link copied to clipboard
class PowerSourceImpl(val powerSourceInfo: PowerSource) : PowerSource

Implementation of the PowerSource interface. This class provides details about a power source, including its name, device name, capacity, voltage, amperage, and more. It also offers methods for accessing information about the power source's status, such as whether it is charging or discharging, as well as the estimated remaining time for use.

Link copied to clipboard
class SensorsImpl(sensorsInfo: Sensors) : Sensors

Implementation of the Sensors interface. This class provides access to sensor data for the computer system, including CPU temperature, fan speeds, and CPU voltage.

Link copied to clipboard
class SoundCardImpl(val driverVersion: String, val name: String, val codec: String) : SoundCard

Implementation of the SoundCard interface. This class provides the details of a sound card, including the driver version, name, and codec.

Link copied to clipboard
class UsbDeviceImpl(    val name: String,     val vendor: String,     val vendorId: String,     val productId: String,     val serialNumber: String,     val uniqueDeviceId: String,     val connectedDevices: List<UsbDevice>) : UsbDevice

UsbDeviceImpl is the implementation of the UsbDevice interface. It provides details about a USB device, such as its name, vendor, serial number, and connected devices.