MoEngageInSessionAttributesHandler
public struct MoEngageInSessionAttributesHandler : MoEngageInSessionAttributeFetcherProtocol
-
Method to fetch current session attributes to be sent in InApp Meta Sync Request.
Declaration
Swift
public static func getInSessionAttributes(sdkInstance: MoEngageSDKInstance) -> [String : Any]Parameters
sdkInstanceThe instance to fetch session attributes.
-
Method to fetch current user visit type to the application.
Declaration
Swift
public static func fetchUserType(sdkInstance: MoEngageSDKInstance) -> StringParameters
sdkInstanceThe instance to fetch user visit type.
Return Value
User Visit Type in
StringType.