Simple object for specifying options to openPhotoGallery.
This is an abstract type. Any object of this structure can be used where this type is used.
Specifies if the media should be editable after capture/selection.
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 video should be transcoded (using highest quality preset) . If set to false no video transcoding will be performed.
Specifies if the dialog should be animated upon showing and hiding.
Controls the type of arrow and position of the popover.
Specifies if the photo gallery should be hidden automatically after the media selection is completed.
Function to call if the user presses the cancel button.
Function to call upon receiving an error.
Array of media type constants to allow.
Live photos is only supported on the iOS platform, starting with iOS 9.1. If you want to allow live photos with MEDIA_TYPE_LIVEPHOTO, you also need to specify at least 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 static photo.
Only photo and video allowed.
View to position the photo gallery popover on top of.
Specifies number of media item that can be selected.
Setting this property to zero allows you to select maximum number of media supported by system.
This will work only when <Titanium.Media.allowMultiple> is