AnalyticsCollecting
@objc(AASDKAnalyticsCollecting)
public protocol AnalyticsCollecting
The AnalyticsCollecting protocol defines an interface for collecting AdswizzSDK analytics data. All events will be received on a serial background queue.
Note that the AnalyticsConnector class conforms to AnalyticsCollecting.
-
Log an event matched to a category and level.
Declaration
Swift
func log(_ event: AnalyticsEvent, _ timestamp: Date)Parameters
eventevent to log
-
Force a send to all connectors. When you receive this call, the connector should try to flush all its stored events if
forcedis true.Declaration
Swift
func send(forced: Bool)Parameters
forcedtrue if the action is required immediately