# MediaQueryType

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

Availability
1.8
9.2.0
Extends
Object

NOTE

This is an abstract type. Any object of this structure can be used where this type is used.

# Properties

# albumArtist

Availability
1.8
9.2.0
albumArtist :MediaQueryInfoType | String

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


# albumArtistPersistentID

Availability
1.8
9.2.0
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

Availability
1.8
9.2.0
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

Availability
1.8
9.2.0
albumTitle :MediaQueryInfoType | String

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


# artist

Availability
1.8
9.2.0
artist :MediaQueryInfoType | String

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


# composer

Availability
1.8
9.2.0
composer :MediaQueryInfoType | String

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


# composerPersistentID

Availability
1.8
9.2.0
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

Availability
1.8
9.2.0
genre :MediaQueryInfoType | String

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


# genrePersistentID

Availability
1.8
9.2.0
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

Availability
1.8
9.2.0
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

Availability
1.8
9.2.0
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

Availability
1.8
9.2.0
isCompilation :MediaQueryInfoType | Boolean

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


# persistentID

Availability
1.8
9.2.0
persistentID :MediaQueryInfoType | Number

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

Available in Titanium SDK 6.1.0 and later.


# playCount

Availability
1.8
9.2.0
playCount :MediaQueryInfoType | Number

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

Available in Titanium SDK 6.1.0 and later.


# podcastPersistentID

Availability
1.8
9.2.0
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

Availability
1.8
9.2.0
podcastTitle :MediaQueryInfoType | String

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

Available in Titanium SDK 6.1.0 and later.


# title

Availability
1.8
9.2.0
title :MediaQueryInfoType | String

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