Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MediaPlayer] Implement Xcode 16.0 beta 1-6 changes. #21072

Merged
merged 2 commits into from
Aug 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion src/mediaplayer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ interface MPMediaItem : NSSecureCoding {
NSString PropertyPersistentID { get; }

[NoiOS, NoMac]
[NoMacCatalyst]
[MacCatalyst (13, 1)]
[Export ("persistentID")]
ulong PersistentID { get; }

Expand Down Expand Up @@ -1737,6 +1737,14 @@ interface MPNowPlayingInfoCenter {
[TV (16, 0), Mac (13, 0), iOS (16, 0), MacCatalyst (16, 0), Watch (9, 0)]
[Field ("MPNowPlayingInfoPropertyCreditsStartTime")]
NSString PropertyCreditsStartTime { get; }

[Watch (11, 0), TV (18, 0), Mac (15, 0), iOS (18, 0), MacCatalyst (18, 0)]
[Field ("MPNowPlayingInfoPropertyInternationalStandardRecordingCode")]
NSString PropertyInternationalStandardRecordingCode { get; }

[Watch (11, 0), TV (18, 0), Mac (15, 0), iOS (18, 0), MacCatalyst (18, 0)]
[Field ("MPNowPlayingInfoPropertyExcludeFromSuggestions")]
NSString PropertyExcludeFromSuggestions { get; }
}

[NoWatch]
Expand Down
2 changes: 2 additions & 0 deletions tests/cecil-tests/Documentation.KnownFailures.txt
Original file line number Diff line number Diff line change
Expand Up @@ -68862,8 +68862,10 @@ P:MediaPlayer.MPNowPlayingInfoCenter.PropertyAdTimeRanges
P:MediaPlayer.MPNowPlayingInfoCenter.PropertyAssetUrl
P:MediaPlayer.MPNowPlayingInfoCenter.PropertyCollectionIdentifier
P:MediaPlayer.MPNowPlayingInfoCenter.PropertyCreditsStartTime
P:MediaPlayer.MPNowPlayingInfoCenter.PropertyExcludeFromSuggestions
P:MediaPlayer.MPNowPlayingInfoCenter.PropertyExternalContentIdentifier
P:MediaPlayer.MPNowPlayingInfoCenter.PropertyExternalUserProfileIdentifier
P:MediaPlayer.MPNowPlayingInfoCenter.PropertyInternationalStandardRecordingCode
P:MediaPlayer.MPNowPlayingInfoCenter.PropertyIsLiveStream
P:MediaPlayer.MPNowPlayingInfoCenter.PropertyMediaType
P:MediaPlayer.MPNowPlayingInfoCenter.PropertyPlaybackProgress
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

2 changes: 0 additions & 2 deletions tests/xtro-sharpie/iOS-MediaPlayer.todo

This file was deleted.

2 changes: 0 additions & 2 deletions tests/xtro-sharpie/macOS-MediaPlayer.todo

This file was deleted.

2 changes: 0 additions & 2 deletions tests/xtro-sharpie/tvOS-MediaPlayer.todo

This file was deleted.

2 changes: 2 additions & 0 deletions tests/xtro-sharpie/watchOS-MediaPlayer.ignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@
!unknown-field! MPMediaEntityPropertyPersistentID bound
!unknown-protocol! MPMediaPlayback bound
!unknown-type! MPMediaEntity bound

!extra-null-allowed! 'System.Void MediaPlayer.MPRemoteCommand::RemoveTarget(Foundation.NSObject,ObjCRuntime.Selector)' has a extraneous [NullAllowed] on parameter #0
3 changes: 0 additions & 3 deletions tests/xtro-sharpie/watchOS-MediaPlayer.todo

This file was deleted.

Loading