NavigationInputHandler


public final class NavigationInputHandler


Provides input to the given NavigationEventDispatcher.

TODO(mgalhardo): Consider moving this to commonMain once the design of InputHandler for other platforms is better understood.

Summary

Public constructors

Public methods

final void

Sets the OnBackInvokedDispatcher for handling system back for Android SDK T+.

Public constructors

Added in 1.0.0-alpha01
public NavigationInputHandler(@NonNull NavigationEventDispatcher dispatcher)

Public methods

setOnBackInvokedDispatcher

Added in 1.0.0-alpha01
@RequiresApi(value = 33)
public final void setOnBackInvokedDispatcher(@NonNull OnBackInvokedDispatcher invoker)

Sets the OnBackInvokedDispatcher for handling system back for Android SDK T+.

Parameters
@NonNull OnBackInvokedDispatcher invoker

the OnBackInvokedDispatcher to be set on this dispatcher