OnNewIntentProvider

Interface for components that can dispatch calls from Activity.onNewIntent.

Functions

Link copied to clipboard
abstract fun addOnNewIntentListener(listener: Consumer<Intent>)

Add a new listener that will get a callback associated with Activity.onNewIntent with the new Intent.

Link copied to clipboard
abstract fun removeOnNewIntentListener(listener: Consumer<Intent>)

Remove a previously added listener. It will not receive any future callbacks.