Skip to content
Titanium SDK
Version12.6.0

You are reading 12.6.0. See this page in 13.4.1.

MediaQueryType

pseudoiPhoneiPadmacOSsince 1.8

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

Properties 19

albumArtist

MediaQueryInfoType | String

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

albumArtistPersistentID

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

MediaQueryInfoType | Number

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

Available in Titanium SDK 6.1.0 and later.

albumTitle

MediaQueryInfoType | String

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

artist

MediaQueryInfoType | String

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

composer

MediaQueryInfoType | String

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

composerPersistentID

MediaQueryInfoType | Number

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

Available in Titanium SDK 6.1.0 and later.

genre

MediaQueryInfoType | String

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

genrePersistentID

MediaQueryInfoType | Number

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

Available in Titanium SDK 6.1.0 and later.

hasProtectedAsset

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

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

MediaQueryInfoType | Boolean

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

persistentID

MediaQueryInfoType | Number

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

Available in Titanium SDK 6.1.0 and later.

playCount

MediaQueryInfoType | Number

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

Available in Titanium SDK 6.1.0 and later.

podcastPersistentID

MediaQueryInfoType | Number

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

Available in Titanium SDK 6.1.0 and later.

podcastTitle

MediaQueryInfoType | String

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

Available in Titanium SDK 6.1.0 and later.

title

MediaQueryInfoType | String

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