template <>
class WireWeakSyncClientImpl
Defined at line 1949 of file fidling/gen/sdk/fidl/fuchsia.thermal/fuchsia.thermal/cpp/fidl/fuchsia.thermal/cpp/wire_messaging.h
Public Methods
::fidl::WireResult< ::fuchsia_thermal::ClientStateWatcher::Watch> Watch ()
Watches for changes to a client's thermal state.
A client's thermal state is determined according to the central thermal
configuration of its specific type. See the
[README.md](/src/power/power-manager/thermal_config/README.md) for more
details.
On a given connection, the first call will return immediately with the
client's current thermal state. Subsequent `Watch` requests will only
return a new `state` if the client's thermal state has changed. This
follows the [hanging
get](https://fuchsia.dev/fuchsia-src/concepts/api/fidl#hanging-get)
pattern.
- `state` is an unsigned integer representing the client's thermal
state.
Allocates 40 bytes of message buffer on the stack. No heap allocation necessary.