AnalyticsListener
public protocol AnalyticsListener
Protocol to implement if the host app is interested in the analytic events provided by the SDK.
An instance of a class implementing this protocol can be passed to the Editions
constructor.
-
Called when an
event
is triggered, seeAnalyticsEventId
.Declaration
Swift
@MainActor func onAnalyticsEvent(event: AnalyticsEvent)