set Max Record Duration
fun setMaxRecordDuration(duration: MaxRecordDuration): MomentsCameraConfig.Builder
Content copied to clipboard
This function allows you to set different video record duration
Return
Current builder
Parameters
duration
: Duration to be used