Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.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 )

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


ImagePicker.AvailableCaptureModesForCameraDevice   -   ImagePicker.ClearMedia

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins