class Device
Defined at line 509 of file fidling/gen/sdk/fidl/fuchsia.hardware.fan/fuchsia.hardware.fan/hlcpp/fuchsia/hardware/fan/cpp/fidl.h
Public Members
static const char[] Name_
Public Methods
void ~Device ()
void GetFanLevel (GetFanLevelCallback callback)
Get the current fan level.
- response `status`
ZX_ERR_INTERNAL if `fan_level` is not available.
This generally means that `fan_level` has not
been initialized yet or something has gone
terribly wrong.
- response `fan_level` a uint32 field indicating the
current fan level. See fan level description above.
void SetFanLevel (uint32_t fan_level, SetFanLevelCallback callback)
Set the fan level.
+ request `fan_level` a uint32 field indicating the
requested fan level. See fan level description above.
- response `status`
ZX_ERR_OUT_OF_RANGE if the requested fan_level is not
valid.
void GetClientType (GetClientTypeCallback callback)
Returns the client type to use for
`fuchsia.thermal.ClientStateConnector::Connect`.