Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

ImagePicker.SetVideoMaximumDuration

Sets maximum duration.

Component Version macOS Windows Linux Server iOS SDK
ImagePicker 7.3 ❌ No ❌ No ❌ No ❌ No ✅ Yes
MBS( "ImagePicker.SetVideoMaximumDuration"; Value )   More

Parameters

Parameter Description Example
Value The new maximum length in seconds. 300

Result

Returns OK or error.

Description

Sets maximum duration.
The maximum duration, in seconds, for a video recording.

The default value for this property is 10 minutes (600 seconds). When a user taps the Share button to send a movie to MMS, MobileMe, YouTube, or another destination, an appropriate duration limit and an appropriate video quality are enforced.
This property is available only if the mediaTypes property’s value array includes the kUTTypeMovie (public.movie) media type.

See also

This function is free to use.

Created 17th June 2017, last changed 18th June 2017


ImagePicker.SetSourceType - ImagePicker.StartVideoCapture