template <>

class Server

Defined at line 2807 of file fidling/gen/sdk/fidl/fuchsia.ui.composition/fuchsia.ui.composition/cpp/fidl/fuchsia.ui.composition/cpp/natural_messaging.h

Public Methods

void Server ()

Defined at line 2810 of file fidling/gen/sdk/fidl/fuchsia.ui.composition/fuchsia.ui.composition/cpp/fidl/fuchsia.ui.composition/cpp/natural_messaging.h

void SetContent (SetContentRequest & request, SetContentCompleter::Sync & completer)
void SetDevicePixelRatio (SetDevicePixelRatioRequest & request, SetDevicePixelRatioCompleter::Sync & completer)

Sets the ratio of display's physical pixels to device independent pixels that should be used

for the tree of Flatland content that are attached to this display. See

[`LayoutInfo.device_pixel_ratio`] for details.

The default value is (1.0, 1.0). The valid values are 1.0 and above.

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