Protocols

The following protocols are available globally.

  • Delegate protocol for controlling the Mixpanel API’s network behavior.

    See more

    Declaration

    Swift

    public protocol MixpanelDelegate : AnyObject
  • Property keys must be String objects and the supported value types need to conform to MixpanelType. MixpanelType can be either String, Int, UInt, Double, Float, Bool, [MixpanelType], [String: MixpanelType], Date, URL, or NSNull. Numbers are not NaN or infinity

    See more

    Declaration

    Swift

    public protocol MixpanelType