@JvmStatic @JvmOverloads fun customEvent(name: String, attributes: Map<String, Any> = mapOf(), producer: Producer = SFMC_SDK, category: Category = ENGAGEMENT): Event?
This method helps in creating a Event with provided properties
attributes
- Attributes of the Event, if any
producer
- Producer of Event. Defaults to Producer.SFMC_SDK if not provided
category
- Category of Event. Defaults to Category.ENGAGEMENT if not provided