template <>

class WireSyncClientImpl

Defined at line 7604 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::NightMode>|,

avoiding setting up a client.

Public Methods

::fidl::WireResult< ::fuchsia_settings::NightMode::Watch> Watch ()

Gets the current [`NightModeSettings`]. Returns immediately on first

call; subsequent calls return when the values change.

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::NightMode::Set> Set (::fuchsia_settings::wire::NightModeSettings settings)

Sets [`NightModeSettings`] settings. Any field not explicitly set in

the table performs a no-op, and will not make any changes.

Allocates 72 bytes of message buffer on the stack. No heap allocation necessary.