template <>
class Server
Defined at line 2278 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/cpp/fidl/fuchsia.web/cpp/natural_messaging.h
Public Methods
void OnNavigationStateChanged (OnNavigationStateChangedRequest & request, OnNavigationStateChangedCompleter::Sync & completer)
Called immediately after [`Frame.SetNavigationEventListener`] and every time user-visible
navigation state has changed. In the first call, `change` contains the current navigation
state (empty before the first navigation request). In every following call, `change` will
have values set for all fields that have changed at any time since the previous
notification. This means that some fields may have the same value as was previously
reported, for example, if they changed to some other value and back again. If a field is
unset, then its value has not changed at any time since the previous notification.
Implementer must call the acknowledgement callback to receive new navigation events.
void Server ()
Defined at line 2281 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/cpp/fidl/fuchsia.web/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 2282 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/cpp/fidl/fuchsia.web/cpp/natural_messaging.h