public struct TKUIEventCallback
This struct provides a single
handler which is called when certain user events fire from the user
interacting with the TripKitUI SDK.
Typical uses are to track how users interact with the SDK, provide context in error reports, or prompt the user for ratings when certain screens or cards are displayed frequently.
To inject your own custom actions into the SDK and track those don’t use this, but rather use the different
Configuration options on the different cards, such as
Set this global handler to be notified of any events that the user undertakes.
public static var handler: @MainActor (Event) -> Void