template <>
class Server
Defined at line 1274 of file fidling/gen/sdk/fidl/fuchsia.element/fuchsia.element/cpp/fidl/fuchsia.element/cpp/natural_messaging.h
Public Methods
void Dismiss (DismissCompleter::Sync & completer)
Instructs the presenter to dismiss the associated view. Once dismissed,
the `ViewController` channel is closed with a `ZX_OK` epitaph. At this
point, it is safe to clean up any resources (such as terminating
a component) backing the view.
Clients should call `Dismiss()` prior to closing the `ViewController`
channel themselves.
void Server ()
Defined at line 1277 of file fidling/gen/sdk/fidl/fuchsia.element/fuchsia.element/cpp/fidl/fuchsia.element/cpp/natural_messaging.h
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 1278 of file fidling/gen/sdk/fidl/fuchsia.element/fuchsia.element/cpp/fidl/fuchsia.element/cpp/natural_messaging.h