template <>
class WireSyncClientImpl
Defined at line 1066 of file fidling/gen/sdk/fidl/fuchsia.settings/fuchsia.settings/cpp/fidl/fuchsia.settings/cpp/wire_messaging.h
Methods to make a sync FIDL call directly on an unowned handle or a
const reference to a |::fidl::ClientEnd
<
::fuchsia_settings::Light>|,
avoiding setting up a client.
Public Methods
::fidl::WireResult< ::fuchsia_settings::Light::WatchLightGroups> WatchLightGroups ()
Fetches information on the controllable light groups on the device.
Returns immediately on first call; subsequent calls return when the
value changes.
If this call fails, it is considered a fatal error and the channel
will be closed.
Allocates 16 bytes of request buffer on the stack. Response is heap-allocated.
::fidl::WireResult< ::fuchsia_settings::Light::WatchLightGroup> WatchLightGroup (::fidl::StringView name)
Fetches information on an individual light group on the device with the
given name. Returns immediately on first call; subsequent calls return
when the value changes.
If this call fails, it is considered a fatal error and the channel
will be closed. If the failure is due to an invalid light group name,
the channel will be closed with a NOT_FOUND epitaph.
Allocates 64 bytes of request buffer on the stack. Response is heap-allocated.
::fidl::WireResult< ::fuchsia_settings::Light::SetLightGroupValues> SetLightGroupValues (::fidl::StringView name, ::fidl::VectorView< ::fuchsia_settings::wire::LightState> state)
Sets the values for the lights in the group with the given name.
If the provided value does not match the light group's type, this
call will fail.
The requested changes may not take immediate effect if
the light is forced to a certain state by the device's hardware. This
call will still succeed, but the light's value may not change.
Allocates 32 bytes of response buffer on the stack. Request is heap-allocated.