Instance Property


The data source provided by the app.


weak var dataSource: MPPlayableContentDataSource? { get set }


The dataSource property ensures that random access of media items is supported through the MPPlayableContentDataSource protocol because the methods in the protocol can be accessed at any point during the app’s lifetime. Set this property as soon as the data is available.

See Also

Providing Playable Content

protocol MPPlayableContentDataSource

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