EventExtras

public protocol EventExtras

Extra keys for events by name.

For user-defined EventMetricTypes every event with extras will get their own corresponding event extra data class.

  • Convert the event extras into 2 lists:

    1. The list of extra key indices. Unset keys will be skipped.
    2. The list of extra values.

    Declaration

    Swift

    func toExtraRecord() -> [String : String]