Builder

@objc(MomentsCameraConfigBuilder)
public final class Builder : NSObject

Builder class of Moments Text Config

  • This function allows you to set different video record duration

    Declaration

    Swift

    @objc
    public func setMaxRecordDuration(duration: MaxRecordDuration) -> Builder

    Parameters

    duration

    Duration to be used

    Return Value

    Current builder

  • This function builds MomentsCameraConfig with the current properties

    Declaration

    Swift

    @objc
    public func build() -> MomentsCameraConfig

    Return Value

    MomentsCameraConfig instance