Skip to content

Titanium.Media.MediaQueryType

A specifier for a media library query. By default, filters perform an exact match.

Since: 1.8 · Platforms: iphone, ipad, macos

Properties #

albumArtist#

Type: MediaQueryInfoType, String

The album artist to filter on. Value should be a String.

albumArtistPersistentID#

Type: MediaQueryInfoType, Number

The album artist persistent ID to filter on. Value should be a Number.

Available in Titanium SDK 6.1.0 and later.

albumPersistentID#

Type: MediaQueryInfoType, Number

The album persistent ID to filter on. Value should be a Number.

Available in Titanium SDK 6.1.0 and later.

albumTitle#

Type: MediaQueryInfoType, String

The album title to filter on. Value should be a String.

artist#

Type: MediaQueryInfoType, String

The artist to filter on. Value should be a String.

composer#

Type: MediaQueryInfoType, String

The composer to filter on. Value should be a String.

composerPersistentID#

Type: MediaQueryInfoType, Number

The composer persistent ID to filter on. Value should be a Number.

Available in Titanium SDK 6.1.0 and later.

genre#

Type: MediaQueryInfoType, String

The genre to filter on. Value should be a String.

genrePersistentID#

Type: MediaQueryInfoType, Number

The genre persistent ID to filter on. Value should be a Number.

Available in Titanium SDK 6.1.0 and later.

grouping#

Type: Number

A constant that specifies the ordering of the result array.

hasProtectedAsset#

Type: MediaQueryInfoType, Boolean

Filter by whether or not the item is a protected asset.
Value should be a Boolean.

Available in Titanium SDK 6.1.0 and later.

isCloudItem#

Type: MediaQueryInfoType, Boolean

Filter by whether or not the item is a cloud item.
Value should be a Boolean.

Available in Titanium SDK 6.1.0 and later.

isCompilation#

Type: MediaQueryInfoType, Boolean

Filter by whether or not the item is a compilation.
The value should be a Boolean.

mediaType#

Type: MediaQueryInfoType, Number

The media type to filter on.

persistentID#

Type: MediaQueryInfoType, Number

The persistent ID to filter on. Value should be a Number.

Available in Titanium SDK 6.1.0 and later.

playCount#

Type: MediaQueryInfoType, Number

The play count to filter on. Value should be a Number.

Available in Titanium SDK 6.1.0 and later.

podcastPersistentID#

Type: MediaQueryInfoType, Number

The podcast persistent ID to filter on. Value should be a Number.

Available in Titanium SDK 6.1.0 and later.

podcastTitle#

Type: MediaQueryInfoType, String

The podcast title to filter on. Value should be a String.

Available in Titanium SDK 6.1.0 and later.

title#

Type: MediaQueryInfoType, String

The title to filter on. Value should be a String.

Titanium SDK Documentation