dispatchVisibilityEvent

open fun dispatchVisibilityEvent(visibilityEventType: Class<out Any>)

Deprecated

Dispatch a visibility events to all the components hosted in this BaseMountingView.

Marked as @Deprecated to indicate this method is experimental and should not be widely used.

NOTE: Can only be used when Incremental Mount is disabled! Call this method when the BaseMountingView is considered eligible for the visibility event (i.e. only dispatch VisibleEvent when the BaseMountingView is visible in its container).

Parameters

visibilityEventType

The class type of the visibility event to dispatch. Supported: VisibleEvent.class, InvisibleEvent.class, FocusedVisibleEvent.class, UnfocusedVisibleEvent.class, FullImpressionVisibleEvent.class.