DirectNavigationEventInputHandler



An input handler that can send events to a NavigationEventDispatcher.

Summary

Public constructors

Cmn

Inherited functions

From androidx.navigationevent.NavigationEventInputHandler
Unit

Adds a callback that will be notified when the connected dispatcher's hasEnabledCallbacks changes.

Cmn
Unit

Call dispatchOnCancelled on the connected dispatcher.

Cmn
Unit

Call dispatchOnCompleted on the connected dispatcher.

Cmn
Unit

Call dispatchOnProgressed on the connected dispatcher.

Cmn
Unit

Call dispatchOnStarted on the connected dispatcher.

Cmn

Public constructors

DirectNavigationEventInputHandler

DirectNavigationEventInputHandler(
    dispatcher: NavigationEventDispatcher
)
Parameters
dispatcher: NavigationEventDispatcher

The NavigationEventDispatcher to send events to.

Public functions

handleOnCancelled

@MainThread
fun handleOnCancelled(): Unit

handleOnCompleted

@MainThread
fun handleOnCompleted(): Unit

handleOnProgressed

@MainThread
fun handleOnProgressed(event: NavigationEvent): Unit

handleOnStarted

@MainThread
fun handleOnStarted(event: NavigationEvent): Unit