setMaxRecordDuration

fun setMaxRecordDuration(duration: MaxRecordDuration): MomentsCameraConfig.Builder

This function allows you to set different video record duration

Return

Current builder

Parameters

duration

: Duration to be used