Enumeration

INMediaAffinityType

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

Declaration

enum INMediaAffinityType : Int

Topics

Constants

case unknown

A type that indicates the user’s affinity for the media item is unknown.

case like

A type that indicates the user likes the media item.

case dislike

A type that indicates the user dislikes the media item.

See Also

Getting the Media Information

var affinityType: INMediaAffinityType

The user’s affinity for the media item.

Beta
var mediaItems: [INMediaItem]?

The media items to update.

Beta
var mediaSearch: INMediaSearch?

The type of item to search for.

Beta

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software