MixpanelDelegate
public protocol MixpanelDelegate : AnyObject
Delegate protocol for controlling the Mixpanel API’s network behavior.
-
Asks the delegate if data should be uploaded to the server.
Declaration
Swift
func mixpanelWillFlush(_ mixpanel: MixpanelInstance) -> Bool
Parameters
mixpanel
The mixpanel instance
Return Value
return true to upload now or false to defer until later