Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.3   7.4   7.5   8.0   8.1   8.2   8.3   8.4   8.5   8.6    Statistic  

ImagePicker.StartVideoCapture

Starts video capture.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
ImagePicker 7.3 No No No No Yes
MBS( "ImagePicker.StartVideoCapture" )   More

Parameters

none

Result

Returns OK or error.

Description

Starts video capture.
Select the camera via ImagePicker.SetCameraDevice function.
Returns OK on success or "Failed" on failure. This method may return a value of "Failed" for various reasons, among them the following:
  • Movie capture is already in progress
  • The device does not support movie capture
  • The device is out of disk space

Use this function in conjunction to initiate the programmatic capture of a movie. You can take more than one movie without leaving the interface, but to do so requires you to hide the default image picker controls.
Calling this method while a movie is being captured has no effect. You must call the ImagePicker.StopVideoCapture function, and then wait until the associated script trigger is run, before you can capture another movie.
Calling this method when the source type of the image picker is set to a value other than Camera results in an error.

See also

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


ImagePicker.SetVideoMaximumDuration   -   ImagePicker.StopVideoCapture

Feedback: Report problem or ask question.




Links
MBS FileMaker blog