MoEngageInAppWidgetAlignmentUtil

@objcMembers
public class MoEngageInAppWidgetAlignmentUtil : NSObject

The utility class for parsing MoEngageInAppWidgetAlignment.

  • Get widget alignment from string value.

    Declaration

    Swift

    public static func getWidgetAlignment(fromStringValue strValue: String) -> MoEngageInAppWidgetAlignment

    Parameters

    strValue

    The string value to parse.

    Return Value

    The widget alignment.

  • Get the string value for widget alignment.

    Declaration

    Swift

    public static func getStringValue(for alignment: MoEngageInAppWidgetAlignment) -> String?

    Parameters

    alignment

    The widget alignment.

    Return Value

    The string value for alignment.