MediaPlayer Changes for Swift
MediaPlayer
Modified MPChangeLanguageOptionCommandEvent
Protocols | |
---|---|
From | AnyObject |
To | -- |
Modified MPChangePlaybackRateCommand
Protocols | |
---|---|
From | AnyObject |
To | -- |
Modified MPChangePlaybackRateCommandEvent
Protocols | |
---|---|
From | AnyObject |
To | -- |
Modified MPContentItem
Protocols | |
---|---|
From | AnyObject |
To | -- |
Modified MPFeedbackCommand
Protocols | |
---|---|
From | AnyObject |
To | -- |
Modified MPFeedbackCommandEvent
Protocols | |
---|---|
From | AnyObject |
To | -- |
Modified MPMediaEntity
Declaration | Protocols | |
---|---|---|
From | class MPMediaEntity : NSObject, NSSecureCoding, NSCoding { class func canFilterByProperty(_ property: String) -> Bool func enumerateValuesForProperties(_ properties: Set<String>, usingBlock block: (String, AnyObject, UnsafeMutablePointer<ObjCBool>) -> Void) subscript (_ key: AnyObject) -> AnyObject? { get } func objectForKeyedSubscript(_ key: AnyObject) -> AnyObject? func valueForProperty(_ property: String) -> AnyObject? var persistentID: MPMediaEntityPersistentID { get } } | AnyObject, NSCoding, NSSecureCoding |
To | class MPMediaEntity : NSObject, NSSecureCoding { class func canFilterByProperty(_ property: String) -> Bool func enumerateValuesForProperties(_ properties: Set<String>, usingBlock block: (String, AnyObject, UnsafeMutablePointer<ObjCBool>) -> Void) subscript (_ key: AnyObject) -> AnyObject? { get } func objectForKeyedSubscript(_ key: AnyObject) -> AnyObject? func valueForProperty(_ property: String) -> AnyObject? var persistentID: MPMediaEntityPersistentID { get } } | NSSecureCoding |
Modified MPMediaGrouping [enum]
Protocols | |
---|---|
From | Equatable, Hashable, RawRepresentable |
To | -- |
Modified MPMediaItem
Protocols | |
---|---|
From | AnyObject |
To | -- |
Modified MPMediaItemArtwork
Protocols | |
---|---|
From | AnyObject |
To | -- |
Modified MPMediaItemCollection
Protocols | |
---|---|
From | AnyObject |
To | -- |
Modified MPMediaLibrary
Declaration | Protocols | |
---|---|---|
From | class MPMediaLibrary : NSObject, NSSecureCoding, NSCoding { class func defaultMediaLibrary() -> MPMediaLibrary var lastModifiedDate: NSDate { get } func beginGeneratingLibraryChangeNotifications() func endGeneratingLibraryChangeNotifications() } | AnyObject, NSCoding, NSSecureCoding |
To | class MPMediaLibrary : NSObject, NSSecureCoding { class func defaultMediaLibrary() -> MPMediaLibrary var lastModifiedDate: NSDate { get } func beginGeneratingLibraryChangeNotifications() func endGeneratingLibraryChangeNotifications() } | NSSecureCoding |
Modified MPMediaPickerController
Protocols | |
---|---|
From | AnyObject |
To | -- |
Modified MPMediaPlaylist
Protocols | |
---|---|
From | AnyObject |
To | -- |
Modified MPMediaPredicate
Declaration | Protocols | |
---|---|---|
From | class MPMediaPredicate : NSObject, NSSecureCoding, NSCoding { } | AnyObject, NSCoding, NSSecureCoding |
To | class MPMediaPredicate : NSObject, NSSecureCoding { } | NSSecureCoding |
Modified MPMediaPredicateComparison [enum]
Protocols | |
---|---|
From | Equatable, Hashable, RawRepresentable |
To | -- |
Modified MPMediaPropertyPredicate
Protocols | |
---|---|
From | AnyObject |
To | -- |
Modified MPMediaQuery
Declaration | Protocols | |
---|---|---|
From | class MPMediaQuery : NSObject, NSSecureCoding, NSCoding, NSCopying { init(filterPredicates filterPredicates: Set<MPMediaPredicate>?) var filterPredicates: Set<MPMediaPredicate>? func addFilterPredicate(_ predicate: MPMediaPredicate) func removeFilterPredicate(_ predicate: MPMediaPredicate) var items: [MPMediaItem]? { get } var collections: [MPMediaItemCollection]? { get } var groupingType: MPMediaGrouping var itemSections: [MPMediaQuerySection]? { get } var collectionSections: [MPMediaQuerySection]? { get } class func albumsQuery() -> MPMediaQuery class func artistsQuery() -> MPMediaQuery class func songsQuery() -> MPMediaQuery class func playlistsQuery() -> MPMediaQuery class func podcastsQuery() -> MPMediaQuery class func audiobooksQuery() -> MPMediaQuery class func compilationsQuery() -> MPMediaQuery class func composersQuery() -> MPMediaQuery class func genresQuery() -> MPMediaQuery } | AnyObject, NSCoding, NSCopying, NSSecureCoding |
To | class MPMediaQuery : NSObject, NSSecureCoding, NSCopying { init(filterPredicates filterPredicates: Set<MPMediaPredicate>?) var filterPredicates: Set<MPMediaPredicate>? func addFilterPredicate(_ predicate: MPMediaPredicate) func removeFilterPredicate(_ predicate: MPMediaPredicate) var items: [MPMediaItem]? { get } var collections: [MPMediaItemCollection]? { get } var groupingType: MPMediaGrouping var itemSections: [MPMediaQuerySection]? { get } var collectionSections: [MPMediaQuerySection]? { get } class func albumsQuery() -> MPMediaQuery class func artistsQuery() -> MPMediaQuery class func songsQuery() -> MPMediaQuery class func playlistsQuery() -> MPMediaQuery class func podcastsQuery() -> MPMediaQuery class func audiobooksQuery() -> MPMediaQuery class func compilationsQuery() -> MPMediaQuery class func composersQuery() -> MPMediaQuery class func genresQuery() -> MPMediaQuery } | NSCopying, NSSecureCoding |
Modified MPMediaQuerySection
Declaration | Protocols | |
---|---|---|
From | class MPMediaQuerySection : NSObject, NSSecureCoding, NSCoding, NSCopying { var title: String { get } var range: NSRange { get } } | AnyObject, NSCoding, NSCopying, NSSecureCoding |
To | class MPMediaQuerySection : NSObject, NSSecureCoding, NSCopying { var title: String { get } var range: NSRange { get } } | NSCopying, NSSecureCoding |
Modified MPMovieAccessLog
Protocols | |
---|---|
From | AnyObject, NSCopying |
To | NSCopying |
Modified MPMovieAccessLogEvent
Protocols | |
---|---|
From | AnyObject, NSCopying |
To | NSCopying |
Modified MPMovieControlStyle [enum]
Protocols | |
---|---|
From | Equatable, Hashable, RawRepresentable |
To | -- |
Modified MPMovieErrorLog
Protocols | |
---|---|
From | AnyObject, NSCopying |
To | NSCopying |
Modified MPMovieErrorLogEvent
Protocols | |
---|---|
From | AnyObject, NSCopying |
To | NSCopying |
Modified MPMovieFinishReason [enum]
Protocols | |
---|---|
From | Equatable, Hashable, RawRepresentable |
To | -- |
Modified MPMoviePlaybackState [enum]
Protocols | |
---|---|
From | Equatable, Hashable, RawRepresentable |
To | -- |
Modified MPMoviePlayerController
Protocols | |
---|---|
From | AnyObject, MPMediaPlayback |
To | MPMediaPlayback |
Modified MPMoviePlayerViewController
Protocols | |
---|---|
From | AnyObject |
To | -- |
Modified MPMovieRepeatMode [enum]
Protocols | |
---|---|
From | Equatable, Hashable, RawRepresentable |
To | -- |
Modified MPMovieScalingMode [enum]
Protocols | |
---|---|
From | Equatable, Hashable, RawRepresentable |
To | -- |
Modified MPMovieSourceType [enum]
Protocols | |
---|---|
From | Equatable, Hashable, RawRepresentable |
To | -- |
Modified MPMovieTimeOption [enum]
Protocols | |
---|---|
From | Equatable, Hashable, RawRepresentable |
To | -- |
Modified MPMusicPlaybackState [enum]
Protocols | |
---|---|
From | Equatable, Hashable, RawRepresentable |
To | -- |
Modified MPMusicPlayerController
Protocols | |
---|---|
From | AnyObject, MPMediaPlayback |
To | MPMediaPlayback |
Modified MPMusicRepeatMode [enum]
Protocols | |
---|---|
From | Equatable, Hashable, RawRepresentable |
To | -- |
Modified MPMusicShuffleMode [enum]
Protocols | |
---|---|
From | Equatable, Hashable, RawRepresentable |
To | -- |
Modified MPNowPlayingInfoCenter
Protocols | |
---|---|
From | AnyObject |
To | -- |
Modified MPNowPlayingInfoLanguageOption
Declaration | Protocols | |
---|---|---|
From | class MPNowPlayingInfoLanguageOption : NSObject { init(type languageOptionType: MPNowPlayingInfoLanguageOptionType, languageTag languageTag: String, characteristics languageOptionCharacteristics: [String]?, displayName displayName: String, identifier identifier: String) func isAutomaticLegibleLanguageOption() -> Bool var languageOptionType: MPNowPlayingInfoLanguageOptionType { get } var languageTag: String? { get } var languageOptionCharacteristics: [String]? { get } var displayName: String? { get } var identifier: String? { get } } | AnyObject |
To | class MPNowPlayingInfoLanguageOption : NSObject { init(type languageOptionType: MPNowPlayingInfoLanguageOptionType, languageTag languageTag: String, characteristics languageOptionCharacteristics: [String]?, displayName displayName: String, identifier identifier: String) func isAutomaticLegibleLanguageOption() -> Bool func isAutomaticAudibleLanguageOption() -> Bool var languageOptionType: MPNowPlayingInfoLanguageOptionType { get } var languageTag: String? { get } var languageOptionCharacteristics: [String]? { get } var displayName: String? { get } var identifier: String? { get } } | -- |
Modified MPNowPlayingInfoLanguageOptionGroup
Protocols | |
---|---|
From | AnyObject |
To | -- |
Protocols | |
---|---|
From | Equatable, Hashable, RawRepresentable |
To | -- |
Introduction | |
---|---|
From | iOS 9.0 |
To | iOS 8.4 |
Modified MPPlayableContentManager
Protocols | |
---|---|
From | AnyObject |
To | -- |
Modified MPPlayableContentManagerContext
Protocols | |
---|---|
From | AnyObject |
To | -- |
Modified MPRatingCommand
Protocols | |
---|---|
From | AnyObject |
To | -- |
Modified MPRatingCommandEvent
Protocols | |
---|---|
From | AnyObject |
To | -- |
Modified MPRemoteCommand
Protocols | |
---|---|
From | AnyObject |
To | -- |
Modified MPRemoteCommandCenter
Declaration | Protocols | |
---|---|---|
From | class MPRemoteCommandCenter : NSObject { var pauseCommand: MPRemoteCommand { get } var playCommand: MPRemoteCommand { get } var stopCommand: MPRemoteCommand { get } var togglePlayPauseCommand: MPRemoteCommand { get } var enableLanguageOptionCommand: MPRemoteCommand { get } var disableLanguageOptionCommand: MPRemoteCommand { get } var nextTrackCommand: MPRemoteCommand { get } var previousTrackCommand: MPRemoteCommand { get } var skipForwardCommand: MPSkipIntervalCommand { get } var skipBackwardCommand: MPSkipIntervalCommand { get } var seekForwardCommand: MPRemoteCommand { get } var seekBackwardCommand: MPRemoteCommand { get } var ratingCommand: MPRatingCommand { get } var changePlaybackRateCommand: MPChangePlaybackRateCommand { get } var likeCommand: MPFeedbackCommand { get } var dislikeCommand: MPFeedbackCommand { get } var bookmarkCommand: MPFeedbackCommand { get } class func sharedCommandCenter() -> MPRemoteCommandCenter } | AnyObject |
To | class MPRemoteCommandCenter : NSObject { var pauseCommand: MPRemoteCommand { get } var playCommand: MPRemoteCommand { get } var stopCommand: MPRemoteCommand { get } var togglePlayPauseCommand: MPRemoteCommand { get } var enableLanguageOptionCommand: MPRemoteCommand { get } var disableLanguageOptionCommand: MPRemoteCommand { get } var nextTrackCommand: MPRemoteCommand { get } var previousTrackCommand: MPRemoteCommand { get } var skipForwardCommand: MPSkipIntervalCommand { get } var skipBackwardCommand: MPSkipIntervalCommand { get } var seekForwardCommand: MPRemoteCommand { get } var seekBackwardCommand: MPRemoteCommand { get } var ratingCommand: MPRatingCommand { get } var changePlaybackRateCommand: MPChangePlaybackRateCommand { get } var likeCommand: MPFeedbackCommand { get } var dislikeCommand: MPFeedbackCommand { get } var bookmarkCommand: MPFeedbackCommand { get } var changePlaybackPositionCommand: MPChangePlaybackPositionCommand { get } class func sharedCommandCenter() -> MPRemoteCommandCenter } | -- |
Modified MPRemoteCommandEvent
Protocols | |
---|---|
From | AnyObject |
To | -- |
Modified MPRemoteCommandHandlerStatus [enum]
Declaration | Protocols | |
---|---|---|
From | enum MPRemoteCommandHandlerStatus : Int { case Success case NoSuchContent case CommandFailed } | Equatable, Hashable, RawRepresentable |
To | enum MPRemoteCommandHandlerStatus : Int { case Success case NoSuchContent case NoActionableNowPlayingItem case CommandFailed } | -- |
Modified MPSeekCommandEvent
Protocols | |
---|---|
From | AnyObject |
To | -- |
Modified MPSeekCommandEventType [enum]
Protocols | |
---|---|
From | Equatable, Hashable, RawRepresentable |
To | -- |
Modified MPSkipIntervalCommand
Protocols | |
---|---|
From | AnyObject |
To | -- |
Modified MPSkipIntervalCommandEvent
Protocols | |
---|---|
From | AnyObject |
To | -- |
Modified MPTimedMetadata
Protocols | |
---|---|
From | AnyObject |
To | -- |
Modified MPVolumeView
Declaration | Protocols | |
---|---|---|
From | class MPVolumeView : UIView { var showsVolumeSlider: Bool var showsRouteButton: Bool var wirelessRoutesAvailable: Bool { get } var wirelessRouteActive: Bool { get } func setMinimumVolumeSliderImage(_ image: UIImage?, forState state: UIControlState) func setMaximumVolumeSliderImage(_ image: UIImage?, forState state: UIControlState) func setVolumeThumbImage(_ image: UIImage?, forState state: UIControlState) func minimumVolumeSliderImageForState(_ state: UIControlState) -> UIImage? func maximumVolumeSliderImageForState(_ state: UIControlState) -> UIImage? func volumeThumbImageForState(_ state: UIControlState) -> UIImage? var volumeWarningSliderImage: UIImage? func volumeSliderRectForBounds(_ bounds: CGRect) -> CGRect func volumeThumbRectForBounds(_ bounds: CGRect, volumeSliderRect rect: CGRect, value value: Float) -> CGRect func setRouteButtonImage(_ image: UIImage?, forState state: UIControlState) func routeButtonImageForState(_ state: UIControlState) -> UIImage? func routeButtonRectForBounds(_ bounds: CGRect) -> CGRect } | AnyObject, NSCoding |
To | class MPVolumeView : UIView, NSCoding { var showsVolumeSlider: Bool var showsRouteButton: Bool var wirelessRoutesAvailable: Bool { get } var wirelessRouteActive: Bool { get } func setMinimumVolumeSliderImage(_ image: UIImage?, forState state: UIControlState) func setMaximumVolumeSliderImage(_ image: UIImage?, forState state: UIControlState) func setVolumeThumbImage(_ image: UIImage?, forState state: UIControlState) func minimumVolumeSliderImageForState(_ state: UIControlState) -> UIImage? func maximumVolumeSliderImageForState(_ state: UIControlState) -> UIImage? func volumeThumbImageForState(_ state: UIControlState) -> UIImage? var volumeWarningSliderImage: UIImage? func volumeSliderRectForBounds(_ bounds: CGRect) -> CGRect func volumeThumbRectForBounds(_ bounds: CGRect, volumeSliderRect rect: CGRect, value value: Float) -> CGRect func setRouteButtonImage(_ image: UIImage?, forState state: UIControlState) func routeButtonImageForState(_ state: UIControlState) -> UIImage? func routeButtonRectForBounds(_ bounds: CGRect) -> CGRect } | NSCoding |