onEvent property
Set by DigiaInstance at init time. DigiaSlot calls this when a user interaction event occurs (impression, dismiss). DigiaInstance forwards it to the active plugin.
Implementation
void Function(DigiaExperienceEvent, InAppPayload)? onEvent;