template <>

class WireSyncClientImpl

Defined at line 933 of file fidling/gen/sdk/fidl/fuchsia.ui.display.singleton/fuchsia.ui.display.singleton/cpp/fidl/fuchsia.ui.display.singleton/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_ui_display_singleton::VsyncSource>|,

avoiding setting up a client.

Public Methods

::fidl::OneWayStatus SetVsyncEnabled (bool enabled)

Enables or disables receiving `OnVsync` for the given display.

The client receives `OnVsync` callbacks iff this function is called with `enabled=true`.

Calling this with `enabled=false` stops generating callbacks. Note that there may be a

race with a server receiving this and extra `OnVsync` may be received.

By default, the listener is assumed to have called `enabled=false`.

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