Protocols

The following protocols are available globally.

  • Extra keys for events. Extra keys can be of any type, but need to adhere to a protocol.

    For user-defined EventMetricTypes these will be defined as enums.

    See more

    Declaration

    Swift

    public protocol ExtraKeys : Hashable
  • The reasons a ping may be sent. Reason codes can be of any type, but need to adhere to a protocol.

    For user-defined custom pings associated reason codes will be defined as enums.

    See more

    Declaration

    Swift

    public protocol ReasonCodes : Hashable