UserEventCreator
public class UserEventCreator: NSObject
EngageEvent creator for User events Identify should be called prior to logging user events to track latest user attributes.
-
Initializes the event creator for user events
Declaration
Swift
public init(userId : String)Parameters
userIduserId of user
-
Creates EngageEvent representing user sign-up
Declaration
Swift
public func onUserRegistered() -> EngageEventReturn Value
EngageEvent representing user sign-up
-
Creates EngageEvent representing user login
Declaration
Swift
public func onUserLogin() -> EngageEventReturn Value
EngageEvent representing user login
-
Creates EngageEvent representing user logout
Declaration
Swift
public func onUserLogout() -> EngageEventReturn Value
EngageEvent representing user logout
UserEventCreator Class Reference