EventProtocol
PROTOCOL
EventProtocol
public protocol EventProtocol: Hashable, Codable
Describes an event generated from the Causal SDK.
Properties
featureName
static var featureName: String
The name of the feature for which this event is associated.
name
static var name: String
The name of the event.
Methods
serialized()
func serialized() throws -> JSONObject
Serializes this event to JSON.