From 208998e33e54fe18272238d5a1ad041a9908321a Mon Sep 17 00:00:00 2001 From: Manuel de la Pena Date: Mon, 17 Oct 2022 10:43:04 -0400 Subject: [PATCH 1/6] [AVfoundation] Add support for xcode 14.1 beta 3. --- src/AVFoundation/Enums.cs | 3 +- src/avfoundation.cs | 510 +++++++++++++++++- .../iOS-AVFoundation.todo | 193 ------- .../macOS-AVFoundation.todo | 150 ------ .../tvOS-AVFoundation.todo | 180 ------- tests/xtro-sharpie/iOS-AVFoundation.todo | 193 ------- tests/xtro-sharpie/macOS-AVFoundation.todo | 150 ------ tests/xtro-sharpie/tvOS-AVFoundation.todo | 180 ------- tests/xtro-sharpie/watchOS-AVFoundation.todo | 72 --- 9 files changed, 499 insertions(+), 1132 deletions(-) diff --git a/src/AVFoundation/Enums.cs b/src/AVFoundation/Enums.cs index 2ff8cbd337c7..c25d37706f9a 100644 --- a/src/AVFoundation/Enums.cs +++ b/src/AVFoundation/Enums.cs @@ -666,7 +666,8 @@ public enum AVCaptureSessionInterruptionReason : long { [Native] public enum AVSpeechSynthesisVoiceQuality : long { Default = 1, - Enhanced + Enhanced, + Premium, } [iOS (9, 0)] diff --git a/src/avfoundation.cs b/src/avfoundation.cs index 28e9cfe2c6d2..2bd43601cb68 100644 --- a/src/avfoundation.cs +++ b/src/avfoundation.cs @@ -3659,7 +3659,7 @@ interface AVSampleBufferRenderSynchronizer void RemoveTimeObserver (NSObject observer); } - [Mac (10,10), NoTV, NoiOS, NoWatch, NoMacCatalyst] + [Mac (10,10), TV (16,0), iOS (16,0), NoWatch, MacCatalyst (16,0)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] interface AVSampleBufferGenerator { @@ -3679,7 +3679,7 @@ interface AVSampleBufferGenerator { void NotifyOfDataReady (CMSampleBuffer sbuf, Action completionHandler); } - [Mac (10,10), NoTV, NoiOS, NoWatch, NoMacCatalyst] + [Mac (10,10), TV (16,0), iOS (16,0), NoWatch, MacCatalyst (16,0)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] interface AVSampleBufferRequest { @@ -4854,8 +4854,7 @@ interface AVAssetTrack : NSCopying { void LoadSegment (CMTime trackTime, Action completionHandler); } - [Mac (10,10), NoiOS, NoTV, NoWatch] - [NoMacCatalyst] + [Mac (10,10), iOS (16,0), TV (16,0), Watch (9,0), MacCatalyst (16,0)] [DisableDefaultCtor] [BaseType (typeof (NSObject))] interface AVSampleCursor : NSCopying { @@ -9928,6 +9927,9 @@ interface AVCapturePhotoSettings : NSCopying [Export ("autoStillImageStabilizationEnabled")] bool IsAutoStillImageStabilizationEnabled { [Bind ("isAutoStillImageStabilizationEnabled")] get; set; } + [Deprecated (PlatformName.MacOSX, 13, 0, message: "Use MaxPhotoDimensions instead.")] + [Deprecated (PlatformName.iOS, 16, 0, message: "Use MaxPhotoDimensions instead.")] + [Deprecated (PlatformName.MacCatalyst, 16, 0, message: "Use MaxPhotoDimensions instead.")] [Export ("highResolutionPhotoEnabled")] bool IsHighResolutionPhotoEnabled { [Bind ("isHighResolutionPhotoEnabled")] get; set; } @@ -10065,6 +10067,10 @@ interface AVCapturePhotoSettings : NSCopying [NoMac] [Export ("autoContentAwareDistortionCorrectionEnabled")] bool AutoContentAwareDistortionCorrectionEnabled { [Bind ("isAutoContentAwareDistortionCorrectionEnabled")] get; set; } + + [NoWatch, NoTV, MacCatalyst (16, 0), Mac (13, 0), iOS (16, 0)] + [Export ("maxPhotoDimensions", ArgumentSemantic.Assign)] + CMVideoDimensions MaxPhotoDimensions { get; set; } } [Introduced (PlatformName.MacCatalyst, 14, 0)] @@ -10275,6 +10281,8 @@ interface AVCapturePhotoOutput [NullAllowed,Export ("photoSettingsForSceneMonitoring", ArgumentSemantic.Copy)] AVCapturePhotoSettings PhotoSettingsForSceneMonitoring { get; set; } + [Deprecated (PlatformName.iOS, 16, 0, message: "Use maxPhotoDimensions instead.")] + [Deprecated (PlatformName.MacCatalyst, 16, 0, message: "Use maxPhotoDimensions instead.")] [NoMac] [Export ("highResolutionCaptureEnabled")] bool IsHighResolutionCaptureEnabled { [Bind ("isHighResolutionCaptureEnabled")] get; set; } @@ -10443,6 +10451,14 @@ interface AVCapturePhotoOutput [NoMac] [Export ("contentAwareDistortionCorrectionEnabled")] bool ContentAwareDistortionCorrectionEnabled { [Bind ("isContentAwareDistortionCorrectionEnabled")] get; set; } + + [NoWatch, NoTV, MacCatalyst (16, 0), Mac (13, 0), iOS (16, 0)] + [Export ("maxPhotoDimensions", ArgumentSemantic.Assign)] + CMVideoDimensions MaxPhotoDimensions { get; set; } + + [NoWatch, NoTV, MacCatalyst (16, 0), Mac (13, 0), iOS (16, 0)] + [Export ("preservesLivePhotoCaptureSuspendedOnSessionStop")] + bool PreservesLivePhotoCaptureSuspendedOnSessionStop { get; set; } } [Introduced (PlatformName.MacCatalyst, 14, 0)] @@ -11554,6 +11570,18 @@ interface AVCaptureDeviceFormat { [NoWatch, NoTV, MacCatalyst (15,0), Mac (12,0), iOS (15,0)] [Export ("videoFrameRateRangeForPortraitEffect")] AVFrameRateRange VideoFrameRateRangeForPortraitEffect { get; } + + [NoWatch, NoTV, MacCatalyst (16, 0), Mac (13, 0), iOS (16, 0)] + [Export ("supportedMaxPhotoDimensions")] + NSValue[] SupportedMaxPhotoDimensions { get; } + + [NoWatch, NoTV, MacCatalyst (16, 0), Mac (13, 0), iOS (16, 0)] + [Export ("secondaryNativeResolutionZoomFactors")] + NSNumber[] SecondaryNativeResolutionZoomFactors { get; } + + [NoWatch, NoTV, NoMac, MacCatalyst (16, 0), iOS (16, 0)] + [Export ("supportedVideoZoomFactorsForDepthDataDelivery")] + NSNumber[] SupportedVideoZoomFactorsForDepthDataDelivery { get; } } delegate void AVCaptureCompletionHandler (CMSampleBuffer imageDataSampleBuffer, NSError error); @@ -13064,6 +13092,11 @@ interface AVPlayerLayer { [iOS (9,0), Mac (10,11)] [Export ("pixelBufferAttributes", ArgumentSemantic.Copy), NullAllowed] NSDictionary WeakPixelBufferAttributes { get; set; } + + [TV (16, 0), NoWatch, Mac (13, 0), iOS (16, 0), MacCatalyst (16,0)] + [NullAllowed, Export ("copyDisplayedPixelBuffer")] + [return: Release] + CVPixelBuffer CopyDisplayedPixelBuffer { get; } } [NoWatch] @@ -13174,36 +13207,88 @@ interface AVPlayerInterstitialEvent AVPlayerInterstitialEvent GetPlayerInterstitialEvent (AVPlayerItem primaryItem, [NullAllowed] string identifier, CMTime time, AVPlayerItem[] templateItems, AVPlayerInterstitialEventRestrictions restrictions, CMTime resumptionOffset, CMTime playoutLimit, [NullAllowed] NSDictionary userDefinedAttributes); [NullAllowed, Export ("primaryItem", ArgumentSemantic.Weak)] - AVPlayerItem PrimaryItem { get; } + AVPlayerItem PrimaryItem { + get; + [Watch (9, 0), TV (16, 0), Mac (13, 0), iOS (16, 0)] + set; + } [Export ("time")] - CMTime Time { get; } + CMTime Time { + get; + [Watch (9, 0), TV (16, 0), Mac (13, 0), iOS (16, 0)] + set; + } [NullAllowed, Export ("date")] - NSDate Date { get; } + NSDate Date { + get; + [Watch (9, 0), TV (16, 0), Mac (13, 0), iOS (16, 0)] + set; + } [Export ("templateItems")] - AVPlayerItem[] TemplateItems { get; } + AVPlayerItem[] TemplateItems { + get; + [Watch (9, 0), TV (16, 0), Mac (13, 0), iOS (16, 0)] + set; + } [Export ("restrictions")] - AVPlayerInterstitialEventRestrictions Restrictions { get; } + AVPlayerInterstitialEventRestrictions Restrictions { + get; + [Watch (9, 0), TV (16, 0), Mac (13, 0), iOS (16, 0)] + set; + } [Export ("resumptionOffset")] - CMTime ResumptionOffset { get; } + CMTime ResumptionOffset { + get; + [Watch (9, 0), TV (16, 0), Mac (13, 0), iOS (16, 0)] + set; + } [iOS (15,0), TV (15,0), MacCatalyst (15,0), Mac (12,0), Watch (8,0)] [Export ("identifier")] - string Identifier { get; } + string Identifier { + get; + [Watch (9, 0), TV (16, 0), Mac (13, 0), iOS (16, 0)] + set; + } [iOS (15,0), TV (15,0), MacCatalyst (15,0), Mac (12,0), Watch (8,0)] [Export ("playoutLimit")] - CMTime PlayoutLimit { get; } + CMTime PlayoutLimit { + get; + [Watch (9, 0), TV (16, 0), Mac (13, 0), iOS (16, 0)] + set; + } // not a strong dictionary: // Storage for attributes defined by the client or the content vendor. Attribute names should begin with X- for uniformity with server insertion. [iOS (15,0), TV (15,0), MacCatalyst (15,0), Mac (12,0), Watch (8,0)] [Export ("userDefinedAttributes")] - NSDictionary UserDefinedAttributes { get; } + NSDictionary UserDefinedAttributes { + get; + [Watch (9, 0), TV (16, 0), Mac (13, 0), iOS (16, 0)] + set; + } + + [Watch (9, 0), TV (16, 0), Mac (13, 0), iOS (16, 0), MacCatalyst (16,0)] + [Export ("alignsResumptionWithPrimarySegmentBoundary")] + bool AlignsResumptionWithPrimarySegmentBoundary { get; set; } + + [Watch (9, 0), TV (16, 0), Mac (13, 0), iOS (16, 0), MacCatalyst (16,0)] + [Export ("cue", ArgumentSemantic.Retain)] + string Cue { get; set; } + + [Watch (9, 0), TV (16, 0), Mac (13, 0), iOS (16, 0), MacCatalyst (16,0)] + [Export ("alignsStartWithPrimarySegmentBoundary")] + bool AlignsStartWithPrimarySegmentBoundary { get; set; } + + [Watch (9, 0), TV (16, 0), Mac (13, 0), iOS (16, 0), MacCatalyst (16,0)] + [Export ("willPlayOnce")] + bool WillPlayOnce { get; set; } } [DisableDefaultCtor] @@ -15908,4 +15993,403 @@ interface AVCaptionConversionAdjustment string AdjustmentType { get; } } + [Watch (9,0), TV (16,0), Mac (13,0), iOS (16,0), MacCatalyst (16,0)] + [BaseType (typeof(NSObject))] + [DisableDefaultCtor] + interface AVAssetPlaybackAssistant + { + [Static] + [Export ("assetPlaybackAssistantWithAsset:")] + AVAssetPlaybackAssistant Create (AVAsset asset); + + [Async] + [Export ("loadPlaybackConfigurationOptionsWithCompletionHandler:")] + void LoadPlaybackConfigurationOptions (Action> completionHandler); + } + + [TV (16,0), NoWatch, Mac (13,0), iOS (16,0), MacCatalyst (16,0)] + [BaseType (typeof(AVMusicEvent))] + interface AVAUPresetEvent + { + [Export ("initWithScope:element:dictionary:")] + NativeHandle Constructor (uint scope, uint element, NSDictionary presetDictionary); + + [Export ("scope")] + uint Scope { get; set; } + + [Export ("element")] + uint Element { get; set; } + + [Export ("presetDictionary", ArgumentSemantic.Copy)] + NSDictionary PresetDictionary { get; } + } + + [TV (16,0), NoWatch, Mac (13,0), iOS (16,0), MacCatalyst (16,0)] + [BaseType (typeof(AVMusicEvent))] + interface AVExtendedNoteOnEvent + { + [Export ("initWithMIDINote:velocity:groupID:duration:")] + NativeHandle Constructor (float midiNote, float velocity, uint groupID, double duration); + + [Export ("initWithMIDINote:velocity:instrumentID:groupID:duration:")] + NativeHandle Constructor (float midiNote, float velocity, uint instrumentID, uint groupID, double duration); + + [Export ("midiNote")] + float MidiNote { get; set; } + + [Export ("velocity")] + float Velocity { get; set; } + + [Export ("instrumentID")] + uint InstrumentId { get; set; } + + [Export ("groupID")] + uint GroupId { get; set; } + + [Export ("duration")] + double Duration { get; set; } + } + + [TV (16,0), NoWatch, Mac (13,0), iOS (16,0)] + [BaseType (typeof (AVMusicEvent), Name="AVMIDIChannelEvent")] + interface AVMidiChannelEvent + { + [Export ("channel")] + uint Channel { get; set; } + } + + [TV (16,0), NoWatch, Mac (13,0), iOS (16,0), MacCatalyst (16,0)] + [BaseType (typeof (AVMidiChannelEvent), Name="AVMIDIChannelPressureEvent")] + interface AVMidiChannelPressureEvent + { + [Export ("initWithChannel:pressure:")] + NativeHandle Constructor (uint channel, uint pressure); + + [Export ("pressure")] + uint Pressure { get; set; } + } + + [TV (16,0), NoWatch, Mac (13,0), iOS (16,0)] + [Native] + public enum AVMidiControlChangeMessageType : long + { + BankSelect = 0, + ModWheel = 1, + Breath = 2, + Foot = 4, + PortamentoTime = 5, + DataEntry = 6, + Volume = 7, + Balance = 8, + Pan = 10, + Expression = 11, + Sustain = 64, + Portamento = 65, + Sostenuto = 66, + Soft = 67, + LegatoPedal = 68, + Hold2Pedal = 69, + FilterResonance = 71, + ReleaseTime = 72, + AttackTime = 73, + Brightness = 74, + DecayTime = 75, + VibratoRate = 76, + VibratoDepth = 77, + VibratoDelay = 78, + ReverbLevel = 91, + ChorusLevel = 93, + RpnLsb = 100, + RpnMsb = 101, + AllSoundOff = 120, + ResetAllControllers = 121, + AllNotesOff = 123, + OmniModeOff = 124, + OmniModeOn = 125, + MonoModeOn = 126, + MonoModeOff = 127, + } + + [TV (16,0), NoWatch, Mac (13,0), iOS (16,0)] + [Native] + public enum AVMidiMetaEventType : long + { + SequenceNumber = 0, + Text = 1, + Copyright = 2, + TrackName = 3, + Instrument = 4, + Lyric = 5, + Marker = 6, + CuePoint = 7, + MidiChannel = 32, + MidiPort = 33, + EndOfTrack = 47, + Tempo = 81, + SmpteOffset = 84, + TimeSignature = 88, + KeySignature = 89, + ProprietaryEvent = 127, + } + + [TV (16,0), NoWatch, Mac (13,0), iOS (16,0)] + [BaseType (typeof (AVMidiChannelEvent), Name="AVMIDIControlChangeEvent")] + interface AVMidiControlChangeEvent + { + [Export ("initWithChannel:messageType:value:")] + NativeHandle Constructor (uint channel, AVMidiControlChangeMessageType messageType, uint value); + + [Export ("messageType")] + AVMidiControlChangeMessageType MessageType { get; } + + [Export ("value")] + uint Value { get; } + } + + [TV (16,0), NoWatch, Mac (13,0), iOS (16,0), MacCatalyst (16,0)] + [BaseType (typeof (NSObject))] + interface AVMusicEvent { } + + [TV (16,0), NoWatch, Mac (13,0), iOS (16,0), MacCatalyst (16,0)] + [BaseType (typeof (AVMusicEvent), Name="AVMIDIMetaEvent")] + interface AVMIDIMetaEvent + { + [Export ("initWithType:data:")] + NativeHandle Constructor (AVMidiMetaEventType type, NSData data); + + [Export ("type")] + AVMidiMetaEventType Type { get; } + } + + [TV (16,0), NoWatch, Mac (13,0), iOS (16,0), MacCatalyst (16,0)] + [BaseType (typeof (AVMusicEvent), Name="AVMIDINoteEvent")] + interface AVMidiNoteEvent + { + [Export ("initWithChannel:key:velocity:duration:")] + NativeHandle Constructor (uint channel, uint keyNum, uint velocity, double duration); + + [Export ("channel")] + uint Channel { get; set; } + + [Export ("key")] + uint Key { get; set; } + + [Export ("velocity")] + uint Velocity { get; set; } + + [Export ("duration")] + double Duration { get; set; } + } + + [TV (16,0), NoWatch, Mac (13,0), iOS (16,0), MacCatalyst (16,0)] + [BaseType (typeof (AVMidiChannelEvent), Name="AVMIDIPitchBendEvent")] + interface AVMidiPitchBendEvent + { + [Export ("initWithChannel:value:")] + NativeHandle Constructor (uint channel, uint value); + + [Export ("value")] + uint Value { get; set; } + } + + [TV (16,0), NoWatch, Mac (13,0), iOS (16,0), MacCatalyst (16,0)] + [BaseType (typeof (AVMidiChannelEvent), Name="AVMIDIPolyPressureEvent")] + interface AVMidiPolyPressureEvent + { + [Export ("initWithChannel:key:pressure:")] + NativeHandle Constructor (uint channel, uint key, uint pressure); + + [Export ("key")] + uint Key { get; set; } + + [Export ("pressure")] + uint Pressure { get; set; } + } + + [TV (16,0), NoWatch, Mac (13,0), iOS (16,0), MacCatalyst (16,0)] + [BaseType (typeof (AVMidiChannelEvent), Name="AVMIDIProgramChangeEvent")] + interface AVMidiProgramChangeEvent + { + [Export ("initWithChannel:programNumber:")] + NativeHandle Constructor (uint channel, uint programNumber); + + [Export ("programNumber")] + uint ProgramNumber { get; set; } + } + + [TV (16,0), NoWatch, Mac (13,0), iOS (16,0), MacCatalyst (16,0)] + [BaseType (typeof (AVMusicEvent), Name="AVMIDISysexEvent")] + interface AVMidiSysexEvent + { + [Export ("initWithData:")] + NativeHandle Constructor (NSData data); + + [Export ("sizeInBytes")] + uint SizeInBytes { get; } + } + + [TV (16,0), NoWatch, Mac (13,0), iOS (16,0), MacCatalyst (16,0)] + [BaseType (typeof (AVMusicEvent))] + interface AVExtendedTempoEvent + { + [Export ("initWithTempo:")] + NativeHandle Constructor (double tempo); + + [Export ("tempo")] + double Tempo { get; set; } + } + + [TV (16,0), NoWatch, Mac (13,0), iOS (16,0), MacCatalyst (16,0)] + [BaseType (typeof (AVMusicEvent))] + interface AVMusicUserEvent + { + [Export ("initWithData:")] + NativeHandle Constructor (NSData data); + + [Export ("sizeInBytes")] + uint SizeInBytes { get; } + } + + [TV (16,0), NoWatch, Mac (13,0), iOS (16,0), MacCatalyst (16,0)] + [BaseType (typeof (AVMusicEvent))] + interface AVParameterEvent + { + [Export ("initWithParameterID:scope:element:value:")] + NativeHandle Constructor (uint parameterId, uint scope, uint element, float value); + + [Export ("parameterID")] + uint ParameterId { get; set; } + + [Export ("scope")] + uint Scope { get; set; } + + [Export ("element")] + uint Element { get; set; } + + [Export ("value")] + float Value { get; set; } + } + + [Watch (9,0), TV (16,0), Mac (13,0), iOS (16,0)] + [Native] + public enum AVSpeechSynthesisMarkerMark : long + { + Phoneme, + Word, + Sentence, + Paragraph, + } + + [Watch (9,0), TV (16,0), Mac (13,0), iOS (16,0)] + [BaseType (typeof(NSObject))] + interface AVSpeechSynthesisMarker : NSSecureCoding, NSCopying + { + [Export ("mark", ArgumentSemantic.Assign)] + AVSpeechSynthesisMarkerMark Mark { get; set; } + + [Export ("byteSampleOffset")] + nuint ByteSampleOffset { get; set; } + + [Export ("textRange", ArgumentSemantic.Assign)] + NSRange TextRange { get; set; } + + [Export ("initWithMarkerType:forTextRange:atByteSampleOffset:")] + NativeHandle Constructor (AVSpeechSynthesisMarkerMark type, NSRange range, nuint byteSampleOffset); + } + + [TV (16,0), NoWatch, Mac (13,0), iOS (16,0), MacCatalyst (16,0)] + delegate void AVSpeechSynthesisProviderOutputBlock (AVSpeechSynthesisMarker[] markers, AVSpeechSynthesisProviderRequest speechRequest); + + [TV (16,0), NoWatch, Mac (13,0), iOS (16,0), MacCatalyst (16,0)] + [BaseType (typeof (AUAudioUnit))] + interface AVSpeechSynthesisProviderAudioUnit + { + [Export ("speechVoices", ArgumentSemantic.Strong)] + AVSpeechSynthesisProviderVoice[] SpeechVoices { get; set; } + + [NullAllowed, Export ("speechSynthesisOutputMetadataBlock", ArgumentSemantic.Copy)] + AVSpeechSynthesisProviderOutputBlock SpeechSynthesisOutputMetadataBlock { get; set; } + + [Export ("synthesizeSpeechRequest:")] + void SynthesizeSpeechRequest (AVSpeechSynthesisProviderRequest speechRequest); + + [Export ("cancelSpeechRequest")] + void CancelSpeechRequest (); + } + + [Watch (9,0), TV (16,0), Mac (13,0), iOS (16,0), MacCatalyst (16,0)] + [BaseType (typeof(NSObject))] + [DisableDefaultCtor] + interface AVSpeechSynthesisProviderRequest : NSSecureCoding, NSCopying + { + [Export ("ssmlRepresentation")] + string SsmlRepresentation { get; } + + [Export ("voice")] + AVSpeechSynthesisProviderVoice Voice { get; } + + [Export ("initWithSSMLRepresentation:voice:")] + NativeHandle Constructor (string text, AVSpeechSynthesisProviderVoice voice); + } + + [Watch (9,0), TV (16,0), Mac (13,0), iOS (16,0), MacCatalyst (16,0)] + [BaseType (typeof (NSObject))] + [DisableDefaultCtor] + interface AVSpeechSynthesisProviderVoice : NSSecureCoding, NSCopying + { + [Export ("name")] + string Name { get; } + + [Export ("identifier")] + string Identifier { get; } + + [Export ("primaryLanguages")] + string[] PrimaryLanguages { get; } + + [Export ("supportedLanguages")] + string[] SupportedLanguages { get; } + + [Export ("voiceSize")] + long VoiceSize { get; set; } + + [Export ("version", ArgumentSemantic.Strong)] + string Version { get; set; } + + [Export ("gender", ArgumentSemantic.Assign)] + AVSpeechSynthesisVoiceGender Gender { get; set; } + + [Export ("age")] + nint Age { get; set; } + + [Export ("initWithName:identifier:primaryLanguages:supportedLanguages:")] + NativeHandle Constructor (string name, string identifier, string[] primaryLanguages, string[] supportedLanguages); + + [Static] + [Export ("updateSpeechVoices")] + void UpdateSpeechVoices (); + } + + [Watch (9,0), TV (16,0), Mac (13,0), iOS (16,0), MacCatalyst (16,0)] + [BaseType (typeof (NSObject))] + [DisableDefaultCtor] + interface AVSampleBufferGeneratorBatch + { + [Export ("makeDataReadyWithCompletionHandler:")] + void MakeDataReadyWithCompletionHandler (Action completionHandler); + + [Export ("cancel")] + void Cancel (); + } + + [TV (16,0), NoWatch, Mac (1,3), iOS (16,0), MacCatalyst (16,0)] + [Native, Flags] + public enum AVAssetTrackGroupOutputHandling : ulong + { + None = 0x0, + PreserveAlternateTracks = (1uL << 0), + DefaultPolicy = None, + } + + + } diff --git a/tests/xtro-sharpie/api-annotations-dotnet/iOS-AVFoundation.todo b/tests/xtro-sharpie/api-annotations-dotnet/iOS-AVFoundation.todo index aa8f3b802390..d705a6a77352 100644 --- a/tests/xtro-sharpie/api-annotations-dotnet/iOS-AVFoundation.todo +++ b/tests/xtro-sharpie/api-annotations-dotnet/iOS-AVFoundation.todo @@ -16,10 +16,6 @@ !deprecated-attribute-missing! AVMutableComposition::insertTimeRange:ofAsset:atTime:error: missing a [Deprecated] attribute !deprecated-attribute-missing! AVURLAsset::compatibleTrackForCompositionTrack: missing a [Deprecated] attribute !deprecated-attribute-missing! AVVideoComposition::isValidForAsset:timeRange:validationDelegate: missing a [Deprecated] attribute -!missing-enum! AVAssetTrackGroupOutputHandling not bound -!missing-enum! AVMIDIControlChangeMessageType not bound -!missing-enum! AVMIDIMetaEventType not bound -!missing-enum! AVSpeechSynthesisMarkerMark not bound !missing-enum-value! AVError native value AVErrorAirPlayReceiverTemporarilyUnavailable = -11882 not bound !missing-enum-value! AVError native value AVErrorFailedToLoadSampleData = -11881 not bound !missing-enum-value! AVError native value AVErrorInvalidSampleCursor = -11880 not bound @@ -55,7 +51,6 @@ !missing-field! AVURLAssetPrimarySessionIdentifierKey not bound !missing-field! AVVideoTransferFunction_Linear not bound !missing-protocol-conformance! AVPlayerInterstitialEvent should conform to NSCopying -!missing-selector! +AVAssetPlaybackAssistant::assetPlaybackAssistantWithAsset: not bound !missing-selector! +AVCaptureDevice::isStudioLightEnabled not bound !missing-selector! +AVCaptureDevice::setStudioLightEnabled: not bound !missing-selector! +AVMutableVideoComposition::videoCompositionWithAsset:applyingCIFiltersWithHandler:completionHandler: not bound @@ -63,8 +58,6 @@ !missing-selector! +AVMutableVideoComposition::videoCompositionWithPropertiesOfAsset:prototypeInstruction:completionHandler: not bound !missing-selector! +AVPlayerInterstitialEvent::interstitialEventWithPrimaryItem:date: not bound !missing-selector! +AVPlayerInterstitialEvent::interstitialEventWithPrimaryItem:time: not bound -!missing-selector! +AVSampleBufferGenerator::notifyOfDataReadyForSampleBuffer:completionHandler: not bound -!missing-selector! +AVSpeechSynthesisProviderVoice::updateSpeechVoices not bound !missing-selector! +AVSpeechUtterance::speechUtteranceWithSSMLRepresentation: not bound !missing-selector! +AVVideoComposition::videoCompositionWithAsset:applyingCIFiltersWithHandler:completionHandler: not bound !missing-selector! +AVVideoComposition::videoCompositionWithPropertiesOfAsset:completionHandler: not bound @@ -72,7 +65,6 @@ !missing-selector! AVAssetExportSession::audioTrackGroupHandling not bound !missing-selector! AVAssetExportSession::setAudioTrackGroupHandling: not bound !missing-selector! AVAssetImageGenerator::generateCGImageAsynchronouslyForTime:completionHandler: not bound -!missing-selector! AVAssetPlaybackAssistant::loadPlaybackConfigurationOptionsWithCompletionHandler: not bound !missing-selector! AVAssetResourceLoadingContentInformationRequest::isEntireLengthAvailableOnDemand not bound !missing-selector! AVAssetResourceLoadingContentInformationRequest::setEntireLengthAvailableOnDemand: not bound !missing-selector! AVAssetTrack::canProvideSampleCursors not bound @@ -89,12 +81,6 @@ !missing-selector! AVAudioUnitComponent::icon not bound !missing-selector! AVAudioUnitComponent::passesAUVal not bound !missing-selector! AVAudioUnitMIDIInstrument::sendMIDIEventList: not bound -!missing-selector! AVAUPresetEvent::element not bound -!missing-selector! AVAUPresetEvent::initWithScope:element:dictionary: not bound -!missing-selector! AVAUPresetEvent::presetDictionary not bound -!missing-selector! AVAUPresetEvent::scope not bound -!missing-selector! AVAUPresetEvent::setElement: not bound -!missing-selector! AVAUPresetEvent::setScope: not bound !missing-selector! AVCaptureDevice::companionDeskViewCamera not bound !missing-selector! AVCaptureDevice::isContinuityCamera not bound !missing-selector! AVCaptureDevice::isStudioLightActive not bound @@ -113,53 +99,6 @@ !missing-selector! AVCompositionTrack::hasMediaCharacteristic: not bound !missing-selector! AVCompositionTrack::metadataForFormat: not bound !missing-selector! AVCompositionTrack::samplePresentationTimeForTrackTime: not bound -!missing-selector! AVExtendedNoteOnEvent::duration not bound -!missing-selector! AVExtendedNoteOnEvent::groupID not bound -!missing-selector! AVExtendedNoteOnEvent::initWithMIDINote:velocity:groupID:duration: not bound -!missing-selector! AVExtendedNoteOnEvent::initWithMIDINote:velocity:instrumentID:groupID:duration: not bound -!missing-selector! AVExtendedNoteOnEvent::instrumentID not bound -!missing-selector! AVExtendedNoteOnEvent::midiNote not bound -!missing-selector! AVExtendedNoteOnEvent::setDuration: not bound -!missing-selector! AVExtendedNoteOnEvent::setGroupID: not bound -!missing-selector! AVExtendedNoteOnEvent::setInstrumentID: not bound -!missing-selector! AVExtendedNoteOnEvent::setMidiNote: not bound -!missing-selector! AVExtendedNoteOnEvent::setVelocity: not bound -!missing-selector! AVExtendedNoteOnEvent::velocity not bound -!missing-selector! AVExtendedTempoEvent::initWithTempo: not bound -!missing-selector! AVExtendedTempoEvent::setTempo: not bound -!missing-selector! AVExtendedTempoEvent::tempo not bound -!missing-selector! AVMIDIChannelEvent::channel not bound -!missing-selector! AVMIDIChannelEvent::setChannel: not bound -!missing-selector! AVMIDIChannelPressureEvent::initWithChannel:pressure: not bound -!missing-selector! AVMIDIChannelPressureEvent::pressure not bound -!missing-selector! AVMIDIChannelPressureEvent::setPressure: not bound -!missing-selector! AVMIDIControlChangeEvent::initWithChannel:messageType:value: not bound -!missing-selector! AVMIDIControlChangeEvent::messageType not bound -!missing-selector! AVMIDIControlChangeEvent::value not bound -!missing-selector! AVMIDIMetaEvent::initWithType:data: not bound -!missing-selector! AVMIDIMetaEvent::type not bound -!missing-selector! AVMIDINoteEvent::channel not bound -!missing-selector! AVMIDINoteEvent::duration not bound -!missing-selector! AVMIDINoteEvent::initWithChannel:key:velocity:duration: not bound -!missing-selector! AVMIDINoteEvent::key not bound -!missing-selector! AVMIDINoteEvent::setChannel: not bound -!missing-selector! AVMIDINoteEvent::setDuration: not bound -!missing-selector! AVMIDINoteEvent::setKey: not bound -!missing-selector! AVMIDINoteEvent::setVelocity: not bound -!missing-selector! AVMIDINoteEvent::velocity not bound -!missing-selector! AVMIDIPitchBendEvent::initWithChannel:value: not bound -!missing-selector! AVMIDIPitchBendEvent::setValue: not bound -!missing-selector! AVMIDIPitchBendEvent::value not bound -!missing-selector! AVMIDIPolyPressureEvent::initWithChannel:key:pressure: not bound -!missing-selector! AVMIDIPolyPressureEvent::key not bound -!missing-selector! AVMIDIPolyPressureEvent::pressure not bound -!missing-selector! AVMIDIPolyPressureEvent::setKey: not bound -!missing-selector! AVMIDIPolyPressureEvent::setPressure: not bound -!missing-selector! AVMIDIProgramChangeEvent::initWithChannel:programNumber: not bound -!missing-selector! AVMIDIProgramChangeEvent::programNumber not bound -!missing-selector! AVMIDIProgramChangeEvent::setProgramNumber: not bound -!missing-selector! AVMIDISysexEvent::initWithData: not bound -!missing-selector! AVMIDISysexEvent::sizeInBytes not bound !missing-selector! AVMusicTrack::addEvent:atBeat: not bound !missing-selector! AVMusicTrack::clearEventsInRange: not bound !missing-selector! AVMusicTrack::copyAndMergeEventsInRange:fromTrack:mergeAtBeat: not bound @@ -169,8 +108,6 @@ !missing-selector! AVMusicTrack::moveEventsInRange:byAmount: not bound !missing-selector! AVMusicTrack::setUsesAutomatedParameters: not bound !missing-selector! AVMusicTrack::usesAutomatedParameters not bound -!missing-selector! AVMusicUserEvent::initWithData: not bound -!missing-selector! AVMusicUserEvent::sizeInBytes not bound !missing-selector! AVMutableComposition::insertTimeRange:ofAsset:atTime:completionHandler: not bound !missing-selector! AVMutableMovie::chapterMetadataGroupsBestMatchingPreferredLanguages: not bound !missing-selector! AVMutableMovie::chapterMetadataGroupsWithTitleLocale:containingItemsWithCommonKeys: not bound @@ -182,150 +119,20 @@ !missing-selector! AVMutableMovieTrack::metadataForFormat: not bound !missing-selector! AVMutableMovieTrack::samplePresentationTimeForTrackTime: not bound !missing-selector! AVMutableMovieTrack::segmentForTrackTime: not bound -!missing-selector! AVParameterEvent::element not bound -!missing-selector! AVParameterEvent::initWithParameterID:scope:element:value: not bound -!missing-selector! AVParameterEvent::parameterID not bound -!missing-selector! AVParameterEvent::scope not bound -!missing-selector! AVParameterEvent::setElement: not bound -!missing-selector! AVParameterEvent::setParameterID: not bound -!missing-selector! AVParameterEvent::setScope: not bound -!missing-selector! AVParameterEvent::setValue: not bound -!missing-selector! AVParameterEvent::value not bound !missing-selector! AVPlayer::defaultRate not bound !missing-selector! AVPlayer::setDefaultRate: not bound -!missing-selector! AVPlayerInterstitialEvent::alignsResumptionWithPrimarySegmentBoundary not bound -!missing-selector! AVPlayerInterstitialEvent::alignsStartWithPrimarySegmentBoundary not bound -!missing-selector! AVPlayerInterstitialEvent::cue not bound -!missing-selector! AVPlayerInterstitialEvent::setAlignsResumptionWithPrimarySegmentBoundary: not bound -!missing-selector! AVPlayerInterstitialEvent::setAlignsStartWithPrimarySegmentBoundary: not bound -!missing-selector! AVPlayerInterstitialEvent::setCue: not bound -!missing-selector! AVPlayerInterstitialEvent::setDate: not bound -!missing-selector! AVPlayerInterstitialEvent::setIdentifier: not bound -!missing-selector! AVPlayerInterstitialEvent::setPlayoutLimit: not bound -!missing-selector! AVPlayerInterstitialEvent::setPrimaryItem: not bound -!missing-selector! AVPlayerInterstitialEvent::setRestrictions: not bound -!missing-selector! AVPlayerInterstitialEvent::setResumptionOffset: not bound -!missing-selector! AVPlayerInterstitialEvent::setTemplateItems: not bound -!missing-selector! AVPlayerInterstitialEvent::setTime: not bound -!missing-selector! AVPlayerInterstitialEvent::setUserDefinedAttributes: not bound -!missing-selector! AVPlayerInterstitialEvent::setWillPlayOnce: not bound -!missing-selector! AVPlayerInterstitialEvent::willPlayOnce not bound !missing-selector! AVRouteDetector::detectsCustomRoutes not bound !missing-selector! AVRouteDetector::setDetectsCustomRoutes: not bound !missing-selector! AVSampleBufferGenerator::createSampleBufferForRequest:addingToBatch:error: not bound !missing-selector! AVSampleBufferGenerator::createSampleBufferForRequest:error: not bound -!missing-selector! AVSampleBufferGenerator::initWithAsset:timebase: not bound !missing-selector! AVSampleBufferGenerator::makeBatch not bound -!missing-selector! AVSampleBufferGeneratorBatch::cancel not bound -!missing-selector! AVSampleBufferGeneratorBatch::makeDataReadyWithCompletionHandler: not bound -!missing-selector! AVSampleBufferRequest::direction not bound -!missing-selector! AVSampleBufferRequest::initWithStartCursor: not bound -!missing-selector! AVSampleBufferRequest::limitCursor not bound -!missing-selector! AVSampleBufferRequest::maxSampleCount not bound -!missing-selector! AVSampleBufferRequest::mode not bound -!missing-selector! AVSampleBufferRequest::overrideTime not bound -!missing-selector! AVSampleBufferRequest::preferredMinSampleCount not bound -!missing-selector! AVSampleBufferRequest::setDirection: not bound -!missing-selector! AVSampleBufferRequest::setLimitCursor: not bound -!missing-selector! AVSampleBufferRequest::setMaxSampleCount: not bound -!missing-selector! AVSampleBufferRequest::setMode: not bound -!missing-selector! AVSampleBufferRequest::setOverrideTime: not bound -!missing-selector! AVSampleBufferRequest::setPreferredMinSampleCount: not bound -!missing-selector! AVSampleBufferRequest::startCursor not bound -!missing-selector! AVSampleCursor::comparePositionInDecodeOrderWithPositionOfCursor: not bound -!missing-selector! AVSampleCursor::copyCurrentSampleFormatDescription not bound -!missing-selector! AVSampleCursor::currentChunkInfo not bound -!missing-selector! AVSampleCursor::currentChunkStorageRange not bound -!missing-selector! AVSampleCursor::currentChunkStorageURL not bound !missing-selector! AVSampleCursor::currentSampleAudioDependencyInfo not bound !missing-selector! AVSampleCursor::currentSampleDependencyAttachments not bound -!missing-selector! AVSampleCursor::currentSampleDependencyInfo not bound -!missing-selector! AVSampleCursor::currentSampleDuration not bound -!missing-selector! AVSampleCursor::currentSampleIndexInChunk not bound -!missing-selector! AVSampleCursor::currentSampleStorageRange not bound -!missing-selector! AVSampleCursor::currentSampleSyncInfo not bound -!missing-selector! AVSampleCursor::decodeTimeStamp not bound -!missing-selector! AVSampleCursor::presentationTimeStamp not bound -!missing-selector! AVSampleCursor::samplesRequiredForDecoderRefresh not bound -!missing-selector! AVSampleCursor::samplesWithEarlierDecodeTimeStampsMayHaveLaterPresentationTimeStampsThanCursor: not bound -!missing-selector! AVSampleCursor::samplesWithLaterDecodeTimeStampsMayHaveEarlierPresentationTimeStampsThanCursor: not bound -!missing-selector! AVSampleCursor::stepByDecodeTime:wasPinned: not bound -!missing-selector! AVSampleCursor::stepByPresentationTime:wasPinned: not bound -!missing-selector! AVSampleCursor::stepInDecodeOrderByCount: not bound -!missing-selector! AVSampleCursor::stepInPresentationOrderByCount: not bound -!missing-selector! AVSpeechSynthesisMarker::byteSampleOffset not bound -!missing-selector! AVSpeechSynthesisMarker::initWithMarkerType:forTextRange:atByteSampleOffset: not bound -!missing-selector! AVSpeechSynthesisMarker::mark not bound -!missing-selector! AVSpeechSynthesisMarker::setByteSampleOffset: not bound -!missing-selector! AVSpeechSynthesisMarker::setMark: not bound -!missing-selector! AVSpeechSynthesisMarker::setTextRange: not bound -!missing-selector! AVSpeechSynthesisMarker::textRange not bound -!missing-selector! AVSpeechSynthesisProviderAudioUnit::cancelSpeechRequest not bound -!missing-selector! AVSpeechSynthesisProviderAudioUnit::setSpeechSynthesisOutputMetadataBlock: not bound -!missing-selector! AVSpeechSynthesisProviderAudioUnit::setSpeechVoices: not bound -!missing-selector! AVSpeechSynthesisProviderAudioUnit::speechSynthesisOutputMetadataBlock not bound -!missing-selector! AVSpeechSynthesisProviderAudioUnit::speechVoices not bound -!missing-selector! AVSpeechSynthesisProviderAudioUnit::synthesizeSpeechRequest: not bound -!missing-selector! AVSpeechSynthesisProviderRequest::initWithSSMLRepresentation:voice: not bound -!missing-selector! AVSpeechSynthesisProviderRequest::ssmlRepresentation not bound -!missing-selector! AVSpeechSynthesisProviderRequest::voice not bound -!missing-selector! AVSpeechSynthesisProviderVoice::age not bound -!missing-selector! AVSpeechSynthesisProviderVoice::gender not bound -!missing-selector! AVSpeechSynthesisProviderVoice::identifier not bound -!missing-selector! AVSpeechSynthesisProviderVoice::initWithName:identifier:primaryLanguages:supportedLanguages: not bound -!missing-selector! AVSpeechSynthesisProviderVoice::name not bound -!missing-selector! AVSpeechSynthesisProviderVoice::primaryLanguages not bound -!missing-selector! AVSpeechSynthesisProviderVoice::setAge: not bound -!missing-selector! AVSpeechSynthesisProviderVoice::setGender: not bound -!missing-selector! AVSpeechSynthesisProviderVoice::setVersion: not bound -!missing-selector! AVSpeechSynthesisProviderVoice::setVoiceSize: not bound -!missing-selector! AVSpeechSynthesisProviderVoice::supportedLanguages not bound -!missing-selector! AVSpeechSynthesisProviderVoice::version not bound -!missing-selector! AVSpeechSynthesisProviderVoice::voiceSize not bound !missing-selector! AVSpeechSynthesizer::writeUtterance:toBufferCallback:toMarkerCallback: not bound !missing-selector! AVSpeechUtterance::initWithSSMLRepresentation: not bound !missing-selector! AVURLAsset::httpSessionIdentifier not bound !missing-selector! AVVideoComposition::determineValidityForAsset:timeRange:validationDelegate:completionHandler: not bound !missing-selector! NSValue::CMVideoDimensionsValue not bound -!missing-type! AVAssetPlaybackAssistant not bound -!missing-type! AVAUPresetEvent not bound -!missing-type! AVExtendedNoteOnEvent not bound -!missing-type! AVExtendedTempoEvent not bound -!missing-type! AVMIDIChannelEvent not bound -!missing-type! AVMIDIChannelPressureEvent not bound -!missing-type! AVMIDIControlChangeEvent not bound -!missing-type! AVMIDIMetaEvent not bound -!missing-type! AVMIDINoteEvent not bound -!missing-type! AVMIDIPitchBendEvent not bound -!missing-type! AVMIDIPolyPressureEvent not bound -!missing-type! AVMIDIProgramChangeEvent not bound -!missing-type! AVMIDISysexEvent not bound -!missing-type! AVMusicEvent not bound -!missing-type! AVMusicUserEvent not bound -!missing-type! AVParameterEvent not bound -!missing-type! AVSampleBufferGenerator not bound -!missing-type! AVSampleBufferGeneratorBatch not bound -!missing-type! AVSampleBufferRequest not bound -!missing-type! AVSampleCursor not bound -!missing-type! AVSpeechSynthesisMarker not bound -!missing-type! AVSpeechSynthesisProviderAudioUnit not bound -!missing-type! AVSpeechSynthesisProviderRequest not bound -!missing-type! AVSpeechSynthesisProviderVoice not bound -!missing-enum-value! AVSpeechSynthesisVoiceQuality native value AVSpeechSynthesisVoiceQualityPremium = 3 not bound -!missing-selector! AVPlayerLayer::copyDisplayedPixelBuffer not bound -!missing-selector! AVCapturePhotoOutput::preservesLivePhotoCaptureSuspendedOnSessionStop not bound -!missing-selector! AVCapturePhotoOutput::setPreservesLivePhotoCaptureSuspendedOnSessionStop: not bound !deprecated-attribute-missing! AVCaptureDeviceFormat::highResolutionStillImageDimensions missing a [Deprecated] attribute !deprecated-attribute-missing! AVCaptureDeviceFormat::videoMaxZoomFactorForDepthDataDelivery missing a [Deprecated] attribute !deprecated-attribute-missing! AVCaptureDeviceFormat::videoMinZoomFactorForDepthDataDelivery missing a [Deprecated] attribute -!deprecated-attribute-missing! AVCapturePhotoOutput::isHighResolutionCaptureEnabled missing a [Deprecated] attribute -!deprecated-attribute-missing! AVCapturePhotoOutput::setHighResolutionCaptureEnabled: missing a [Deprecated] attribute -!deprecated-attribute-missing! AVCapturePhotoSettings::isHighResolutionPhotoEnabled missing a [Deprecated] attribute -!deprecated-attribute-missing! AVCapturePhotoSettings::setHighResolutionPhotoEnabled: missing a [Deprecated] attribute -!missing-selector! AVCaptureDeviceFormat::secondaryNativeResolutionZoomFactors not bound -!missing-selector! AVCaptureDeviceFormat::supportedMaxPhotoDimensions not bound -!missing-selector! AVCaptureDeviceFormat::supportedVideoZoomFactorsForDepthDataDelivery not bound -!missing-selector! AVCapturePhotoOutput::maxPhotoDimensions not bound -!missing-selector! AVCapturePhotoOutput::setMaxPhotoDimensions: not bound -!missing-selector! AVCapturePhotoSettings::maxPhotoDimensions not bound -!missing-selector! AVCapturePhotoSettings::setMaxPhotoDimensions: not bound diff --git a/tests/xtro-sharpie/api-annotations-dotnet/macOS-AVFoundation.todo b/tests/xtro-sharpie/api-annotations-dotnet/macOS-AVFoundation.todo index 66b8cb22f7d2..f061e11ca829 100644 --- a/tests/xtro-sharpie/api-annotations-dotnet/macOS-AVFoundation.todo +++ b/tests/xtro-sharpie/api-annotations-dotnet/macOS-AVFoundation.todo @@ -15,11 +15,7 @@ !deprecated-attribute-missing! AVMutableComposition::insertTimeRange:ofAsset:atTime:error: missing a [Deprecated] attribute !deprecated-attribute-missing! AVURLAsset::compatibleTrackForCompositionTrack: missing a [Deprecated] attribute !deprecated-attribute-missing! AVVideoComposition::isValidForAsset:timeRange:validationDelegate: missing a [Deprecated] attribute -!missing-enum! AVAssetTrackGroupOutputHandling not bound !missing-enum! AVCapturePhotoQualityPrioritization not bound -!missing-enum! AVMIDIControlChangeMessageType not bound -!missing-enum! AVMIDIMetaEventType not bound -!missing-enum! AVSpeechSynthesisMarkerMark not bound !missing-enum-value! AVError native value AVErrorAirPlayReceiverTemporarilyUnavailable = -11882 not bound !missing-enum-value! AVError native value AVErrorFailedToLoadSampleData = -11881 not bound !missing-enum-value! AVError native value AVErrorInvalidSampleCursor = -11880 not bound @@ -57,7 +53,6 @@ !missing-field! AVVideoTransferFunction_Linear not bound !missing-protocol! AVCaptureMetadataOutputObjectsDelegate not bound !missing-protocol-conformance! AVPlayerInterstitialEvent should conform to NSCopying -!missing-selector! +AVAssetPlaybackAssistant::assetPlaybackAssistantWithAsset: not bound !missing-selector! +AVCaptureDevice::isStudioLightEnabled not bound !missing-selector! +AVCaptureDevice::setStudioLightEnabled: not bound !missing-selector! +AVCaptureDevice::setUserAVCaptureDevice: not bound @@ -68,7 +63,6 @@ !missing-selector! +AVMutableVideoComposition::videoCompositionWithPropertiesOfAsset:prototypeInstruction:completionHandler: not bound !missing-selector! +AVPlayerInterstitialEvent::interstitialEventWithPrimaryItem:date: not bound !missing-selector! +AVPlayerInterstitialEvent::interstitialEventWithPrimaryItem:time: not bound -!missing-selector! +AVSpeechSynthesisProviderVoice::updateSpeechVoices not bound !missing-selector! +AVSpeechUtterance::speechUtteranceWithSSMLRepresentation: not bound !missing-selector! +AVVideoComposition::videoCompositionWithAsset:applyingCIFiltersWithHandler:completionHandler: not bound !missing-selector! +AVVideoComposition::videoCompositionWithPropertiesOfAsset:completionHandler: not bound @@ -76,7 +70,6 @@ !missing-selector! AVAssetExportSession::audioTrackGroupHandling not bound !missing-selector! AVAssetExportSession::setAudioTrackGroupHandling: not bound !missing-selector! AVAssetImageGenerator::generateCGImageAsynchronouslyForTime:completionHandler: not bound -!missing-selector! AVAssetPlaybackAssistant::loadPlaybackConfigurationOptionsWithCompletionHandler: not bound !missing-selector! AVAssetResourceLoadingContentInformationRequest::isEntireLengthAvailableOnDemand not bound !missing-selector! AVAssetResourceLoadingContentInformationRequest::setEntireLengthAvailableOnDemand: not bound !missing-selector! AVAudioEngine::connectMIDI:to:format:eventListBlock: not bound @@ -86,12 +79,6 @@ !missing-selector! AVAudioSequencer::reverseEvents not bound !missing-selector! AVAudioSequencer::setUserCallback: not bound !missing-selector! AVAudioUnitMIDIInstrument::sendMIDIEventList: not bound -!missing-selector! AVAUPresetEvent::element not bound -!missing-selector! AVAUPresetEvent::initWithScope:element:dictionary: not bound -!missing-selector! AVAUPresetEvent::presetDictionary not bound -!missing-selector! AVAUPresetEvent::scope not bound -!missing-selector! AVAUPresetEvent::setElement: not bound -!missing-selector! AVAUPresetEvent::setScope: not bound !missing-selector! AVCaptionRegion::isEqual: not bound !missing-selector! AVCaptureDevice::companionDeskViewCamera not bound !missing-selector! AVCaptureDevice::isContinuityCamera not bound @@ -121,53 +108,6 @@ !missing-selector! AVCompositionTrack::hasMediaCharacteristic: not bound !missing-selector! AVCompositionTrack::metadataForFormat: not bound !missing-selector! AVCompositionTrack::samplePresentationTimeForTrackTime: not bound -!missing-selector! AVExtendedNoteOnEvent::duration not bound -!missing-selector! AVExtendedNoteOnEvent::groupID not bound -!missing-selector! AVExtendedNoteOnEvent::initWithMIDINote:velocity:groupID:duration: not bound -!missing-selector! AVExtendedNoteOnEvent::initWithMIDINote:velocity:instrumentID:groupID:duration: not bound -!missing-selector! AVExtendedNoteOnEvent::instrumentID not bound -!missing-selector! AVExtendedNoteOnEvent::midiNote not bound -!missing-selector! AVExtendedNoteOnEvent::setDuration: not bound -!missing-selector! AVExtendedNoteOnEvent::setGroupID: not bound -!missing-selector! AVExtendedNoteOnEvent::setInstrumentID: not bound -!missing-selector! AVExtendedNoteOnEvent::setMidiNote: not bound -!missing-selector! AVExtendedNoteOnEvent::setVelocity: not bound -!missing-selector! AVExtendedNoteOnEvent::velocity not bound -!missing-selector! AVExtendedTempoEvent::initWithTempo: not bound -!missing-selector! AVExtendedTempoEvent::setTempo: not bound -!missing-selector! AVExtendedTempoEvent::tempo not bound -!missing-selector! AVMIDIChannelEvent::channel not bound -!missing-selector! AVMIDIChannelEvent::setChannel: not bound -!missing-selector! AVMIDIChannelPressureEvent::initWithChannel:pressure: not bound -!missing-selector! AVMIDIChannelPressureEvent::pressure not bound -!missing-selector! AVMIDIChannelPressureEvent::setPressure: not bound -!missing-selector! AVMIDIControlChangeEvent::initWithChannel:messageType:value: not bound -!missing-selector! AVMIDIControlChangeEvent::messageType not bound -!missing-selector! AVMIDIControlChangeEvent::value not bound -!missing-selector! AVMIDIMetaEvent::initWithType:data: not bound -!missing-selector! AVMIDIMetaEvent::type not bound -!missing-selector! AVMIDINoteEvent::channel not bound -!missing-selector! AVMIDINoteEvent::duration not bound -!missing-selector! AVMIDINoteEvent::initWithChannel:key:velocity:duration: not bound -!missing-selector! AVMIDINoteEvent::key not bound -!missing-selector! AVMIDINoteEvent::setChannel: not bound -!missing-selector! AVMIDINoteEvent::setDuration: not bound -!missing-selector! AVMIDINoteEvent::setKey: not bound -!missing-selector! AVMIDINoteEvent::setVelocity: not bound -!missing-selector! AVMIDINoteEvent::velocity not bound -!missing-selector! AVMIDIPitchBendEvent::initWithChannel:value: not bound -!missing-selector! AVMIDIPitchBendEvent::setValue: not bound -!missing-selector! AVMIDIPitchBendEvent::value not bound -!missing-selector! AVMIDIPolyPressureEvent::initWithChannel:key:pressure: not bound -!missing-selector! AVMIDIPolyPressureEvent::key not bound -!missing-selector! AVMIDIPolyPressureEvent::pressure not bound -!missing-selector! AVMIDIPolyPressureEvent::setKey: not bound -!missing-selector! AVMIDIPolyPressureEvent::setPressure: not bound -!missing-selector! AVMIDIProgramChangeEvent::initWithChannel:programNumber: not bound -!missing-selector! AVMIDIProgramChangeEvent::programNumber not bound -!missing-selector! AVMIDIProgramChangeEvent::setProgramNumber: not bound -!missing-selector! AVMIDISysexEvent::initWithData: not bound -!missing-selector! AVMIDISysexEvent::sizeInBytes not bound !missing-selector! AVMusicTrack::addEvent:atBeat: not bound !missing-selector! AVMusicTrack::clearEventsInRange: not bound !missing-selector! AVMusicTrack::copyAndMergeEventsInRange:fromTrack:mergeAtBeat: not bound @@ -177,8 +117,6 @@ !missing-selector! AVMusicTrack::moveEventsInRange:byAmount: not bound !missing-selector! AVMusicTrack::setUsesAutomatedParameters: not bound !missing-selector! AVMusicTrack::usesAutomatedParameters not bound -!missing-selector! AVMusicUserEvent::initWithData: not bound -!missing-selector! AVMusicUserEvent::sizeInBytes not bound !missing-selector! AVMutableComposition::insertTimeRange:ofAsset:atTime:completionHandler: not bound !missing-selector! AVMutableMovie::chapterMetadataGroupsBestMatchingPreferredLanguages: not bound !missing-selector! AVMutableMovie::chapterMetadataGroupsWithTitleLocale:containingItemsWithCommonKeys: not bound @@ -190,110 +128,22 @@ !missing-selector! AVMutableMovieTrack::metadataForFormat: not bound !missing-selector! AVMutableMovieTrack::samplePresentationTimeForTrackTime: not bound !missing-selector! AVMutableMovieTrack::segmentForTrackTime: not bound -!missing-selector! AVParameterEvent::element not bound -!missing-selector! AVParameterEvent::initWithParameterID:scope:element:value: not bound -!missing-selector! AVParameterEvent::parameterID not bound -!missing-selector! AVParameterEvent::scope not bound -!missing-selector! AVParameterEvent::setElement: not bound -!missing-selector! AVParameterEvent::setParameterID: not bound -!missing-selector! AVParameterEvent::setScope: not bound -!missing-selector! AVParameterEvent::setValue: not bound -!missing-selector! AVParameterEvent::value not bound !missing-selector! AVPlayer::defaultRate not bound !missing-selector! AVPlayer::setDefaultRate: not bound -!missing-selector! AVPlayerInterstitialEvent::alignsResumptionWithPrimarySegmentBoundary not bound -!missing-selector! AVPlayerInterstitialEvent::alignsStartWithPrimarySegmentBoundary not bound -!missing-selector! AVPlayerInterstitialEvent::cue not bound -!missing-selector! AVPlayerInterstitialEvent::setAlignsResumptionWithPrimarySegmentBoundary: not bound -!missing-selector! AVPlayerInterstitialEvent::setAlignsStartWithPrimarySegmentBoundary: not bound -!missing-selector! AVPlayerInterstitialEvent::setCue: not bound -!missing-selector! AVPlayerInterstitialEvent::setDate: not bound -!missing-selector! AVPlayerInterstitialEvent::setIdentifier: not bound -!missing-selector! AVPlayerInterstitialEvent::setPlayoutLimit: not bound -!missing-selector! AVPlayerInterstitialEvent::setPrimaryItem: not bound -!missing-selector! AVPlayerInterstitialEvent::setRestrictions: not bound -!missing-selector! AVPlayerInterstitialEvent::setResumptionOffset: not bound -!missing-selector! AVPlayerInterstitialEvent::setTemplateItems: not bound -!missing-selector! AVPlayerInterstitialEvent::setTime: not bound -!missing-selector! AVPlayerInterstitialEvent::setUserDefinedAttributes: not bound -!missing-selector! AVPlayerInterstitialEvent::setWillPlayOnce: not bound -!missing-selector! AVPlayerInterstitialEvent::willPlayOnce not bound !missing-selector! AVSampleBufferGenerator::createSampleBufferForRequest:addingToBatch:error: not bound !missing-selector! AVSampleBufferGenerator::createSampleBufferForRequest:error: not bound !missing-selector! AVSampleBufferGenerator::makeBatch not bound -!missing-selector! AVSampleBufferGeneratorBatch::cancel not bound -!missing-selector! AVSampleBufferGeneratorBatch::makeDataReadyWithCompletionHandler: not bound -!missing-selector! AVSpeechSynthesisMarker::byteSampleOffset not bound -!missing-selector! AVSpeechSynthesisMarker::initWithMarkerType:forTextRange:atByteSampleOffset: not bound -!missing-selector! AVSpeechSynthesisMarker::mark not bound -!missing-selector! AVSpeechSynthesisMarker::setByteSampleOffset: not bound -!missing-selector! AVSpeechSynthesisMarker::setMark: not bound -!missing-selector! AVSpeechSynthesisMarker::setTextRange: not bound -!missing-selector! AVSpeechSynthesisMarker::textRange not bound -!missing-selector! AVSpeechSynthesisProviderAudioUnit::cancelSpeechRequest not bound -!missing-selector! AVSpeechSynthesisProviderAudioUnit::setSpeechSynthesisOutputMetadataBlock: not bound -!missing-selector! AVSpeechSynthesisProviderAudioUnit::setSpeechVoices: not bound -!missing-selector! AVSpeechSynthesisProviderAudioUnit::speechSynthesisOutputMetadataBlock not bound -!missing-selector! AVSpeechSynthesisProviderAudioUnit::speechVoices not bound -!missing-selector! AVSpeechSynthesisProviderAudioUnit::synthesizeSpeechRequest: not bound -!missing-selector! AVSpeechSynthesisProviderRequest::initWithSSMLRepresentation:voice: not bound -!missing-selector! AVSpeechSynthesisProviderRequest::ssmlRepresentation not bound -!missing-selector! AVSpeechSynthesisProviderRequest::voice not bound -!missing-selector! AVSpeechSynthesisProviderVoice::age not bound -!missing-selector! AVSpeechSynthesisProviderVoice::gender not bound -!missing-selector! AVSpeechSynthesisProviderVoice::identifier not bound -!missing-selector! AVSpeechSynthesisProviderVoice::initWithName:identifier:primaryLanguages:supportedLanguages: not bound -!missing-selector! AVSpeechSynthesisProviderVoice::name not bound -!missing-selector! AVSpeechSynthesisProviderVoice::primaryLanguages not bound -!missing-selector! AVSpeechSynthesisProviderVoice::setAge: not bound -!missing-selector! AVSpeechSynthesisProviderVoice::setGender: not bound -!missing-selector! AVSpeechSynthesisProviderVoice::setVersion: not bound -!missing-selector! AVSpeechSynthesisProviderVoice::setVoiceSize: not bound -!missing-selector! AVSpeechSynthesisProviderVoice::supportedLanguages not bound -!missing-selector! AVSpeechSynthesisProviderVoice::version not bound -!missing-selector! AVSpeechSynthesisProviderVoice::voiceSize not bound !missing-selector! AVSpeechSynthesizer::writeUtterance:toBufferCallback:toMarkerCallback: not bound !missing-selector! AVSpeechUtterance::initWithSSMLRepresentation: not bound !missing-selector! AVURLAsset::httpSessionIdentifier not bound !missing-selector! AVVideoComposition::determineValidityForAsset:timeRange:validationDelegate:completionHandler: not bound !missing-selector! NSValue::CMVideoDimensionsValue not bound -!missing-type! AVAssetPlaybackAssistant not bound -!missing-type! AVAUPresetEvent not bound !missing-type! AVCaptureMetadataOutput not bound -!missing-type! AVExtendedNoteOnEvent not bound -!missing-type! AVExtendedTempoEvent not bound -!missing-type! AVMIDIChannelEvent not bound -!missing-type! AVMIDIChannelPressureEvent not bound -!missing-type! AVMIDIControlChangeEvent not bound -!missing-type! AVMIDIMetaEvent not bound -!missing-type! AVMIDINoteEvent not bound -!missing-type! AVMIDIPitchBendEvent not bound -!missing-type! AVMIDIPolyPressureEvent not bound -!missing-type! AVMIDIProgramChangeEvent not bound -!missing-type! AVMIDISysexEvent not bound -!missing-type! AVMusicEvent not bound -!missing-type! AVMusicUserEvent not bound -!missing-type! AVParameterEvent not bound -!missing-type! AVSampleBufferGeneratorBatch not bound -!missing-type! AVSpeechSynthesisMarker not bound -!missing-type! AVSpeechSynthesisProviderAudioUnit not bound -!missing-type! AVSpeechSynthesisProviderRequest not bound -!missing-type! AVSpeechSynthesisProviderVoice not bound -!missing-enum-value! AVSpeechSynthesisVoiceQuality native value AVSpeechSynthesisVoiceQualityPremium = 3 not bound -!missing-selector! AVPlayerLayer::copyDisplayedPixelBuffer not bound -!missing-selector! AVCapturePhotoOutput::preservesLivePhotoCaptureSuspendedOnSessionStop not bound -!missing-selector! AVCapturePhotoOutput::setPreservesLivePhotoCaptureSuspendedOnSessionStop: not bound !missing-selector! AVCaptureDeskViewApplication::presentWithCompletionHandler: not bound !missing-selector! AVCaptureDeskViewApplication::presentWithLaunchConfiguration:completionHandler: not bound !missing-selector! AVCaptureDeskViewApplicationLaunchConfiguration::mainWindowFrame not bound !missing-selector! AVCaptureDeskViewApplicationLaunchConfiguration::requiresSetUpModeCompletion not bound !missing-selector! AVCaptureDeskViewApplicationLaunchConfiguration::setMainWindowFrame: not bound !missing-selector! AVCaptureDeskViewApplicationLaunchConfiguration::setRequiresSetUpModeCompletion: not bound -!missing-selector! AVCaptureDeviceFormat::secondaryNativeResolutionZoomFactors not bound -!missing-selector! AVCaptureDeviceFormat::supportedMaxPhotoDimensions not bound -!missing-selector! AVCapturePhotoOutput::maxPhotoDimensions not bound -!missing-selector! AVCapturePhotoOutput::setMaxPhotoDimensions: not bound -!missing-selector! AVCapturePhotoSettings::maxPhotoDimensions not bound -!missing-selector! AVCapturePhotoSettings::setMaxPhotoDimensions: not bound !missing-type! AVCaptureDeskViewApplication not bound !missing-type! AVCaptureDeskViewApplicationLaunchConfiguration not bound diff --git a/tests/xtro-sharpie/api-annotations-dotnet/tvOS-AVFoundation.todo b/tests/xtro-sharpie/api-annotations-dotnet/tvOS-AVFoundation.todo index 068582007cc4..c39941d33ce4 100644 --- a/tests/xtro-sharpie/api-annotations-dotnet/tvOS-AVFoundation.todo +++ b/tests/xtro-sharpie/api-annotations-dotnet/tvOS-AVFoundation.todo @@ -16,10 +16,6 @@ !deprecated-attribute-missing! AVMutableComposition::insertTimeRange:ofAsset:atTime:error: missing a [Deprecated] attribute !deprecated-attribute-missing! AVURLAsset::compatibleTrackForCompositionTrack: missing a [Deprecated] attribute !deprecated-attribute-missing! AVVideoComposition::isValidForAsset:timeRange:validationDelegate: missing a [Deprecated] attribute -!missing-enum! AVAssetTrackGroupOutputHandling not bound -!missing-enum! AVMIDIControlChangeMessageType not bound -!missing-enum! AVMIDIMetaEventType not bound -!missing-enum! AVSpeechSynthesisMarkerMark not bound !missing-enum-value! AVError native value AVErrorAirPlayReceiverTemporarilyUnavailable = -11882 not bound !missing-enum-value! AVError native value AVErrorFailedToLoadSampleData = -11881 not bound !missing-enum-value! AVError native value AVErrorInvalidSampleCursor = -11880 not bound @@ -55,14 +51,11 @@ !missing-field! AVURLAssetPrimarySessionIdentifierKey not bound !missing-field! AVVideoTransferFunction_Linear not bound !missing-protocol-conformance! AVPlayerInterstitialEvent should conform to NSCopying -!missing-selector! +AVAssetPlaybackAssistant::assetPlaybackAssistantWithAsset: not bound !missing-selector! +AVMutableVideoComposition::videoCompositionWithAsset:applyingCIFiltersWithHandler:completionHandler: not bound !missing-selector! +AVMutableVideoComposition::videoCompositionWithPropertiesOfAsset:completionHandler: not bound !missing-selector! +AVMutableVideoComposition::videoCompositionWithPropertiesOfAsset:prototypeInstruction:completionHandler: not bound !missing-selector! +AVPlayerInterstitialEvent::interstitialEventWithPrimaryItem:date: not bound !missing-selector! +AVPlayerInterstitialEvent::interstitialEventWithPrimaryItem:time: not bound -!missing-selector! +AVSampleBufferGenerator::notifyOfDataReadyForSampleBuffer:completionHandler: not bound -!missing-selector! +AVSpeechSynthesisProviderVoice::updateSpeechVoices not bound !missing-selector! +AVSpeechUtterance::speechUtteranceWithSSMLRepresentation: not bound !missing-selector! +AVVideoComposition::videoCompositionWithAsset:applyingCIFiltersWithHandler:completionHandler: not bound !missing-selector! +AVVideoComposition::videoCompositionWithPropertiesOfAsset:completionHandler: not bound @@ -70,7 +63,6 @@ !missing-selector! AVAssetExportSession::audioTrackGroupHandling not bound !missing-selector! AVAssetExportSession::setAudioTrackGroupHandling: not bound !missing-selector! AVAssetImageGenerator::generateCGImageAsynchronouslyForTime:completionHandler: not bound -!missing-selector! AVAssetPlaybackAssistant::loadPlaybackConfigurationOptionsWithCompletionHandler: not bound !missing-selector! AVAssetResourceLoadingContentInformationRequest::isEntireLengthAvailableOnDemand not bound !missing-selector! AVAssetResourceLoadingContentInformationRequest::setEntireLengthAvailableOnDemand: not bound !missing-selector! AVAssetTrack::canProvideSampleCursors not bound @@ -85,12 +77,6 @@ !missing-selector! AVAudioSequencer::setUserCallback: not bound !missing-selector! AVAudioUnitComponent::icon not bound !missing-selector! AVAudioUnitMIDIInstrument::sendMIDIEventList: not bound -!missing-selector! AVAUPresetEvent::element not bound -!missing-selector! AVAUPresetEvent::initWithScope:element:dictionary: not bound -!missing-selector! AVAUPresetEvent::presetDictionary not bound -!missing-selector! AVAUPresetEvent::scope not bound -!missing-selector! AVAUPresetEvent::setElement: not bound -!missing-selector! AVAUPresetEvent::setScope: not bound !missing-selector! AVComposition::chapterMetadataGroupsBestMatchingPreferredLanguages: not bound !missing-selector! AVComposition::chapterMetadataGroupsWithTitleLocale:containingItemsWithCommonKeys: not bound !missing-selector! AVComposition::mediaSelectionGroupForMediaCharacteristic: not bound @@ -100,53 +86,6 @@ !missing-selector! AVCompositionTrack::hasMediaCharacteristic: not bound !missing-selector! AVCompositionTrack::metadataForFormat: not bound !missing-selector! AVCompositionTrack::samplePresentationTimeForTrackTime: not bound -!missing-selector! AVExtendedNoteOnEvent::duration not bound -!missing-selector! AVExtendedNoteOnEvent::groupID not bound -!missing-selector! AVExtendedNoteOnEvent::initWithMIDINote:velocity:groupID:duration: not bound -!missing-selector! AVExtendedNoteOnEvent::initWithMIDINote:velocity:instrumentID:groupID:duration: not bound -!missing-selector! AVExtendedNoteOnEvent::instrumentID not bound -!missing-selector! AVExtendedNoteOnEvent::midiNote not bound -!missing-selector! AVExtendedNoteOnEvent::setDuration: not bound -!missing-selector! AVExtendedNoteOnEvent::setGroupID: not bound -!missing-selector! AVExtendedNoteOnEvent::setInstrumentID: not bound -!missing-selector! AVExtendedNoteOnEvent::setMidiNote: not bound -!missing-selector! AVExtendedNoteOnEvent::setVelocity: not bound -!missing-selector! AVExtendedNoteOnEvent::velocity not bound -!missing-selector! AVExtendedTempoEvent::initWithTempo: not bound -!missing-selector! AVExtendedTempoEvent::setTempo: not bound -!missing-selector! AVExtendedTempoEvent::tempo not bound -!missing-selector! AVMIDIChannelEvent::channel not bound -!missing-selector! AVMIDIChannelEvent::setChannel: not bound -!missing-selector! AVMIDIChannelPressureEvent::initWithChannel:pressure: not bound -!missing-selector! AVMIDIChannelPressureEvent::pressure not bound -!missing-selector! AVMIDIChannelPressureEvent::setPressure: not bound -!missing-selector! AVMIDIControlChangeEvent::initWithChannel:messageType:value: not bound -!missing-selector! AVMIDIControlChangeEvent::messageType not bound -!missing-selector! AVMIDIControlChangeEvent::value not bound -!missing-selector! AVMIDIMetaEvent::initWithType:data: not bound -!missing-selector! AVMIDIMetaEvent::type not bound -!missing-selector! AVMIDINoteEvent::channel not bound -!missing-selector! AVMIDINoteEvent::duration not bound -!missing-selector! AVMIDINoteEvent::initWithChannel:key:velocity:duration: not bound -!missing-selector! AVMIDINoteEvent::key not bound -!missing-selector! AVMIDINoteEvent::setChannel: not bound -!missing-selector! AVMIDINoteEvent::setDuration: not bound -!missing-selector! AVMIDINoteEvent::setKey: not bound -!missing-selector! AVMIDINoteEvent::setVelocity: not bound -!missing-selector! AVMIDINoteEvent::velocity not bound -!missing-selector! AVMIDIPitchBendEvent::initWithChannel:value: not bound -!missing-selector! AVMIDIPitchBendEvent::setValue: not bound -!missing-selector! AVMIDIPitchBendEvent::value not bound -!missing-selector! AVMIDIPolyPressureEvent::initWithChannel:key:pressure: not bound -!missing-selector! AVMIDIPolyPressureEvent::key not bound -!missing-selector! AVMIDIPolyPressureEvent::pressure not bound -!missing-selector! AVMIDIPolyPressureEvent::setKey: not bound -!missing-selector! AVMIDIPolyPressureEvent::setPressure: not bound -!missing-selector! AVMIDIProgramChangeEvent::initWithChannel:programNumber: not bound -!missing-selector! AVMIDIProgramChangeEvent::programNumber not bound -!missing-selector! AVMIDIProgramChangeEvent::setProgramNumber: not bound -!missing-selector! AVMIDISysexEvent::initWithData: not bound -!missing-selector! AVMIDISysexEvent::sizeInBytes not bound !missing-selector! AVMusicTrack::addEvent:atBeat: not bound !missing-selector! AVMusicTrack::clearEventsInRange: not bound !missing-selector! AVMusicTrack::copyAndMergeEventsInRange:fromTrack:mergeAtBeat: not bound @@ -156,135 +95,16 @@ !missing-selector! AVMusicTrack::moveEventsInRange:byAmount: not bound !missing-selector! AVMusicTrack::setUsesAutomatedParameters: not bound !missing-selector! AVMusicTrack::usesAutomatedParameters not bound -!missing-selector! AVMusicUserEvent::initWithData: not bound -!missing-selector! AVMusicUserEvent::sizeInBytes not bound !missing-selector! AVMutableComposition::insertTimeRange:ofAsset:atTime:completionHandler: not bound -!missing-selector! AVParameterEvent::element not bound -!missing-selector! AVParameterEvent::initWithParameterID:scope:element:value: not bound -!missing-selector! AVParameterEvent::parameterID not bound -!missing-selector! AVParameterEvent::scope not bound -!missing-selector! AVParameterEvent::setElement: not bound -!missing-selector! AVParameterEvent::setParameterID: not bound -!missing-selector! AVParameterEvent::setScope: not bound -!missing-selector! AVParameterEvent::setValue: not bound -!missing-selector! AVParameterEvent::value not bound !missing-selector! AVPlayer::defaultRate not bound !missing-selector! AVPlayer::setDefaultRate: not bound -!missing-selector! AVPlayerInterstitialEvent::alignsResumptionWithPrimarySegmentBoundary not bound -!missing-selector! AVPlayerInterstitialEvent::alignsStartWithPrimarySegmentBoundary not bound -!missing-selector! AVPlayerInterstitialEvent::cue not bound -!missing-selector! AVPlayerInterstitialEvent::setAlignsResumptionWithPrimarySegmentBoundary: not bound -!missing-selector! AVPlayerInterstitialEvent::setAlignsStartWithPrimarySegmentBoundary: not bound -!missing-selector! AVPlayerInterstitialEvent::setCue: not bound -!missing-selector! AVPlayerInterstitialEvent::setDate: not bound -!missing-selector! AVPlayerInterstitialEvent::setIdentifier: not bound -!missing-selector! AVPlayerInterstitialEvent::setPlayoutLimit: not bound -!missing-selector! AVPlayerInterstitialEvent::setPrimaryItem: not bound -!missing-selector! AVPlayerInterstitialEvent::setRestrictions: not bound -!missing-selector! AVPlayerInterstitialEvent::setResumptionOffset: not bound -!missing-selector! AVPlayerInterstitialEvent::setTemplateItems: not bound -!missing-selector! AVPlayerInterstitialEvent::setTime: not bound -!missing-selector! AVPlayerInterstitialEvent::setUserDefinedAttributes: not bound -!missing-selector! AVPlayerInterstitialEvent::setWillPlayOnce: not bound -!missing-selector! AVPlayerInterstitialEvent::willPlayOnce not bound !missing-selector! AVSampleBufferGenerator::createSampleBufferForRequest:addingToBatch:error: not bound !missing-selector! AVSampleBufferGenerator::createSampleBufferForRequest:error: not bound -!missing-selector! AVSampleBufferGenerator::initWithAsset:timebase: not bound !missing-selector! AVSampleBufferGenerator::makeBatch not bound -!missing-selector! AVSampleBufferGeneratorBatch::cancel not bound -!missing-selector! AVSampleBufferGeneratorBatch::makeDataReadyWithCompletionHandler: not bound -!missing-selector! AVSampleBufferRequest::direction not bound -!missing-selector! AVSampleBufferRequest::initWithStartCursor: not bound -!missing-selector! AVSampleBufferRequest::limitCursor not bound -!missing-selector! AVSampleBufferRequest::maxSampleCount not bound -!missing-selector! AVSampleBufferRequest::mode not bound -!missing-selector! AVSampleBufferRequest::overrideTime not bound -!missing-selector! AVSampleBufferRequest::preferredMinSampleCount not bound -!missing-selector! AVSampleBufferRequest::setDirection: not bound -!missing-selector! AVSampleBufferRequest::setLimitCursor: not bound -!missing-selector! AVSampleBufferRequest::setMaxSampleCount: not bound -!missing-selector! AVSampleBufferRequest::setMode: not bound -!missing-selector! AVSampleBufferRequest::setOverrideTime: not bound -!missing-selector! AVSampleBufferRequest::setPreferredMinSampleCount: not bound -!missing-selector! AVSampleBufferRequest::startCursor not bound -!missing-selector! AVSampleCursor::comparePositionInDecodeOrderWithPositionOfCursor: not bound -!missing-selector! AVSampleCursor::copyCurrentSampleFormatDescription not bound -!missing-selector! AVSampleCursor::currentChunkInfo not bound -!missing-selector! AVSampleCursor::currentChunkStorageRange not bound -!missing-selector! AVSampleCursor::currentChunkStorageURL not bound !missing-selector! AVSampleCursor::currentSampleAudioDependencyInfo not bound !missing-selector! AVSampleCursor::currentSampleDependencyAttachments not bound -!missing-selector! AVSampleCursor::currentSampleDependencyInfo not bound -!missing-selector! AVSampleCursor::currentSampleDuration not bound -!missing-selector! AVSampleCursor::currentSampleIndexInChunk not bound -!missing-selector! AVSampleCursor::currentSampleStorageRange not bound -!missing-selector! AVSampleCursor::currentSampleSyncInfo not bound -!missing-selector! AVSampleCursor::decodeTimeStamp not bound -!missing-selector! AVSampleCursor::presentationTimeStamp not bound -!missing-selector! AVSampleCursor::samplesRequiredForDecoderRefresh not bound -!missing-selector! AVSampleCursor::samplesWithEarlierDecodeTimeStampsMayHaveLaterPresentationTimeStampsThanCursor: not bound -!missing-selector! AVSampleCursor::samplesWithLaterDecodeTimeStampsMayHaveEarlierPresentationTimeStampsThanCursor: not bound -!missing-selector! AVSampleCursor::stepByDecodeTime:wasPinned: not bound -!missing-selector! AVSampleCursor::stepByPresentationTime:wasPinned: not bound -!missing-selector! AVSampleCursor::stepInDecodeOrderByCount: not bound -!missing-selector! AVSampleCursor::stepInPresentationOrderByCount: not bound -!missing-selector! AVSpeechSynthesisMarker::byteSampleOffset not bound -!missing-selector! AVSpeechSynthesisMarker::initWithMarkerType:forTextRange:atByteSampleOffset: not bound -!missing-selector! AVSpeechSynthesisMarker::mark not bound -!missing-selector! AVSpeechSynthesisMarker::setByteSampleOffset: not bound -!missing-selector! AVSpeechSynthesisMarker::setMark: not bound -!missing-selector! AVSpeechSynthesisMarker::setTextRange: not bound -!missing-selector! AVSpeechSynthesisMarker::textRange not bound -!missing-selector! AVSpeechSynthesisProviderAudioUnit::cancelSpeechRequest not bound -!missing-selector! AVSpeechSynthesisProviderAudioUnit::setSpeechSynthesisOutputMetadataBlock: not bound -!missing-selector! AVSpeechSynthesisProviderAudioUnit::setSpeechVoices: not bound -!missing-selector! AVSpeechSynthesisProviderAudioUnit::speechSynthesisOutputMetadataBlock not bound -!missing-selector! AVSpeechSynthesisProviderAudioUnit::speechVoices not bound -!missing-selector! AVSpeechSynthesisProviderAudioUnit::synthesizeSpeechRequest: not bound -!missing-selector! AVSpeechSynthesisProviderRequest::initWithSSMLRepresentation:voice: not bound -!missing-selector! AVSpeechSynthesisProviderRequest::ssmlRepresentation not bound -!missing-selector! AVSpeechSynthesisProviderRequest::voice not bound -!missing-selector! AVSpeechSynthesisProviderVoice::age not bound -!missing-selector! AVSpeechSynthesisProviderVoice::gender not bound -!missing-selector! AVSpeechSynthesisProviderVoice::identifier not bound -!missing-selector! AVSpeechSynthesisProviderVoice::initWithName:identifier:primaryLanguages:supportedLanguages: not bound -!missing-selector! AVSpeechSynthesisProviderVoice::name not bound -!missing-selector! AVSpeechSynthesisProviderVoice::primaryLanguages not bound -!missing-selector! AVSpeechSynthesisProviderVoice::setAge: not bound -!missing-selector! AVSpeechSynthesisProviderVoice::setGender: not bound -!missing-selector! AVSpeechSynthesisProviderVoice::setVersion: not bound -!missing-selector! AVSpeechSynthesisProviderVoice::setVoiceSize: not bound -!missing-selector! AVSpeechSynthesisProviderVoice::supportedLanguages not bound -!missing-selector! AVSpeechSynthesisProviderVoice::version not bound -!missing-selector! AVSpeechSynthesisProviderVoice::voiceSize not bound !missing-selector! AVSpeechSynthesizer::writeUtterance:toBufferCallback:toMarkerCallback: not bound !missing-selector! AVSpeechUtterance::initWithSSMLRepresentation: not bound !missing-selector! AVURLAsset::httpSessionIdentifier not bound !missing-selector! AVVideoComposition::determineValidityForAsset:timeRange:validationDelegate:completionHandler: not bound !missing-selector! NSValue::CMVideoDimensionsValue not bound -!missing-type! AVAssetPlaybackAssistant not bound -!missing-type! AVAUPresetEvent not bound -!missing-type! AVExtendedNoteOnEvent not bound -!missing-type! AVExtendedTempoEvent not bound -!missing-type! AVMIDIChannelEvent not bound -!missing-type! AVMIDIChannelPressureEvent not bound -!missing-type! AVMIDIControlChangeEvent not bound -!missing-type! AVMIDIMetaEvent not bound -!missing-type! AVMIDINoteEvent not bound -!missing-type! AVMIDIPitchBendEvent not bound -!missing-type! AVMIDIPolyPressureEvent not bound -!missing-type! AVMIDIProgramChangeEvent not bound -!missing-type! AVMIDISysexEvent not bound -!missing-type! AVMusicEvent not bound -!missing-type! AVMusicUserEvent not bound -!missing-type! AVParameterEvent not bound -!missing-type! AVSampleBufferGenerator not bound -!missing-type! AVSampleBufferGeneratorBatch not bound -!missing-type! AVSampleBufferRequest not bound -!missing-type! AVSampleCursor not bound -!missing-type! AVSpeechSynthesisMarker not bound -!missing-type! AVSpeechSynthesisProviderAudioUnit not bound -!missing-type! AVSpeechSynthesisProviderRequest not bound -!missing-type! AVSpeechSynthesisProviderVoice not bound -!missing-enum-value! AVSpeechSynthesisVoiceQuality native value AVSpeechSynthesisVoiceQualityPremium = 3 not bound -!missing-selector! AVPlayerLayer::copyDisplayedPixelBuffer not bound diff --git a/tests/xtro-sharpie/iOS-AVFoundation.todo b/tests/xtro-sharpie/iOS-AVFoundation.todo index aa8f3b802390..d705a6a77352 100644 --- a/tests/xtro-sharpie/iOS-AVFoundation.todo +++ b/tests/xtro-sharpie/iOS-AVFoundation.todo @@ -16,10 +16,6 @@ !deprecated-attribute-missing! AVMutableComposition::insertTimeRange:ofAsset:atTime:error: missing a [Deprecated] attribute !deprecated-attribute-missing! AVURLAsset::compatibleTrackForCompositionTrack: missing a [Deprecated] attribute !deprecated-attribute-missing! AVVideoComposition::isValidForAsset:timeRange:validationDelegate: missing a [Deprecated] attribute -!missing-enum! AVAssetTrackGroupOutputHandling not bound -!missing-enum! AVMIDIControlChangeMessageType not bound -!missing-enum! AVMIDIMetaEventType not bound -!missing-enum! AVSpeechSynthesisMarkerMark not bound !missing-enum-value! AVError native value AVErrorAirPlayReceiverTemporarilyUnavailable = -11882 not bound !missing-enum-value! AVError native value AVErrorFailedToLoadSampleData = -11881 not bound !missing-enum-value! AVError native value AVErrorInvalidSampleCursor = -11880 not bound @@ -55,7 +51,6 @@ !missing-field! AVURLAssetPrimarySessionIdentifierKey not bound !missing-field! AVVideoTransferFunction_Linear not bound !missing-protocol-conformance! AVPlayerInterstitialEvent should conform to NSCopying -!missing-selector! +AVAssetPlaybackAssistant::assetPlaybackAssistantWithAsset: not bound !missing-selector! +AVCaptureDevice::isStudioLightEnabled not bound !missing-selector! +AVCaptureDevice::setStudioLightEnabled: not bound !missing-selector! +AVMutableVideoComposition::videoCompositionWithAsset:applyingCIFiltersWithHandler:completionHandler: not bound @@ -63,8 +58,6 @@ !missing-selector! +AVMutableVideoComposition::videoCompositionWithPropertiesOfAsset:prototypeInstruction:completionHandler: not bound !missing-selector! +AVPlayerInterstitialEvent::interstitialEventWithPrimaryItem:date: not bound !missing-selector! +AVPlayerInterstitialEvent::interstitialEventWithPrimaryItem:time: not bound -!missing-selector! +AVSampleBufferGenerator::notifyOfDataReadyForSampleBuffer:completionHandler: not bound -!missing-selector! +AVSpeechSynthesisProviderVoice::updateSpeechVoices not bound !missing-selector! +AVSpeechUtterance::speechUtteranceWithSSMLRepresentation: not bound !missing-selector! +AVVideoComposition::videoCompositionWithAsset:applyingCIFiltersWithHandler:completionHandler: not bound !missing-selector! +AVVideoComposition::videoCompositionWithPropertiesOfAsset:completionHandler: not bound @@ -72,7 +65,6 @@ !missing-selector! AVAssetExportSession::audioTrackGroupHandling not bound !missing-selector! AVAssetExportSession::setAudioTrackGroupHandling: not bound !missing-selector! AVAssetImageGenerator::generateCGImageAsynchronouslyForTime:completionHandler: not bound -!missing-selector! AVAssetPlaybackAssistant::loadPlaybackConfigurationOptionsWithCompletionHandler: not bound !missing-selector! AVAssetResourceLoadingContentInformationRequest::isEntireLengthAvailableOnDemand not bound !missing-selector! AVAssetResourceLoadingContentInformationRequest::setEntireLengthAvailableOnDemand: not bound !missing-selector! AVAssetTrack::canProvideSampleCursors not bound @@ -89,12 +81,6 @@ !missing-selector! AVAudioUnitComponent::icon not bound !missing-selector! AVAudioUnitComponent::passesAUVal not bound !missing-selector! AVAudioUnitMIDIInstrument::sendMIDIEventList: not bound -!missing-selector! AVAUPresetEvent::element not bound -!missing-selector! AVAUPresetEvent::initWithScope:element:dictionary: not bound -!missing-selector! AVAUPresetEvent::presetDictionary not bound -!missing-selector! AVAUPresetEvent::scope not bound -!missing-selector! AVAUPresetEvent::setElement: not bound -!missing-selector! AVAUPresetEvent::setScope: not bound !missing-selector! AVCaptureDevice::companionDeskViewCamera not bound !missing-selector! AVCaptureDevice::isContinuityCamera not bound !missing-selector! AVCaptureDevice::isStudioLightActive not bound @@ -113,53 +99,6 @@ !missing-selector! AVCompositionTrack::hasMediaCharacteristic: not bound !missing-selector! AVCompositionTrack::metadataForFormat: not bound !missing-selector! AVCompositionTrack::samplePresentationTimeForTrackTime: not bound -!missing-selector! AVExtendedNoteOnEvent::duration not bound -!missing-selector! AVExtendedNoteOnEvent::groupID not bound -!missing-selector! AVExtendedNoteOnEvent::initWithMIDINote:velocity:groupID:duration: not bound -!missing-selector! AVExtendedNoteOnEvent::initWithMIDINote:velocity:instrumentID:groupID:duration: not bound -!missing-selector! AVExtendedNoteOnEvent::instrumentID not bound -!missing-selector! AVExtendedNoteOnEvent::midiNote not bound -!missing-selector! AVExtendedNoteOnEvent::setDuration: not bound -!missing-selector! AVExtendedNoteOnEvent::setGroupID: not bound -!missing-selector! AVExtendedNoteOnEvent::setInstrumentID: not bound -!missing-selector! AVExtendedNoteOnEvent::setMidiNote: not bound -!missing-selector! AVExtendedNoteOnEvent::setVelocity: not bound -!missing-selector! AVExtendedNoteOnEvent::velocity not bound -!missing-selector! AVExtendedTempoEvent::initWithTempo: not bound -!missing-selector! AVExtendedTempoEvent::setTempo: not bound -!missing-selector! AVExtendedTempoEvent::tempo not bound -!missing-selector! AVMIDIChannelEvent::channel not bound -!missing-selector! AVMIDIChannelEvent::setChannel: not bound -!missing-selector! AVMIDIChannelPressureEvent::initWithChannel:pressure: not bound -!missing-selector! AVMIDIChannelPressureEvent::pressure not bound -!missing-selector! AVMIDIChannelPressureEvent::setPressure: not bound -!missing-selector! AVMIDIControlChangeEvent::initWithChannel:messageType:value: not bound -!missing-selector! AVMIDIControlChangeEvent::messageType not bound -!missing-selector! AVMIDIControlChangeEvent::value not bound -!missing-selector! AVMIDIMetaEvent::initWithType:data: not bound -!missing-selector! AVMIDIMetaEvent::type not bound -!missing-selector! AVMIDINoteEvent::channel not bound -!missing-selector! AVMIDINoteEvent::duration not bound -!missing-selector! AVMIDINoteEvent::initWithChannel:key:velocity:duration: not bound -!missing-selector! AVMIDINoteEvent::key not bound -!missing-selector! AVMIDINoteEvent::setChannel: not bound -!missing-selector! AVMIDINoteEvent::setDuration: not bound -!missing-selector! AVMIDINoteEvent::setKey: not bound -!missing-selector! AVMIDINoteEvent::setVelocity: not bound -!missing-selector! AVMIDINoteEvent::velocity not bound -!missing-selector! AVMIDIPitchBendEvent::initWithChannel:value: not bound -!missing-selector! AVMIDIPitchBendEvent::setValue: not bound -!missing-selector! AVMIDIPitchBendEvent::value not bound -!missing-selector! AVMIDIPolyPressureEvent::initWithChannel:key:pressure: not bound -!missing-selector! AVMIDIPolyPressureEvent::key not bound -!missing-selector! AVMIDIPolyPressureEvent::pressure not bound -!missing-selector! AVMIDIPolyPressureEvent::setKey: not bound -!missing-selector! AVMIDIPolyPressureEvent::setPressure: not bound -!missing-selector! AVMIDIProgramChangeEvent::initWithChannel:programNumber: not bound -!missing-selector! AVMIDIProgramChangeEvent::programNumber not bound -!missing-selector! AVMIDIProgramChangeEvent::setProgramNumber: not bound -!missing-selector! AVMIDISysexEvent::initWithData: not bound -!missing-selector! AVMIDISysexEvent::sizeInBytes not bound !missing-selector! AVMusicTrack::addEvent:atBeat: not bound !missing-selector! AVMusicTrack::clearEventsInRange: not bound !missing-selector! AVMusicTrack::copyAndMergeEventsInRange:fromTrack:mergeAtBeat: not bound @@ -169,8 +108,6 @@ !missing-selector! AVMusicTrack::moveEventsInRange:byAmount: not bound !missing-selector! AVMusicTrack::setUsesAutomatedParameters: not bound !missing-selector! AVMusicTrack::usesAutomatedParameters not bound -!missing-selector! AVMusicUserEvent::initWithData: not bound -!missing-selector! AVMusicUserEvent::sizeInBytes not bound !missing-selector! AVMutableComposition::insertTimeRange:ofAsset:atTime:completionHandler: not bound !missing-selector! AVMutableMovie::chapterMetadataGroupsBestMatchingPreferredLanguages: not bound !missing-selector! AVMutableMovie::chapterMetadataGroupsWithTitleLocale:containingItemsWithCommonKeys: not bound @@ -182,150 +119,20 @@ !missing-selector! AVMutableMovieTrack::metadataForFormat: not bound !missing-selector! AVMutableMovieTrack::samplePresentationTimeForTrackTime: not bound !missing-selector! AVMutableMovieTrack::segmentForTrackTime: not bound -!missing-selector! AVParameterEvent::element not bound -!missing-selector! AVParameterEvent::initWithParameterID:scope:element:value: not bound -!missing-selector! AVParameterEvent::parameterID not bound -!missing-selector! AVParameterEvent::scope not bound -!missing-selector! AVParameterEvent::setElement: not bound -!missing-selector! AVParameterEvent::setParameterID: not bound -!missing-selector! AVParameterEvent::setScope: not bound -!missing-selector! AVParameterEvent::setValue: not bound -!missing-selector! AVParameterEvent::value not bound !missing-selector! AVPlayer::defaultRate not bound !missing-selector! AVPlayer::setDefaultRate: not bound -!missing-selector! AVPlayerInterstitialEvent::alignsResumptionWithPrimarySegmentBoundary not bound -!missing-selector! AVPlayerInterstitialEvent::alignsStartWithPrimarySegmentBoundary not bound -!missing-selector! AVPlayerInterstitialEvent::cue not bound -!missing-selector! AVPlayerInterstitialEvent::setAlignsResumptionWithPrimarySegmentBoundary: not bound -!missing-selector! AVPlayerInterstitialEvent::setAlignsStartWithPrimarySegmentBoundary: not bound -!missing-selector! AVPlayerInterstitialEvent::setCue: not bound -!missing-selector! AVPlayerInterstitialEvent::setDate: not bound -!missing-selector! AVPlayerInterstitialEvent::setIdentifier: not bound -!missing-selector! AVPlayerInterstitialEvent::setPlayoutLimit: not bound -!missing-selector! AVPlayerInterstitialEvent::setPrimaryItem: not bound -!missing-selector! AVPlayerInterstitialEvent::setRestrictions: not bound -!missing-selector! AVPlayerInterstitialEvent::setResumptionOffset: not bound -!missing-selector! AVPlayerInterstitialEvent::setTemplateItems: not bound -!missing-selector! AVPlayerInterstitialEvent::setTime: not bound -!missing-selector! AVPlayerInterstitialEvent::setUserDefinedAttributes: not bound -!missing-selector! AVPlayerInterstitialEvent::setWillPlayOnce: not bound -!missing-selector! AVPlayerInterstitialEvent::willPlayOnce not bound !missing-selector! AVRouteDetector::detectsCustomRoutes not bound !missing-selector! AVRouteDetector::setDetectsCustomRoutes: not bound !missing-selector! AVSampleBufferGenerator::createSampleBufferForRequest:addingToBatch:error: not bound !missing-selector! AVSampleBufferGenerator::createSampleBufferForRequest:error: not bound -!missing-selector! AVSampleBufferGenerator::initWithAsset:timebase: not bound !missing-selector! AVSampleBufferGenerator::makeBatch not bound -!missing-selector! AVSampleBufferGeneratorBatch::cancel not bound -!missing-selector! AVSampleBufferGeneratorBatch::makeDataReadyWithCompletionHandler: not bound -!missing-selector! AVSampleBufferRequest::direction not bound -!missing-selector! AVSampleBufferRequest::initWithStartCursor: not bound -!missing-selector! AVSampleBufferRequest::limitCursor not bound -!missing-selector! AVSampleBufferRequest::maxSampleCount not bound -!missing-selector! AVSampleBufferRequest::mode not bound -!missing-selector! AVSampleBufferRequest::overrideTime not bound -!missing-selector! AVSampleBufferRequest::preferredMinSampleCount not bound -!missing-selector! AVSampleBufferRequest::setDirection: not bound -!missing-selector! AVSampleBufferRequest::setLimitCursor: not bound -!missing-selector! AVSampleBufferRequest::setMaxSampleCount: not bound -!missing-selector! AVSampleBufferRequest::setMode: not bound -!missing-selector! AVSampleBufferRequest::setOverrideTime: not bound -!missing-selector! AVSampleBufferRequest::setPreferredMinSampleCount: not bound -!missing-selector! AVSampleBufferRequest::startCursor not bound -!missing-selector! AVSampleCursor::comparePositionInDecodeOrderWithPositionOfCursor: not bound -!missing-selector! AVSampleCursor::copyCurrentSampleFormatDescription not bound -!missing-selector! AVSampleCursor::currentChunkInfo not bound -!missing-selector! AVSampleCursor::currentChunkStorageRange not bound -!missing-selector! AVSampleCursor::currentChunkStorageURL not bound !missing-selector! AVSampleCursor::currentSampleAudioDependencyInfo not bound !missing-selector! AVSampleCursor::currentSampleDependencyAttachments not bound -!missing-selector! AVSampleCursor::currentSampleDependencyInfo not bound -!missing-selector! AVSampleCursor::currentSampleDuration not bound -!missing-selector! AVSampleCursor::currentSampleIndexInChunk not bound -!missing-selector! AVSampleCursor::currentSampleStorageRange not bound -!missing-selector! AVSampleCursor::currentSampleSyncInfo not bound -!missing-selector! AVSampleCursor::decodeTimeStamp not bound -!missing-selector! AVSampleCursor::presentationTimeStamp not bound -!missing-selector! AVSampleCursor::samplesRequiredForDecoderRefresh not bound -!missing-selector! AVSampleCursor::samplesWithEarlierDecodeTimeStampsMayHaveLaterPresentationTimeStampsThanCursor: not bound -!missing-selector! AVSampleCursor::samplesWithLaterDecodeTimeStampsMayHaveEarlierPresentationTimeStampsThanCursor: not bound -!missing-selector! AVSampleCursor::stepByDecodeTime:wasPinned: not bound -!missing-selector! AVSampleCursor::stepByPresentationTime:wasPinned: not bound -!missing-selector! AVSampleCursor::stepInDecodeOrderByCount: not bound -!missing-selector! AVSampleCursor::stepInPresentationOrderByCount: not bound -!missing-selector! AVSpeechSynthesisMarker::byteSampleOffset not bound -!missing-selector! AVSpeechSynthesisMarker::initWithMarkerType:forTextRange:atByteSampleOffset: not bound -!missing-selector! AVSpeechSynthesisMarker::mark not bound -!missing-selector! AVSpeechSynthesisMarker::setByteSampleOffset: not bound -!missing-selector! AVSpeechSynthesisMarker::setMark: not bound -!missing-selector! AVSpeechSynthesisMarker::setTextRange: not bound -!missing-selector! AVSpeechSynthesisMarker::textRange not bound -!missing-selector! AVSpeechSynthesisProviderAudioUnit::cancelSpeechRequest not bound -!missing-selector! AVSpeechSynthesisProviderAudioUnit::setSpeechSynthesisOutputMetadataBlock: not bound -!missing-selector! AVSpeechSynthesisProviderAudioUnit::setSpeechVoices: not bound -!missing-selector! AVSpeechSynthesisProviderAudioUnit::speechSynthesisOutputMetadataBlock not bound -!missing-selector! AVSpeechSynthesisProviderAudioUnit::speechVoices not bound -!missing-selector! AVSpeechSynthesisProviderAudioUnit::synthesizeSpeechRequest: not bound -!missing-selector! AVSpeechSynthesisProviderRequest::initWithSSMLRepresentation:voice: not bound -!missing-selector! AVSpeechSynthesisProviderRequest::ssmlRepresentation not bound -!missing-selector! AVSpeechSynthesisProviderRequest::voice not bound -!missing-selector! AVSpeechSynthesisProviderVoice::age not bound -!missing-selector! AVSpeechSynthesisProviderVoice::gender not bound -!missing-selector! AVSpeechSynthesisProviderVoice::identifier not bound -!missing-selector! AVSpeechSynthesisProviderVoice::initWithName:identifier:primaryLanguages:supportedLanguages: not bound -!missing-selector! AVSpeechSynthesisProviderVoice::name not bound -!missing-selector! AVSpeechSynthesisProviderVoice::primaryLanguages not bound -!missing-selector! AVSpeechSynthesisProviderVoice::setAge: not bound -!missing-selector! AVSpeechSynthesisProviderVoice::setGender: not bound -!missing-selector! AVSpeechSynthesisProviderVoice::setVersion: not bound -!missing-selector! AVSpeechSynthesisProviderVoice::setVoiceSize: not bound -!missing-selector! AVSpeechSynthesisProviderVoice::supportedLanguages not bound -!missing-selector! AVSpeechSynthesisProviderVoice::version not bound -!missing-selector! AVSpeechSynthesisProviderVoice::voiceSize not bound !missing-selector! AVSpeechSynthesizer::writeUtterance:toBufferCallback:toMarkerCallback: not bound !missing-selector! AVSpeechUtterance::initWithSSMLRepresentation: not bound !missing-selector! AVURLAsset::httpSessionIdentifier not bound !missing-selector! AVVideoComposition::determineValidityForAsset:timeRange:validationDelegate:completionHandler: not bound !missing-selector! NSValue::CMVideoDimensionsValue not bound -!missing-type! AVAssetPlaybackAssistant not bound -!missing-type! AVAUPresetEvent not bound -!missing-type! AVExtendedNoteOnEvent not bound -!missing-type! AVExtendedTempoEvent not bound -!missing-type! AVMIDIChannelEvent not bound -!missing-type! AVMIDIChannelPressureEvent not bound -!missing-type! AVMIDIControlChangeEvent not bound -!missing-type! AVMIDIMetaEvent not bound -!missing-type! AVMIDINoteEvent not bound -!missing-type! AVMIDIPitchBendEvent not bound -!missing-type! AVMIDIPolyPressureEvent not bound -!missing-type! AVMIDIProgramChangeEvent not bound -!missing-type! AVMIDISysexEvent not bound -!missing-type! AVMusicEvent not bound -!missing-type! AVMusicUserEvent not bound -!missing-type! AVParameterEvent not bound -!missing-type! AVSampleBufferGenerator not bound -!missing-type! AVSampleBufferGeneratorBatch not bound -!missing-type! AVSampleBufferRequest not bound -!missing-type! AVSampleCursor not bound -!missing-type! AVSpeechSynthesisMarker not bound -!missing-type! AVSpeechSynthesisProviderAudioUnit not bound -!missing-type! AVSpeechSynthesisProviderRequest not bound -!missing-type! AVSpeechSynthesisProviderVoice not bound -!missing-enum-value! AVSpeechSynthesisVoiceQuality native value AVSpeechSynthesisVoiceQualityPremium = 3 not bound -!missing-selector! AVPlayerLayer::copyDisplayedPixelBuffer not bound -!missing-selector! AVCapturePhotoOutput::preservesLivePhotoCaptureSuspendedOnSessionStop not bound -!missing-selector! AVCapturePhotoOutput::setPreservesLivePhotoCaptureSuspendedOnSessionStop: not bound !deprecated-attribute-missing! AVCaptureDeviceFormat::highResolutionStillImageDimensions missing a [Deprecated] attribute !deprecated-attribute-missing! AVCaptureDeviceFormat::videoMaxZoomFactorForDepthDataDelivery missing a [Deprecated] attribute !deprecated-attribute-missing! AVCaptureDeviceFormat::videoMinZoomFactorForDepthDataDelivery missing a [Deprecated] attribute -!deprecated-attribute-missing! AVCapturePhotoOutput::isHighResolutionCaptureEnabled missing a [Deprecated] attribute -!deprecated-attribute-missing! AVCapturePhotoOutput::setHighResolutionCaptureEnabled: missing a [Deprecated] attribute -!deprecated-attribute-missing! AVCapturePhotoSettings::isHighResolutionPhotoEnabled missing a [Deprecated] attribute -!deprecated-attribute-missing! AVCapturePhotoSettings::setHighResolutionPhotoEnabled: missing a [Deprecated] attribute -!missing-selector! AVCaptureDeviceFormat::secondaryNativeResolutionZoomFactors not bound -!missing-selector! AVCaptureDeviceFormat::supportedMaxPhotoDimensions not bound -!missing-selector! AVCaptureDeviceFormat::supportedVideoZoomFactorsForDepthDataDelivery not bound -!missing-selector! AVCapturePhotoOutput::maxPhotoDimensions not bound -!missing-selector! AVCapturePhotoOutput::setMaxPhotoDimensions: not bound -!missing-selector! AVCapturePhotoSettings::maxPhotoDimensions not bound -!missing-selector! AVCapturePhotoSettings::setMaxPhotoDimensions: not bound diff --git a/tests/xtro-sharpie/macOS-AVFoundation.todo b/tests/xtro-sharpie/macOS-AVFoundation.todo index 66b8cb22f7d2..f061e11ca829 100644 --- a/tests/xtro-sharpie/macOS-AVFoundation.todo +++ b/tests/xtro-sharpie/macOS-AVFoundation.todo @@ -15,11 +15,7 @@ !deprecated-attribute-missing! AVMutableComposition::insertTimeRange:ofAsset:atTime:error: missing a [Deprecated] attribute !deprecated-attribute-missing! AVURLAsset::compatibleTrackForCompositionTrack: missing a [Deprecated] attribute !deprecated-attribute-missing! AVVideoComposition::isValidForAsset:timeRange:validationDelegate: missing a [Deprecated] attribute -!missing-enum! AVAssetTrackGroupOutputHandling not bound !missing-enum! AVCapturePhotoQualityPrioritization not bound -!missing-enum! AVMIDIControlChangeMessageType not bound -!missing-enum! AVMIDIMetaEventType not bound -!missing-enum! AVSpeechSynthesisMarkerMark not bound !missing-enum-value! AVError native value AVErrorAirPlayReceiverTemporarilyUnavailable = -11882 not bound !missing-enum-value! AVError native value AVErrorFailedToLoadSampleData = -11881 not bound !missing-enum-value! AVError native value AVErrorInvalidSampleCursor = -11880 not bound @@ -57,7 +53,6 @@ !missing-field! AVVideoTransferFunction_Linear not bound !missing-protocol! AVCaptureMetadataOutputObjectsDelegate not bound !missing-protocol-conformance! AVPlayerInterstitialEvent should conform to NSCopying -!missing-selector! +AVAssetPlaybackAssistant::assetPlaybackAssistantWithAsset: not bound !missing-selector! +AVCaptureDevice::isStudioLightEnabled not bound !missing-selector! +AVCaptureDevice::setStudioLightEnabled: not bound !missing-selector! +AVCaptureDevice::setUserAVCaptureDevice: not bound @@ -68,7 +63,6 @@ !missing-selector! +AVMutableVideoComposition::videoCompositionWithPropertiesOfAsset:prototypeInstruction:completionHandler: not bound !missing-selector! +AVPlayerInterstitialEvent::interstitialEventWithPrimaryItem:date: not bound !missing-selector! +AVPlayerInterstitialEvent::interstitialEventWithPrimaryItem:time: not bound -!missing-selector! +AVSpeechSynthesisProviderVoice::updateSpeechVoices not bound !missing-selector! +AVSpeechUtterance::speechUtteranceWithSSMLRepresentation: not bound !missing-selector! +AVVideoComposition::videoCompositionWithAsset:applyingCIFiltersWithHandler:completionHandler: not bound !missing-selector! +AVVideoComposition::videoCompositionWithPropertiesOfAsset:completionHandler: not bound @@ -76,7 +70,6 @@ !missing-selector! AVAssetExportSession::audioTrackGroupHandling not bound !missing-selector! AVAssetExportSession::setAudioTrackGroupHandling: not bound !missing-selector! AVAssetImageGenerator::generateCGImageAsynchronouslyForTime:completionHandler: not bound -!missing-selector! AVAssetPlaybackAssistant::loadPlaybackConfigurationOptionsWithCompletionHandler: not bound !missing-selector! AVAssetResourceLoadingContentInformationRequest::isEntireLengthAvailableOnDemand not bound !missing-selector! AVAssetResourceLoadingContentInformationRequest::setEntireLengthAvailableOnDemand: not bound !missing-selector! AVAudioEngine::connectMIDI:to:format:eventListBlock: not bound @@ -86,12 +79,6 @@ !missing-selector! AVAudioSequencer::reverseEvents not bound !missing-selector! AVAudioSequencer::setUserCallback: not bound !missing-selector! AVAudioUnitMIDIInstrument::sendMIDIEventList: not bound -!missing-selector! AVAUPresetEvent::element not bound -!missing-selector! AVAUPresetEvent::initWithScope:element:dictionary: not bound -!missing-selector! AVAUPresetEvent::presetDictionary not bound -!missing-selector! AVAUPresetEvent::scope not bound -!missing-selector! AVAUPresetEvent::setElement: not bound -!missing-selector! AVAUPresetEvent::setScope: not bound !missing-selector! AVCaptionRegion::isEqual: not bound !missing-selector! AVCaptureDevice::companionDeskViewCamera not bound !missing-selector! AVCaptureDevice::isContinuityCamera not bound @@ -121,53 +108,6 @@ !missing-selector! AVCompositionTrack::hasMediaCharacteristic: not bound !missing-selector! AVCompositionTrack::metadataForFormat: not bound !missing-selector! AVCompositionTrack::samplePresentationTimeForTrackTime: not bound -!missing-selector! AVExtendedNoteOnEvent::duration not bound -!missing-selector! AVExtendedNoteOnEvent::groupID not bound -!missing-selector! AVExtendedNoteOnEvent::initWithMIDINote:velocity:groupID:duration: not bound -!missing-selector! AVExtendedNoteOnEvent::initWithMIDINote:velocity:instrumentID:groupID:duration: not bound -!missing-selector! AVExtendedNoteOnEvent::instrumentID not bound -!missing-selector! AVExtendedNoteOnEvent::midiNote not bound -!missing-selector! AVExtendedNoteOnEvent::setDuration: not bound -!missing-selector! AVExtendedNoteOnEvent::setGroupID: not bound -!missing-selector! AVExtendedNoteOnEvent::setInstrumentID: not bound -!missing-selector! AVExtendedNoteOnEvent::setMidiNote: not bound -!missing-selector! AVExtendedNoteOnEvent::setVelocity: not bound -!missing-selector! AVExtendedNoteOnEvent::velocity not bound -!missing-selector! AVExtendedTempoEvent::initWithTempo: not bound -!missing-selector! AVExtendedTempoEvent::setTempo: not bound -!missing-selector! AVExtendedTempoEvent::tempo not bound -!missing-selector! AVMIDIChannelEvent::channel not bound -!missing-selector! AVMIDIChannelEvent::setChannel: not bound -!missing-selector! AVMIDIChannelPressureEvent::initWithChannel:pressure: not bound -!missing-selector! AVMIDIChannelPressureEvent::pressure not bound -!missing-selector! AVMIDIChannelPressureEvent::setPressure: not bound -!missing-selector! AVMIDIControlChangeEvent::initWithChannel:messageType:value: not bound -!missing-selector! AVMIDIControlChangeEvent::messageType not bound -!missing-selector! AVMIDIControlChangeEvent::value not bound -!missing-selector! AVMIDIMetaEvent::initWithType:data: not bound -!missing-selector! AVMIDIMetaEvent::type not bound -!missing-selector! AVMIDINoteEvent::channel not bound -!missing-selector! AVMIDINoteEvent::duration not bound -!missing-selector! AVMIDINoteEvent::initWithChannel:key:velocity:duration: not bound -!missing-selector! AVMIDINoteEvent::key not bound -!missing-selector! AVMIDINoteEvent::setChannel: not bound -!missing-selector! AVMIDINoteEvent::setDuration: not bound -!missing-selector! AVMIDINoteEvent::setKey: not bound -!missing-selector! AVMIDINoteEvent::setVelocity: not bound -!missing-selector! AVMIDINoteEvent::velocity not bound -!missing-selector! AVMIDIPitchBendEvent::initWithChannel:value: not bound -!missing-selector! AVMIDIPitchBendEvent::setValue: not bound -!missing-selector! AVMIDIPitchBendEvent::value not bound -!missing-selector! AVMIDIPolyPressureEvent::initWithChannel:key:pressure: not bound -!missing-selector! AVMIDIPolyPressureEvent::key not bound -!missing-selector! AVMIDIPolyPressureEvent::pressure not bound -!missing-selector! AVMIDIPolyPressureEvent::setKey: not bound -!missing-selector! AVMIDIPolyPressureEvent::setPressure: not bound -!missing-selector! AVMIDIProgramChangeEvent::initWithChannel:programNumber: not bound -!missing-selector! AVMIDIProgramChangeEvent::programNumber not bound -!missing-selector! AVMIDIProgramChangeEvent::setProgramNumber: not bound -!missing-selector! AVMIDISysexEvent::initWithData: not bound -!missing-selector! AVMIDISysexEvent::sizeInBytes not bound !missing-selector! AVMusicTrack::addEvent:atBeat: not bound !missing-selector! AVMusicTrack::clearEventsInRange: not bound !missing-selector! AVMusicTrack::copyAndMergeEventsInRange:fromTrack:mergeAtBeat: not bound @@ -177,8 +117,6 @@ !missing-selector! AVMusicTrack::moveEventsInRange:byAmount: not bound !missing-selector! AVMusicTrack::setUsesAutomatedParameters: not bound !missing-selector! AVMusicTrack::usesAutomatedParameters not bound -!missing-selector! AVMusicUserEvent::initWithData: not bound -!missing-selector! AVMusicUserEvent::sizeInBytes not bound !missing-selector! AVMutableComposition::insertTimeRange:ofAsset:atTime:completionHandler: not bound !missing-selector! AVMutableMovie::chapterMetadataGroupsBestMatchingPreferredLanguages: not bound !missing-selector! AVMutableMovie::chapterMetadataGroupsWithTitleLocale:containingItemsWithCommonKeys: not bound @@ -190,110 +128,22 @@ !missing-selector! AVMutableMovieTrack::metadataForFormat: not bound !missing-selector! AVMutableMovieTrack::samplePresentationTimeForTrackTime: not bound !missing-selector! AVMutableMovieTrack::segmentForTrackTime: not bound -!missing-selector! AVParameterEvent::element not bound -!missing-selector! AVParameterEvent::initWithParameterID:scope:element:value: not bound -!missing-selector! AVParameterEvent::parameterID not bound -!missing-selector! AVParameterEvent::scope not bound -!missing-selector! AVParameterEvent::setElement: not bound -!missing-selector! AVParameterEvent::setParameterID: not bound -!missing-selector! AVParameterEvent::setScope: not bound -!missing-selector! AVParameterEvent::setValue: not bound -!missing-selector! AVParameterEvent::value not bound !missing-selector! AVPlayer::defaultRate not bound !missing-selector! AVPlayer::setDefaultRate: not bound -!missing-selector! AVPlayerInterstitialEvent::alignsResumptionWithPrimarySegmentBoundary not bound -!missing-selector! AVPlayerInterstitialEvent::alignsStartWithPrimarySegmentBoundary not bound -!missing-selector! AVPlayerInterstitialEvent::cue not bound -!missing-selector! AVPlayerInterstitialEvent::setAlignsResumptionWithPrimarySegmentBoundary: not bound -!missing-selector! AVPlayerInterstitialEvent::setAlignsStartWithPrimarySegmentBoundary: not bound -!missing-selector! AVPlayerInterstitialEvent::setCue: not bound -!missing-selector! AVPlayerInterstitialEvent::setDate: not bound -!missing-selector! AVPlayerInterstitialEvent::setIdentifier: not bound -!missing-selector! AVPlayerInterstitialEvent::setPlayoutLimit: not bound -!missing-selector! AVPlayerInterstitialEvent::setPrimaryItem: not bound -!missing-selector! AVPlayerInterstitialEvent::setRestrictions: not bound -!missing-selector! AVPlayerInterstitialEvent::setResumptionOffset: not bound -!missing-selector! AVPlayerInterstitialEvent::setTemplateItems: not bound -!missing-selector! AVPlayerInterstitialEvent::setTime: not bound -!missing-selector! AVPlayerInterstitialEvent::setUserDefinedAttributes: not bound -!missing-selector! AVPlayerInterstitialEvent::setWillPlayOnce: not bound -!missing-selector! AVPlayerInterstitialEvent::willPlayOnce not bound !missing-selector! AVSampleBufferGenerator::createSampleBufferForRequest:addingToBatch:error: not bound !missing-selector! AVSampleBufferGenerator::createSampleBufferForRequest:error: not bound !missing-selector! AVSampleBufferGenerator::makeBatch not bound -!missing-selector! AVSampleBufferGeneratorBatch::cancel not bound -!missing-selector! AVSampleBufferGeneratorBatch::makeDataReadyWithCompletionHandler: not bound -!missing-selector! AVSpeechSynthesisMarker::byteSampleOffset not bound -!missing-selector! AVSpeechSynthesisMarker::initWithMarkerType:forTextRange:atByteSampleOffset: not bound -!missing-selector! AVSpeechSynthesisMarker::mark not bound -!missing-selector! AVSpeechSynthesisMarker::setByteSampleOffset: not bound -!missing-selector! AVSpeechSynthesisMarker::setMark: not bound -!missing-selector! AVSpeechSynthesisMarker::setTextRange: not bound -!missing-selector! AVSpeechSynthesisMarker::textRange not bound -!missing-selector! AVSpeechSynthesisProviderAudioUnit::cancelSpeechRequest not bound -!missing-selector! AVSpeechSynthesisProviderAudioUnit::setSpeechSynthesisOutputMetadataBlock: not bound -!missing-selector! AVSpeechSynthesisProviderAudioUnit::setSpeechVoices: not bound -!missing-selector! AVSpeechSynthesisProviderAudioUnit::speechSynthesisOutputMetadataBlock not bound -!missing-selector! AVSpeechSynthesisProviderAudioUnit::speechVoices not bound -!missing-selector! AVSpeechSynthesisProviderAudioUnit::synthesizeSpeechRequest: not bound -!missing-selector! AVSpeechSynthesisProviderRequest::initWithSSMLRepresentation:voice: not bound -!missing-selector! AVSpeechSynthesisProviderRequest::ssmlRepresentation not bound -!missing-selector! AVSpeechSynthesisProviderRequest::voice not bound -!missing-selector! AVSpeechSynthesisProviderVoice::age not bound -!missing-selector! AVSpeechSynthesisProviderVoice::gender not bound -!missing-selector! AVSpeechSynthesisProviderVoice::identifier not bound -!missing-selector! AVSpeechSynthesisProviderVoice::initWithName:identifier:primaryLanguages:supportedLanguages: not bound -!missing-selector! AVSpeechSynthesisProviderVoice::name not bound -!missing-selector! AVSpeechSynthesisProviderVoice::primaryLanguages not bound -!missing-selector! AVSpeechSynthesisProviderVoice::setAge: not bound -!missing-selector! AVSpeechSynthesisProviderVoice::setGender: not bound -!missing-selector! AVSpeechSynthesisProviderVoice::setVersion: not bound -!missing-selector! AVSpeechSynthesisProviderVoice::setVoiceSize: not bound -!missing-selector! AVSpeechSynthesisProviderVoice::supportedLanguages not bound -!missing-selector! AVSpeechSynthesisProviderVoice::version not bound -!missing-selector! AVSpeechSynthesisProviderVoice::voiceSize not bound !missing-selector! AVSpeechSynthesizer::writeUtterance:toBufferCallback:toMarkerCallback: not bound !missing-selector! AVSpeechUtterance::initWithSSMLRepresentation: not bound !missing-selector! AVURLAsset::httpSessionIdentifier not bound !missing-selector! AVVideoComposition::determineValidityForAsset:timeRange:validationDelegate:completionHandler: not bound !missing-selector! NSValue::CMVideoDimensionsValue not bound -!missing-type! AVAssetPlaybackAssistant not bound -!missing-type! AVAUPresetEvent not bound !missing-type! AVCaptureMetadataOutput not bound -!missing-type! AVExtendedNoteOnEvent not bound -!missing-type! AVExtendedTempoEvent not bound -!missing-type! AVMIDIChannelEvent not bound -!missing-type! AVMIDIChannelPressureEvent not bound -!missing-type! AVMIDIControlChangeEvent not bound -!missing-type! AVMIDIMetaEvent not bound -!missing-type! AVMIDINoteEvent not bound -!missing-type! AVMIDIPitchBendEvent not bound -!missing-type! AVMIDIPolyPressureEvent not bound -!missing-type! AVMIDIProgramChangeEvent not bound -!missing-type! AVMIDISysexEvent not bound -!missing-type! AVMusicEvent not bound -!missing-type! AVMusicUserEvent not bound -!missing-type! AVParameterEvent not bound -!missing-type! AVSampleBufferGeneratorBatch not bound -!missing-type! AVSpeechSynthesisMarker not bound -!missing-type! AVSpeechSynthesisProviderAudioUnit not bound -!missing-type! AVSpeechSynthesisProviderRequest not bound -!missing-type! AVSpeechSynthesisProviderVoice not bound -!missing-enum-value! AVSpeechSynthesisVoiceQuality native value AVSpeechSynthesisVoiceQualityPremium = 3 not bound -!missing-selector! AVPlayerLayer::copyDisplayedPixelBuffer not bound -!missing-selector! AVCapturePhotoOutput::preservesLivePhotoCaptureSuspendedOnSessionStop not bound -!missing-selector! AVCapturePhotoOutput::setPreservesLivePhotoCaptureSuspendedOnSessionStop: not bound !missing-selector! AVCaptureDeskViewApplication::presentWithCompletionHandler: not bound !missing-selector! AVCaptureDeskViewApplication::presentWithLaunchConfiguration:completionHandler: not bound !missing-selector! AVCaptureDeskViewApplicationLaunchConfiguration::mainWindowFrame not bound !missing-selector! AVCaptureDeskViewApplicationLaunchConfiguration::requiresSetUpModeCompletion not bound !missing-selector! AVCaptureDeskViewApplicationLaunchConfiguration::setMainWindowFrame: not bound !missing-selector! AVCaptureDeskViewApplicationLaunchConfiguration::setRequiresSetUpModeCompletion: not bound -!missing-selector! AVCaptureDeviceFormat::secondaryNativeResolutionZoomFactors not bound -!missing-selector! AVCaptureDeviceFormat::supportedMaxPhotoDimensions not bound -!missing-selector! AVCapturePhotoOutput::maxPhotoDimensions not bound -!missing-selector! AVCapturePhotoOutput::setMaxPhotoDimensions: not bound -!missing-selector! AVCapturePhotoSettings::maxPhotoDimensions not bound -!missing-selector! AVCapturePhotoSettings::setMaxPhotoDimensions: not bound !missing-type! AVCaptureDeskViewApplication not bound !missing-type! AVCaptureDeskViewApplicationLaunchConfiguration not bound diff --git a/tests/xtro-sharpie/tvOS-AVFoundation.todo b/tests/xtro-sharpie/tvOS-AVFoundation.todo index 068582007cc4..c39941d33ce4 100644 --- a/tests/xtro-sharpie/tvOS-AVFoundation.todo +++ b/tests/xtro-sharpie/tvOS-AVFoundation.todo @@ -16,10 +16,6 @@ !deprecated-attribute-missing! AVMutableComposition::insertTimeRange:ofAsset:atTime:error: missing a [Deprecated] attribute !deprecated-attribute-missing! AVURLAsset::compatibleTrackForCompositionTrack: missing a [Deprecated] attribute !deprecated-attribute-missing! AVVideoComposition::isValidForAsset:timeRange:validationDelegate: missing a [Deprecated] attribute -!missing-enum! AVAssetTrackGroupOutputHandling not bound -!missing-enum! AVMIDIControlChangeMessageType not bound -!missing-enum! AVMIDIMetaEventType not bound -!missing-enum! AVSpeechSynthesisMarkerMark not bound !missing-enum-value! AVError native value AVErrorAirPlayReceiverTemporarilyUnavailable = -11882 not bound !missing-enum-value! AVError native value AVErrorFailedToLoadSampleData = -11881 not bound !missing-enum-value! AVError native value AVErrorInvalidSampleCursor = -11880 not bound @@ -55,14 +51,11 @@ !missing-field! AVURLAssetPrimarySessionIdentifierKey not bound !missing-field! AVVideoTransferFunction_Linear not bound !missing-protocol-conformance! AVPlayerInterstitialEvent should conform to NSCopying -!missing-selector! +AVAssetPlaybackAssistant::assetPlaybackAssistantWithAsset: not bound !missing-selector! +AVMutableVideoComposition::videoCompositionWithAsset:applyingCIFiltersWithHandler:completionHandler: not bound !missing-selector! +AVMutableVideoComposition::videoCompositionWithPropertiesOfAsset:completionHandler: not bound !missing-selector! +AVMutableVideoComposition::videoCompositionWithPropertiesOfAsset:prototypeInstruction:completionHandler: not bound !missing-selector! +AVPlayerInterstitialEvent::interstitialEventWithPrimaryItem:date: not bound !missing-selector! +AVPlayerInterstitialEvent::interstitialEventWithPrimaryItem:time: not bound -!missing-selector! +AVSampleBufferGenerator::notifyOfDataReadyForSampleBuffer:completionHandler: not bound -!missing-selector! +AVSpeechSynthesisProviderVoice::updateSpeechVoices not bound !missing-selector! +AVSpeechUtterance::speechUtteranceWithSSMLRepresentation: not bound !missing-selector! +AVVideoComposition::videoCompositionWithAsset:applyingCIFiltersWithHandler:completionHandler: not bound !missing-selector! +AVVideoComposition::videoCompositionWithPropertiesOfAsset:completionHandler: not bound @@ -70,7 +63,6 @@ !missing-selector! AVAssetExportSession::audioTrackGroupHandling not bound !missing-selector! AVAssetExportSession::setAudioTrackGroupHandling: not bound !missing-selector! AVAssetImageGenerator::generateCGImageAsynchronouslyForTime:completionHandler: not bound -!missing-selector! AVAssetPlaybackAssistant::loadPlaybackConfigurationOptionsWithCompletionHandler: not bound !missing-selector! AVAssetResourceLoadingContentInformationRequest::isEntireLengthAvailableOnDemand not bound !missing-selector! AVAssetResourceLoadingContentInformationRequest::setEntireLengthAvailableOnDemand: not bound !missing-selector! AVAssetTrack::canProvideSampleCursors not bound @@ -85,12 +77,6 @@ !missing-selector! AVAudioSequencer::setUserCallback: not bound !missing-selector! AVAudioUnitComponent::icon not bound !missing-selector! AVAudioUnitMIDIInstrument::sendMIDIEventList: not bound -!missing-selector! AVAUPresetEvent::element not bound -!missing-selector! AVAUPresetEvent::initWithScope:element:dictionary: not bound -!missing-selector! AVAUPresetEvent::presetDictionary not bound -!missing-selector! AVAUPresetEvent::scope not bound -!missing-selector! AVAUPresetEvent::setElement: not bound -!missing-selector! AVAUPresetEvent::setScope: not bound !missing-selector! AVComposition::chapterMetadataGroupsBestMatchingPreferredLanguages: not bound !missing-selector! AVComposition::chapterMetadataGroupsWithTitleLocale:containingItemsWithCommonKeys: not bound !missing-selector! AVComposition::mediaSelectionGroupForMediaCharacteristic: not bound @@ -100,53 +86,6 @@ !missing-selector! AVCompositionTrack::hasMediaCharacteristic: not bound !missing-selector! AVCompositionTrack::metadataForFormat: not bound !missing-selector! AVCompositionTrack::samplePresentationTimeForTrackTime: not bound -!missing-selector! AVExtendedNoteOnEvent::duration not bound -!missing-selector! AVExtendedNoteOnEvent::groupID not bound -!missing-selector! AVExtendedNoteOnEvent::initWithMIDINote:velocity:groupID:duration: not bound -!missing-selector! AVExtendedNoteOnEvent::initWithMIDINote:velocity:instrumentID:groupID:duration: not bound -!missing-selector! AVExtendedNoteOnEvent::instrumentID not bound -!missing-selector! AVExtendedNoteOnEvent::midiNote not bound -!missing-selector! AVExtendedNoteOnEvent::setDuration: not bound -!missing-selector! AVExtendedNoteOnEvent::setGroupID: not bound -!missing-selector! AVExtendedNoteOnEvent::setInstrumentID: not bound -!missing-selector! AVExtendedNoteOnEvent::setMidiNote: not bound -!missing-selector! AVExtendedNoteOnEvent::setVelocity: not bound -!missing-selector! AVExtendedNoteOnEvent::velocity not bound -!missing-selector! AVExtendedTempoEvent::initWithTempo: not bound -!missing-selector! AVExtendedTempoEvent::setTempo: not bound -!missing-selector! AVExtendedTempoEvent::tempo not bound -!missing-selector! AVMIDIChannelEvent::channel not bound -!missing-selector! AVMIDIChannelEvent::setChannel: not bound -!missing-selector! AVMIDIChannelPressureEvent::initWithChannel:pressure: not bound -!missing-selector! AVMIDIChannelPressureEvent::pressure not bound -!missing-selector! AVMIDIChannelPressureEvent::setPressure: not bound -!missing-selector! AVMIDIControlChangeEvent::initWithChannel:messageType:value: not bound -!missing-selector! AVMIDIControlChangeEvent::messageType not bound -!missing-selector! AVMIDIControlChangeEvent::value not bound -!missing-selector! AVMIDIMetaEvent::initWithType:data: not bound -!missing-selector! AVMIDIMetaEvent::type not bound -!missing-selector! AVMIDINoteEvent::channel not bound -!missing-selector! AVMIDINoteEvent::duration not bound -!missing-selector! AVMIDINoteEvent::initWithChannel:key:velocity:duration: not bound -!missing-selector! AVMIDINoteEvent::key not bound -!missing-selector! AVMIDINoteEvent::setChannel: not bound -!missing-selector! AVMIDINoteEvent::setDuration: not bound -!missing-selector! AVMIDINoteEvent::setKey: not bound -!missing-selector! AVMIDINoteEvent::setVelocity: not bound -!missing-selector! AVMIDINoteEvent::velocity not bound -!missing-selector! AVMIDIPitchBendEvent::initWithChannel:value: not bound -!missing-selector! AVMIDIPitchBendEvent::setValue: not bound -!missing-selector! AVMIDIPitchBendEvent::value not bound -!missing-selector! AVMIDIPolyPressureEvent::initWithChannel:key:pressure: not bound -!missing-selector! AVMIDIPolyPressureEvent::key not bound -!missing-selector! AVMIDIPolyPressureEvent::pressure not bound -!missing-selector! AVMIDIPolyPressureEvent::setKey: not bound -!missing-selector! AVMIDIPolyPressureEvent::setPressure: not bound -!missing-selector! AVMIDIProgramChangeEvent::initWithChannel:programNumber: not bound -!missing-selector! AVMIDIProgramChangeEvent::programNumber not bound -!missing-selector! AVMIDIProgramChangeEvent::setProgramNumber: not bound -!missing-selector! AVMIDISysexEvent::initWithData: not bound -!missing-selector! AVMIDISysexEvent::sizeInBytes not bound !missing-selector! AVMusicTrack::addEvent:atBeat: not bound !missing-selector! AVMusicTrack::clearEventsInRange: not bound !missing-selector! AVMusicTrack::copyAndMergeEventsInRange:fromTrack:mergeAtBeat: not bound @@ -156,135 +95,16 @@ !missing-selector! AVMusicTrack::moveEventsInRange:byAmount: not bound !missing-selector! AVMusicTrack::setUsesAutomatedParameters: not bound !missing-selector! AVMusicTrack::usesAutomatedParameters not bound -!missing-selector! AVMusicUserEvent::initWithData: not bound -!missing-selector! AVMusicUserEvent::sizeInBytes not bound !missing-selector! AVMutableComposition::insertTimeRange:ofAsset:atTime:completionHandler: not bound -!missing-selector! AVParameterEvent::element not bound -!missing-selector! AVParameterEvent::initWithParameterID:scope:element:value: not bound -!missing-selector! AVParameterEvent::parameterID not bound -!missing-selector! AVParameterEvent::scope not bound -!missing-selector! AVParameterEvent::setElement: not bound -!missing-selector! AVParameterEvent::setParameterID: not bound -!missing-selector! AVParameterEvent::setScope: not bound -!missing-selector! AVParameterEvent::setValue: not bound -!missing-selector! AVParameterEvent::value not bound !missing-selector! AVPlayer::defaultRate not bound !missing-selector! AVPlayer::setDefaultRate: not bound -!missing-selector! AVPlayerInterstitialEvent::alignsResumptionWithPrimarySegmentBoundary not bound -!missing-selector! AVPlayerInterstitialEvent::alignsStartWithPrimarySegmentBoundary not bound -!missing-selector! AVPlayerInterstitialEvent::cue not bound -!missing-selector! AVPlayerInterstitialEvent::setAlignsResumptionWithPrimarySegmentBoundary: not bound -!missing-selector! AVPlayerInterstitialEvent::setAlignsStartWithPrimarySegmentBoundary: not bound -!missing-selector! AVPlayerInterstitialEvent::setCue: not bound -!missing-selector! AVPlayerInterstitialEvent::setDate: not bound -!missing-selector! AVPlayerInterstitialEvent::setIdentifier: not bound -!missing-selector! AVPlayerInterstitialEvent::setPlayoutLimit: not bound -!missing-selector! AVPlayerInterstitialEvent::setPrimaryItem: not bound -!missing-selector! AVPlayerInterstitialEvent::setRestrictions: not bound -!missing-selector! AVPlayerInterstitialEvent::setResumptionOffset: not bound -!missing-selector! AVPlayerInterstitialEvent::setTemplateItems: not bound -!missing-selector! AVPlayerInterstitialEvent::setTime: not bound -!missing-selector! AVPlayerInterstitialEvent::setUserDefinedAttributes: not bound -!missing-selector! AVPlayerInterstitialEvent::setWillPlayOnce: not bound -!missing-selector! AVPlayerInterstitialEvent::willPlayOnce not bound !missing-selector! AVSampleBufferGenerator::createSampleBufferForRequest:addingToBatch:error: not bound !missing-selector! AVSampleBufferGenerator::createSampleBufferForRequest:error: not bound -!missing-selector! AVSampleBufferGenerator::initWithAsset:timebase: not bound !missing-selector! AVSampleBufferGenerator::makeBatch not bound -!missing-selector! AVSampleBufferGeneratorBatch::cancel not bound -!missing-selector! AVSampleBufferGeneratorBatch::makeDataReadyWithCompletionHandler: not bound -!missing-selector! AVSampleBufferRequest::direction not bound -!missing-selector! AVSampleBufferRequest::initWithStartCursor: not bound -!missing-selector! AVSampleBufferRequest::limitCursor not bound -!missing-selector! AVSampleBufferRequest::maxSampleCount not bound -!missing-selector! AVSampleBufferRequest::mode not bound -!missing-selector! AVSampleBufferRequest::overrideTime not bound -!missing-selector! AVSampleBufferRequest::preferredMinSampleCount not bound -!missing-selector! AVSampleBufferRequest::setDirection: not bound -!missing-selector! AVSampleBufferRequest::setLimitCursor: not bound -!missing-selector! AVSampleBufferRequest::setMaxSampleCount: not bound -!missing-selector! AVSampleBufferRequest::setMode: not bound -!missing-selector! AVSampleBufferRequest::setOverrideTime: not bound -!missing-selector! AVSampleBufferRequest::setPreferredMinSampleCount: not bound -!missing-selector! AVSampleBufferRequest::startCursor not bound -!missing-selector! AVSampleCursor::comparePositionInDecodeOrderWithPositionOfCursor: not bound -!missing-selector! AVSampleCursor::copyCurrentSampleFormatDescription not bound -!missing-selector! AVSampleCursor::currentChunkInfo not bound -!missing-selector! AVSampleCursor::currentChunkStorageRange not bound -!missing-selector! AVSampleCursor::currentChunkStorageURL not bound !missing-selector! AVSampleCursor::currentSampleAudioDependencyInfo not bound !missing-selector! AVSampleCursor::currentSampleDependencyAttachments not bound -!missing-selector! AVSampleCursor::currentSampleDependencyInfo not bound -!missing-selector! AVSampleCursor::currentSampleDuration not bound -!missing-selector! AVSampleCursor::currentSampleIndexInChunk not bound -!missing-selector! AVSampleCursor::currentSampleStorageRange not bound -!missing-selector! AVSampleCursor::currentSampleSyncInfo not bound -!missing-selector! AVSampleCursor::decodeTimeStamp not bound -!missing-selector! AVSampleCursor::presentationTimeStamp not bound -!missing-selector! AVSampleCursor::samplesRequiredForDecoderRefresh not bound -!missing-selector! AVSampleCursor::samplesWithEarlierDecodeTimeStampsMayHaveLaterPresentationTimeStampsThanCursor: not bound -!missing-selector! AVSampleCursor::samplesWithLaterDecodeTimeStampsMayHaveEarlierPresentationTimeStampsThanCursor: not bound -!missing-selector! AVSampleCursor::stepByDecodeTime:wasPinned: not bound -!missing-selector! AVSampleCursor::stepByPresentationTime:wasPinned: not bound -!missing-selector! AVSampleCursor::stepInDecodeOrderByCount: not bound -!missing-selector! AVSampleCursor::stepInPresentationOrderByCount: not bound -!missing-selector! AVSpeechSynthesisMarker::byteSampleOffset not bound -!missing-selector! AVSpeechSynthesisMarker::initWithMarkerType:forTextRange:atByteSampleOffset: not bound -!missing-selector! AVSpeechSynthesisMarker::mark not bound -!missing-selector! AVSpeechSynthesisMarker::setByteSampleOffset: not bound -!missing-selector! AVSpeechSynthesisMarker::setMark: not bound -!missing-selector! AVSpeechSynthesisMarker::setTextRange: not bound -!missing-selector! AVSpeechSynthesisMarker::textRange not bound -!missing-selector! AVSpeechSynthesisProviderAudioUnit::cancelSpeechRequest not bound -!missing-selector! AVSpeechSynthesisProviderAudioUnit::setSpeechSynthesisOutputMetadataBlock: not bound -!missing-selector! AVSpeechSynthesisProviderAudioUnit::setSpeechVoices: not bound -!missing-selector! AVSpeechSynthesisProviderAudioUnit::speechSynthesisOutputMetadataBlock not bound -!missing-selector! AVSpeechSynthesisProviderAudioUnit::speechVoices not bound -!missing-selector! AVSpeechSynthesisProviderAudioUnit::synthesizeSpeechRequest: not bound -!missing-selector! AVSpeechSynthesisProviderRequest::initWithSSMLRepresentation:voice: not bound -!missing-selector! AVSpeechSynthesisProviderRequest::ssmlRepresentation not bound -!missing-selector! AVSpeechSynthesisProviderRequest::voice not bound -!missing-selector! AVSpeechSynthesisProviderVoice::age not bound -!missing-selector! AVSpeechSynthesisProviderVoice::gender not bound -!missing-selector! AVSpeechSynthesisProviderVoice::identifier not bound -!missing-selector! AVSpeechSynthesisProviderVoice::initWithName:identifier:primaryLanguages:supportedLanguages: not bound -!missing-selector! AVSpeechSynthesisProviderVoice::name not bound -!missing-selector! AVSpeechSynthesisProviderVoice::primaryLanguages not bound -!missing-selector! AVSpeechSynthesisProviderVoice::setAge: not bound -!missing-selector! AVSpeechSynthesisProviderVoice::setGender: not bound -!missing-selector! AVSpeechSynthesisProviderVoice::setVersion: not bound -!missing-selector! AVSpeechSynthesisProviderVoice::setVoiceSize: not bound -!missing-selector! AVSpeechSynthesisProviderVoice::supportedLanguages not bound -!missing-selector! AVSpeechSynthesisProviderVoice::version not bound -!missing-selector! AVSpeechSynthesisProviderVoice::voiceSize not bound !missing-selector! AVSpeechSynthesizer::writeUtterance:toBufferCallback:toMarkerCallback: not bound !missing-selector! AVSpeechUtterance::initWithSSMLRepresentation: not bound !missing-selector! AVURLAsset::httpSessionIdentifier not bound !missing-selector! AVVideoComposition::determineValidityForAsset:timeRange:validationDelegate:completionHandler: not bound !missing-selector! NSValue::CMVideoDimensionsValue not bound -!missing-type! AVAssetPlaybackAssistant not bound -!missing-type! AVAUPresetEvent not bound -!missing-type! AVExtendedNoteOnEvent not bound -!missing-type! AVExtendedTempoEvent not bound -!missing-type! AVMIDIChannelEvent not bound -!missing-type! AVMIDIChannelPressureEvent not bound -!missing-type! AVMIDIControlChangeEvent not bound -!missing-type! AVMIDIMetaEvent not bound -!missing-type! AVMIDINoteEvent not bound -!missing-type! AVMIDIPitchBendEvent not bound -!missing-type! AVMIDIPolyPressureEvent not bound -!missing-type! AVMIDIProgramChangeEvent not bound -!missing-type! AVMIDISysexEvent not bound -!missing-type! AVMusicEvent not bound -!missing-type! AVMusicUserEvent not bound -!missing-type! AVParameterEvent not bound -!missing-type! AVSampleBufferGenerator not bound -!missing-type! AVSampleBufferGeneratorBatch not bound -!missing-type! AVSampleBufferRequest not bound -!missing-type! AVSampleCursor not bound -!missing-type! AVSpeechSynthesisMarker not bound -!missing-type! AVSpeechSynthesisProviderAudioUnit not bound -!missing-type! AVSpeechSynthesisProviderRequest not bound -!missing-type! AVSpeechSynthesisProviderVoice not bound -!missing-enum-value! AVSpeechSynthesisVoiceQuality native value AVSpeechSynthesisVoiceQualityPremium = 3 not bound -!missing-selector! AVPlayerLayer::copyDisplayedPixelBuffer not bound diff --git a/tests/xtro-sharpie/watchOS-AVFoundation.todo b/tests/xtro-sharpie/watchOS-AVFoundation.todo index 11ce5cb0259f..af2d5ccd325d 100644 --- a/tests/xtro-sharpie/watchOS-AVFoundation.todo +++ b/tests/xtro-sharpie/watchOS-AVFoundation.todo @@ -14,7 +14,6 @@ !deprecated-attribute-missing! AVURLAsset::compatibleTrackForCompositionTrack: missing a [Deprecated] attribute !missing-enum! AVMIDIControlChangeMessageType not bound !missing-enum! AVMIDIMetaEventType not bound -!missing-enum! AVSpeechSynthesisMarkerMark not bound !missing-enum-value! AVError native value AVErrorAirPlayReceiverTemporarilyUnavailable = -11882 not bound !missing-enum-value! AVError native value AVErrorFailedToLoadSampleData = -11881 not bound !missing-enum-value! AVError native value AVErrorInvalidSampleCursor = -11880 not bound @@ -27,14 +26,11 @@ !missing-field! AVURLAssetPrimarySessionIdentifierKey not bound !missing-protocol-conformance! AVPlayerInterstitialEvent should conform to NSCopying !missing-protocol-conformance! AVURLAsset should conform to AVContentKeyRecipient (defined in 'AVURLAssetContentKeyEligibility' category) -!missing-selector! +AVAssetPlaybackAssistant::assetPlaybackAssistantWithAsset: not bound !missing-selector! +AVPlayerInterstitialEvent::interstitialEventWithPrimaryItem:date: not bound !missing-selector! +AVPlayerInterstitialEvent::interstitialEventWithPrimaryItem:time: not bound !missing-selector! +AVSampleBufferGenerator::notifyOfDataReadyForSampleBuffer:completionHandler: not bound -!missing-selector! +AVSpeechSynthesisProviderVoice::updateSpeechVoices not bound !missing-selector! +AVSpeechUtterance::speechUtteranceWithSSMLRepresentation: not bound !missing-selector! +NSValue::valueWithCMVideoDimensions: not bound -!missing-selector! AVAssetPlaybackAssistant::loadPlaybackConfigurationOptionsWithCompletionHandler: not bound !missing-selector! AVAssetTrack::canProvideSampleCursors not bound !missing-selector! AVAssetTrack::makeSampleCursorAtFirstSampleInDecodeOrder not bound !missing-selector! AVAssetTrack::makeSampleCursorAtLastSampleInDecodeOrder not bound @@ -61,29 +57,10 @@ !missing-selector! AVMutableMovieTrack::segmentForTrackTime: not bound !missing-selector! AVPlayer::defaultRate not bound !missing-selector! AVPlayer::setDefaultRate: not bound -!missing-selector! AVPlayerInterstitialEvent::alignsResumptionWithPrimarySegmentBoundary not bound -!missing-selector! AVPlayerInterstitialEvent::alignsStartWithPrimarySegmentBoundary not bound -!missing-selector! AVPlayerInterstitialEvent::cue not bound -!missing-selector! AVPlayerInterstitialEvent::setAlignsResumptionWithPrimarySegmentBoundary: not bound -!missing-selector! AVPlayerInterstitialEvent::setAlignsStartWithPrimarySegmentBoundary: not bound -!missing-selector! AVPlayerInterstitialEvent::setCue: not bound -!missing-selector! AVPlayerInterstitialEvent::setDate: not bound -!missing-selector! AVPlayerInterstitialEvent::setIdentifier: not bound -!missing-selector! AVPlayerInterstitialEvent::setPlayoutLimit: not bound -!missing-selector! AVPlayerInterstitialEvent::setPrimaryItem: not bound -!missing-selector! AVPlayerInterstitialEvent::setRestrictions: not bound -!missing-selector! AVPlayerInterstitialEvent::setResumptionOffset: not bound -!missing-selector! AVPlayerInterstitialEvent::setTemplateItems: not bound -!missing-selector! AVPlayerInterstitialEvent::setTime: not bound -!missing-selector! AVPlayerInterstitialEvent::setUserDefinedAttributes: not bound -!missing-selector! AVPlayerInterstitialEvent::setWillPlayOnce: not bound -!missing-selector! AVPlayerInterstitialEvent::willPlayOnce not bound !missing-selector! AVSampleBufferGenerator::createSampleBufferForRequest:addingToBatch:error: not bound !missing-selector! AVSampleBufferGenerator::createSampleBufferForRequest:error: not bound !missing-selector! AVSampleBufferGenerator::initWithAsset:timebase: not bound !missing-selector! AVSampleBufferGenerator::makeBatch not bound -!missing-selector! AVSampleBufferGeneratorBatch::cancel not bound -!missing-selector! AVSampleBufferGeneratorBatch::makeDataReadyWithCompletionHandler: not bound !missing-selector! AVSampleBufferRequest::direction not bound !missing-selector! AVSampleBufferRequest::initWithStartCursor: not bound !missing-selector! AVSampleBufferRequest::limitCursor not bound @@ -98,62 +75,13 @@ !missing-selector! AVSampleBufferRequest::setOverrideTime: not bound !missing-selector! AVSampleBufferRequest::setPreferredMinSampleCount: not bound !missing-selector! AVSampleBufferRequest::startCursor not bound -!missing-selector! AVSampleCursor::comparePositionInDecodeOrderWithPositionOfCursor: not bound -!missing-selector! AVSampleCursor::copyCurrentSampleFormatDescription not bound -!missing-selector! AVSampleCursor::currentChunkInfo not bound -!missing-selector! AVSampleCursor::currentChunkStorageRange not bound -!missing-selector! AVSampleCursor::currentChunkStorageURL not bound !missing-selector! AVSampleCursor::currentSampleAudioDependencyInfo not bound !missing-selector! AVSampleCursor::currentSampleDependencyAttachments not bound -!missing-selector! AVSampleCursor::currentSampleDependencyInfo not bound -!missing-selector! AVSampleCursor::currentSampleDuration not bound -!missing-selector! AVSampleCursor::currentSampleIndexInChunk not bound -!missing-selector! AVSampleCursor::currentSampleStorageRange not bound -!missing-selector! AVSampleCursor::currentSampleSyncInfo not bound -!missing-selector! AVSampleCursor::decodeTimeStamp not bound -!missing-selector! AVSampleCursor::presentationTimeStamp not bound -!missing-selector! AVSampleCursor::samplesRequiredForDecoderRefresh not bound -!missing-selector! AVSampleCursor::samplesWithEarlierDecodeTimeStampsMayHaveLaterPresentationTimeStampsThanCursor: not bound -!missing-selector! AVSampleCursor::samplesWithLaterDecodeTimeStampsMayHaveEarlierPresentationTimeStampsThanCursor: not bound -!missing-selector! AVSampleCursor::stepByDecodeTime:wasPinned: not bound -!missing-selector! AVSampleCursor::stepByPresentationTime:wasPinned: not bound -!missing-selector! AVSampleCursor::stepInDecodeOrderByCount: not bound -!missing-selector! AVSampleCursor::stepInPresentationOrderByCount: not bound -!missing-selector! AVSpeechSynthesisMarker::byteSampleOffset not bound -!missing-selector! AVSpeechSynthesisMarker::initWithMarkerType:forTextRange:atByteSampleOffset: not bound -!missing-selector! AVSpeechSynthesisMarker::mark not bound -!missing-selector! AVSpeechSynthesisMarker::setByteSampleOffset: not bound -!missing-selector! AVSpeechSynthesisMarker::setMark: not bound -!missing-selector! AVSpeechSynthesisMarker::setTextRange: not bound -!missing-selector! AVSpeechSynthesisMarker::textRange not bound -!missing-selector! AVSpeechSynthesisProviderRequest::initWithSSMLRepresentation:voice: not bound -!missing-selector! AVSpeechSynthesisProviderRequest::ssmlRepresentation not bound -!missing-selector! AVSpeechSynthesisProviderRequest::voice not bound -!missing-selector! AVSpeechSynthesisProviderVoice::age not bound -!missing-selector! AVSpeechSynthesisProviderVoice::gender not bound -!missing-selector! AVSpeechSynthesisProviderVoice::identifier not bound -!missing-selector! AVSpeechSynthesisProviderVoice::initWithName:identifier:primaryLanguages:supportedLanguages: not bound -!missing-selector! AVSpeechSynthesisProviderVoice::name not bound -!missing-selector! AVSpeechSynthesisProviderVoice::primaryLanguages not bound -!missing-selector! AVSpeechSynthesisProviderVoice::setAge: not bound -!missing-selector! AVSpeechSynthesisProviderVoice::setGender: not bound -!missing-selector! AVSpeechSynthesisProviderVoice::setVersion: not bound -!missing-selector! AVSpeechSynthesisProviderVoice::setVoiceSize: not bound -!missing-selector! AVSpeechSynthesisProviderVoice::supportedLanguages not bound -!missing-selector! AVSpeechSynthesisProviderVoice::version not bound -!missing-selector! AVSpeechSynthesisProviderVoice::voiceSize not bound !missing-selector! AVSpeechSynthesizer::writeUtterance:toBufferCallback:toMarkerCallback: not bound !missing-selector! AVSpeechUtterance::initWithSSMLRepresentation: not bound !missing-selector! AVURLAsset::httpSessionIdentifier not bound !missing-selector! AVURLAsset::mayRequireContentKeysForMediaDataProcessing not bound !missing-selector! NSValue::CMVideoDimensionsValue not bound -!missing-type! AVAssetPlaybackAssistant not bound !missing-type! AVSampleBufferGenerator not bound -!missing-type! AVSampleBufferGeneratorBatch not bound !missing-type! AVSampleBufferRequest not bound -!missing-type! AVSampleCursor not bound -!missing-type! AVSpeechSynthesisMarker not bound -!missing-type! AVSpeechSynthesisProviderRequest not bound -!missing-type! AVSpeechSynthesisProviderVoice not bound !unknown-field! AVCaptureLensPositionCurrent bound -!missing-enum-value! AVSpeechSynthesisVoiceQuality native value AVSpeechSynthesisVoiceQualityPremium = 3 not bound From 079bbebb1652ac6910858d6841219662f131e6f7 Mon Sep 17 00:00:00 2001 From: Manuel de la Pena Date: Fri, 21 Oct 2022 12:12:03 -0400 Subject: [PATCH 2/6] [AVFoundation] Add support for xcode 14.1 --- src/AVFoundation/AVSpeechUtterance.cs | 34 ++ src/AVFoundation/Enums.cs | 8 +- src/CoreMidi/MidiStructs.cs | 45 ++ src/avfoundation.cs | 528 ++++++++++++++++-- src/foundation.cs | 14 + src/frameworks.sources | 2 + tests/cecil-tests/AttributeTest.cs | 6 + tests/introspection/ApiSelectorTest.cs | 7 + tests/introspection/iOS/iOSApiSelectorTest.cs | 27 +- .../common-AVFoundation.ignore | 3 + .../iOS-AVFoundation.todo | 96 ---- .../macOS-AVFoundation.ignore | 8 + .../macOS-AVFoundation.todo | 114 ---- .../tvOS-AVFoundation.todo | 72 --- tests/xtro-sharpie/common-AVFoundation.ignore | 3 +- tests/xtro-sharpie/iOS-AVFoundation.todo | 97 +--- tests/xtro-sharpie/macOS-AVFoundation.ignore | 9 + tests/xtro-sharpie/macOS-AVFoundation.todo | 114 ---- tests/xtro-sharpie/tvOS-AVFoundation.todo | 73 +-- tests/xtro-sharpie/watchOS-AVFoundation.todo | 79 --- 20 files changed, 656 insertions(+), 683 deletions(-) create mode 100644 src/AVFoundation/AVSpeechUtterance.cs create mode 100644 src/CoreMidi/MidiStructs.cs delete mode 100644 tests/xtro-sharpie/api-annotations-dotnet/macOS-AVFoundation.todo delete mode 100644 tests/xtro-sharpie/macOS-AVFoundation.todo delete mode 100644 tests/xtro-sharpie/watchOS-AVFoundation.todo diff --git a/src/AVFoundation/AVSpeechUtterance.cs b/src/AVFoundation/AVSpeechUtterance.cs new file mode 100644 index 000000000000..7c9ac4e1ba82 --- /dev/null +++ b/src/AVFoundation/AVSpeechUtterance.cs @@ -0,0 +1,34 @@ +using System; + +using Foundation; +using CoreFoundation; +using ObjCRuntime; +using AudioToolbox; + +#nullable enable + +namespace AVFoundation { + + public partial class AVSpeechUtterance { + + public AVSpeechUtterance (string speechString, bool isSsmlRepresentation = false) : base (NSObjectFlag.Empty) { + if (isSsmlRepresentation) { +#if IOS || __MACCATALYST__ || TVOS + if (SystemVersion.CheckiOS (16, 0)) { +#elif WATCH + if (SystemVersion.CheckwatchOS (9, 0)) { +#else + if (SystemVersion.CheckmacOS (13, 0)) { +#endif + InitializeHandle (_InitFromSsmlRepresentation (speechString), "initWithSSMLRepresentation:"); + } else { + throw new PlatformNotSupportedException ("initWithSSMLRepresentation: is not supported in this version of the OS."); + } + } else { + InitializeHandle (_InitFromString (speechString), "initWithString:"); + } + } + + } + +} diff --git a/src/AVFoundation/Enums.cs b/src/AVFoundation/Enums.cs index c25d37706f9a..f7a9794545ed 100644 --- a/src/AVFoundation/Enums.cs +++ b/src/AVFoundation/Enums.cs @@ -242,6 +242,10 @@ public enum AVError : long { RosettaNotInstalled = -11877, OperationCancelled = -11878, RequestCancelled = -11879, + + InvalidSampleCursor = -11880, + FailedToLoadSampleData = -11881, + AirPlayReceiverTemporarilyUnavailable = -11882, } [Watch (6, 0)] @@ -1026,6 +1030,7 @@ public enum AVAudioEngineManualRenderingStatus : long { [Native] public enum AVAudioSessionRouteSharingPolicy : ulong { Default = 0, + [Deprecated (PlatformName.MacOSX, 13, 0)] LongForm = 1, Independent = 2, [iOS (14, 0)] @@ -1237,8 +1242,7 @@ public enum AVSpeechSynthesisVoiceGender : long { [Introduced (PlatformName.MacCatalyst, 14, 0)] [NoWatch] [NoTV] - [NoMac] - [iOS (13, 0)] + [iOS (13, 0), Mac (13,0)] [Native] public enum AVCapturePhotoQualityPrioritization : long { Speed = 1, diff --git a/src/CoreMidi/MidiStructs.cs b/src/CoreMidi/MidiStructs.cs new file mode 100644 index 000000000000..7924d7c1f236 --- /dev/null +++ b/src/CoreMidi/MidiStructs.cs @@ -0,0 +1,45 @@ +using System; +using System.Runtime.InteropServices; + +using ObjCRuntime; +using CoreFoundation; +using Foundation; + + +namespace CoreMidi { + +#if NET + [SupportedOSPlatform ("ios14.0")] + [SupportedOSPlatform ("maccatalyst")] + [SupportedOSPlatform ("tvos14.0")] + [SupportedOSPlatform ("macos11.0")] +#else + [iOS (14,0), Mac (11,0), Watch (8,0), TV (14,0)] +#endif + [StructLayout (LayoutKind.Sequential)] + public struct MidiEventList + { +#if !COREBUILD + public MidiProtocolId protocol; +#endif + public uint NumPackets; + public MidiEventPacket[] packet; + } + +#if NET + [SupportedOSPlatform ("ios14.0")] + [SupportedOSPlatform ("maccatalyst")] + [SupportedOSPlatform ("tvos14.0")] + [SupportedOSPlatform ("macos11.0")] +#else + [iOS (14,0), Mac (11,0), Watch (8,0), TV (14,0)] +#endif + [StructLayout (LayoutKind.Sequential)] + public struct MidiEventPacket + { + public ulong TimeStamp; + public uint WordCount; + public uint[] Words; + } + +} diff --git a/src/avfoundation.cs b/src/avfoundation.cs index 9fb6deaeb854..94d7f2dea26c 100644 --- a/src/avfoundation.cs +++ b/src/avfoundation.cs @@ -66,6 +66,7 @@ #if MONOMAC using AppKit; using UIImage = AppKit.NSImage; +using CoreMidi; #else using UIKit; using AVSampleCursorChunkInfo = Foundation.NSObject; @@ -957,6 +958,10 @@ interface AVAudioConnectionPoint [Watch (4,0), TV (11,0), Mac (10,13), iOS (11,0)] delegate AVAudioEngineManualRenderingStatus AVAudioEngineManualRenderingBlock (/* AVAudioFrameCount = uint */ uint numberOfFrames, AudioBuffers outBuffer, [NullAllowed] /* OSStatus */ ref int outError); +#if MONOMAC + delegate int AUMidiEventListBlock (long eventSampleTime, byte cable, MidiEventList arg2); +#endif + [Watch (3,0)] [iOS (8,0)][Mac (10,10)] [BaseType (typeof (NSObject))] @@ -1077,10 +1082,16 @@ interface AVAudioEngine { void DisableManualRenderingMode (); #if !WATCH + [Deprecated (PlatformName.MacOSX, 13, 0)] + [Deprecated (PlatformName.iOS, 16, 0)] + [Deprecated (PlatformName.TvOS, 16, 0)] [TV (12,0), Mac (10,14), iOS (12,0), NoWatch] [Export ("connectMIDI:to:format:block:")] void ConnectMidi (AVAudioNode sourceNode, AVAudioNode destinationNode, [NullAllowed] AVAudioFormat format, [NullAllowed] AUMidiOutputEventBlock tapHandler); + [Deprecated (PlatformName.MacOSX, 13, 0)] + [Deprecated (PlatformName.iOS, 16, 0)] + [Deprecated (PlatformName.TvOS, 16, 0)] [TV (12,0), Mac (10,14), iOS (12,0), NoWatch] [Export ("connectMIDI:toNodes:format:block:")] void ConnectMidi (AVAudioNode sourceNode, AVAudioNode[] destinationNodes, [NullAllowed] AVAudioFormat format, [NullAllowed] AUMidiOutputEventBlock tapHandler); @@ -1105,6 +1116,16 @@ interface AVAudioEngine { [Watch (6,0), TV (13,0), Mac (10,15), iOS (13,0)] [Export ("attachedNodes", ArgumentSemantic.Copy)] NSSet AttachedNodes { get; } + +#if MONOMAC + [Watch (9,0), TV (16,0), Mac (13,0), iOS (16,0), MacCatalyst (16,0)] + [Export ("connectMIDI:toNodes:format:eventListBlock:")] + void ConnectMidi (AVAudioNode sourceNode, AVAudioNode[] destinationNodes, [NullAllowed] AVAudioFormat format, [NullAllowed] AUMidiEventListBlock tapHandler); + + [Watch (9,0), TV (16,0), Mac (13,0), iOS (16,0), MacCatalyst (16,0)] + [Export ("connectMIDI:to:format:eventListBlock:")] + void ConnectMidi (AVAudioNode sourceNode, AVAudioNode destinationNode, [NullAllowed] AVAudioFormat format, [NullAllowed] AUMidiEventListBlock tapHandler); +#endif } [NoWatch] @@ -2806,6 +2827,12 @@ interface AVAudioUnitMidiInstrument : AVAudioMixing { [Export ("sendMIDISysExEvent:")] void SendMidiSysExEvent (NSData midiData); + +#if MONOMAC + [TV (16,0), NoWatch, Mac (13,0), iOS (16,0), MacCatalyst (16,0)] + [Export ("sendMIDIEventList:")] + void SendMidiEventList (MidiEventList eventList); +#endif } [NoWatch, iOS (8,0)] @@ -3065,16 +3092,31 @@ interface AVAsset : NSCopying { [Export ("tracks")] AVAssetTrack [] Tracks { get; } + [Deprecated (PlatformName.MacOSX, 13, 0)] + [Deprecated (PlatformName.iOS, 16, 0)] + [Deprecated (PlatformName.TvOS, 16, 0)] + [Deprecated (PlatformName.WatchOS, 9, 0)] + [Deprecated (PlatformName.MacCatalyst, 16, 0)] [return: NullAllowed] [Export ("trackWithTrackID:")] AVAssetTrack TrackWithTrackID (int /* CMPersistentTrackID = int32_t */ trackID); + [Deprecated (PlatformName.MacOSX, 13, 0)] + [Deprecated (PlatformName.iOS, 16, 0)] + [Deprecated (PlatformName.TvOS, 16, 0)] + [Deprecated (PlatformName.WatchOS, 9, 0)] + [Deprecated (PlatformName.MacCatalyst, 16, 0)] [Export ("tracksWithMediaType:")] AVAssetTrack [] TracksWithMediaType (string mediaType); [Wrap ("TracksWithMediaType (mediaType.GetConstant ())")] AVAssetTrack [] GetTracks (AVMediaTypes mediaType); + [Deprecated (PlatformName.MacOSX, 13, 0)] + [Deprecated (PlatformName.iOS, 16, 0)] + [Deprecated (PlatformName.TvOS, 16, 0)] + [Deprecated (PlatformName.WatchOS, 9, 0)] + [Deprecated (PlatformName.MacCatalyst, 16, 0)] [Export ("tracksWithMediaCharacteristic:")] AVAssetTrack [] TracksWithMediaCharacteristic (string mediaCharacteristic); @@ -3095,9 +3137,19 @@ interface AVAsset : NSCopying { [Wrap ("GetMetadataForFormat (new NSString (format))", IsVirtual = true)] AVMetadataItem [] MetadataForFormat (string format); #endif + [Deprecated (PlatformName.MacOSX, 13, 0)] + [Deprecated (PlatformName.iOS, 16, 0)] + [Deprecated (PlatformName.TvOS, 16, 0)] + [Deprecated (PlatformName.WatchOS, 9, 0)] + [Deprecated (PlatformName.MacCatalyst, 16, 0)] [Export ("metadataForFormat:")] AVMetadataItem [] GetMetadataForFormat (NSString format); + [Deprecated (PlatformName.MacOSX, 13, 0)] + [Deprecated (PlatformName.iOS, 16, 0)] + [Deprecated (PlatformName.TvOS, 16, 0)] + [Deprecated (PlatformName.WatchOS, 9, 0)] + [Deprecated (PlatformName.MacCatalyst, 16, 0)] [Wrap ("GetMetadataForFormat (format.GetConstant ()!)")] AVMetadataItem [] GetMetadataForFormat (AVMetadataFormat format); @@ -3107,6 +3159,11 @@ interface AVAsset : NSCopying { [Export ("availableChapterLocales")] NSLocale [] AvailableChapterLocales { get; } + [Deprecated (PlatformName.MacOSX, 13, 0)] + [Deprecated (PlatformName.iOS, 16, 0)] + [Deprecated (PlatformName.TvOS, 16, 0)] + [Deprecated (PlatformName.WatchOS, 9, 0)] + [Deprecated (PlatformName.MacCatalyst, 16, 0)] [Export ("chapterMetadataGroupsWithTitleLocale:containingItemsWithCommonKeys:")] AVTimedMetadataGroup [] GetChapterMetadataGroups (NSLocale forLocale, [NullAllowed] AVMetadataItem [] commonKeys); @@ -3140,6 +3197,11 @@ interface AVAsset : NSCopying { [Export ("referenceRestrictions")] AVAssetReferenceRestrictions ReferenceRestrictions { get; } + [Deprecated (PlatformName.MacOSX, 13, 0)] + [Deprecated (PlatformName.iOS, 16, 0)] + [Deprecated (PlatformName.TvOS, 16, 0)] + [Deprecated (PlatformName.WatchOS, 9, 0)] + [Deprecated (PlatformName.MacCatalyst, 16, 0)] [return: NullAllowed] [Export ("mediaSelectionGroupForMediaCharacteristic:")] AVMediaSelectionGroup MediaSelectionGroupForMediaCharacteristic (string avMediaCharacteristic); @@ -3155,6 +3217,11 @@ interface AVAsset : NSCopying { [Async ("LoadValuesTaskAsync")] void LoadValuesAsynchronously (string [] keys, Action handler); + [Deprecated (PlatformName.MacOSX, 13, 0)] + [Deprecated (PlatformName.iOS, 16, 0)] + [Deprecated (PlatformName.TvOS, 16, 0)] + [Deprecated (PlatformName.WatchOS, 9, 0)] + [Deprecated (PlatformName.MacCatalyst, 16, 0)] [Export ("chapterMetadataGroupsBestMatchingPreferredLanguages:")] AVTimedMetadataGroup [] GetChapterMetadataGroupsBestMatchingPreferredLanguages (string [] languages); @@ -3167,6 +3234,11 @@ interface AVAsset : NSCopying { [Export ("metadata")] AVMetadataItem [] Metadata { get; } + [Deprecated (PlatformName.MacOSX, 13, 0)] + [Deprecated (PlatformName.iOS, 16, 0)] + [Deprecated (PlatformName.TvOS, 16, 0)] + [Deprecated (PlatformName.WatchOS, 9, 0)] + [Deprecated (PlatformName.MacCatalyst, 16, 0)] [Export ("unusedTrackID")] int /* CMPersistentTrackID -> int32_t */ UnusedTrackId { get; } // TODO: wrong name, should have benn UnusedTrackID @@ -3664,7 +3736,7 @@ interface AVSampleBufferRenderSynchronizer void RemoveTimeObserver (NSObject observer); } - [Mac (10,10), TV (16,0), iOS (16,0), NoWatch, MacCatalyst (16,0)] + [Mac (10,10), TV (16,0), iOS (16,0), Watch (9,0), MacCatalyst (16,0)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] interface AVSampleBufferGenerator { @@ -3682,9 +3754,24 @@ interface AVSampleBufferGenerator { [Async] [Export ("notifyOfDataReadyForSampleBuffer:completionHandler:")] void NotifyOfDataReady (CMSampleBuffer sbuf, Action completionHandler); + + [Watch (9, 0), TV (16, 0), Mac (13, 0), iOS (16, 0), MacCatalyst (16,0)] + [Export ("makeBatch")] + AVSampleBufferGeneratorBatch MakeBatch (); + + [Mac (13,0)] + [Export ("createSampleBufferForRequest:addingToBatch:error:")] + [return: NullAllowed] + CMSampleBuffer CreateSample (AVSampleBufferRequest request, AVSampleBufferGeneratorBatch batch, [NullAllowed] out NSError outError); + + [Mac (13,0)] + [Export ("createSampleBufferForRequest:error:")] + [return: NullAllowed] + CMSampleBuffer CreateSampleBuffer (AVSampleBufferRequest request, [NullAllowed] out NSError outError); + } - [Mac (10,10), TV (16,0), iOS (16,0), NoWatch, MacCatalyst (16,0)] + [Mac (10,10), TV (16,0), iOS (16,0), Watch (9,0), MacCatalyst (16,0)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] interface AVSampleBufferRequest { @@ -3741,6 +3828,10 @@ interface AVAssetImageGenerator { [Export ("initWithAsset:")] NativeHandle Constructor (AVAsset asset); + [Deprecated (PlatformName.MacOSX, 13, 0)] + [Deprecated (PlatformName.iOS, 16, 0)] + [Deprecated (PlatformName.TvOS, 16, 0)] + [Deprecated (PlatformName.MacCatalyst, 16, 0)] [Export ("copyCGImageAtTime:actualTime:error:")] [return: NullAllowed] [return: Release ()] @@ -3784,6 +3875,11 @@ interface AVAssetImageGenerator { [Export ("customVideoCompositor", ArgumentSemantic.Copy), NullAllowed] [Protocolize] AVVideoCompositing CustomVideoCompositor { get; } + + [Async (ResultTypeName = "GenerateCGImageAsyncResult")] + [TV (16,0), NoWatch, Mac (13,0), iOS (16,0)] + [Export ("generateCGImageAsynchronouslyForTime:completionHandler:")] + void GenerateCGImage (CMTime requestedTime, Action handler); } [NoWatch] @@ -4187,6 +4283,10 @@ interface AVAssetResourceLoadingContentInformationRequest { [Watch (4,2), TV (11,2), Mac (10,13,2), iOS (11,2)] [NullAllowed, Export ("allowedContentTypes")] string[] AllowedContentTypes { get; } + + [Watch (9, 0), TV (16, 0), Mac (13, 0), iOS (16, 0), MacCatalyst (16,0)] + [Export ("entireLengthAvailableOnDemand")] + bool IsEntireLengthAvailableOnDemand { [Bind ("isEntireLengthAvailableOnDemand")] get; set; } } interface IAVAssetWriterDelegate { } @@ -4605,11 +4705,7 @@ interface AVAssetCache [BaseType (typeof (AVAsset), Name="AVURLAsset")] // 'init' returns NIL [DisableDefaultCtor] - interface AVUrlAsset -#if !WATCH - : AVContentKeyRecipient -#endif -{ + interface AVUrlAsset : AVContentKeyRecipient { [Export ("URL", ArgumentSemantic.Copy)] NSUrl Url { get; } @@ -4637,6 +4733,11 @@ interface AVUrlAsset [Wrap ("this (url, (NSDictionary) null!)")] NativeHandle Constructor (NSUrl url); + [Deprecated (PlatformName.MacOSX, 13, 0)] + [Deprecated (PlatformName.iOS, 16, 0)] + [Deprecated (PlatformName.TvOS, 16, 0)] + [Deprecated (PlatformName.WatchOS, 9, 0)] + [Deprecated (PlatformName.MacCatalyst, 16, 0)] [return: NullAllowed] [Export ("compatibleTrackForCompositionTrack:")] AVAssetTrack CompatibleTrack (AVCompositionTrack forCompositionTrack); @@ -4701,6 +4802,14 @@ interface AVUrlAsset [Watch (9, 0), TV (16, 0), Mac (13, 0), iOS (16, 0), MacCatalyst (16,0)] [Export ("httpSessionIdentifier")] NSUuid HttpSessionIdentifier { get; } + + [Watch (9, 0), TV (16, 0), Mac (13, 0), iOS (16, 0), MacCatalyst (16,0)] + [Field ("AVURLAssetHTTPUserAgentKey")] + NSString HttpUserAgentKey { get; } + + [Watch (9, 0), TV (16, 0), Mac (13, 0), iOS (16, 0), MacCatalyst (16,0)] + [Field ("AVURLAssetPrimarySessionIdentifierKey")] + NSString PrimarySessionIdentifierKey { get; } } [Watch (6,0)] @@ -4770,10 +4879,20 @@ interface AVAssetTrack : NSCopying { [Export ("segments", ArgumentSemantic.Copy)] AVAssetTrackSegment [] Segments { get; } + [Deprecated (PlatformName.MacOSX, 13, 0)] + [Deprecated (PlatformName.iOS, 16, 0)] + [Deprecated (PlatformName.TvOS, 16, 0)] + [Deprecated (PlatformName.WatchOS, 9, 0)] + [Deprecated (PlatformName.MacCatalyst, 16, 0)] [return: NullAllowed] [Export ("segmentForTrackTime:")] AVAssetTrackSegment SegmentForTrackTime (CMTime trackTime); + [Deprecated (PlatformName.MacOSX, 13, 0)] + [Deprecated (PlatformName.iOS, 16, 0)] + [Deprecated (PlatformName.TvOS, 16, 0)] + [Deprecated (PlatformName.WatchOS, 9, 0)] + [Deprecated (PlatformName.MacCatalyst, 16, 0)] [Export ("samplePresentationTimeForTrackTime:")] CMTime SamplePresentationTimeForTrackTime (CMTime trackTime); @@ -4783,6 +4902,11 @@ interface AVAssetTrack : NSCopying { [Export ("commonMetadata")] AVMetadataItem [] CommonMetadata { get; } + [Deprecated (PlatformName.MacOSX, 13, 0)] + [Deprecated (PlatformName.iOS, 16, 0)] + [Deprecated (PlatformName.TvOS, 16, 0)] + [Deprecated (PlatformName.WatchOS, 9, 0)] + [Deprecated (PlatformName.MacCatalyst, 16, 0)] [Export ("metadataForFormat:")] AVMetadataItem [] MetadataForFormat (string format); @@ -4798,6 +4922,11 @@ interface AVAssetTrack : NSCopying { [Export ("minFrameDuration")] CMTime MinFrameDuration { get; } + [Deprecated (PlatformName.MacOSX, 13, 0)] + [Deprecated (PlatformName.iOS, 16, 0)] + [Deprecated (PlatformName.TvOS, 16, 0)] + [Deprecated (PlatformName.WatchOS, 9, 0)] + [Deprecated (PlatformName.MacCatalyst, 16, 0)] [iOS (7,0), Mac (10, 9)] [Export ("associatedTracksOfType:")] AVAssetTrack [] GetAssociatedTracks (NSString avAssetTrackTrackAssociationType); @@ -4825,21 +4954,21 @@ interface AVAssetTrack : NSCopying { [Notification] NSString TrackAssociationsDidChangeNotification { get; } - [Mac (10,10), NoiOS, NoTV, NoWatch, MacCatalyst (15,0)] + [Watch (9, 0), TV (16, 0), Mac (10, 10), iOS (16, 0), MacCatalyst (15,0)] [Export ("canProvideSampleCursors")] bool CanProvideSampleCursors { get; } - [Mac (10,10), NoiOS, NoTV, NoWatch, NoMacCatalyst] + [Watch (9,0), TV (16,0), Mac (10,10), iOS (16,0), MacCatalyst (16,0)] [return: NullAllowed] [Export ("makeSampleCursorWithPresentationTimeStamp:")] AVSampleCursor MakeSampleCursor (CMTime presentationTimeStamp); - [Mac (10,10), NoiOS, NoTV, NoWatch, NoMacCatalyst] + [Watch (9,0), TV (16,0), Mac (10,10), iOS (16,0), MacCatalyst (16,0)] [return: NullAllowed] [Export ("makeSampleCursorAtFirstSampleInDecodeOrder")] AVSampleCursor MakeSampleCursorAtFirstSampleInDecodeOrder (); - [Mac (10,10), NoiOS, NoTV, NoWatch, NoMacCatalyst] + [Watch (9,0), TV (16,0), Mac (10,10), iOS (16,0), MacCatalyst (16,0)] [return: NullAllowed] [Export ("makeSampleCursorAtLastSampleInDecodeOrder")] AVSampleCursor MakeSampleCursorAtLastSampleInDecodeOrder (); @@ -4942,7 +5071,6 @@ interface AVSampleCursor : NSCopying { [Watch (9, 0), TV (16, 0), Mac (12, 0), iOS (16, 0), MacCatalyst (16,0)] [Export ("currentSampleDependencyAttachments")] NSDictionary CurrentSampleDependencyAttachments { get; } - } [iOS (7,0), Mac (10, 9), Watch (6,0)] @@ -7376,16 +7504,31 @@ interface AVMovie_AVMovieMovieHeaderSupport [BaseType (typeof(AVMovie))] interface AVMovie_AVMovieTrackInspection { + [Deprecated (PlatformName.MacOSX, 13, 0)] + [Deprecated (PlatformName.iOS, 16, 0)] + [Deprecated (PlatformName.TvOS, 16, 0)] + [Deprecated (PlatformName.WatchOS, 9, 0)] + [Deprecated (PlatformName.MacCatalyst, 16, 0)] [Export ("trackWithTrackID:")] [return: NullAllowed] AVMovieTrack GetTrack (int trackID); + [Deprecated (PlatformName.MacOSX, 13, 0)] + [Deprecated (PlatformName.iOS, 16, 0)] + [Deprecated (PlatformName.TvOS, 16, 0)] + [Deprecated (PlatformName.WatchOS, 9, 0)] + [Deprecated (PlatformName.MacCatalyst, 16, 0)] [Export ("tracksWithMediaType:")] AVMovieTrack[] GetTracks (string mediaType); [Wrap ("This.GetTracks (mediaType.GetConstant ())")] AVMovieTrack[] GetTracks (AVMediaTypes mediaType); + [Deprecated (PlatformName.MacOSX, 13, 0)] + [Deprecated (PlatformName.iOS, 16, 0)] + [Deprecated (PlatformName.TvOS, 16, 0)] + [Deprecated (PlatformName.WatchOS, 9, 0)] + [Deprecated (PlatformName.MacCatalyst, 16, 0)] [Export ("tracksWithMediaCharacteristic:")] AVMovieTrack[] GetTracksWithMediaCharacteristic (string mediaCharacteristic); @@ -7544,6 +7687,28 @@ interface AVMutableMovie_AVMutableMovieTrackInspection AVMutableMovieTrack[] GetTracks (AVMediaCharacteristics mediaCharacteristic); } + [Watch (9,0), NoTV, Mac (13,0), iOS (16,0), MacCatalyst (16,0)] + [Category] + [BaseType (typeof(AVMutableMovie))] + interface AVMutableMovie_SynchronousAssetInterface + { + [Export ("metadataForFormat:")] + AVMetadataItem[] GetMetadataForFormat (string format); + + [Export ("chapterMetadataGroupsWithTitleLocale:containingItemsWithCommonKeys:")] + AVTimedMetadataGroup[] GetChapterMetadataGroups (NSLocale locale, [NullAllowed] string[] commonKeys); + + [Export ("chapterMetadataGroupsBestMatchingPreferredLanguages:")] + AVTimedMetadataGroup[] GetChapterMetadataGroupsBestMatchingPreferredLanguages (string[] preferredLanguages); + + [Export ("mediaSelectionGroupForMediaCharacteristic:")] + [return: NullAllowed] + AVMediaSelectionGroup GetMediaSelectionGroup (string mediaCharacteristic); + + [Export ("unusedTrackID")] + int GetUnusedTrackId (); + } + [Mac (10,11), Watch (6,0), iOS (13,0), NoTV] [BaseType (typeof(NSObject))] [DisableDefaultCtor] @@ -7785,6 +7950,31 @@ interface AVMutableMovieTrack_AVMutableMovieTrackTrackAssociations void RemoveTrackAssociation (AVMovieTrack movieTrack, string trackAssociationType); } + [Watch (9,0), NoTV, Mac (13,0), iOS (16,0), MacCatalyst (16,0)] + [Category] + [BaseType (typeof(AVMutableMovieTrack))] + interface AVMutableMovieTrack_SynchronousTrackInterface + { + [Export ("hasMediaCharacteristic:")] + bool HasMediaCharacteristic (string mediaCharacteristic); + + [Export ("segmentForTrackTime:")] + [return: NullAllowed] + AVAssetTrackSegment GetSegment (CMTime trackTime); + + [Export ("samplePresentationTimeForTrackTime:")] + CMTime GetSamplePresentationTime (CMTime trackTime); + + [Export ("metadataForFormat:")] + AVMetadataItem [] GetMetadataForFormat (NSString format); + + [Wrap ("GetMetadataForFormat (This, format.GetConstant ()!)")] + AVMetadataItem [] GetMetadata (AVMetadataFormat format); + + [Export ("associatedTracksOfType:")] + AVAssetTrack [] GetAssociatedTracks (NSString avAssetTrackTrackAssociationType); + } + [Mac (10,10), NoTV, Watch (6,0), iOS (13,0)] [BaseType (typeof(AVMovieTrack))] [DisableDefaultCtor] @@ -7885,6 +8075,27 @@ interface AVCompositionTrack { AVCompositionTrackFormatDescriptionReplacement[] FormatDescriptionReplacements { get; } } + [Watch (9,0), TV (16,0), Mac (13,0), iOS (16,0), MacCatalyst (16,0)] + [Category] + [BaseType (typeof(AVCompositionTrack))] + interface AVCompositionTrack_SynchronousTrackInterface + { + [Export ("hasMediaCharacteristic:")] + bool HasMediaCharacteristic (string mediaCharacteristic); + + [Export ("samplePresentationTimeForTrackTime:")] + CMTime GetSamplePresentationTime (CMTime trackTime); + + [Export ("metadataForFormat:")] + AVMetadataItem[] GetMetadataForFormat (string format); + + [Wrap ("GetMetadataForFormat (This, format.GetConstant ()!)")] + AVMetadataItem [] GetMetadata (AVMetadataFormat format); + + [Export ("associatedTracksOfType:")] + AVAssetTrack [] GetAssociatedTracks (NSString avAssetTrackTrackAssociationType); + } + [Watch (6,0)] [BaseType (typeof (AVCompositionTrack))] // 'init' returns NIL @@ -7948,6 +8159,11 @@ interface AVMutableCompositionTrack { [TV (13,0), NoWatch, Mac (10,15), iOS (13,0)] [Export ("enabled")] bool Enabled { [Bind ("isEnabled")] get; set; } + + [Async] + [Watch (9,0), TV (16,0), Mac (13,0), iOS (16,0), MacCatalyst (16,0)] + [Export ("insertTimeRange:ofAsset:atTime:completionHandler:")] + void InsertTimeRange (CMTimeRange timeRange, AVAsset asset, CMTime startTime, Action completionHandler); } [Watch (6,0)] @@ -8062,6 +8278,31 @@ interface AVComposition_AVCompositionTrackInspection { void LoadTracksWithMediaCharacteristic (string mediaCharacteristic, Action, NSError> completionHandler); } + [Watch (9,0), TV (16,0), Mac (13,0), iOS (16,0), MacCatalyst (16,0)] + [Category] + [BaseType (typeof(AVComposition))] + interface AVComposition_SynchronousAssetInterface + { + [Export ("metadataForFormat:")] + AVMetadataItem[] GetMetadataForFormat (string format); + + [Wrap ("GetMetadataForFormat (This, format.GetConstant ()!)")] + AVMetadataItem [] GetMetadata (AVMetadataFormat format); + + [Export ("chapterMetadataGroupsWithTitleLocale:containingItemsWithCommonKeys:")] + AVTimedMetadataGroup[] GetChapterMetadataGroups (NSLocale locale, [NullAllowed] string[] commonKeys); + + [Export ("chapterMetadataGroupsBestMatchingPreferredLanguages:")] + AVTimedMetadataGroup[] GetChapterMetadataGroupsBestMatchingPreferredLanguages (string[] preferredLanguages); + + [Export ("mediaSelectionGroupForMediaCharacteristic:")] + [return: NullAllowed] + AVMediaSelectionGroup GetMediaSelectionGroup (string mediaCharacteristic); + + [Export ("unusedTrackID")] + int GetUnusedTrackId (); + } + [Watch (6,0)] [BaseType (typeof (AVComposition))] interface AVMutableComposition { @@ -8074,6 +8315,11 @@ interface AVMutableComposition { [Export ("compositionWithURLAssetInitializationOptions:")] AVMutableComposition FromOptions ([NullAllowed] NSDictionary urlAssetInitializationOptions); + [Deprecated (PlatformName.MacOSX, 13, 0)] + [Deprecated (PlatformName.iOS, 16, 0)] + [Deprecated (PlatformName.TvOS, 16, 0)] + [Deprecated (PlatformName.WatchOS, 9, 0)] + [Deprecated (PlatformName.MacCatalyst, 16, 0)] [Export ("insertTimeRange:ofAsset:atTime:error:")] bool Insert (CMTimeRange insertTimeRange, AVAsset sourceAsset, CMTime atTime, out NSError error); @@ -8100,6 +8346,11 @@ interface AVMutableComposition { [Export ("naturalSize")] [Override] CGSize NaturalSize { get; set; } + + [Async] + [Watch (9,0), TV (16,0), Mac (13,0), iOS (16,0), MacCatalyst (16,0)] + [Export ("insertTimeRange:ofAsset:atTime:completionHandler:")] + void Insert (CMTimeRange timeRange, AVAsset asset, CMTime startTime, Action completionHandler); } [iOS (9,0), Mac (10,11), Watch (6,0)] @@ -8380,6 +8631,10 @@ interface AVAssetExportSession { [TV (13,0), NoWatch, Mac (10,15), iOS (13,0)] [Export ("estimateOutputFileLengthWithCompletionHandler:")] void EstimateOutputFileLength (Action handler); + + [TV (16, 0), NoWatch, Mac (13, 0), iOS (16, 0), MacCatalyst (16,0)] + [Export ("audioTrackGroupHandling", ArgumentSemantic.Assign)] + AVAssetTrackGroupOutputHandling AudioTrackGroupHandling { get; set; } } [iOS (7,0), Watch (6,0)] @@ -8538,6 +8793,10 @@ interface AVVideoComposition : NSMutableCopying { [Export ("renderScale")] float RenderScale { get; [NotImplemented] set; } // defined as 'float' + [Deprecated (PlatformName.MacOSX, 13, 0)] + [Deprecated (PlatformName.iOS, 16, 0)] + [Deprecated (PlatformName.TvOS, 16, 0)] + [Deprecated (PlatformName.MacCatalyst, 16, 0)] [NoWatch] [Export ("isValidForAsset:timeRange:validationDelegate:")] bool IsValidForAsset ([NullAllowed] AVAsset asset, CMTimeRange timeRange, [Protocolize] [NullAllowed] AVVideoCompositionValidationHandling validationDelegate); @@ -8584,6 +8843,11 @@ interface AVVideoComposition : NSMutableCopying { [Static] [Export ("videoCompositionWithPropertiesOfAsset:completionHandler:")] void Create (AVAsset asset, Action completionHandler); + + [Async] + [TV (16,0), NoWatch, Mac (13,0), iOS (16,0), MacCatalyst (16,0)] + [Export ("determineValidityForAsset:timeRange:validationDelegate:completionHandler:")] + void DetermineValidity ([NullAllowed] AVAsset asset, CMTimeRange timeRange, [NullAllowed] IAVVideoCompositionValidationHandling validationDelegate, Action completionHandler); } [NoWatch] @@ -9089,6 +9353,18 @@ interface AVCaptureSession { [NoWatch, NoTV, Mac (10,15), iOS (13,0)] [Export ("connections")] AVCaptureConnection[] Connections { get; } + + [NoWatch, NoTV, NoMacCatalyst, NoMac, iOS (16, 0)] + [Export ("multitaskingCameraAccessSupported")] + bool IsMultitaskingCameraAccessSupported { [Bind ("isMultitaskingCameraAccessSupported")] get; } + + [NoWatch, NoTV, NoMacCatalyst, NoMac, iOS (16, 0)] + [Export ("multitaskingCameraAccessEnabled")] + bool IsMultitaskingCameraAccessEnabled { [Bind ("isMultitaskingCameraAccessEnabled")] get; set; } + + [NoWatch, NoTV, NoMac, MacCatalyst (16, 0), iOS (16, 0)] + [Export ("hardwareCost")] + float HardwareCost { get; } } [Introduced (PlatformName.MacCatalyst, 14, 0)] @@ -9863,7 +10139,7 @@ interface AVCaptureFileOutputRecordingDelegate { [Introduced (PlatformName.MacCatalyst, 14, 0)] [NoWatch] [NoTV] - [NoMac] + [Mac (13,0)] [BaseType (typeof (AVCaptureOutput))] interface AVCaptureMetadataOutput { [NullAllowed, Export ("metadataObjectsDelegate")] @@ -9891,7 +10167,7 @@ interface AVCaptureMetadataOutput { [NoWatch] [NoTV] - [NoMac] + [Mac (13,0)] [BaseType (typeof (NSObject))] [Model] [Protocol] @@ -10086,7 +10362,7 @@ interface AVCapturePhotoSettings : NSCopying [Export ("autoRedEyeReductionEnabled")] bool AutoRedEyeReductionEnabled { [Bind ("isAutoRedEyeReductionEnabled")] get; set; } - [NoWatch, NoTV, NoMac, iOS (13,0)] + [NoWatch, NoTV, Mac(13,0), iOS (13,0)] [Export ("photoQualityPrioritization", ArgumentSemantic.Assign)] AVCapturePhotoQualityPrioritization PhotoQualityPrioritization { get; set; } @@ -10311,7 +10587,7 @@ interface AVCapturePhotoOutput [Export ("isStillImageStabilizationScene")] bool IsStillImageStabilizationScene { get; } - [NoMac] + [Mac (13,0)] #if NET [BindAs (typeof (AVCaptureFlashMode []))] #endif @@ -10326,8 +10602,8 @@ interface AVCapturePhotoOutput [NullAllowed,Export ("photoSettingsForSceneMonitoring", ArgumentSemantic.Copy)] AVCapturePhotoSettings PhotoSettingsForSceneMonitoring { get; set; } - [Deprecated (PlatformName.iOS, 16, 0, message: "Use maxPhotoDimensions instead.")] - [Deprecated (PlatformName.MacCatalyst, 16, 0, message: "Use maxPhotoDimensions instead.")] + [Deprecated (PlatformName.iOS, 16, 0, message: "Use 'MaxPhotoDimensions' instead.")] + [Deprecated (PlatformName.MacCatalyst, 16, 0, message: "Use 'MaxPhotoDimensions' instead.")] [NoMac] [Export ("highResolutionCaptureEnabled")] bool IsHighResolutionCaptureEnabled { [Bind ("isHighResolutionCaptureEnabled")] get; set; } @@ -10469,7 +10745,7 @@ interface AVCapturePhotoOutput [Export ("enabledSemanticSegmentationMatteTypes", ArgumentSemantic.Assign)] NSString[] EnabledSemanticSegmentationMatteTypes { get; set; } - [NoWatch, NoTV, NoMac, iOS (13,0)] + [NoWatch, NoTV, Mac (13,0), iOS (13,0)] [Export ("maxPhotoQualityPrioritization", ArgumentSemantic.Assign)] AVCapturePhotoQualityPrioritization MaxPhotoQualityPrioritization { get; set; } @@ -10723,6 +10999,10 @@ enum AVCaptureDeviceType { [NoWatch, NoTV, NoMac, MacCatalyst (15,4), iOS (15,4)] [Field ("AVCaptureDeviceTypeBuiltInLiDARDepthCamera")] BuiltInLiDarDepthCamera, + + [NoWatch, NoTV, NoMacCatalyst, NoiOS, Mac (13, 0)] + [Field ("AVCaptureDeviceTypeDeskViewCamera")] + DeskViewCamera, } [NoTV, iOS (7,0), Mac (10,14), NoWatch] // matches API that uses it. @@ -11231,7 +11511,7 @@ interface AVCaptureDevice { [Field ("AVCaptureISOCurrent")] float ISOCurrent { get; } /* float, not CGFloat */ - [iOS (8,0), NoMac] + [iOS (8,0), NoWatch, NoMac] [Field ("AVCaptureLensPositionCurrent")] float LensPositionCurrent { get; } /* float, not CGFloat */ @@ -11422,6 +11702,17 @@ interface AVCaptureDevice { [Export ("studioLightEnabled")] bool IsStudioLightEnabled { [Bind ("isStudioLightEnabled")] get; set; } + [TV (16, 0), NoWatch, MacCatalyst (16, 0), Mac (13, 0), iOS (16, 0)] + [Export ("studioLightActive")] + bool IsStudioLightActive { [Bind ("isStudioLightActive")] get; } + + [NoWatch, NoTV, MacCatalyst (16, 0), Mac (13, 0), iOS (16, 0)] + [NullAllowed, Export ("companionDeskViewCamera")] + AVCaptureDevice CompanionDeskViewCamera { get; } + + [NoWatch, NoTV, Mac (13, 0), iOS (16, 0), MacCatalyst (16,0)] + [Export ("continuityCamera")] + bool IsContinuityCamera { [Bind ("isContinuityCamera")] get; } } [Introduced (PlatformName.MacCatalyst, 14, 0)] @@ -11532,14 +11823,20 @@ interface AVCaptureDeviceFormat { [Export ("videoHDRSupported")] bool videoHDRSupportedVideoHDREnabled { [Bind ("isVideoHDRSupported")] get; } + [Deprecated (PlatformName.iOS, 16, 0, message: "Use 'SupportedMaxPhotoDimensions' property instead.")] + [Deprecated (PlatformName.MacCatalyst, 16, 0, message: "Use 'SupportedMaxPhotoDimensions' property instead.")] [iOS (8,0), NoMac] [Export ("highResolutionStillImageDimensions")] CMVideoDimensions HighResolutionStillImageDimensions { get; } + [Deprecated (PlatformName.iOS, 16, 0)] + [Deprecated (PlatformName.MacCatalyst, 16, 0)] [iOS (11, 0), NoMac] [Export ("videoMinZoomFactorForDepthDataDelivery")] nfloat VideoMinZoomFactorForDepthDataDelivery { get; } + [Deprecated (PlatformName.iOS, 16, 0)] + [Deprecated (PlatformName.MacCatalyst, 16, 0)] [iOS (11, 0), NoMac] [Export ("videoMaxZoomFactorForDepthDataDelivery")] nfloat VideoMaxZoomFactorForDepthDataDelivery { get; } @@ -11632,6 +11929,14 @@ interface AVCaptureDeviceFormat { [NoWatch, NoTV, NoMac, MacCatalyst (16, 0), iOS (16, 0)] [Export ("supportedVideoZoomFactorsForDepthDataDelivery")] NSNumber[] SupportedVideoZoomFactorsForDepthDataDelivery { get; } + + [TV (16, 0), NoWatch, MacCatalyst (16, 0), Mac (13, 0), iOS (16, 0)] + [NullAllowed, Export ("videoFrameRateRangeForStudioLight")] + AVFrameRateRange VideoFrameRateRangeForStudioLight { get; } + + [TV (16, 0), NoWatch, MacCatalyst (16, 0), Mac (13, 0), iOS (16, 0)] + [Export ("studioLightSupported")] + bool IsStudioLightSupported { [Bind ("isStudioLightSupported")] get; } } delegate void AVCaptureCompletionHandler (CMSampleBuffer imageDataSampleBuffer, NSError error); @@ -12644,6 +12949,10 @@ interface AVVideoTransferFunction { [NoiOS, NoTV, Mac (10,12), NoMacCatalyst] [Field ("AVVideoTransferFunction_SMPTE_240M_1995")] NSString AVVideoTransferFunction_Smpte_240M_1995 { get; } + + [TV (16, 0), Mac (13, 0), iOS (16, 0), MacCatalyst (16,0)] + [Field ("AVVideoTransferFunction_Linear")] + NSString AVVideoTransferFunction_Linear { get; } } [NoWatch] @@ -13223,6 +13532,28 @@ enum AVPlayerInterstitialEventRestrictions : ulong DefaultPolicy = None, } + [Watch (9, 0), TV (16, 0), Mac (13, 0), iOS (16, 0), MacCatalyst (16,0)] + enum AVPlayerInterstitialEventCue { + [Field ("AVPlayerInterstitialEventNoCue")] + NoCue, + + [Field ("AVPlayerInterstitialEventJoinCue")] + JoinCue, + + [Field ("AVPlayerInterstitialEventLeaveCue")] + LeaveCue, + } + + [Watch (9, 0), TV (16, 0), Mac (13, 0), iOS (16, 0), MacCatalyst (16,0)] + enum AVAssetPlaybackConfigurationOption { + + [Field ("AVAssetPlaybackConfigurationOptionStereoVideo")] + StereoVideo, + + [Field ("AVAssetPlaybackConfigurationOptionStereoMultiviewVideo")] + StereoMultiviewVideo, + } + [TV (14,5), Mac (11,3), iOS (14,5)] [MacCatalyst (14,5)] [Watch (7,4)] @@ -13273,42 +13604,42 @@ interface AVPlayerInterstitialEvent [NullAllowed, Export ("primaryItem", ArgumentSemantic.Weak)] AVPlayerItem PrimaryItem { get; - [Watch (9, 0), TV (16, 0), Mac (13, 0), iOS (16, 0)] + [Watch (9, 0), TV (16, 0), Mac (13, 0), iOS (16, 0), MacCatalyst (16,0)] set; } [Export ("time")] CMTime Time { get; - [Watch (9, 0), TV (16, 0), Mac (13, 0), iOS (16, 0)] + [Watch (9, 0), TV (16, 0), Mac (13, 0), iOS (16, 0), MacCatalyst (16,0)] set; } [NullAllowed, Export ("date")] NSDate Date { get; - [Watch (9, 0), TV (16, 0), Mac (13, 0), iOS (16, 0)] + [Watch (9, 0), TV (16, 0), Mac (13, 0), iOS (16, 0), MacCatalyst (16,0)] set; } [Export ("templateItems")] AVPlayerItem[] TemplateItems { get; - [Watch (9, 0), TV (16, 0), Mac (13, 0), iOS (16, 0)] + [Watch (9, 0), TV (16, 0), Mac (13, 0), iOS (16, 0), MacCatalyst (16,0)] set; } [Export ("restrictions")] AVPlayerInterstitialEventRestrictions Restrictions { get; - [Watch (9, 0), TV (16, 0), Mac (13, 0), iOS (16, 0)] + [Watch (9, 0), TV (16, 0), Mac (13, 0), iOS (16, 0), MacCatalyst (16,0)] set; } [Export ("resumptionOffset")] CMTime ResumptionOffset { get; - [Watch (9, 0), TV (16, 0), Mac (13, 0), iOS (16, 0)] + [Watch (9, 0), TV (16, 0), Mac (13, 0), iOS (16, 0), MacCatalyst (16,0)] set; } @@ -13316,7 +13647,7 @@ CMTime ResumptionOffset { [Export ("identifier")] string Identifier { get; - [Watch (9, 0), TV (16, 0), Mac (13, 0), iOS (16, 0)] + [Watch (9, 0), TV (16, 0), Mac (13, 0), iOS (16, 0), MacCatalyst (16,0)] set; } @@ -13324,7 +13655,7 @@ string Identifier { [Export ("playoutLimit")] CMTime PlayoutLimit { get; - [Watch (9, 0), TV (16, 0), Mac (13, 0), iOS (16, 0)] + [Watch (9, 0), TV (16, 0), Mac (13, 0), iOS (16, 0), MacCatalyst (16,0)] set; } @@ -13334,7 +13665,7 @@ CMTime PlayoutLimit { [Export ("userDefinedAttributes")] NSDictionary UserDefinedAttributes { get; - [Watch (9, 0), TV (16, 0), Mac (13, 0), iOS (16, 0)] + [Watch (9, 0), TV (16, 0), Mac (13, 0), iOS (16, 0), MacCatalyst (16,0)] set; } @@ -13720,8 +14051,14 @@ interface AVSpeechUtterance : NSCopying, NSSecureCoding { [Export ("speechUtteranceWithAttributedString:")] AVSpeechUtterance FromString (NSAttributedString speechString); + [Internal] [Export ("initWithString:")] - NativeHandle Constructor (string speechString); + NativeHandle _InitFromString (string speechString); + + [Internal] + [Watch (9,0), TV (16,0), Mac (13,0), iOS (16,0), MacCatalyst (16,0)] + [Export ("initWithSSMLRepresentation:")] + NativeHandle _InitFromSsmlRepresentation (string SsmlRepresentation); [iOS (10,0)] [TV (10,0)] @@ -13775,6 +14112,12 @@ interface AVSpeechUtterance : NSCopying, NSSecureCoding { AVSpeechUtterance GetSpeechUtterance (string SsmlRepresentation); } + [Watch (9,0), TV (16,0), Mac (13,0), iOS (16,0), MacCatalyst (16,0)] + delegate void AVSpeechSynthesizerBufferCallback (AVAudioBuffer buffer); + + [Watch (9,0), TV (16,0), Mac (13,0), iOS (16,0), MacCatalyst (16,0)] + delegate void AVSpeechSynthesizerMarkerCallback (AVSpeechSynthesisMarker[] markers); + [Mac (10,15)] [Watch (3,0)] [iOS (7,0)] @@ -13825,6 +14168,10 @@ interface AVSpeechSynthesizer { [TV (10,0)] [NullAllowed, Export ("outputChannels", ArgumentSemantic.Retain)] AVAudioSessionChannelDescription[] OutputChannels { get; set; } + + [Watch (9,0), TV (16,0), Mac (13,0), iOS (16,0), MacCatalyst (16,0)] + [Export ("writeUtterance:toBufferCallback:toMarkerCallback:")] + void WriteUtterance (AVSpeechUtterance utterance, AVSpeechSynthesizerBufferCallback bufferCallback, AVSpeechSynthesizerMarkerCallback markerCallback); } [Mac (10,15)] @@ -14225,6 +14572,9 @@ interface AVAudioSequencerInfoDictionaryKeys { NSString YearKey { get; } } + [TV (16,0), NoWatch, Mac (13,0), iOS (16,0), MacCatalyst (16,0)] + delegate void AVAudioSequencerUserCallback (AVMusicTrack track, NSData data, double timestamp); + [NoWatch, iOS (9,0)][Mac (10,11)] [BaseType (typeof (NSObject))] interface AVAudioSequencer { @@ -14288,8 +14638,27 @@ interface AVAudioSequencer { [Export ("stop")] void Stop (); + + [TV (16,0), NoWatch, Mac (13,0), iOS (16,0), MacCatalyst (16,0)] + [Export ("reverseEvents")] + void ReverseEvents (); + + [TV (16, 0), NoWatch, Mac (13, 0), iOS (16, 0), MacCatalyst (16,0)] + [Export ("createAndAppendTrack")] + AVMusicTrack CreateAndAppendTrack (); + + [TV (16,0), NoWatch, Mac (13,0), iOS (16,0), MacCatalyst (16,0)] + [Export ("removeTrack:")] + bool RemoveTrack (AVMusicTrack track); + + [TV (16,0), NoWatch, Mac (13,0), iOS (16,0), MacCatalyst (16,0)] + [Export ("setUserCallback:")] + void SetUserCallback ([NullAllowed] AVAudioSequencerUserCallback userCallback); } + [TV (16,0), NoWatch, Mac (13,0), iOS (16,0), MacCatalyst (16,0)] + delegate void AVMusicEventEnumerationBlock (AVMusicEvent musicEvent, ref double timeStamp, out bool removeEvent); + [NoWatch, iOS (9,0)][Mac (10,11)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] // Docs/headers do not state that init is disallowed but if @@ -14329,6 +14698,39 @@ interface AVMusicTrack { [Export ("timeResolution")] nuint TimeResolution { get; } + + // from interface AVMusicTrack_AVMusicTrackEditor + [TV (16,0), NoWatch, Mac (13,0), iOS (16,0), MacCatalyst (16,0)] + [Export ("usesAutomatedParameters")] + bool UsesAutomatedParameters { get; set; } + + [TV (16,0), NoWatch, Mac (13,0), iOS (16,0), MacCatalyst (16,0)] + [Export ("addEvent:atBeat:")] + void AddEvent (AVMusicEvent @event, double beat); + + [TV (16,0), NoWatch, Mac (13,0), iOS (16,0), MacCatalyst (16,0)] + [Export ("moveEventsInRange:byAmount:")] + void MoveEvents (AVBeatRange range, double beatAmount); + + [TV (16,0), NoWatch, Mac (13,0), iOS (16,0), MacCatalyst (16,0)] + [Export ("clearEventsInRange:")] + void ClearEvents (AVBeatRange range); + + [TV (16,0), NoWatch, Mac (13,0), iOS (16,0), MacCatalyst (16,0)] + [Export ("cutEventsInRange:")] + void CutEvents (AVBeatRange range); + + [TV (16,0), NoWatch, Mac (13,0), iOS (16,0), MacCatalyst (16,0)] + [Export ("copyEventsInRange:fromTrack:insertAtBeat:")] + void CopyEvents (AVBeatRange range, AVMusicTrack sourceTrack, double insertStartBeat); + + [TV (16,0), NoWatch, Mac (13,0), iOS (16,0), MacCatalyst (16,0)] + [Export ("copyAndMergeEventsInRange:fromTrack:mergeAtBeat:")] + void CopyAndMergeEvents (AVBeatRange range, AVMusicTrack sourceTrack, double mergeStartBeat); + + [TV (16,0), NoWatch, Mac (13,0), iOS (16,0), MacCatalyst (16,0)] + [Export ("enumerateEventsInRange:usingBlock:")] + void EnumerateEvents (AVBeatRange range, AVMusicEventEnumerationBlock block); } [Watch (3,0)] @@ -14413,11 +14815,11 @@ interface AVAudioUnitComponent { [NullAllowed, Export ("iconURL")] NSUrl IconUrl { get; } - [Mac (10,11), MacCatalyst (15,0), NoiOS, NoTV, NoWatch] + [TV (16, 0), NoWatch, Mac (10,11), iOS (16, 0), MacCatalyst (16,0)] [NullAllowed, Export ("icon")] UIImage Icon { get; } - [MacCatalyst (15,0), NoiOS, NoTV, NoWatch] + [NoWatch, NoTV, iOS (16, 0), MacCatalyst (16,0)] [Export ("passesAUVal")] bool PassesAUVal { get; } @@ -14425,7 +14827,7 @@ interface AVAudioUnitComponent { [Export ("hasCustomView")] bool HasCustomView { get; } - [MacCatalyst (15,0), NoiOS, NoTV, NoWatch] + [NoWatch, NoTV, iOS (16, 0), MacCatalyst (16,0)] [Export ("configurationDictionary")] NSDictionary WeakConfigurationDictionary { get; } @@ -15174,6 +15576,7 @@ interface AVVideoCompositionRenderHint { [Export ("endCompositionTime")] CMTime EndCompositionTime { get; } + [Async] [TV (16,0), NoWatch, Mac (13,0), iOS (16,0)] [Export ("determineValidityForAsset:timeRange:validationDelegate:completionHandler:")] void DetermineValidity ([NullAllowed] AVAsset asset, CMTimeRange timeRange, [NullAllowed] IAVVideoCompositionValidationHandling validationDelegate, Action completionHandler); @@ -15916,6 +16319,10 @@ interface AVCaptionRegion : NSCopying, NSMutableCopying, NSSecureCoding [Export ("writingMode")] AVCaptionRegionWritingMode WritingMode { get; } #endif + + [Mac (13,0)] + [Export ("isEqual:")] + bool IsEqual (NSObject @object); } [NoWatch, NoTV, NoiOS, Mac (12,0)] @@ -16199,6 +16606,9 @@ interface AVExtendedNoteOnEvent [Export ("duration")] double Duration { get; set; } + + [Field ("AVExtendedNoteOnEventDefaultInstrument")] + uint DefaultInstrument { get; } } [TV (16,0), NoWatch, Mac (13,0), iOS (16,0)] @@ -16220,7 +16630,7 @@ interface AVMidiChannelPressureEvent uint Pressure { get; set; } } - [TV (16,0), NoWatch, Mac (13,0), iOS (16,0)] + [TV (16,0), Watch (9,0), Mac (13,0), iOS (16,0)] [Native] public enum AVMidiControlChangeMessageType : long { @@ -16261,7 +16671,7 @@ public enum AVMidiControlChangeMessageType : long MonoModeOff = 127, } - [TV (16,0), NoWatch, Mac (13,0), iOS (16,0)] + [TV (16,0), Watch (9,0), Mac (13,0), iOS (16,0)] [Native] public enum AVMidiMetaEventType : long { @@ -16453,8 +16863,17 @@ interface AVSpeechSynthesisMarker : NSSecureCoding, NSCopying [TV (16,0), NoWatch, Mac (13,0), iOS (16,0), MacCatalyst (16,0)] [BaseType (typeof (AUAudioUnit))] + [DisableDefaultCtor] interface AVSpeechSynthesisProviderAudioUnit { + + [Export ("initWithComponentDescription:options:error:")] + [DesignatedInitializer] + NativeHandle Constructor (AudioComponentDescription componentDescription, AudioComponentInstantiationOptions options, [NullAllowed] out NSError outError); + + [Export ("initWithComponentDescription:error:")] + NativeHandle Constructor (AudioComponentDescription componentDescription, [NullAllowed] out NSError outError); + [Export ("speechVoices", ArgumentSemantic.Strong)] AVSpeechSynthesisProviderVoice[] SpeechVoices { get; set; } @@ -16525,11 +16944,26 @@ interface AVSpeechSynthesisProviderVoice : NSSecureCoding, NSCopying [DisableDefaultCtor] interface AVSampleBufferGeneratorBatch { + [Async] [Export ("makeDataReadyWithCompletionHandler:")] - void MakeDataReadyWithCompletionHandler (Action completionHandler); + void MakeDataReady (Action completionHandler); [Export ("cancel")] void Cancel (); + + [Watch (9,0), TV (16,0), Mac (13,0), iOS (16,0), MacCatalyst (16,0)] + [Export ("createSampleBufferForRequest:error:")] + [return: NullAllowed] + CMSampleBuffer CreateSampleBuffer (AVSampleBufferRequest request, [NullAllowed] out NSError outError); + + [Watch (9,0), TV (16,0), Mac (13,0), iOS (16,0), MacCatalyst (16,0)] + [Export ("createSampleBufferForRequest:addingToBatch:error:")] + [return: NullAllowed] + CMSampleBuffer CreateSampleBuffer (AVSampleBufferRequest request, AVSampleBufferGeneratorBatch batch, [NullAllowed] out NSError outError); + + [Watch (9, 0), TV (16, 0), Mac (13, 0), iOS (16, 0), MacCatalyst (16,0)] + [Export ("makeBatch")] + AVSampleBufferGeneratorBatch MakeBatch (); } [TV (16,0), NoWatch, Mac (1,3), iOS (16,0), MacCatalyst (16,0)] @@ -16541,6 +16975,28 @@ public enum AVAssetTrackGroupOutputHandling : ulong DefaultPolicy = None, } + [NoWatch, NoTV, NoiOS, MacCatalyst (16,1), Mac (13,0)] + [BaseType (typeof(NSObject))] + interface AVCaptureDeskViewApplicationLaunchConfiguration + { + [Export ("mainWindowFrame", ArgumentSemantic.Assign)] + CGRect MainWindowFrame { get; set; } + + [Export ("requiresSetUpModeCompletion")] + bool RequiresSetUpModeCompletion { get; set; } + } + [NoWatch, NoTV, NoiOS, MacCatalyst (16,1), Mac (13,0)] + [BaseType (typeof(NSObject))] + interface AVCaptureDeskViewApplication + { + [Async] + [Export ("presentWithCompletionHandler:")] + void Present ([NullAllowed] Action completionHandler); + + [Async] + [Export ("presentWithLaunchConfiguration:completionHandler:")] + void Present (AVCaptureDeskViewApplicationLaunchConfiguration launchConfiguration, [NullAllowed] Action completionHandler); + } } diff --git a/src/foundation.cs b/src/foundation.cs index e63e05647a53..3ba50852fc93 100644 --- a/src/foundation.cs +++ b/src/foundation.cs @@ -31,6 +31,7 @@ // // #define DOUBLE_BLOCKS +using AVFoundation; using ObjCRuntime; using CloudKit; using CoreData; @@ -11428,6 +11429,19 @@ partial interface NSValue : NSSecureCoding, NSCopying { SCNMatrix4 SCNMatrix4Value { get; } #endregion + + #region AVFoundation additions + + [Watch (9,0), TV (16,0), Mac (13,0), iOS (16,0), MacCatalyst (16,0)] + [Static] + [Export ("valueWithCMVideoDimensions:")] + NSValue FromCMVideoDimensions (CMVideoDimensions dimensions); + + [Watch (9,0), TV (16,0), Mac (13,0), iOS (16,0), MacCatalyst (16,0)] + [Export ("CMVideoDimensionsValue")] + CMVideoDimensions CMVideoDimensionsValue { get; } + + #endregion } [BaseType (typeof (NSObject))] diff --git a/src/frameworks.sources b/src/frameworks.sources index fd81d2d20109..6368cc8568c2 100644 --- a/src/frameworks.sources +++ b/src/frameworks.sources @@ -288,6 +288,7 @@ AVFOUNDATION_SOURCES = \ AVFoundation/AVPlayerLayer.cs \ AVFoundation/AVPlayerViewController.cs \ AVFoundation/AVSampleBufferExtensions.cs \ + AVFoundation/AVSpeechUtterance.cs \ AVFoundation/AVTextStyleRule.cs \ AVFoundation/Events.cs \ AVFoundation/AVPlayerLooper.cs \ @@ -604,6 +605,7 @@ COREMIDI_CORE_SOURCES = \ CoreMidi/MidiCompat.cs \ CoreMidi/MidiCIDeviceIdentification.cs \ CoreMidi/MidiServices.cs \ + CoreMidi/MidiStructs.cs \ CoreMidi/MidiThruConnection.cs \ CoreMidi/MidiThruConnectionParams.cs \ diff --git a/tests/cecil-tests/AttributeTest.cs b/tests/cecil-tests/AttributeTest.cs index e0d43f3ba52d..1edb6329a4a9 100644 --- a/tests/cecil-tests/AttributeTest.cs +++ b/tests/cecil-tests/AttributeTest.cs @@ -289,6 +289,12 @@ static bool IgnoreElementsThatDoNotExistInThatAssembly (string member) "GameController.GCGearShifterElement.get_SfSymbolsName", "GameController.GCRacingWheelInput", "GameController.GCSteeringWheelElemen", + "AVFoundation.AVCaptureDevice.IsStudioLightActive", + "AVFoundation.AVCaptureDevice.IsStudioLightEnabled", + "AVFoundation.AVAudioUnitMidiInstrument.SendMIDIEventList", + "AVFoundation.AVCaptureDeviceFormat.VideoFrameRateRangeForStudioLight", + "AVFoundation.AVAudioUnitMidiInstrument.SendMIDIEventLis", + "AVFoundation.AVCaptureDeviceFormat.IsStudioLightSupported", }; if (inlineProtocols.Any ((p) => member.StartsWith (p))) { diff --git a/tests/introspection/ApiSelectorTest.cs b/tests/introspection/ApiSelectorTest.cs index a85bd008c1f1..ec55f0d9865a 100644 --- a/tests/introspection/ApiSelectorTest.cs +++ b/tests/introspection/ApiSelectorTest.cs @@ -947,6 +947,13 @@ protected virtual bool Skip (Type type, string selectorName) return true; } break; + case "AVSpeechUtterance": + switch (selectorName) { + case "initWithString:": + case "initWithSSMLRepresentation:": + return true; + } + break; #if NET // Incorrect attributes in inlined protocol selectors - https://github.com/xamarin/xamarin-macios/issues/14802 case "NSTextAttachment": diff --git a/tests/introspection/iOS/iOSApiSelectorTest.cs b/tests/introspection/iOS/iOSApiSelectorTest.cs index 7af19375e39d..d14bd5a53b40 100644 --- a/tests/introspection/iOS/iOSApiSelectorTest.cs +++ b/tests/introspection/iOS/iOSApiSelectorTest.cs @@ -439,7 +439,32 @@ protected override bool CheckResponse (bool value, Type actualType, MethodBase m } break; #endif - break; + case "AVMutableCompositionTrack": + switch (name) { + case "insertTimeRange:ofAsset:atTime:completionHandler:": + if (TestRuntime.IsSimulatorOrDesktop) + return true; + break; + } + break; + case "AVSampleBufferGeneratorBatch": + switch (name) { + case "createSampleBufferForRequest:addingToBatch:error:": + case "createSampleBufferForRequest:error:": + case "makeBatch": + if (TestRuntime.IsSimulatorOrDesktop) + return true; + break; + } + break; + case "AVVideoCompositionRenderHint": + switch (name) { + case "determineValidityForAsset:timeRange:validationDelegate:completionHandler:": + if (TestRuntime.IsSimulatorOrDesktop) + return true; + break; + } + break; } switch (name) { diff --git a/tests/xtro-sharpie/api-annotations-dotnet/common-AVFoundation.ignore b/tests/xtro-sharpie/api-annotations-dotnet/common-AVFoundation.ignore index 27277395abe9..0107ff9c4596 100644 --- a/tests/xtro-sharpie/api-annotations-dotnet/common-AVFoundation.ignore +++ b/tests/xtro-sharpie/api-annotations-dotnet/common-AVFoundation.ignore @@ -52,3 +52,6 @@ # no tests/samples !missing-pinvoke! AVSampleBufferAttachContentKey is not bound + +# intro says it does not +!missing-protocol-conformance! AVPlayerInterstitialEvent should conform to NSCopying diff --git a/tests/xtro-sharpie/api-annotations-dotnet/iOS-AVFoundation.todo b/tests/xtro-sharpie/api-annotations-dotnet/iOS-AVFoundation.todo index a8e927d8ecf3..89d0293b761f 100644 --- a/tests/xtro-sharpie/api-annotations-dotnet/iOS-AVFoundation.todo +++ b/tests/xtro-sharpie/api-annotations-dotnet/iOS-AVFoundation.todo @@ -1,99 +1,3 @@ -!deprecated-attribute-missing! AVAsset::chapterMetadataGroupsBestMatchingPreferredLanguages: missing a [Deprecated] attribute -!deprecated-attribute-missing! AVAsset::chapterMetadataGroupsWithTitleLocale:containingItemsWithCommonKeys: missing a [Deprecated] attribute -!deprecated-attribute-missing! AVAsset::mediaSelectionGroupForMediaCharacteristic: missing a [Deprecated] attribute -!deprecated-attribute-missing! AVAsset::metadataForFormat: missing a [Deprecated] attribute -!deprecated-attribute-missing! AVAsset::tracksWithMediaCharacteristic: missing a [Deprecated] attribute -!deprecated-attribute-missing! AVAsset::tracksWithMediaType: missing a [Deprecated] attribute -!deprecated-attribute-missing! AVAsset::trackWithTrackID: missing a [Deprecated] attribute -!deprecated-attribute-missing! AVAsset::unusedTrackID missing a [Deprecated] attribute -!deprecated-attribute-missing! AVAssetImageGenerator::copyCGImageAtTime:actualTime:error: missing a [Deprecated] attribute -!deprecated-attribute-missing! AVAssetTrack::associatedTracksOfType: missing a [Deprecated] attribute -!deprecated-attribute-missing! AVAssetTrack::metadataForFormat: missing a [Deprecated] attribute -!deprecated-attribute-missing! AVAssetTrack::samplePresentationTimeForTrackTime: missing a [Deprecated] attribute -!deprecated-attribute-missing! AVAssetTrack::segmentForTrackTime: missing a [Deprecated] attribute -!deprecated-attribute-missing! AVAudioEngine::connectMIDI:to:format:block: missing a [Deprecated] attribute -!deprecated-attribute-missing! AVAudioEngine::connectMIDI:toNodes:format:block: missing a [Deprecated] attribute -!deprecated-attribute-missing! AVMutableComposition::insertTimeRange:ofAsset:atTime:error: missing a [Deprecated] attribute -!deprecated-attribute-missing! AVURLAsset::compatibleTrackForCompositionTrack: missing a [Deprecated] attribute -!deprecated-attribute-missing! AVVideoComposition::isValidForAsset:timeRange:validationDelegate: missing a [Deprecated] attribute -!missing-enum-value! AVError native value AVErrorAirPlayReceiverTemporarilyUnavailable = -11882 not bound -!missing-enum-value! AVError native value AVErrorFailedToLoadSampleData = -11881 not bound -!missing-enum-value! AVError native value AVErrorInvalidSampleCursor = -11880 not bound -!missing-field! AVAssetPlaybackConfigurationOptionStereoMultiviewVideo not bound -!missing-field! AVAssetPlaybackConfigurationOptionStereoVideo not bound -!missing-field! AVExtendedNoteOnEventDefaultInstrument not bound -!missing-field! AVPlayerInterstitialEventJoinCue not bound -!missing-field! AVPlayerInterstitialEventLeaveCue not bound -!missing-field! AVPlayerInterstitialEventNoCue not bound -!missing-field! AVURLAssetHTTPUserAgentKey not bound -!missing-field! AVURLAssetPrimarySessionIdentifierKey not bound -!missing-field! AVVideoTransferFunction_Linear not bound -!missing-protocol-conformance! AVPlayerInterstitialEvent should conform to NSCopying -!missing-selector! +NSValue::valueWithCMVideoDimensions: not bound -!missing-selector! AVAssetExportSession::audioTrackGroupHandling not bound -!missing-selector! AVAssetExportSession::setAudioTrackGroupHandling: not bound -!missing-selector! AVAssetImageGenerator::generateCGImageAsynchronouslyForTime:completionHandler: not bound -!missing-selector! AVAssetResourceLoadingContentInformationRequest::isEntireLengthAvailableOnDemand not bound -!missing-selector! AVAssetResourceLoadingContentInformationRequest::setEntireLengthAvailableOnDemand: not bound -!missing-selector! AVAssetTrack::canProvideSampleCursors not bound -!missing-selector! AVAssetTrack::makeSampleCursorAtFirstSampleInDecodeOrder not bound -!missing-selector! AVAssetTrack::makeSampleCursorAtLastSampleInDecodeOrder not bound -!missing-selector! AVAssetTrack::makeSampleCursorWithPresentationTimeStamp: not bound !missing-selector! AVAudioEngine::connectMIDI:to:format:eventListBlock: not bound !missing-selector! AVAudioEngine::connectMIDI:toNodes:format:eventListBlock: not bound -!missing-selector! AVAudioSequencer::createAndAppendTrack not bound -!missing-selector! AVAudioSequencer::removeTrack: not bound -!missing-selector! AVAudioSequencer::reverseEvents not bound -!missing-selector! AVAudioSequencer::setUserCallback: not bound -!missing-selector! AVAudioUnitComponent::configurationDictionary not bound -!missing-selector! AVAudioUnitComponent::icon not bound -!missing-selector! AVAudioUnitComponent::passesAUVal not bound !missing-selector! AVAudioUnitMIDIInstrument::sendMIDIEventList: not bound -!missing-selector! AVCaptureDevice::companionDeskViewCamera not bound -!missing-selector! AVCaptureDevice::isContinuityCamera not bound -!missing-selector! AVCaptureDevice::isStudioLightActive not bound -!missing-selector! AVCaptureDeviceFormat::isStudioLightSupported not bound -!missing-selector! AVCaptureDeviceFormat::videoFrameRateRangeForStudioLight not bound -!missing-selector! AVCaptureSession::hardwareCost not bound -!missing-selector! AVCaptureSession::isMultitaskingCameraAccessEnabled not bound -!missing-selector! AVCaptureSession::isMultitaskingCameraAccessSupported not bound -!missing-selector! AVCaptureSession::setMultitaskingCameraAccessEnabled: not bound -!missing-selector! AVComposition::chapterMetadataGroupsBestMatchingPreferredLanguages: not bound -!missing-selector! AVComposition::chapterMetadataGroupsWithTitleLocale:containingItemsWithCommonKeys: not bound -!missing-selector! AVComposition::mediaSelectionGroupForMediaCharacteristic: not bound -!missing-selector! AVComposition::metadataForFormat: not bound -!missing-selector! AVComposition::unusedTrackID not bound -!missing-selector! AVCompositionTrack::associatedTracksOfType: not bound -!missing-selector! AVCompositionTrack::hasMediaCharacteristic: not bound -!missing-selector! AVCompositionTrack::metadataForFormat: not bound -!missing-selector! AVCompositionTrack::samplePresentationTimeForTrackTime: not bound -!missing-selector! AVMusicTrack::addEvent:atBeat: not bound -!missing-selector! AVMusicTrack::clearEventsInRange: not bound -!missing-selector! AVMusicTrack::copyAndMergeEventsInRange:fromTrack:mergeAtBeat: not bound -!missing-selector! AVMusicTrack::copyEventsInRange:fromTrack:insertAtBeat: not bound -!missing-selector! AVMusicTrack::cutEventsInRange: not bound -!missing-selector! AVMusicTrack::enumerateEventsInRange:usingBlock: not bound -!missing-selector! AVMusicTrack::moveEventsInRange:byAmount: not bound -!missing-selector! AVMusicTrack::setUsesAutomatedParameters: not bound -!missing-selector! AVMusicTrack::usesAutomatedParameters not bound -!missing-selector! AVMutableComposition::insertTimeRange:ofAsset:atTime:completionHandler: not bound -!missing-selector! AVMutableMovie::chapterMetadataGroupsBestMatchingPreferredLanguages: not bound -!missing-selector! AVMutableMovie::chapterMetadataGroupsWithTitleLocale:containingItemsWithCommonKeys: not bound -!missing-selector! AVMutableMovie::mediaSelectionGroupForMediaCharacteristic: not bound -!missing-selector! AVMutableMovie::metadataForFormat: not bound -!missing-selector! AVMutableMovie::unusedTrackID not bound -!missing-selector! AVMutableMovieTrack::associatedTracksOfType: not bound -!missing-selector! AVMutableMovieTrack::hasMediaCharacteristic: not bound -!missing-selector! AVMutableMovieTrack::metadataForFormat: not bound -!missing-selector! AVMutableMovieTrack::samplePresentationTimeForTrackTime: not bound -!missing-selector! AVMutableMovieTrack::segmentForTrackTime: not bound -!missing-selector! AVSampleBufferGenerator::createSampleBufferForRequest:addingToBatch:error: not bound -!missing-selector! AVSampleBufferGenerator::createSampleBufferForRequest:error: not bound -!missing-selector! AVSampleBufferGenerator::makeBatch not bound -!missing-selector! AVSpeechSynthesizer::writeUtterance:toBufferCallback:toMarkerCallback: not bound -!missing-selector! AVSpeechUtterance::initWithSSMLRepresentation: not bound -!missing-selector! AVVideoComposition::determineValidityForAsset:timeRange:validationDelegate:completionHandler: not bound -!missing-selector! NSValue::CMVideoDimensionsValue not bound -!deprecated-attribute-missing! AVCaptureDeviceFormat::highResolutionStillImageDimensions missing a [Deprecated] attribute -!deprecated-attribute-missing! AVCaptureDeviceFormat::videoMaxZoomFactorForDepthDataDelivery missing a [Deprecated] attribute -!deprecated-attribute-missing! AVCaptureDeviceFormat::videoMinZoomFactorForDepthDataDelivery missing a [Deprecated] attribute diff --git a/tests/xtro-sharpie/api-annotations-dotnet/macOS-AVFoundation.ignore b/tests/xtro-sharpie/api-annotations-dotnet/macOS-AVFoundation.ignore index 065f8e7d962b..1ae9a8bb0fe5 100644 --- a/tests/xtro-sharpie/api-annotations-dotnet/macOS-AVFoundation.ignore +++ b/tests/xtro-sharpie/api-annotations-dotnet/macOS-AVFoundation.ignore @@ -43,3 +43,11 @@ # not used on macOS !missing-enum! AVAudioSessionInterruptionReason not bound + +# removed on xcode 14.1 +!extra-enum-value! Managed value -11837 for AVError.DeviceIsNotAvailableInBackground not found in native headers + +# xtro complains but is not present in the headers or in the apple docs +!missing-selector! +AVCaptureDevice::setUserAVCaptureDevice: not bound +!missing-selector! +AVCaptureDevice::systemAVCaptureDevice not bound +!missing-selector! +AVCaptureDevice::userAVCaptureDevice not bound diff --git a/tests/xtro-sharpie/api-annotations-dotnet/macOS-AVFoundation.todo b/tests/xtro-sharpie/api-annotations-dotnet/macOS-AVFoundation.todo deleted file mode 100644 index 0d2400d008e7..000000000000 --- a/tests/xtro-sharpie/api-annotations-dotnet/macOS-AVFoundation.todo +++ /dev/null @@ -1,114 +0,0 @@ -!extra-enum-value! Managed value 1 for AVAudioSessionRouteSharingPolicy.LongForm is available for the current platform while the value in the native header is not -!deprecated-attribute-missing! AVAsset::chapterMetadataGroupsBestMatchingPreferredLanguages: missing a [Deprecated] attribute -!deprecated-attribute-missing! AVAsset::chapterMetadataGroupsWithTitleLocale:containingItemsWithCommonKeys: missing a [Deprecated] attribute -!deprecated-attribute-missing! AVAsset::mediaSelectionGroupForMediaCharacteristic: missing a [Deprecated] attribute -!deprecated-attribute-missing! AVAsset::metadataForFormat: missing a [Deprecated] attribute -!deprecated-attribute-missing! AVAsset::tracksWithMediaCharacteristic: missing a [Deprecated] attribute -!deprecated-attribute-missing! AVAsset::tracksWithMediaType: missing a [Deprecated] attribute -!deprecated-attribute-missing! AVAsset::trackWithTrackID: missing a [Deprecated] attribute -!deprecated-attribute-missing! AVAsset::unusedTrackID missing a [Deprecated] attribute -!deprecated-attribute-missing! AVAssetImageGenerator::copyCGImageAtTime:actualTime:error: missing a [Deprecated] attribute -!deprecated-attribute-missing! AVAssetTrack::associatedTracksOfType: missing a [Deprecated] attribute -!deprecated-attribute-missing! AVAssetTrack::metadataForFormat: missing a [Deprecated] attribute -!deprecated-attribute-missing! AVAssetTrack::samplePresentationTimeForTrackTime: missing a [Deprecated] attribute -!deprecated-attribute-missing! AVAssetTrack::segmentForTrackTime: missing a [Deprecated] attribute -!deprecated-attribute-missing! AVMutableComposition::insertTimeRange:ofAsset:atTime:error: missing a [Deprecated] attribute -!deprecated-attribute-missing! AVURLAsset::compatibleTrackForCompositionTrack: missing a [Deprecated] attribute -!deprecated-attribute-missing! AVVideoComposition::isValidForAsset:timeRange:validationDelegate: missing a [Deprecated] attribute -!missing-enum! AVCapturePhotoQualityPrioritization not bound -!missing-enum-value! AVError native value AVErrorAirPlayReceiverTemporarilyUnavailable = -11882 not bound -!missing-enum-value! AVError native value AVErrorFailedToLoadSampleData = -11881 not bound -!missing-enum-value! AVError native value AVErrorInvalidSampleCursor = -11880 not bound -!missing-field! AVAssetPlaybackConfigurationOptionStereoMultiviewVideo not bound -!missing-field! AVAssetPlaybackConfigurationOptionStereoVideo not bound -!missing-field! AVCaptureDeviceTypeDeskViewCamera not bound -!missing-field! AVExtendedNoteOnEventDefaultInstrument not bound -!missing-field! AVPlayerInterstitialEventJoinCue not bound -!missing-field! AVPlayerInterstitialEventLeaveCue not bound -!missing-field! AVPlayerInterstitialEventNoCue not bound -!missing-field! AVURLAssetHTTPUserAgentKey not bound -!missing-field! AVURLAssetPrimarySessionIdentifierKey not bound -!missing-field! AVVideoTransferFunction_Linear not bound -!missing-protocol! AVCaptureMetadataOutputObjectsDelegate not bound -!missing-protocol-conformance! AVPlayerInterstitialEvent should conform to NSCopying -!missing-selector! +AVCaptureDevice::setUserAVCaptureDevice: not bound -!missing-selector! +AVCaptureDevice::systemAVCaptureDevice not bound -!missing-selector! +AVCaptureDevice::userAVCaptureDevice not bound -!missing-selector! +NSValue::valueWithCMVideoDimensions: not bound -!missing-selector! AVAssetExportSession::audioTrackGroupHandling not bound -!missing-selector! AVAssetExportSession::setAudioTrackGroupHandling: not bound -!missing-selector! AVAssetImageGenerator::generateCGImageAsynchronouslyForTime:completionHandler: not bound -!missing-selector! AVAssetResourceLoadingContentInformationRequest::isEntireLengthAvailableOnDemand not bound -!missing-selector! AVAssetResourceLoadingContentInformationRequest::setEntireLengthAvailableOnDemand: not bound -!missing-selector! AVAudioEngine::connectMIDI:to:format:eventListBlock: not bound -!missing-selector! AVAudioEngine::connectMIDI:toNodes:format:eventListBlock: not bound -!missing-selector! AVAudioSequencer::createAndAppendTrack not bound -!missing-selector! AVAudioSequencer::removeTrack: not bound -!missing-selector! AVAudioSequencer::reverseEvents not bound -!missing-selector! AVAudioSequencer::setUserCallback: not bound -!missing-selector! AVAudioUnitMIDIInstrument::sendMIDIEventList: not bound -!missing-selector! AVCaptionRegion::isEqual: not bound -!missing-selector! AVCaptureDevice::companionDeskViewCamera not bound -!missing-selector! AVCaptureDevice::isContinuityCamera not bound -!missing-selector! AVCaptureDevice::isStudioLightActive not bound -!missing-selector! AVCaptureDeviceFormat::isStudioLightSupported not bound -!missing-selector! AVCaptureDeviceFormat::videoFrameRateRangeForStudioLight not bound -!missing-selector! AVCaptureMetadataOutput::availableMetadataObjectTypes not bound -!missing-selector! AVCaptureMetadataOutput::init not bound -!missing-selector! AVCaptureMetadataOutput::metadataObjectsCallbackQueue not bound -!missing-selector! AVCaptureMetadataOutput::metadataObjectsDelegate not bound -!missing-selector! AVCaptureMetadataOutput::metadataObjectTypes not bound -!missing-selector! AVCaptureMetadataOutput::rectOfInterest not bound -!missing-selector! AVCaptureMetadataOutput::setMetadataObjectsDelegate:queue: not bound -!missing-selector! AVCaptureMetadataOutput::setMetadataObjectTypes: not bound -!missing-selector! AVCaptureMetadataOutput::setRectOfInterest: not bound -!missing-selector! AVCapturePhotoOutput::maxPhotoQualityPrioritization not bound -!missing-selector! AVCapturePhotoOutput::setMaxPhotoQualityPrioritization: not bound -!missing-selector! AVCapturePhotoOutput::supportedFlashModes not bound -!missing-selector! AVCapturePhotoSettings::photoQualityPrioritization not bound -!missing-selector! AVCapturePhotoSettings::setPhotoQualityPrioritization: not bound -!missing-selector! AVComposition::chapterMetadataGroupsBestMatchingPreferredLanguages: not bound -!missing-selector! AVComposition::chapterMetadataGroupsWithTitleLocale:containingItemsWithCommonKeys: not bound -!missing-selector! AVComposition::mediaSelectionGroupForMediaCharacteristic: not bound -!missing-selector! AVComposition::metadataForFormat: not bound -!missing-selector! AVComposition::unusedTrackID not bound -!missing-selector! AVCompositionTrack::associatedTracksOfType: not bound -!missing-selector! AVCompositionTrack::hasMediaCharacteristic: not bound -!missing-selector! AVCompositionTrack::metadataForFormat: not bound -!missing-selector! AVCompositionTrack::samplePresentationTimeForTrackTime: not bound -!missing-selector! AVMusicTrack::addEvent:atBeat: not bound -!missing-selector! AVMusicTrack::clearEventsInRange: not bound -!missing-selector! AVMusicTrack::copyAndMergeEventsInRange:fromTrack:mergeAtBeat: not bound -!missing-selector! AVMusicTrack::copyEventsInRange:fromTrack:insertAtBeat: not bound -!missing-selector! AVMusicTrack::cutEventsInRange: not bound -!missing-selector! AVMusicTrack::enumerateEventsInRange:usingBlock: not bound -!missing-selector! AVMusicTrack::moveEventsInRange:byAmount: not bound -!missing-selector! AVMusicTrack::setUsesAutomatedParameters: not bound -!missing-selector! AVMusicTrack::usesAutomatedParameters not bound -!missing-selector! AVMutableComposition::insertTimeRange:ofAsset:atTime:completionHandler: not bound -!missing-selector! AVMutableMovie::chapterMetadataGroupsBestMatchingPreferredLanguages: not bound -!missing-selector! AVMutableMovie::chapterMetadataGroupsWithTitleLocale:containingItemsWithCommonKeys: not bound -!missing-selector! AVMutableMovie::mediaSelectionGroupForMediaCharacteristic: not bound -!missing-selector! AVMutableMovie::metadataForFormat: not bound -!missing-selector! AVMutableMovie::unusedTrackID not bound -!missing-selector! AVMutableMovieTrack::associatedTracksOfType: not bound -!missing-selector! AVMutableMovieTrack::hasMediaCharacteristic: not bound -!missing-selector! AVMutableMovieTrack::metadataForFormat: not bound -!missing-selector! AVMutableMovieTrack::samplePresentationTimeForTrackTime: not bound -!missing-selector! AVMutableMovieTrack::segmentForTrackTime: not bound -!missing-selector! AVSampleBufferGenerator::createSampleBufferForRequest:addingToBatch:error: not bound -!missing-selector! AVSampleBufferGenerator::createSampleBufferForRequest:error: not bound -!missing-selector! AVSampleBufferGenerator::makeBatch not bound -!missing-selector! AVSpeechSynthesizer::writeUtterance:toBufferCallback:toMarkerCallback: not bound -!missing-selector! AVSpeechUtterance::initWithSSMLRepresentation: not bound -!missing-selector! AVVideoComposition::determineValidityForAsset:timeRange:validationDelegate:completionHandler: not bound -!missing-selector! NSValue::CMVideoDimensionsValue not bound -!missing-type! AVCaptureMetadataOutput not bound -!missing-selector! AVCaptureDeskViewApplication::presentWithCompletionHandler: not bound -!missing-selector! AVCaptureDeskViewApplication::presentWithLaunchConfiguration:completionHandler: not bound -!missing-selector! AVCaptureDeskViewApplicationLaunchConfiguration::mainWindowFrame not bound -!missing-selector! AVCaptureDeskViewApplicationLaunchConfiguration::requiresSetUpModeCompletion not bound -!missing-selector! AVCaptureDeskViewApplicationLaunchConfiguration::setMainWindowFrame: not bound -!missing-selector! AVCaptureDeskViewApplicationLaunchConfiguration::setRequiresSetUpModeCompletion: not bound -!missing-type! AVCaptureDeskViewApplication not bound -!missing-type! AVCaptureDeskViewApplicationLaunchConfiguration not bound diff --git a/tests/xtro-sharpie/api-annotations-dotnet/tvOS-AVFoundation.todo b/tests/xtro-sharpie/api-annotations-dotnet/tvOS-AVFoundation.todo index 607037ca7401..89d0293b761f 100644 --- a/tests/xtro-sharpie/api-annotations-dotnet/tvOS-AVFoundation.todo +++ b/tests/xtro-sharpie/api-annotations-dotnet/tvOS-AVFoundation.todo @@ -1,75 +1,3 @@ -!deprecated-attribute-missing! AVAsset::chapterMetadataGroupsBestMatchingPreferredLanguages: missing a [Deprecated] attribute -!deprecated-attribute-missing! AVAsset::chapterMetadataGroupsWithTitleLocale:containingItemsWithCommonKeys: missing a [Deprecated] attribute -!deprecated-attribute-missing! AVAsset::mediaSelectionGroupForMediaCharacteristic: missing a [Deprecated] attribute -!deprecated-attribute-missing! AVAsset::metadataForFormat: missing a [Deprecated] attribute -!deprecated-attribute-missing! AVAsset::tracksWithMediaCharacteristic: missing a [Deprecated] attribute -!deprecated-attribute-missing! AVAsset::tracksWithMediaType: missing a [Deprecated] attribute -!deprecated-attribute-missing! AVAsset::trackWithTrackID: missing a [Deprecated] attribute -!deprecated-attribute-missing! AVAsset::unusedTrackID missing a [Deprecated] attribute -!deprecated-attribute-missing! AVAssetImageGenerator::copyCGImageAtTime:actualTime:error: missing a [Deprecated] attribute -!deprecated-attribute-missing! AVAssetTrack::associatedTracksOfType: missing a [Deprecated] attribute -!deprecated-attribute-missing! AVAssetTrack::metadataForFormat: missing a [Deprecated] attribute -!deprecated-attribute-missing! AVAssetTrack::samplePresentationTimeForTrackTime: missing a [Deprecated] attribute -!deprecated-attribute-missing! AVAssetTrack::segmentForTrackTime: missing a [Deprecated] attribute -!deprecated-attribute-missing! AVAudioEngine::connectMIDI:to:format:block: missing a [Deprecated] attribute -!deprecated-attribute-missing! AVAudioEngine::connectMIDI:toNodes:format:block: missing a [Deprecated] attribute -!deprecated-attribute-missing! AVMutableComposition::insertTimeRange:ofAsset:atTime:error: missing a [Deprecated] attribute -!deprecated-attribute-missing! AVURLAsset::compatibleTrackForCompositionTrack: missing a [Deprecated] attribute -!deprecated-attribute-missing! AVVideoComposition::isValidForAsset:timeRange:validationDelegate: missing a [Deprecated] attribute -!missing-enum-value! AVError native value AVErrorAirPlayReceiverTemporarilyUnavailable = -11882 not bound -!missing-enum-value! AVError native value AVErrorFailedToLoadSampleData = -11881 not bound -!missing-enum-value! AVError native value AVErrorInvalidSampleCursor = -11880 not bound -!missing-field! AVAssetPlaybackConfigurationOptionStereoMultiviewVideo not bound -!missing-field! AVAssetPlaybackConfigurationOptionStereoVideo not bound -!missing-field! AVExtendedNoteOnEventDefaultInstrument not bound -!missing-field! AVPlayerInterstitialEventJoinCue not bound -!missing-field! AVPlayerInterstitialEventLeaveCue not bound -!missing-field! AVPlayerInterstitialEventNoCue not bound -!missing-field! AVURLAssetHTTPUserAgentKey not bound -!missing-field! AVURLAssetPrimarySessionIdentifierKey not bound -!missing-field! AVVideoTransferFunction_Linear not bound -!missing-protocol-conformance! AVPlayerInterstitialEvent should conform to NSCopying -!missing-selector! +NSValue::valueWithCMVideoDimensions: not bound -!missing-selector! AVAssetExportSession::audioTrackGroupHandling not bound -!missing-selector! AVAssetExportSession::setAudioTrackGroupHandling: not bound -!missing-selector! AVAssetImageGenerator::generateCGImageAsynchronouslyForTime:completionHandler: not bound -!missing-selector! AVAssetResourceLoadingContentInformationRequest::isEntireLengthAvailableOnDemand not bound -!missing-selector! AVAssetResourceLoadingContentInformationRequest::setEntireLengthAvailableOnDemand: not bound -!missing-selector! AVAssetTrack::canProvideSampleCursors not bound -!missing-selector! AVAssetTrack::makeSampleCursorAtFirstSampleInDecodeOrder not bound -!missing-selector! AVAssetTrack::makeSampleCursorAtLastSampleInDecodeOrder not bound -!missing-selector! AVAssetTrack::makeSampleCursorWithPresentationTimeStamp: not bound !missing-selector! AVAudioEngine::connectMIDI:to:format:eventListBlock: not bound !missing-selector! AVAudioEngine::connectMIDI:toNodes:format:eventListBlock: not bound -!missing-selector! AVAudioSequencer::createAndAppendTrack not bound -!missing-selector! AVAudioSequencer::removeTrack: not bound -!missing-selector! AVAudioSequencer::reverseEvents not bound -!missing-selector! AVAudioSequencer::setUserCallback: not bound -!missing-selector! AVAudioUnitComponent::icon not bound !missing-selector! AVAudioUnitMIDIInstrument::sendMIDIEventList: not bound -!missing-selector! AVComposition::chapterMetadataGroupsBestMatchingPreferredLanguages: not bound -!missing-selector! AVComposition::chapterMetadataGroupsWithTitleLocale:containingItemsWithCommonKeys: not bound -!missing-selector! AVComposition::mediaSelectionGroupForMediaCharacteristic: not bound -!missing-selector! AVComposition::metadataForFormat: not bound -!missing-selector! AVComposition::unusedTrackID not bound -!missing-selector! AVCompositionTrack::associatedTracksOfType: not bound -!missing-selector! AVCompositionTrack::hasMediaCharacteristic: not bound -!missing-selector! AVCompositionTrack::metadataForFormat: not bound -!missing-selector! AVCompositionTrack::samplePresentationTimeForTrackTime: not bound -!missing-selector! AVMusicTrack::addEvent:atBeat: not bound -!missing-selector! AVMusicTrack::clearEventsInRange: not bound -!missing-selector! AVMusicTrack::copyAndMergeEventsInRange:fromTrack:mergeAtBeat: not bound -!missing-selector! AVMusicTrack::copyEventsInRange:fromTrack:insertAtBeat: not bound -!missing-selector! AVMusicTrack::cutEventsInRange: not bound -!missing-selector! AVMusicTrack::enumerateEventsInRange:usingBlock: not bound -!missing-selector! AVMusicTrack::moveEventsInRange:byAmount: not bound -!missing-selector! AVMusicTrack::setUsesAutomatedParameters: not bound -!missing-selector! AVMusicTrack::usesAutomatedParameters not bound -!missing-selector! AVMutableComposition::insertTimeRange:ofAsset:atTime:completionHandler: not bound -!missing-selector! AVSampleBufferGenerator::createSampleBufferForRequest:addingToBatch:error: not bound -!missing-selector! AVSampleBufferGenerator::createSampleBufferForRequest:error: not bound -!missing-selector! AVSampleBufferGenerator::makeBatch not bound -!missing-selector! AVSpeechSynthesizer::writeUtterance:toBufferCallback:toMarkerCallback: not bound -!missing-selector! AVSpeechUtterance::initWithSSMLRepresentation: not bound -!missing-selector! AVVideoComposition::determineValidityForAsset:timeRange:validationDelegate:completionHandler: not bound -!missing-selector! NSValue::CMVideoDimensionsValue not bound diff --git a/tests/xtro-sharpie/common-AVFoundation.ignore b/tests/xtro-sharpie/common-AVFoundation.ignore index e3270918118a..d880e4700235 100644 --- a/tests/xtro-sharpie/common-AVFoundation.ignore +++ b/tests/xtro-sharpie/common-AVFoundation.ignore @@ -64,4 +64,5 @@ # 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 .NET since it is part of a new breaking change in a notification +# intro says it does not +!missing-protocol-conformance! AVPlayerInterstitialEvent should conform to NSCopying diff --git a/tests/xtro-sharpie/iOS-AVFoundation.todo b/tests/xtro-sharpie/iOS-AVFoundation.todo index a8e927d8ecf3..489f6a3235a9 100644 --- a/tests/xtro-sharpie/iOS-AVFoundation.todo +++ b/tests/xtro-sharpie/iOS-AVFoundation.todo @@ -1,99 +1,4 @@ -!deprecated-attribute-missing! AVAsset::chapterMetadataGroupsBestMatchingPreferredLanguages: missing a [Deprecated] attribute -!deprecated-attribute-missing! AVAsset::chapterMetadataGroupsWithTitleLocale:containingItemsWithCommonKeys: missing a [Deprecated] attribute -!deprecated-attribute-missing! AVAsset::mediaSelectionGroupForMediaCharacteristic: missing a [Deprecated] attribute -!deprecated-attribute-missing! AVAsset::metadataForFormat: missing a [Deprecated] attribute -!deprecated-attribute-missing! AVAsset::tracksWithMediaCharacteristic: missing a [Deprecated] attribute -!deprecated-attribute-missing! AVAsset::tracksWithMediaType: missing a [Deprecated] attribute -!deprecated-attribute-missing! AVAsset::trackWithTrackID: missing a [Deprecated] attribute -!deprecated-attribute-missing! AVAsset::unusedTrackID missing a [Deprecated] attribute -!deprecated-attribute-missing! AVAssetImageGenerator::copyCGImageAtTime:actualTime:error: missing a [Deprecated] attribute -!deprecated-attribute-missing! AVAssetTrack::associatedTracksOfType: missing a [Deprecated] attribute -!deprecated-attribute-missing! AVAssetTrack::metadataForFormat: missing a [Deprecated] attribute -!deprecated-attribute-missing! AVAssetTrack::samplePresentationTimeForTrackTime: missing a [Deprecated] attribute -!deprecated-attribute-missing! AVAssetTrack::segmentForTrackTime: missing a [Deprecated] attribute -!deprecated-attribute-missing! AVAudioEngine::connectMIDI:to:format:block: missing a [Deprecated] attribute -!deprecated-attribute-missing! AVAudioEngine::connectMIDI:toNodes:format:block: missing a [Deprecated] attribute -!deprecated-attribute-missing! AVMutableComposition::insertTimeRange:ofAsset:atTime:error: missing a [Deprecated] attribute -!deprecated-attribute-missing! AVURLAsset::compatibleTrackForCompositionTrack: missing a [Deprecated] attribute -!deprecated-attribute-missing! AVVideoComposition::isValidForAsset:timeRange:validationDelegate: missing a [Deprecated] attribute -!missing-enum-value! AVError native value AVErrorAirPlayReceiverTemporarilyUnavailable = -11882 not bound -!missing-enum-value! AVError native value AVErrorFailedToLoadSampleData = -11881 not bound -!missing-enum-value! AVError native value AVErrorInvalidSampleCursor = -11880 not bound -!missing-field! AVAssetPlaybackConfigurationOptionStereoMultiviewVideo not bound -!missing-field! AVAssetPlaybackConfigurationOptionStereoVideo not bound -!missing-field! AVExtendedNoteOnEventDefaultInstrument not bound -!missing-field! AVPlayerInterstitialEventJoinCue not bound -!missing-field! AVPlayerInterstitialEventLeaveCue not bound -!missing-field! AVPlayerInterstitialEventNoCue not bound -!missing-field! AVURLAssetHTTPUserAgentKey not bound -!missing-field! AVURLAssetPrimarySessionIdentifierKey not bound -!missing-field! AVVideoTransferFunction_Linear not bound -!missing-protocol-conformance! AVPlayerInterstitialEvent should conform to NSCopying -!missing-selector! +NSValue::valueWithCMVideoDimensions: not bound -!missing-selector! AVAssetExportSession::audioTrackGroupHandling not bound -!missing-selector! AVAssetExportSession::setAudioTrackGroupHandling: not bound -!missing-selector! AVAssetImageGenerator::generateCGImageAsynchronouslyForTime:completionHandler: not bound -!missing-selector! AVAssetResourceLoadingContentInformationRequest::isEntireLengthAvailableOnDemand not bound -!missing-selector! AVAssetResourceLoadingContentInformationRequest::setEntireLengthAvailableOnDemand: not bound -!missing-selector! AVAssetTrack::canProvideSampleCursors not bound -!missing-selector! AVAssetTrack::makeSampleCursorAtFirstSampleInDecodeOrder not bound -!missing-selector! AVAssetTrack::makeSampleCursorAtLastSampleInDecodeOrder not bound -!missing-selector! AVAssetTrack::makeSampleCursorWithPresentationTimeStamp: not bound +## to be done when CoreMidi structs are present in the platform !missing-selector! AVAudioEngine::connectMIDI:to:format:eventListBlock: not bound !missing-selector! AVAudioEngine::connectMIDI:toNodes:format:eventListBlock: not bound -!missing-selector! AVAudioSequencer::createAndAppendTrack not bound -!missing-selector! AVAudioSequencer::removeTrack: not bound -!missing-selector! AVAudioSequencer::reverseEvents not bound -!missing-selector! AVAudioSequencer::setUserCallback: not bound -!missing-selector! AVAudioUnitComponent::configurationDictionary not bound -!missing-selector! AVAudioUnitComponent::icon not bound -!missing-selector! AVAudioUnitComponent::passesAUVal not bound !missing-selector! AVAudioUnitMIDIInstrument::sendMIDIEventList: not bound -!missing-selector! AVCaptureDevice::companionDeskViewCamera not bound -!missing-selector! AVCaptureDevice::isContinuityCamera not bound -!missing-selector! AVCaptureDevice::isStudioLightActive not bound -!missing-selector! AVCaptureDeviceFormat::isStudioLightSupported not bound -!missing-selector! AVCaptureDeviceFormat::videoFrameRateRangeForStudioLight not bound -!missing-selector! AVCaptureSession::hardwareCost not bound -!missing-selector! AVCaptureSession::isMultitaskingCameraAccessEnabled not bound -!missing-selector! AVCaptureSession::isMultitaskingCameraAccessSupported not bound -!missing-selector! AVCaptureSession::setMultitaskingCameraAccessEnabled: not bound -!missing-selector! AVComposition::chapterMetadataGroupsBestMatchingPreferredLanguages: not bound -!missing-selector! AVComposition::chapterMetadataGroupsWithTitleLocale:containingItemsWithCommonKeys: not bound -!missing-selector! AVComposition::mediaSelectionGroupForMediaCharacteristic: not bound -!missing-selector! AVComposition::metadataForFormat: not bound -!missing-selector! AVComposition::unusedTrackID not bound -!missing-selector! AVCompositionTrack::associatedTracksOfType: not bound -!missing-selector! AVCompositionTrack::hasMediaCharacteristic: not bound -!missing-selector! AVCompositionTrack::metadataForFormat: not bound -!missing-selector! AVCompositionTrack::samplePresentationTimeForTrackTime: not bound -!missing-selector! AVMusicTrack::addEvent:atBeat: not bound -!missing-selector! AVMusicTrack::clearEventsInRange: not bound -!missing-selector! AVMusicTrack::copyAndMergeEventsInRange:fromTrack:mergeAtBeat: not bound -!missing-selector! AVMusicTrack::copyEventsInRange:fromTrack:insertAtBeat: not bound -!missing-selector! AVMusicTrack::cutEventsInRange: not bound -!missing-selector! AVMusicTrack::enumerateEventsInRange:usingBlock: not bound -!missing-selector! AVMusicTrack::moveEventsInRange:byAmount: not bound -!missing-selector! AVMusicTrack::setUsesAutomatedParameters: not bound -!missing-selector! AVMusicTrack::usesAutomatedParameters not bound -!missing-selector! AVMutableComposition::insertTimeRange:ofAsset:atTime:completionHandler: not bound -!missing-selector! AVMutableMovie::chapterMetadataGroupsBestMatchingPreferredLanguages: not bound -!missing-selector! AVMutableMovie::chapterMetadataGroupsWithTitleLocale:containingItemsWithCommonKeys: not bound -!missing-selector! AVMutableMovie::mediaSelectionGroupForMediaCharacteristic: not bound -!missing-selector! AVMutableMovie::metadataForFormat: not bound -!missing-selector! AVMutableMovie::unusedTrackID not bound -!missing-selector! AVMutableMovieTrack::associatedTracksOfType: not bound -!missing-selector! AVMutableMovieTrack::hasMediaCharacteristic: not bound -!missing-selector! AVMutableMovieTrack::metadataForFormat: not bound -!missing-selector! AVMutableMovieTrack::samplePresentationTimeForTrackTime: not bound -!missing-selector! AVMutableMovieTrack::segmentForTrackTime: not bound -!missing-selector! AVSampleBufferGenerator::createSampleBufferForRequest:addingToBatch:error: not bound -!missing-selector! AVSampleBufferGenerator::createSampleBufferForRequest:error: not bound -!missing-selector! AVSampleBufferGenerator::makeBatch not bound -!missing-selector! AVSpeechSynthesizer::writeUtterance:toBufferCallback:toMarkerCallback: not bound -!missing-selector! AVSpeechUtterance::initWithSSMLRepresentation: not bound -!missing-selector! AVVideoComposition::determineValidityForAsset:timeRange:validationDelegate:completionHandler: not bound -!missing-selector! NSValue::CMVideoDimensionsValue not bound -!deprecated-attribute-missing! AVCaptureDeviceFormat::highResolutionStillImageDimensions missing a [Deprecated] attribute -!deprecated-attribute-missing! AVCaptureDeviceFormat::videoMaxZoomFactorForDepthDataDelivery missing a [Deprecated] attribute -!deprecated-attribute-missing! AVCaptureDeviceFormat::videoMinZoomFactorForDepthDataDelivery missing a [Deprecated] attribute diff --git a/tests/xtro-sharpie/macOS-AVFoundation.ignore b/tests/xtro-sharpie/macOS-AVFoundation.ignore index 8c83f2062b0c..32403dfaba9c 100644 --- a/tests/xtro-sharpie/macOS-AVFoundation.ignore +++ b/tests/xtro-sharpie/macOS-AVFoundation.ignore @@ -61,3 +61,12 @@ !incorrect-protocol-member! AVAudio3DMixing::sourceMode is REQUIRED and should be abstract !extra-null-allowed! 'Foundation.NSNumber[] AVFoundation.AVVideoCompositionInstruction::get_RequiredSourceTrackIDs()' has a extraneous [NullAllowed] on return type !missing-field! AVPlayerItemTimeJumpedOriginatingParticipantKey not bound + +# removed on xcode 14.1 +!extra-enum-value! Managed value -11837 for AVError.DeviceIsNotAvailableInBackground not found in native headers +!extra-enum-value! Managed value 1 for AVAudioSessionRouteSharingPolicy.LongForm is available for the current platform while the value in the native header is not + +# xtro complains but is not present in the headers or in the apple docs +!missing-selector! +AVCaptureDevice::setUserAVCaptureDevice: not bound +!missing-selector! +AVCaptureDevice::systemAVCaptureDevice not bound +!missing-selector! +AVCaptureDevice::userAVCaptureDevice not bound diff --git a/tests/xtro-sharpie/macOS-AVFoundation.todo b/tests/xtro-sharpie/macOS-AVFoundation.todo deleted file mode 100644 index 0d2400d008e7..000000000000 --- a/tests/xtro-sharpie/macOS-AVFoundation.todo +++ /dev/null @@ -1,114 +0,0 @@ -!extra-enum-value! Managed value 1 for AVAudioSessionRouteSharingPolicy.LongForm is available for the current platform while the value in the native header is not -!deprecated-attribute-missing! AVAsset::chapterMetadataGroupsBestMatchingPreferredLanguages: missing a [Deprecated] attribute -!deprecated-attribute-missing! AVAsset::chapterMetadataGroupsWithTitleLocale:containingItemsWithCommonKeys: missing a [Deprecated] attribute -!deprecated-attribute-missing! AVAsset::mediaSelectionGroupForMediaCharacteristic: missing a [Deprecated] attribute -!deprecated-attribute-missing! AVAsset::metadataForFormat: missing a [Deprecated] attribute -!deprecated-attribute-missing! AVAsset::tracksWithMediaCharacteristic: missing a [Deprecated] attribute -!deprecated-attribute-missing! AVAsset::tracksWithMediaType: missing a [Deprecated] attribute -!deprecated-attribute-missing! AVAsset::trackWithTrackID: missing a [Deprecated] attribute -!deprecated-attribute-missing! AVAsset::unusedTrackID missing a [Deprecated] attribute -!deprecated-attribute-missing! AVAssetImageGenerator::copyCGImageAtTime:actualTime:error: missing a [Deprecated] attribute -!deprecated-attribute-missing! AVAssetTrack::associatedTracksOfType: missing a [Deprecated] attribute -!deprecated-attribute-missing! AVAssetTrack::metadataForFormat: missing a [Deprecated] attribute -!deprecated-attribute-missing! AVAssetTrack::samplePresentationTimeForTrackTime: missing a [Deprecated] attribute -!deprecated-attribute-missing! AVAssetTrack::segmentForTrackTime: missing a [Deprecated] attribute -!deprecated-attribute-missing! AVMutableComposition::insertTimeRange:ofAsset:atTime:error: missing a [Deprecated] attribute -!deprecated-attribute-missing! AVURLAsset::compatibleTrackForCompositionTrack: missing a [Deprecated] attribute -!deprecated-attribute-missing! AVVideoComposition::isValidForAsset:timeRange:validationDelegate: missing a [Deprecated] attribute -!missing-enum! AVCapturePhotoQualityPrioritization not bound -!missing-enum-value! AVError native value AVErrorAirPlayReceiverTemporarilyUnavailable = -11882 not bound -!missing-enum-value! AVError native value AVErrorFailedToLoadSampleData = -11881 not bound -!missing-enum-value! AVError native value AVErrorInvalidSampleCursor = -11880 not bound -!missing-field! AVAssetPlaybackConfigurationOptionStereoMultiviewVideo not bound -!missing-field! AVAssetPlaybackConfigurationOptionStereoVideo not bound -!missing-field! AVCaptureDeviceTypeDeskViewCamera not bound -!missing-field! AVExtendedNoteOnEventDefaultInstrument not bound -!missing-field! AVPlayerInterstitialEventJoinCue not bound -!missing-field! AVPlayerInterstitialEventLeaveCue not bound -!missing-field! AVPlayerInterstitialEventNoCue not bound -!missing-field! AVURLAssetHTTPUserAgentKey not bound -!missing-field! AVURLAssetPrimarySessionIdentifierKey not bound -!missing-field! AVVideoTransferFunction_Linear not bound -!missing-protocol! AVCaptureMetadataOutputObjectsDelegate not bound -!missing-protocol-conformance! AVPlayerInterstitialEvent should conform to NSCopying -!missing-selector! +AVCaptureDevice::setUserAVCaptureDevice: not bound -!missing-selector! +AVCaptureDevice::systemAVCaptureDevice not bound -!missing-selector! +AVCaptureDevice::userAVCaptureDevice not bound -!missing-selector! +NSValue::valueWithCMVideoDimensions: not bound -!missing-selector! AVAssetExportSession::audioTrackGroupHandling not bound -!missing-selector! AVAssetExportSession::setAudioTrackGroupHandling: not bound -!missing-selector! AVAssetImageGenerator::generateCGImageAsynchronouslyForTime:completionHandler: not bound -!missing-selector! AVAssetResourceLoadingContentInformationRequest::isEntireLengthAvailableOnDemand not bound -!missing-selector! AVAssetResourceLoadingContentInformationRequest::setEntireLengthAvailableOnDemand: not bound -!missing-selector! AVAudioEngine::connectMIDI:to:format:eventListBlock: not bound -!missing-selector! AVAudioEngine::connectMIDI:toNodes:format:eventListBlock: not bound -!missing-selector! AVAudioSequencer::createAndAppendTrack not bound -!missing-selector! AVAudioSequencer::removeTrack: not bound -!missing-selector! AVAudioSequencer::reverseEvents not bound -!missing-selector! AVAudioSequencer::setUserCallback: not bound -!missing-selector! AVAudioUnitMIDIInstrument::sendMIDIEventList: not bound -!missing-selector! AVCaptionRegion::isEqual: not bound -!missing-selector! AVCaptureDevice::companionDeskViewCamera not bound -!missing-selector! AVCaptureDevice::isContinuityCamera not bound -!missing-selector! AVCaptureDevice::isStudioLightActive not bound -!missing-selector! AVCaptureDeviceFormat::isStudioLightSupported not bound -!missing-selector! AVCaptureDeviceFormat::videoFrameRateRangeForStudioLight not bound -!missing-selector! AVCaptureMetadataOutput::availableMetadataObjectTypes not bound -!missing-selector! AVCaptureMetadataOutput::init not bound -!missing-selector! AVCaptureMetadataOutput::metadataObjectsCallbackQueue not bound -!missing-selector! AVCaptureMetadataOutput::metadataObjectsDelegate not bound -!missing-selector! AVCaptureMetadataOutput::metadataObjectTypes not bound -!missing-selector! AVCaptureMetadataOutput::rectOfInterest not bound -!missing-selector! AVCaptureMetadataOutput::setMetadataObjectsDelegate:queue: not bound -!missing-selector! AVCaptureMetadataOutput::setMetadataObjectTypes: not bound -!missing-selector! AVCaptureMetadataOutput::setRectOfInterest: not bound -!missing-selector! AVCapturePhotoOutput::maxPhotoQualityPrioritization not bound -!missing-selector! AVCapturePhotoOutput::setMaxPhotoQualityPrioritization: not bound -!missing-selector! AVCapturePhotoOutput::supportedFlashModes not bound -!missing-selector! AVCapturePhotoSettings::photoQualityPrioritization not bound -!missing-selector! AVCapturePhotoSettings::setPhotoQualityPrioritization: not bound -!missing-selector! AVComposition::chapterMetadataGroupsBestMatchingPreferredLanguages: not bound -!missing-selector! AVComposition::chapterMetadataGroupsWithTitleLocale:containingItemsWithCommonKeys: not bound -!missing-selector! AVComposition::mediaSelectionGroupForMediaCharacteristic: not bound -!missing-selector! AVComposition::metadataForFormat: not bound -!missing-selector! AVComposition::unusedTrackID not bound -!missing-selector! AVCompositionTrack::associatedTracksOfType: not bound -!missing-selector! AVCompositionTrack::hasMediaCharacteristic: not bound -!missing-selector! AVCompositionTrack::metadataForFormat: not bound -!missing-selector! AVCompositionTrack::samplePresentationTimeForTrackTime: not bound -!missing-selector! AVMusicTrack::addEvent:atBeat: not bound -!missing-selector! AVMusicTrack::clearEventsInRange: not bound -!missing-selector! AVMusicTrack::copyAndMergeEventsInRange:fromTrack:mergeAtBeat: not bound -!missing-selector! AVMusicTrack::copyEventsInRange:fromTrack:insertAtBeat: not bound -!missing-selector! AVMusicTrack::cutEventsInRange: not bound -!missing-selector! AVMusicTrack::enumerateEventsInRange:usingBlock: not bound -!missing-selector! AVMusicTrack::moveEventsInRange:byAmount: not bound -!missing-selector! AVMusicTrack::setUsesAutomatedParameters: not bound -!missing-selector! AVMusicTrack::usesAutomatedParameters not bound -!missing-selector! AVMutableComposition::insertTimeRange:ofAsset:atTime:completionHandler: not bound -!missing-selector! AVMutableMovie::chapterMetadataGroupsBestMatchingPreferredLanguages: not bound -!missing-selector! AVMutableMovie::chapterMetadataGroupsWithTitleLocale:containingItemsWithCommonKeys: not bound -!missing-selector! AVMutableMovie::mediaSelectionGroupForMediaCharacteristic: not bound -!missing-selector! AVMutableMovie::metadataForFormat: not bound -!missing-selector! AVMutableMovie::unusedTrackID not bound -!missing-selector! AVMutableMovieTrack::associatedTracksOfType: not bound -!missing-selector! AVMutableMovieTrack::hasMediaCharacteristic: not bound -!missing-selector! AVMutableMovieTrack::metadataForFormat: not bound -!missing-selector! AVMutableMovieTrack::samplePresentationTimeForTrackTime: not bound -!missing-selector! AVMutableMovieTrack::segmentForTrackTime: not bound -!missing-selector! AVSampleBufferGenerator::createSampleBufferForRequest:addingToBatch:error: not bound -!missing-selector! AVSampleBufferGenerator::createSampleBufferForRequest:error: not bound -!missing-selector! AVSampleBufferGenerator::makeBatch not bound -!missing-selector! AVSpeechSynthesizer::writeUtterance:toBufferCallback:toMarkerCallback: not bound -!missing-selector! AVSpeechUtterance::initWithSSMLRepresentation: not bound -!missing-selector! AVVideoComposition::determineValidityForAsset:timeRange:validationDelegate:completionHandler: not bound -!missing-selector! NSValue::CMVideoDimensionsValue not bound -!missing-type! AVCaptureMetadataOutput not bound -!missing-selector! AVCaptureDeskViewApplication::presentWithCompletionHandler: not bound -!missing-selector! AVCaptureDeskViewApplication::presentWithLaunchConfiguration:completionHandler: not bound -!missing-selector! AVCaptureDeskViewApplicationLaunchConfiguration::mainWindowFrame not bound -!missing-selector! AVCaptureDeskViewApplicationLaunchConfiguration::requiresSetUpModeCompletion not bound -!missing-selector! AVCaptureDeskViewApplicationLaunchConfiguration::setMainWindowFrame: not bound -!missing-selector! AVCaptureDeskViewApplicationLaunchConfiguration::setRequiresSetUpModeCompletion: not bound -!missing-type! AVCaptureDeskViewApplication not bound -!missing-type! AVCaptureDeskViewApplicationLaunchConfiguration not bound diff --git a/tests/xtro-sharpie/tvOS-AVFoundation.todo b/tests/xtro-sharpie/tvOS-AVFoundation.todo index 607037ca7401..489f6a3235a9 100644 --- a/tests/xtro-sharpie/tvOS-AVFoundation.todo +++ b/tests/xtro-sharpie/tvOS-AVFoundation.todo @@ -1,75 +1,4 @@ -!deprecated-attribute-missing! AVAsset::chapterMetadataGroupsBestMatchingPreferredLanguages: missing a [Deprecated] attribute -!deprecated-attribute-missing! AVAsset::chapterMetadataGroupsWithTitleLocale:containingItemsWithCommonKeys: missing a [Deprecated] attribute -!deprecated-attribute-missing! AVAsset::mediaSelectionGroupForMediaCharacteristic: missing a [Deprecated] attribute -!deprecated-attribute-missing! AVAsset::metadataForFormat: missing a [Deprecated] attribute -!deprecated-attribute-missing! AVAsset::tracksWithMediaCharacteristic: missing a [Deprecated] attribute -!deprecated-attribute-missing! AVAsset::tracksWithMediaType: missing a [Deprecated] attribute -!deprecated-attribute-missing! AVAsset::trackWithTrackID: missing a [Deprecated] attribute -!deprecated-attribute-missing! AVAsset::unusedTrackID missing a [Deprecated] attribute -!deprecated-attribute-missing! AVAssetImageGenerator::copyCGImageAtTime:actualTime:error: missing a [Deprecated] attribute -!deprecated-attribute-missing! AVAssetTrack::associatedTracksOfType: missing a [Deprecated] attribute -!deprecated-attribute-missing! AVAssetTrack::metadataForFormat: missing a [Deprecated] attribute -!deprecated-attribute-missing! AVAssetTrack::samplePresentationTimeForTrackTime: missing a [Deprecated] attribute -!deprecated-attribute-missing! AVAssetTrack::segmentForTrackTime: missing a [Deprecated] attribute -!deprecated-attribute-missing! AVAudioEngine::connectMIDI:to:format:block: missing a [Deprecated] attribute -!deprecated-attribute-missing! AVAudioEngine::connectMIDI:toNodes:format:block: missing a [Deprecated] attribute -!deprecated-attribute-missing! AVMutableComposition::insertTimeRange:ofAsset:atTime:error: missing a [Deprecated] attribute -!deprecated-attribute-missing! AVURLAsset::compatibleTrackForCompositionTrack: missing a [Deprecated] attribute -!deprecated-attribute-missing! AVVideoComposition::isValidForAsset:timeRange:validationDelegate: missing a [Deprecated] attribute -!missing-enum-value! AVError native value AVErrorAirPlayReceiverTemporarilyUnavailable = -11882 not bound -!missing-enum-value! AVError native value AVErrorFailedToLoadSampleData = -11881 not bound -!missing-enum-value! AVError native value AVErrorInvalidSampleCursor = -11880 not bound -!missing-field! AVAssetPlaybackConfigurationOptionStereoMultiviewVideo not bound -!missing-field! AVAssetPlaybackConfigurationOptionStereoVideo not bound -!missing-field! AVExtendedNoteOnEventDefaultInstrument not bound -!missing-field! AVPlayerInterstitialEventJoinCue not bound -!missing-field! AVPlayerInterstitialEventLeaveCue not bound -!missing-field! AVPlayerInterstitialEventNoCue not bound -!missing-field! AVURLAssetHTTPUserAgentKey not bound -!missing-field! AVURLAssetPrimarySessionIdentifierKey not bound -!missing-field! AVVideoTransferFunction_Linear not bound -!missing-protocol-conformance! AVPlayerInterstitialEvent should conform to NSCopying -!missing-selector! +NSValue::valueWithCMVideoDimensions: not bound -!missing-selector! AVAssetExportSession::audioTrackGroupHandling not bound -!missing-selector! AVAssetExportSession::setAudioTrackGroupHandling: not bound -!missing-selector! AVAssetImageGenerator::generateCGImageAsynchronouslyForTime:completionHandler: not bound -!missing-selector! AVAssetResourceLoadingContentInformationRequest::isEntireLengthAvailableOnDemand not bound -!missing-selector! AVAssetResourceLoadingContentInformationRequest::setEntireLengthAvailableOnDemand: not bound -!missing-selector! AVAssetTrack::canProvideSampleCursors not bound -!missing-selector! AVAssetTrack::makeSampleCursorAtFirstSampleInDecodeOrder not bound -!missing-selector! AVAssetTrack::makeSampleCursorAtLastSampleInDecodeOrder not bound -!missing-selector! AVAssetTrack::makeSampleCursorWithPresentationTimeStamp: not bound +## to be done when CoreMidi structs are present in the platform !missing-selector! AVAudioEngine::connectMIDI:to:format:eventListBlock: not bound !missing-selector! AVAudioEngine::connectMIDI:toNodes:format:eventListBlock: not bound -!missing-selector! AVAudioSequencer::createAndAppendTrack not bound -!missing-selector! AVAudioSequencer::removeTrack: not bound -!missing-selector! AVAudioSequencer::reverseEvents not bound -!missing-selector! AVAudioSequencer::setUserCallback: not bound -!missing-selector! AVAudioUnitComponent::icon not bound !missing-selector! AVAudioUnitMIDIInstrument::sendMIDIEventList: not bound -!missing-selector! AVComposition::chapterMetadataGroupsBestMatchingPreferredLanguages: not bound -!missing-selector! AVComposition::chapterMetadataGroupsWithTitleLocale:containingItemsWithCommonKeys: not bound -!missing-selector! AVComposition::mediaSelectionGroupForMediaCharacteristic: not bound -!missing-selector! AVComposition::metadataForFormat: not bound -!missing-selector! AVComposition::unusedTrackID not bound -!missing-selector! AVCompositionTrack::associatedTracksOfType: not bound -!missing-selector! AVCompositionTrack::hasMediaCharacteristic: not bound -!missing-selector! AVCompositionTrack::metadataForFormat: not bound -!missing-selector! AVCompositionTrack::samplePresentationTimeForTrackTime: not bound -!missing-selector! AVMusicTrack::addEvent:atBeat: not bound -!missing-selector! AVMusicTrack::clearEventsInRange: not bound -!missing-selector! AVMusicTrack::copyAndMergeEventsInRange:fromTrack:mergeAtBeat: not bound -!missing-selector! AVMusicTrack::copyEventsInRange:fromTrack:insertAtBeat: not bound -!missing-selector! AVMusicTrack::cutEventsInRange: not bound -!missing-selector! AVMusicTrack::enumerateEventsInRange:usingBlock: not bound -!missing-selector! AVMusicTrack::moveEventsInRange:byAmount: not bound -!missing-selector! AVMusicTrack::setUsesAutomatedParameters: not bound -!missing-selector! AVMusicTrack::usesAutomatedParameters not bound -!missing-selector! AVMutableComposition::insertTimeRange:ofAsset:atTime:completionHandler: not bound -!missing-selector! AVSampleBufferGenerator::createSampleBufferForRequest:addingToBatch:error: not bound -!missing-selector! AVSampleBufferGenerator::createSampleBufferForRequest:error: not bound -!missing-selector! AVSampleBufferGenerator::makeBatch not bound -!missing-selector! AVSpeechSynthesizer::writeUtterance:toBufferCallback:toMarkerCallback: not bound -!missing-selector! AVSpeechUtterance::initWithSSMLRepresentation: not bound -!missing-selector! AVVideoComposition::determineValidityForAsset:timeRange:validationDelegate:completionHandler: not bound -!missing-selector! NSValue::CMVideoDimensionsValue not bound diff --git a/tests/xtro-sharpie/watchOS-AVFoundation.todo b/tests/xtro-sharpie/watchOS-AVFoundation.todo deleted file mode 100644 index 1cf63f9d305c..000000000000 --- a/tests/xtro-sharpie/watchOS-AVFoundation.todo +++ /dev/null @@ -1,79 +0,0 @@ -!deprecated-attribute-missing! AVAsset::chapterMetadataGroupsBestMatchingPreferredLanguages: missing a [Deprecated] attribute -!deprecated-attribute-missing! AVAsset::chapterMetadataGroupsWithTitleLocale:containingItemsWithCommonKeys: missing a [Deprecated] attribute -!deprecated-attribute-missing! AVAsset::mediaSelectionGroupForMediaCharacteristic: missing a [Deprecated] attribute -!deprecated-attribute-missing! AVAsset::metadataForFormat: missing a [Deprecated] attribute -!deprecated-attribute-missing! AVAsset::tracksWithMediaCharacteristic: missing a [Deprecated] attribute -!deprecated-attribute-missing! AVAsset::tracksWithMediaType: missing a [Deprecated] attribute -!deprecated-attribute-missing! AVAsset::trackWithTrackID: missing a [Deprecated] attribute -!deprecated-attribute-missing! AVAsset::unusedTrackID missing a [Deprecated] attribute -!deprecated-attribute-missing! AVAssetTrack::associatedTracksOfType: missing a [Deprecated] attribute -!deprecated-attribute-missing! AVAssetTrack::metadataForFormat: missing a [Deprecated] attribute -!deprecated-attribute-missing! AVAssetTrack::samplePresentationTimeForTrackTime: missing a [Deprecated] attribute -!deprecated-attribute-missing! AVAssetTrack::segmentForTrackTime: missing a [Deprecated] attribute -!deprecated-attribute-missing! AVMutableComposition::insertTimeRange:ofAsset:atTime:error: missing a [Deprecated] attribute -!deprecated-attribute-missing! AVURLAsset::compatibleTrackForCompositionTrack: missing a [Deprecated] attribute -!missing-enum! AVMIDIControlChangeMessageType not bound -!missing-enum! AVMIDIMetaEventType not bound -!missing-enum-value! AVError native value AVErrorAirPlayReceiverTemporarilyUnavailable = -11882 not bound -!missing-enum-value! AVError native value AVErrorFailedToLoadSampleData = -11881 not bound -!missing-enum-value! AVError native value AVErrorInvalidSampleCursor = -11880 not bound -!missing-field! AVAssetPlaybackConfigurationOptionStereoMultiviewVideo not bound -!missing-field! AVAssetPlaybackConfigurationOptionStereoVideo not bound -!missing-field! AVPlayerInterstitialEventJoinCue not bound -!missing-field! AVPlayerInterstitialEventLeaveCue not bound -!missing-field! AVPlayerInterstitialEventNoCue not bound -!missing-field! AVURLAssetHTTPUserAgentKey not bound -!missing-field! AVURLAssetPrimarySessionIdentifierKey not bound -!missing-protocol-conformance! AVPlayerInterstitialEvent should conform to NSCopying -!missing-protocol-conformance! AVURLAsset should conform to AVContentKeyRecipient (defined in 'AVURLAssetContentKeyEligibility' category) -!missing-selector! +AVSampleBufferGenerator::notifyOfDataReadyForSampleBuffer:completionHandler: not bound -!missing-selector! +NSValue::valueWithCMVideoDimensions: not bound -!missing-selector! AVAssetTrack::canProvideSampleCursors not bound -!missing-selector! AVAssetTrack::makeSampleCursorAtFirstSampleInDecodeOrder not bound -!missing-selector! AVAssetTrack::makeSampleCursorAtLastSampleInDecodeOrder not bound -!missing-selector! AVAssetTrack::makeSampleCursorWithPresentationTimeStamp: not bound -!missing-selector! AVComposition::chapterMetadataGroupsBestMatchingPreferredLanguages: not bound -!missing-selector! AVComposition::chapterMetadataGroupsWithTitleLocale:containingItemsWithCommonKeys: not bound -!missing-selector! AVComposition::mediaSelectionGroupForMediaCharacteristic: not bound -!missing-selector! AVComposition::metadataForFormat: not bound -!missing-selector! AVComposition::unusedTrackID not bound -!missing-selector! AVCompositionTrack::associatedTracksOfType: not bound -!missing-selector! AVCompositionTrack::hasMediaCharacteristic: not bound -!missing-selector! AVCompositionTrack::metadataForFormat: not bound -!missing-selector! AVCompositionTrack::samplePresentationTimeForTrackTime: not bound -!missing-selector! AVMutableComposition::insertTimeRange:ofAsset:atTime:completionHandler: not bound -!missing-selector! AVMutableMovie::chapterMetadataGroupsBestMatchingPreferredLanguages: not bound -!missing-selector! AVMutableMovie::chapterMetadataGroupsWithTitleLocale:containingItemsWithCommonKeys: not bound -!missing-selector! AVMutableMovie::mediaSelectionGroupForMediaCharacteristic: not bound -!missing-selector! AVMutableMovie::metadataForFormat: not bound -!missing-selector! AVMutableMovie::unusedTrackID not bound -!missing-selector! AVMutableMovieTrack::associatedTracksOfType: not bound -!missing-selector! AVMutableMovieTrack::hasMediaCharacteristic: not bound -!missing-selector! AVMutableMovieTrack::metadataForFormat: not bound -!missing-selector! AVMutableMovieTrack::samplePresentationTimeForTrackTime: not bound -!missing-selector! AVMutableMovieTrack::segmentForTrackTime: not bound -!missing-selector! AVSampleBufferGenerator::createSampleBufferForRequest:addingToBatch:error: not bound -!missing-selector! AVSampleBufferGenerator::createSampleBufferForRequest:error: not bound -!missing-selector! AVSampleBufferGenerator::initWithAsset:timebase: not bound -!missing-selector! AVSampleBufferGenerator::makeBatch not bound -!missing-selector! AVSampleBufferRequest::direction not bound -!missing-selector! AVSampleBufferRequest::initWithStartCursor: not bound -!missing-selector! AVSampleBufferRequest::limitCursor not bound -!missing-selector! AVSampleBufferRequest::maxSampleCount not bound -!missing-selector! AVSampleBufferRequest::mode not bound -!missing-selector! AVSampleBufferRequest::overrideTime not bound -!missing-selector! AVSampleBufferRequest::preferredMinSampleCount not bound -!missing-selector! AVSampleBufferRequest::setDirection: not bound -!missing-selector! AVSampleBufferRequest::setLimitCursor: not bound -!missing-selector! AVSampleBufferRequest::setMaxSampleCount: not bound -!missing-selector! AVSampleBufferRequest::setMode: not bound -!missing-selector! AVSampleBufferRequest::setOverrideTime: not bound -!missing-selector! AVSampleBufferRequest::setPreferredMinSampleCount: not bound -!missing-selector! AVSampleBufferRequest::startCursor not bound -!missing-selector! AVSpeechSynthesizer::writeUtterance:toBufferCallback:toMarkerCallback: not bound -!missing-selector! AVSpeechUtterance::initWithSSMLRepresentation: not bound -!missing-selector! AVURLAsset::mayRequireContentKeysForMediaDataProcessing not bound -!missing-selector! NSValue::CMVideoDimensionsValue not bound -!missing-type! AVSampleBufferGenerator not bound -!missing-type! AVSampleBufferRequest not bound -!unknown-field! AVCaptureLensPositionCurrent bound From c393832548fcf8e03f6888549e3666ed8b58098b Mon Sep 17 00:00:00 2001 From: GitHub Actions Autoformatter Date: Fri, 21 Oct 2022 16:15:51 +0000 Subject: [PATCH 3/6] Auto-format source code --- src/AVFoundation/AVSpeechUtterance.cs | 3 ++- src/AVFoundation/AVTypes.cs | 2 +- src/AVFoundation/Enums.cs | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/AVFoundation/AVSpeechUtterance.cs b/src/AVFoundation/AVSpeechUtterance.cs index 7c9ac4e1ba82..544c53b30d8b 100644 --- a/src/AVFoundation/AVSpeechUtterance.cs +++ b/src/AVFoundation/AVSpeechUtterance.cs @@ -11,7 +11,8 @@ namespace AVFoundation { public partial class AVSpeechUtterance { - public AVSpeechUtterance (string speechString, bool isSsmlRepresentation = false) : base (NSObjectFlag.Empty) { + public AVSpeechUtterance (string speechString, bool isSsmlRepresentation = false) : base (NSObjectFlag.Empty) + { if (isSsmlRepresentation) { #if IOS || __MACCATALYST__ || TVOS if (SystemVersion.CheckiOS (16, 0)) { diff --git a/src/AVFoundation/AVTypes.cs b/src/AVFoundation/AVTypes.cs index b76043d3ea79..9647fe59ef98 100644 --- a/src/AVFoundation/AVTypes.cs +++ b/src/AVFoundation/AVTypes.cs @@ -415,7 +415,7 @@ public struct AVSampleCursorChunkInfo { [SupportedOSPlatform ("ios16.0")] [SupportedOSPlatform ("tvos16.0")] #else - [Watch (9, 0), TV (16, 0), Mac (10, 15), iOS (16, 0), MacCatalyst (16,0)] + [Watch (9, 0), TV (16, 0), Mac (10, 15), iOS (16, 0), MacCatalyst (16, 0)] #endif [StructLayout (LayoutKind.Sequential)] public struct AVSampleCursorAudioDependencyInfo { diff --git a/src/AVFoundation/Enums.cs b/src/AVFoundation/Enums.cs index f7a9794545ed..23e17e13ee13 100644 --- a/src/AVFoundation/Enums.cs +++ b/src/AVFoundation/Enums.cs @@ -1242,7 +1242,7 @@ public enum AVSpeechSynthesisVoiceGender : long { [Introduced (PlatformName.MacCatalyst, 14, 0)] [NoWatch] [NoTV] - [iOS (13, 0), Mac (13,0)] + [iOS (13, 0), Mac (13, 0)] [Native] public enum AVCapturePhotoQualityPrioritization : long { Speed = 1, From 929b3e866344a1f63b2b4ad711e54707012053e9 Mon Sep 17 00:00:00 2001 From: Manuel de la Pena Date: Fri, 21 Oct 2022 18:08:33 -0400 Subject: [PATCH 4/6] Apply suggestions from code review --- src/CoreMidi/MidiStructs.cs | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/CoreMidi/MidiStructs.cs b/src/CoreMidi/MidiStructs.cs index 7924d7c1f236..bfca3f619e58 100644 --- a/src/CoreMidi/MidiStructs.cs +++ b/src/CoreMidi/MidiStructs.cs @@ -9,12 +9,12 @@ namespace CoreMidi { #if NET - [SupportedOSPlatform ("ios14.0")] - [SupportedOSPlatform ("maccatalyst")] - [SupportedOSPlatform ("tvos14.0")] - [SupportedOSPlatform ("macos11.0")] + [SupportedOSPlatform ("ios14.0")] + [SupportedOSPlatform ("maccatalyst")] + [SupportedOSPlatform ("tvos14.0")] + [SupportedOSPlatform ("macos11.0")] #else - [iOS (14,0), Mac (11,0), Watch (8,0), TV (14,0)] + [iOS (14,0), Mac (11,0), Watch (8,0), TV (14,0)] #endif [StructLayout (LayoutKind.Sequential)] public struct MidiEventList @@ -27,12 +27,12 @@ public struct MidiEventList } #if NET - [SupportedOSPlatform ("ios14.0")] - [SupportedOSPlatform ("maccatalyst")] - [SupportedOSPlatform ("tvos14.0")] - [SupportedOSPlatform ("macos11.0")] + [SupportedOSPlatform ("ios14.0")] + [SupportedOSPlatform ("maccatalyst")] + [SupportedOSPlatform ("tvos14.0")] + [SupportedOSPlatform ("macos11.0")] #else - [iOS (14,0), Mac (11,0), Watch (8,0), TV (14,0)] + [iOS (14,0), Mac (11,0), Watch (8,0), TV (14,0)] #endif [StructLayout (LayoutKind.Sequential)] public struct MidiEventPacket From 88f39f7bffacccb00d94a15956a65d19102be52b Mon Sep 17 00:00:00 2001 From: Manuel de la Pena Date: Mon, 24 Oct 2022 16:03:04 -0400 Subject: [PATCH 5/6] Apply suggestions from code review Co-authored-by: Alex Soto Co-authored-by: TJ Lambert <50846373+tj-devel709@users.noreply.github.com> Co-authored-by: Rolf Bjarne Kvinge --- src/avfoundation.cs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/avfoundation.cs b/src/avfoundation.cs index 94d7f2dea26c..d62422e9c924 100644 --- a/src/avfoundation.cs +++ b/src/avfoundation.cs @@ -959,7 +959,7 @@ interface AVAudioConnectionPoint delegate AVAudioEngineManualRenderingStatus AVAudioEngineManualRenderingBlock (/* AVAudioFrameCount = uint */ uint numberOfFrames, AudioBuffers outBuffer, [NullAllowed] /* OSStatus */ ref int outError); #if MONOMAC - delegate int AUMidiEventListBlock (long eventSampleTime, byte cable, MidiEventList arg2); + delegate int AUMidiEventListHandler (long eventSampleTime, byte cable, MidiEventList arg2); #endif [Watch (3,0)] @@ -1120,11 +1120,11 @@ interface AVAudioEngine { #if MONOMAC [Watch (9,0), TV (16,0), Mac (13,0), iOS (16,0), MacCatalyst (16,0)] [Export ("connectMIDI:toNodes:format:eventListBlock:")] - void ConnectMidi (AVAudioNode sourceNode, AVAudioNode[] destinationNodes, [NullAllowed] AVAudioFormat format, [NullAllowed] AUMidiEventListBlock tapHandler); + void ConnectMidi (AVAudioNode sourceNode, AVAudioNode[] destinationNodes, [NullAllowed] AVAudioFormat format, [NullAllowed] AUMidiEventListHandler tapHandler); [Watch (9,0), TV (16,0), Mac (13,0), iOS (16,0), MacCatalyst (16,0)] [Export ("connectMIDI:to:format:eventListBlock:")] - void ConnectMidi (AVAudioNode sourceNode, AVAudioNode destinationNode, [NullAllowed] AVAudioFormat format, [NullAllowed] AUMidiEventListBlock tapHandler); + void ConnectMidi (AVAudioNode sourceNode, AVAudioNode destinationNode, [NullAllowed] AVAudioFormat format, [NullAllowed] AUMidiEventListHandler tapHandler); #endif } @@ -8284,7 +8284,7 @@ interface AVComposition_AVCompositionTrackInspection { interface AVComposition_SynchronousAssetInterface { [Export ("metadataForFormat:")] - AVMetadataItem[] GetMetadataForFormat (string format); + AVMetadataItem[] GetMetadataForFormat (NSString format); [Wrap ("GetMetadataForFormat (This, format.GetConstant ()!)")] AVMetadataItem [] GetMetadata (AVMetadataFormat format); @@ -14500,7 +14500,7 @@ interface AVMutableMediaSelection { } // the key could be used to create a strong dictionary, but apple does not provide the type that is stored in the dict, meaning - // we yet cannot do it (xcod14.1) + // we cannot do it yet (xcode14.1) [Static] [TV (16, 0), NoWatch, Mac (13, 0), iOS (16, 0), MacCatalyst (16,0)] interface AVAudioSequencerInfoDictionaryKeys { @@ -16713,7 +16713,7 @@ interface AVMusicEvent { } [TV (16,0), NoWatch, Mac (13,0), iOS (16,0), MacCatalyst (16,0)] [BaseType (typeof (AVMusicEvent), Name="AVMIDIMetaEvent")] - interface AVMIDIMetaEvent + interface AVMidiMetaEvent { [Export ("initWithType:data:")] NativeHandle Constructor (AVMidiMetaEventType type, NSData data); @@ -16966,7 +16966,7 @@ interface AVSampleBufferGeneratorBatch AVSampleBufferGeneratorBatch MakeBatch (); } - [TV (16,0), NoWatch, Mac (1,3), iOS (16,0), MacCatalyst (16,0)] + [TV (16,0), NoWatch, Mac (13,0), iOS (16,0), MacCatalyst (16,0)] [Native, Flags] public enum AVAssetTrackGroupOutputHandling : ulong { From fe53a3ee2e29d5a41eacb8904d0646f76c3196e3 Mon Sep 17 00:00:00 2001 From: Manuel de la Pena Date: Mon, 24 Oct 2022 16:04:12 -0400 Subject: [PATCH 6/6] Update src/AVFoundation/AVSpeechUtterance.cs Co-authored-by: Rolf Bjarne Kvinge --- src/AVFoundation/AVSpeechUtterance.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/AVFoundation/AVSpeechUtterance.cs b/src/AVFoundation/AVSpeechUtterance.cs index 544c53b30d8b..8045875f0acf 100644 --- a/src/AVFoundation/AVSpeechUtterance.cs +++ b/src/AVFoundation/AVSpeechUtterance.cs @@ -23,7 +23,7 @@ public AVSpeechUtterance (string speechString, bool isSsmlRepresentation = false #endif InitializeHandle (_InitFromSsmlRepresentation (speechString), "initWithSSMLRepresentation:"); } else { - throw new PlatformNotSupportedException ("initWithSSMLRepresentation: is not supported in this version of the OS."); + throw new PlatformNotSupportedException ("'isSsmlRepresentation = true' is not supported in this version of the OS."); } } else { InitializeHandle (_InitFromString (speechString), "initWithString:");