Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
ImagePicker.AvailableMediaTypesForSourceType
Returns an array of the available media types for the specified source type.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| ImagePicker | 7.3 | No | No | No | No | Yes |
MBS( "ImagePicker.AvailableMediaTypesForSourceType"; sourceType ) More
Parameters
| Parameter | Description | Example |
|---|---|---|
| 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 PDF Plugins