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
sdkInstance
The instance to fetch session attributes.
-
Method to fetch current user visit type to the application.
Declaration
Swift
public static func fetchUserType(sdkInstance: MoEngageSDKInstance) -> String
Parameters
sdkInstance
The instance to fetch user visit type.
Return Value
User Visit Type in
String
Type.