The second Android 11 Developer Preview is now available, test it out and share your feedback.

CustomEventDispatcher

interface CustomEventDispatcher
androidx.ui.core.CustomEventDispatcher

Defines the interface that is used to dispatch CustomEvents to pointer input nodes across the compose tree.

Summary

Public methods

abstract Unit

Dispatches the event to all other pointer input nodes that share associated PointerIds with the pointer input node doing the dispatching.

Public methods

dispatchCustomEvent

abstract fun dispatchCustomEvent(event: CustomEvent): Unit

Dispatches the event to all other pointer input nodes that share associated PointerIds with the pointer input node doing the dispatching.

Parameters
event: CustomEvent The CustomEvent to dispatch.