Media Player Framework Reference
The Media Player framework provides facilities for playing movie, music, audio podcast, and audio book files. This framework also gives your application access to the iPod library, letting you find and play audio-based media items synced from iTunes on the desktop. iPod library access is read-only.
This frameworkâs MPVolumeView class lets you present a control to let the user adjust system audio output volume and choose among the available output routes, such as for sending audio to an AirPlay-enabled device. The MPMoviePlayerController and MPTimedMetadata classes let you play streamed video content and respond to time-based metadata contained in the stream. Starting in iOS 4.3, you can configure a movie player to support wireless movie playback to AirPlay-enabled hardware.
| Framework | /System/Library/Frameworks/MediaPlayer.framework |
| Header file directories | /System/Library/Frameworks/MediaPlayer.framework/Headers |
- MPMediaEntity
- MPMediaItem
- MPMediaItemArtwork
- MPMediaItemCollection
- MPMediaLibrary
- MPMediaPickerController
- MPMediaPlaylist
- MPMediaPredicate
- MPMediaPropertyPredicate
- MPMediaQuery
- MPMediaQuerySection
- MPMovieAccessLog
- MPMovieAccessLogEvent
- MPMovieErrorLog
- MPMovieErrorLogEvent
- MPMoviePlayerController
- MPMoviePlayerViewController
- MPMusicPlayerController
- MPNowPlayingInfoCenter
- MPTimedMetadata
- MPVolumeView
- UIViewController MediaPlayer Additions
- MPMediaPickerControllerDelegate
- MPMediaPlayback
- Media Player Functions
- Revision History
© 2012 Apple Inc. All Rights Reserved. (Last updated: 2012-09-19)