What's New / Media, Audio & Capture

What's new in MediaPlayer

+2 NewiOS · macOS · tvOS · watchOS

MediaPlayer provides access to the user's media library and the system's now-playing and remote-command interfaces. Apps use it to report playback state to Control Center, the Lock Screen, and connected accessories.

The 27 SDK adds 2 APIs and removes none. MPAppEntityIdentifier is a new type. MPNowPlayingInfoPropertyAppEntityIdentifiers is a new now-playing info property key that associates app entity identifiers with the current item. No deprecations or removals.

New

2
extension

MPAppEntityIdentifier

NewiOSmacOStvOSwatchOS
extension MPAppEntityIdentifier
Declaration
extension MPAppEntityIdentifier {

    /// Creates an MPAppEntityIdentifier from an EntityIdentifier.
    public convenience init?(entityIdentifier: EntityIdentifier)
}
let

MPNowPlayingInfoPropertyAppEntityIdentifiers

NewiOSmacOStvOSwatchOS
public let MPNowPlayingInfoPropertyAppEntityIdentifiers: String

No APIs match your filter.

← More in Media, Audio & Capture