template <>
class Server
Defined at line 135 of file fidling/gen/sdk/fidl/fuchsia.ui.app/fuchsia.ui.app/cpp/fidl/fuchsia.ui.app/cpp/natural_messaging.h
Public Methods
void CreateViewWithViewRef (CreateViewWithViewRefRequest & request, CreateViewWithViewRefCompleter::Sync & completer)
Creates a new View under the control of the ViewProvider.
`token` is one half of the shared eventpair which will bind the new View
to its associated ViewHolder. The ViewProvider will use `token` to
create its internal View representation. The caller is expected to use
its half to create corresponding ViewHolder object.
`view_ref_control` and `view_ref` are two typed handles to each half of the
same event pair. The `view_ref` can be cloned before passing it to this method,
which will allow clients to track the view (e.g., in a focus chain update).
`view_ref_control` must not have the ZX_RIGHT_DUPLICATE set, or view creation
will fail.
void CreateView2 (CreateView2Request & request, CreateView2Completer::Sync & completer)
Creates a new View under the control of the ViewProvider.
The args are provided as a table, for forward compatibility. See documentation on the
individual table fields.
void Server ()
Defined at line 138 of file fidling/gen/sdk/fidl/fuchsia.ui.app/fuchsia.ui.app/cpp/fidl/fuchsia.ui.app/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 139 of file fidling/gen/sdk/fidl/fuchsia.ui.app/fuchsia.ui.app/cpp/fidl/fuchsia.ui.app/cpp/natural_messaging.h