MoEngageInAppUtils

extension MoEngageInAppUtils

InApp utility extension

  • Declaration

    Swift

    @objc
    public static func getStringRepresentation(for sdkCampaignType: MoEngageInAppSDKCampaignType) -> String
  • Declaration

    Swift

    @objc
    public static func mapNavigationType(from type: MoEngageNavActionType) -> MoEngageNavigationType
  • Declaration

    Swift

    @objc
    public static func isAppEnabledForInstance(_ sdkInstance: MoEngageSDKInstance) -> Bool
  • Declaration

    Swift

    @objc
    public static func isInAppEnabledForInstance(_ sdkInstance: MoEngageSDKInstance) -> Bool
  • Declaration

    Swift

    @objc
    public static func isInAppStatsEnabledForInstance(_ sdkInstance: MoEngageSDKInstance) -> Bool
  • Declaration

    Swift

    @objc
    public static func getTemplateType(for templateStr: String?) -> MoEngageInAppTemplateType
  • Converts a string representation of in-app type to MoEngageInAppType enum

    Declaration

    Swift

    @objc
    public static func getInAppType(_ inAppTypeStr: String?) -> MoEngageInAppType

    Parameters

    inAppTypeStr

    String representation of the in-app type

    Return Value

    MoEngageInAppType enum value

  • Declaration

    Swift

    @objc
    public static func getSupportedOrientationType(_ supportedOrientation: [String]) -> MoEngageInAppOrientationType
  • Declaration

    Swift

    @objc
    public static func getCampaignType(_ templateType: MoEngageInAppTemplateType) -> MoEngageInAppSDKCampaignType