MoEngageInAppAction

public class MoEngageInAppAction: MoEngageModelObject

MoEngageInAppAction gives all the information about the inApp action

  • Gives the action type Navigation/Custom Action

    Declaration

    Swift

    public let actionType: MoEngageInAppActionType
  • Custom key-value pairs entered while creating the campaign for the action.

    Declaration

    Swift

    public let keyValuePairs: [String: Any]
  • Method to create an instance of MoEngageInAppAction

    This method is for internal purpose. Do not call it explicitly.

    Declaration

    Swift

    public init(actionType: MoEngageInAppActionType, keyValuePairs: [String: Any])

    Parameters

    actionType

    Gives the action type Navigation/Custom Action

    screenName

    Incase the action type is Navigation then the screenName to which the navigation has to be performed

    keyValuePairs

    Custom key-value pairs entered while creating the campaign for the action.