template <>

class WireWeakAsyncClientImpl

Defined at line 9094 of file fidling/gen/sdk/fidl/fuchsia.settings/fuchsia.settings/cpp/fidl/fuchsia.settings/cpp/wire_messaging.h

Public Methods

::fidl::internal::WireThenable< ::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. The callback is stored on the heap.

::fidl::internal::WireThenable< ::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. The callback is stored on the heap.

::fidl::internal::WireThenable< ::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.

The request and callback are allocated on the heap.