Instance Method

playableContentManager(_:didUpdate:)

Notifies the delegate that the playable content manager’s context information has changed.

Declaration

optional func playableContentManager(_ contentManager: MPPlayableContentManager, didUpdate context: MPPlayableContentManagerContext)

Parameters

contentManager

The content manager whose current context has changed.

context

The new context of the content manager.

Discussion

A playable content manager’s context provides information about the current playback environment of an external media player, such as whether that media player limits the amount of content that can be displayed. Use the content manager’s context property to examine attributes of the new context after the change.