From c2e2ac8b400960c8f01ba8073e1a8f45bc8280f4 Mon Sep 17 00:00:00 2001 From: Manuel de la Pena Date: Wed, 27 Oct 2021 15:06:17 -0400 Subject: [PATCH] [AVFoundation] Make the notification change for xamcore 4 (#13134) Co-authored-by: Rolf Bjarne Kvinge --- src/avfoundation.cs | 2 +- tests/xtro-sharpie/common-AVFoundation.ignore | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/avfoundation.cs b/src/avfoundation.cs index 166020a32437..7c46618a2707 100644 --- a/src/avfoundation.cs +++ b/src/avfoundation.cs @@ -11996,7 +11996,7 @@ interface AVPlayerItem : NSCopying { bool CanPlayFastForward { get; } [Field ("AVPlayerItemTimeJumpedNotification")] -#if WATCH +#if !XAMCORE_4_0 [Notification] #else [Notification (typeof (AVPlayerItemTimeJumpedEventArgs))] diff --git a/tests/xtro-sharpie/common-AVFoundation.ignore b/tests/xtro-sharpie/common-AVFoundation.ignore index aa09b2e9b7f9..4136c56ea45a 100644 --- a/tests/xtro-sharpie/common-AVFoundation.ignore +++ b/tests/xtro-sharpie/common-AVFoundation.ignore @@ -82,3 +82,6 @@ # adding abstract member to an existing type would be a breaking change !incorrect-protocol-member! AVQueuedSampleBufferRendering::hasSufficientMediaDataForReliablePlaybackStart is REQUIRED and should be abstract + +# added for XAMCORE_4_0 since it is part of a new breaking change in a notification +!missing-field! AVPlayerItemTimeJumpedOriginatingParticipantKey not bound