Attributes

public struct Attributes : Hashable, Sendable

Contains the attributes associated with an event.

  • General key-value attributes.

    Declaration

    Swift

    public let general: [String : AnyMoEngagePrimitiveValue]
  • Timestamp attributes with millisecond precision.

    Declaration

    Swift

    public let timestamps: [[String : Double]]
  • Location attributes as coordinate strings.

    Declaration

    Swift

    public let locations: [[String : String]]
  • Indicates if the event is non-interactive.

    Declaration

    Swift

    public let isNonInteractive: Bool
  • Indicates if the event is portfolio-level.

    Declaration

    Swift

    public let isPortfolio: Bool