class NavigationEventListener

Defined at line 13072 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/hlcpp/fuchsia/web/cpp/fidl.h

Interface supplied by the embedder for receiving notifications about navigation events in a

[`Frame`].

Public Methods

void ~NavigationEventListener ()
void OnNavigationStateChanged (::fuchsia::web::NavigationState change, OnNavigationStateChangedCallback callback)

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.