Instance Property

mediaSearch

The type of item to search for.

Declaration

@property(readonly, copy, nonatomic) INMediaSearch *mediaSearch;

Discussion

Depending on the user’s request, you may need to search for a particular media item. For example, adding a specific song would set mediaSearch to mediaName to “name” and mediaType to INMediaItemTypeSong.

See Also

Getting the Media Information

affinityType

The user’s affinity for the media item.

INMediaAffinityType

Constants that describe a user’s affinity for a media item.

mediaItems

The media items to update.