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.2   7.3   7.4   7.5   8.0   8.1   8.2   8.3   8.4   8.5    Statistic  

ImagePicker.AvailableMediaTypesForSourceType

Returns an array of the available media types for the specified source type.

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

Parameters

Parameter Description Example value
sourceType The source to use to pick an image.
Can be PhotoLibrary, Camera or SavedPhotosAlbum.
"Camera"

Result

Returns list or error.

Description

Returns an array of the available media types for the specified source type.
Some iOS devices support video recording. Use this method, along with the ImagePicker.IsSourceTypeAvailable function, to determine if video recording is available on a device. The availability of video recording is indicated by the presence of the
kUTTypeMovie (public.movie) media type for the camera source type.

See also

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


ImagePicker.AvailableCaptureModesForCameraDevice   -   ImagePicker.ClearMedia

Feedback: Report problem or ask question.




Links
MBS Xojo tutorial videos