ImagePicker.GetSourceType
-------------------------

Gets the source type.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [ImagePicker](component_ImagePicker.md) | [7.3](newinversion73.md) | ❌ No | ❌ No | ❌ No | ❌ No | ✅ Yes |

MBS( "ImagePicker.GetSourceType" ) ### Parameters

none

### Result

Returns value or error.

### Description

Gets the source type.  
The type of picker interface to be displayed by the controller.  
Prior to running the picker interface, set this value to the desired source type. The source type you set must be available and an error will be returned if it is not. If you change this property while the picker is visible, the picker interface changes to match the new value in this property.  
The default value is PhotoLibrary.  
### See also

- [ImagePicker.SetSourceType](ImagePickerSetSourceType.md)

This function checks for a license.

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

  
[ImagePicker.GetShowsCameraControls](ImagePickerGetShowsCameraControls.md) - [ImagePicker.GetVideoMaximumDuration](ImagePickerGetVideoMaximumDuration.md)

[HTML Version](ImagePickerGetSourceType.shtml)