AnalyticsEvent
@objc(AASDKAnalyticsEvent)
public protocol AnalyticsEvent
The AnalyticsEvent
protocol defines all properties for an event.
-
Identifier value for the event - should be unique.
Declaration
Swift
var id: String { get }
-
Category name for the event.
Declaration
Swift
var category: String { get }
-
Category level for the event. See
Level
for possible values.Declaration
Swift
var level: AASDKAnalytics.Level { get }
-
Extra params attached to the event.
Declaration
Swift
var params: [String : Any]? { get }
-
Custom params attached to the event that are passed from outside the SDK.
Declaration
Swift
var customParams: [String : Any]? { get }