template <>
class Server
Defined at line 441 of file fidling/gen/sdk/fidl/fuchsia.ui.display.singleton/fuchsia.ui.display.singleton/cpp/fidl/fuchsia.ui.display.singleton/cpp/natural_messaging.h
Public Methods
void Server ()
Defined at line 444 of file fidling/gen/sdk/fidl/fuchsia.ui.display.singleton/fuchsia.ui.display.singleton/cpp/fidl/fuchsia.ui.display.singleton/cpp/natural_messaging.h
void SetVsyncEnabled (SetVsyncEnabledRequest & request, SetVsyncEnabledCompleter::Sync & completer)
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`.
Handler bind_handler (async_dispatcher_t * dispatcher)
|bind_handler| returns a handler that binds incoming connections to this
server implementation.
The returned handler borrows the server instance.
The server must outlive the provided |dispatcher|. Only after
the dispatcher is shutdown will it be safe to destroy the servers.
The server should not be moved.
void ~Server ()
Defined at line 445 of file fidling/gen/sdk/fidl/fuchsia.ui.display.singleton/fuchsia.ui.display.singleton/cpp/fidl/fuchsia.ui.display.singleton/cpp/natural_messaging.h