MBS( "ImagePicker.AvailableMediaTypesForSourceType"; /* Returns an array of the available media types for the specified source type. */$sourceType) /* The source to use to pick an image.
Can be PhotoLibrary, Camera or SavedPhotosAlbum.e.g. "Camera" */
Less

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.