AnalyticsEvent
public protocol AnalyticsEvent : Sendable
The AnalyticsEvent protocol defines all properties for an immutable modelled event. Sendable.
-
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
Levelfor possible values.Declaration
Swift
var level: AASDKAnalytics.Level { get } -
Extra params attached to the event. Values must be
Sendable.Declaration
Swift
var params: [String : any Sendable]? { get } -
Custom params attached to the event that are passed from outside the SDK. Values must be
Sendable.Declaration
Swift
var customParams: [String : any Sendable]? { get }