AmplitudeEventsBatchPayload
public struct AmplitudeEventsBatchPayload : Encodable
A struct representing the payload for batching events to be sent to the server.
This struct conforms to the Encodable
protocol to facilitate easy encoding
to JSON format. It includes an array of events to be uploaded.
- events: An array of
AmplitudeBaseEvent
objects to be included in the batch upload.
-
Undocumented
Declaration
Swift
public init(events: [AmplitudeBaseEvent])