Simple object for specifying options to openMusicLibrary.
NOTE This is an abstract type. Any object meeting this description can be used where this type is used.
Set to true
to allow the user to select multiple items from the library.
Default: false
Boolean if the dialog should be animated when showing and hiding.
Default: true
Specifies that the library should be hidden automatically after 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.
An array of media type constants defining selectable media.
Specify one or more of the MUSIC_MEDIA_TYPE
constants from Titanium.Media. To
specify multiple types, either pass an array of values, or pass a
single value that represents the bitwise-OR of the desired media types. For example,
the following values are equivalent:
mediaTypes: [Titanium.Media.MUSIC_MEDIA_TYPE_MUSIC, Titanium.Media.MUSIC_MEDIA_TYPE_PODCAST]
Or:
mediaTypes: Titanium.Media.MUSIC_MEDIA_TYPE_MUSIC|Titanium.Media.MUSIC_MEDIA_TYPE_PODCAST
This API can be assigned the following constants:
Default: All available types.
Function to call when the music library selection is made.
Function to call when the music library selection is made.