MomentsComponentTypeHelper

@objc(MomentsComponentTypeHelper)
public class MomentsComponentTypeHelper : NSObject

This class does the enum to string conversion of the Moments Component

  • This function returns the name of the MomentsComponent

    Declaration

    Swift

    @objc
    public static func momentsComponentName(componentType: MomentsComponentType) -> String

    Parameters

    componentType

    Incoming MomentsComponent type

    Return Value

    String MomentsComponent name