EngageEvent
public class EngageEvent: NSObject
Represents the event to be tracked using Engage.track(EngageEvent).
-
Initializes an event with the specified name
Declaration
Swift
public init(aEventName : String)Parameters
aEventNameName of event
-
Add an attribute to the event
Declaration
Swift
public func addAttribute(name : String, value : AnyObject) -> EngageEventParameters
nameName of the attribute
valueValue of the attribute
Return Value
EngageEvent object after adding the attribute
EngageEvent Class Reference