Contents

MPPlayableContentDataSource

The data source providing media metadata to external media players so they can build user interfaces displaying your app’s content.

Declaration

protocol MPPlayableContentDataSource : NSObjectProtocol

Overview

To support external media players, create a class that conforms to the MPPlayableContentDataSource protocol. When your app launches, create an instance of this class and assign it to the shared dataSource property. This data source provides media metadata to external media players so that they can build user interfaces displaying your app’s content. It’s best to set this data source as early as possible in your app’s lifecycle, as iOS may start asking for content right away.

Topics

Retrieving a media item

Working with child nodes

See Also

Providing playable content