template <>

class Server

Defined at line 287 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 290 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 SetPowerMode (SetPowerModeRequest & request, SetPowerModeCompleter::Sync & completer)

Set the power state of the default connected display device to `power_mode`.

Errors:

- `ZX_ERR_NOT_FOUND`: There is no connected display.

- `ZX_ERR_NOT_SUPPORTED`: The default connected display driver or hardware

does not support the requested power mode.

- `ZX_ERR_INTERNAL`: Operation failed for another reason.

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 291 of file fidling/gen/sdk/fidl/fuchsia.ui.display.singleton/fuchsia.ui.display.singleton/cpp/fidl/fuchsia.ui.display.singleton/cpp/natural_messaging.h