IngestionEvent

@objcMembers
public class IngestionEvent : NSObject, Codable

Event data that will be send to the ingestion server

  • Event Client Type associated with this event

    Declaration

    Swift

    public let type: String
  • metadata that could be overriden

    Declaration

    Swift

    public let metadata: [String : AnyCodable?]
  • Payload associated with this ingestion event.

    Declaration

    Swift

    public let payloads: [IngestionPayload]
  • Version of payload. Different event format could give different version.

    Declaration

    Swift

    public let version: Int
  • Declaration

    Swift

    public convenience init(type: String,
                            metadata: [String: AnyCodable?],
                            payloads: [IngestionPayload])
  • Declaration

    Swift

    public init(type: String,
                metadata: [String: AnyCodable?],
                payloads: [IngestionPayload],
                version: Int)