pub enum NavigationEventListenerRequest {
OnNavigationStateChanged {
change: NavigationState,
responder: NavigationEventListenerOnNavigationStateChangedResponder,
},
}
Expand description
Interface supplied by the embedder for receiving notifications about navigation events in a
[Frame
].
Variants§
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.
Implementations§
Sourcepub fn method_name(&self) -> &'static str
pub fn method_name(&self) -> &'static str
Name of the method defined in FIDL