onNavigationIntent

abstract fun onNavigationIntent(navigationIntentEvent: NavigationIntentEngineEventData)

Called when a "navigation intent" occurs that was NOT initiated by a call to ReaderView.next, ReaderView.previous, ReaderView.goTo or ReaderView.goToStart.

Some examples are:

  • User clicks a link in the publication.

  • A scripted content document wants to navigate to a new location.