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.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5   7.6    Statistic  

ImagePicker.SetSourceType

Sets the source type.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
ImagePicker 7.3 No No No No Yes

MBS( "ImagePicker.SetSourceType"; sourceType )

Parameters

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

Result

Returns OK or error.

Description

Sets 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

Example Databases


ImagePicker.SetShowsCameraControls   -   ImagePicker.SetVideoMaximumDuration

Feedback: Report problem or ask question.




Links
MBS Xojo tutorial videos