AepUIEventObserver
Interface for observing events related to Adobe Experience Platform UI components. This interface defines a mechanism for handling various types of events triggered by lifecycle changes or user interactions with UI elements, such as display, dismiss, or user interaction events.
Interface Definition
data-slots=heading, code
data-repeat=1
data-languages=Kotlin
Kotlin
interface AepUIEventObserver {
fun onEvent(event: UIEvent<*, *>)
}
Methods
onEvent
Called when an event related to a UI template occurs.
Parameters
- event - The event to handle. Implementers can provide specific logic based on the type of UIEvent.
Syntax
data-slots=heading, code
data-repeat=1
data-languages=Kotlin
Kotlin
fun onEvent(event: UIEvent<*, *>)