Event

public struct Event<T> where T : RawRepresentable, T.RawValue == String

Struct representing a tracking event. It contains the event type and an optional dictionary for additional related data.

  • Type of the event.

    Declaration

    Swift

    public let type: T
  • Additional information carried by the event.

    Declaration

    Swift

    public let info: [String : String]?