struct DeviceState: Sendable, Equatable
init
(
thermalLevel
)
|
Creates a new device state with the specified thermal level.
Signature
public init( thermalLevel: ThermalLevel) Parameters |
thermalLevel
: ThermalLevel |
The current thermal level of the device.
|