Events
NubrickEvent
public struct NubrickEvent: Sendable {
public let name: String
public init(_ name: String)
}NubrickSDK.dispatch(NubrickEvent("<TRIGGER_EVENT_NAME>"))ComponentEvent
public struct ComponentEvent: Sendable {
public let name: String?
public let deepLink: String?
public let payload: [EventProperty]?
}
public struct EventProperty: Sendable {
public let name: String
public let value: String
public let type: EventPropertyType
}
public enum EventPropertyType: Sendable {
case INTEGER
case STRING
case TIMESTAMPZ
case UNKNOWN
}Last updated