Builder

@objc(MomentsInteractiveConfigBuilder)
public final class Builder : NSObject

Builder class of Moments Interactive Config

  • This function allows you to config Link CTA interactive

    Declaration

    Swift

    @objc
    public func setLinkCTAConfig(config: MomentsLinkCTAConfig) -> Builder

    Parameters

    config

    Link CTA config to set

    Return Value

    Current builder

  • This function allows you to config text interactive

    Declaration

    Swift

    @objc
    public func setTextConfig(config: MomentsTextConfig) -> Builder

    Parameters

    config

    Text interactive config to set

    Return Value

    Current builder

  • This function builds MomentsInteractiveConfig with the current properties

    Declaration

    Swift

    @objc
    public func build() -> MomentsInteractiveConfig

    Return Value

    MomentsInteractiveConfig instance