Instance Property

ratingComputed

Indicates whether the rating of this album was computed based upon the ratings of individual tracks in the album.

Declaration

@property(readonly, nonatomic, assign, getter=isRatingComputed) BOOL ratingComputed;

Discussion

If the user rates tracks within this album individually, but has not assigned a specific rating for the album, the album rating is computed as the average of the rating of all tracks within the album (tracks with NO rating do not affect this average) and this property is true.

If the user has rated this album, then this property is false.

If the user has not rated the album and has not rated any tracks on this album, this property is false.

See Also

Obtaining Album Information

trackCount

Number of tracks in this album.

title

The title of this album.

sortTitle

The title that iTunes uses when it sorts by album title.

rating

The rating of this album.

gapless

Whether this album is gapless.

discNumber

The index (1, 2, 3, and so on) of the disc within an album that is a multiple-disc set.

discCount

The number of discs in this multiple-disc set.

compilation

Whether this album is a compilation.

albumArtist

The name of the artist associated with this album.

sortAlbumArtist

The name that iTunes uses when it sorts by album artist.