Simple object for specifying options to openPhotoGallery.
NOTE This is an abstract type. Any object meeting this description can be used where this type is used.
Specifies if the media should be editable after capture/selection.
Specifies if the media should be editable after capture/selection.
Specifies if the user should be able to select multiple photos.
Specifies if the user should be able to select multiple photos.
The allowMultiple property is only available on Android API 18 and above.
Specifies if the dialog should be animated upon showing and hiding.
Default: true
Controls the type of arrow and position of the popover.
This API can be assigned the following constants:
Specifies if the photo gallery should be hidden automatically after the media selection is completed.
Default: true
Function to call if the user presses the cancel button.
Function to call if the user presses the cancel button.
Function to call upon receiving an error.
Function to call upon receiving an error.
Array of media type constants to allow. If you want to allow live photos with Titanium.Media.MEDIA_TYPE_LIVEPHOTO on iOS 9.1 and later, you also need to specify at least Titanium.Media.MEDIA_TYPE_PHOTO as a fallback. If you do not allow live photos, they still can be selected, but will be represented as a normal photo (static).
This API can be assigned the following constants:
Default: Only photo and video allowed.
View to position the photo gallery popover on top of.
View to position the photo gallery popover on top of.
Function to call when the photo gallery is closed after a successful selection.
Function to call when the photo gallery is closed after a successful selection.