Protocols
The following protocols are available globally.
-
Generic analytics functions to abstract away from specific implementations (Firebase etc)
See moreDeclaration
Swift
public protocol AnalyticsEngine -
Anything that generates an analytics event.
Three protocols,
See moreScreenViewFactory,UserPropertyFactory, andEventFactory, conform toAnalyticsEventFactory; one for each of the three cases in theAnalyticsEventenum.Declaration
Swift
public protocol AnalyticsEventFactory -
Anything that generates an analytics event of type
See moreAnalyticsEvent.eventDeclaration
Swift
public protocol EventFactory : AnalyticsEventFactory -
Anything that generates an analytics event of type
See moreAnalyticsEvent.screenViewDeclaration
Swift
public protocol ScreenViewFactory : AnalyticsEventFactory -
Anything that generates an analytics event of type
See moreAnalyticsEvent.userPropertyDeclaration
Swift
public protocol UserPropertyFactory : AnalyticsEventFactory
Protocols Reference