/
avfoundation.yaml
2473 lines (2438 loc) · 97.4 KB
/
avfoundation.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
package: org.robovm.apple.avfoundation
include: [foundation.yaml, dispatch.yaml, coreanimation.yaml, corefoundation.yaml, coregraphics.yaml, coreaudio.yaml, coremedia.yaml, corevideo.yaml, audiotoolbox.yaml, mediatoolbox.yaml ]
library: AVFoundation
framework: AVFoundation
clang_args: ['-x', 'objective-c']
headers:
- /System/Library/Frameworks/AVFoundation.framework/Headers/AVFoundation.h
- /System/Library/Frameworks/AVFoundation.framework/Headers/AVBase.h
typedefs:
'void (^)(CMSampleBufferRef, NSError *)': '@Block VoidBlock2<CMSampleBuffer, NSError>'
'void (^)(CMTime)': '@Block VoidBlock1<CMTime>'
'void (^)(BOOL, NSError *)': '@Block VoidBlock2<Boolean, NSError>'
'void (^)(CMSampleBufferRef, AVCaptureBracketedStillImageSettings *, NSError *)': '@Block VoidBlock3<CMSampleBuffer, AVCaptureBracketedStillImageSettings, NSError>'
enums:
AVAssetReferenceRestrictions: { first: AVAssetReferenceRestrictionForbidNone }
AVAssetExportSessionStatus: { first: AVAssetExportSessionStatusUnknown }
AVAssetImageGeneratorResult: { first: AVAssetImageGeneratorSucceeded }
AVAssetReaderStatus: { first: AVAssetReaderStatusUnknown }
AVAssetWriterStatus: { first: AVAssetWriterStatusUnknown }
AVAudio3DMixingRenderingAlgorithm: {}
AVAudioCommonFormat: { suffix: Format }
AVAudioEnvironmentDistanceAttenuationModel: {}
AVAudioPlayerNodeBufferOptions: {}
AVAudioSessionInterruptionOptions: { prefix: AVAudioSessionInterruptionOption }
AVAudioSessionSetActiveOptions: { prefix: AVAudioSessionSetActiveOption }
AVAudioSessionPortOverride: { marshaler: ValuedEnum.AsMachineSizedUIntMarshaler }
AVAudioSessionRouteChangeReason: { marshaler: ValuedEnum.AsMachineSizedUIntMarshaler }
AVAudioSessionCategoryOptions: {}
AVAudioSessionInterruptionType: { marshaler: ValuedEnum.AsMachineSizedUIntMarshaler }
AVAudioSessionErrorCode: { prefix: AVAudioSessionErrorCode, AVAudioSessionErrorInsufficientPriority: InsufficientPriority }
AVAudioSessionInterruptionFlags: { first: AVAudioSessionInterruptionFlags_ShouldResume, prefix: AVAudioSessionInterruptionFlags_, bits: true, marshaler: Bits.AsMachineSizedIntMarshaler }
AVAudioSessionRecordPermission: {}
AVAudioSessionSetActiveFlags: { first: AVAudioSessionSetActiveFlags_NotifyOthersOnDeactivation, prefix: AVAudioSessionSetActiveFlags_, bits: true, marshaler: Bits.AsMachineSizedIntMarshaler }
AVAudioSessionSilenceSecondaryAudioHintType: {}
AVAudioQuality: { first: AVAudioQualityMin }
AVAudioUnitReverbPreset: {}
AVAudioUnitEQFilterType: {}
AVAudioUnitDistortionPreset: {}
AVAuthorizationStatus: {}
AVCaptureDevicePosition: {}
AVCaptureFlashMode: {}
AVCaptureTorchMode: {}
AVCaptureFocusMode: {}
AVCaptureAutoFocusRangeRestriction: {}
AVCaptureAutoFocusSystem: {}
AVCaptureExposureMode: {}
AVCaptureDeviceTransportControlsPlaybackMode: {}
AVCaptureVideoOrientation: {}
AVCaptureVideoStabilizationMode: {}
AVCaptureWhiteBalanceMode: {}
AVErrorCode: { first: AVErrorUnknown, prefix: AVError, marshaler: ValuedEnum.AsMachineSizedSIntMarshaler }
AVKeyValueStatus: { first: AVKeyValueStatusUnknown }
AVPlayerStatus: { first: AVPlayerStatusUnknown }
AVPlayerActionAtItemEnd: { first: AVPlayerActionAtItemEndAdvance }
AVPlayerItemStatus: { first: AVPlayerItemStatusUnknown }
AVQueuedSampleBufferRenderingStatus: {}
AVSampleBufferDisplayLayerQueueManagement: {}
AVSpeechBoundary: {}
AVVideoFieldMode: {}
categories:
NSValueAVFoundationExtensions: # DONE
methods:
'+valueWith.*':
name: create
AVTimeCoding: # DONE
methods:
'-encodeCMTime:forKey:':
trim_after_first_colon: true
'-decodeCMTimeForKey:':
name: decodeCMTime
'-encodeCMTimeRange:forKey:':
trim_after_first_colon: true
'-decodeCMTimeRangeForKey:':
name: decodeCMTimeRange
'-encodeCMTimeMapping:forKey:':
trim_after_first_colon: true
'-decodeCMTimeMappingForKey:':
name: decodeCMTimeMapping
classes:
AVFoundation:
annotations: ['@Marshaler(NSString.AsStringMarshaler.class)']
# Structs
AVAudio3DAngularOrientation: {}
AVAudio3DPoint: {}
AVAudio3DVector: {}
AVAudio3DVectorOrientation: {}
AVCaptureWhiteBalanceGains: {}
AVCaptureWhiteBalanceChromaticityValues: {}
AVCaptureWhiteBalanceTemperatureAndTintValues: {}
AVEdgeWidths: {}
AVPixelAspectRatio: {}
AVError:
extends: NSError
AVMetadataIdentifierCommon:
extends: AVMetadataIdentifier
AVMetadataIdentifier3GPUserData:
extends: AVMetadataIdentifier
AVMetadataIdentifierISOUserData:
extends: AVMetadataIdentifier
AVMetadataIdentifierQuickTimeUserData:
extends: AVMetadataIdentifier
AVMetadataIdentifierIcyMetadata:
extends: AVMetadataIdentifier
AVMetadataIdentifierID3Metadata:
extends: AVMetadataIdentifier
AVMetadataIdentifieriTunesMetadata:
extends: AVMetadataIdentifier
AVMetadataIdentifierQuickTimeMetadata:
extends: AVMetadataIdentifier
AVMetadataKeyCommon:
extends: AVMetadataKey
AVMetadataKey3GPUserData:
extends: AVMetadataKey
AVMetadataKeyIcyMetadata:
extends: AVMetadataKey
AVMetadataKeyID3Metadata:
extends: AVMetadataKey
AVMetadataKeyISOUserData:
extends: AVMetadataKey
AVMetadataKeyiTunesMetadata:
extends: AVMetadataKey
AVMetadataKeyQuickTimeMetadata:
extends: AVMetadataKey
AVMetadataKeyQuickTimeUserData:
extends: AVMetadataKey
AVAsset: # DONE
properties:
'tracks':
type: NSArray<AVAssetTrack>
'trackGroups':
type: NSArray<AVAssetTrackGroup>
'commonMetadata':
type: NSArray<AVMetadataItem>
'metadata':
type: NSArray<AVMetadataItem>
'hasProtectedContent':
omit_prefix: true
'availableMetadataFormats':
type: '@org.robovm.rt.bro.annotation.Marshaler(AVMetadataFormat.AsListMarshaler.class) List<AVMetadataFormat>'
'availableChapterLocales':
type: NSArray<NSLocale>
'availableMediaCharacteristicsWithMediaSelectionOptions':
type: '@org.robovm.rt.bro.annotation.Marshaler(AVMediaCharacteristic.AsListMarshaler.class) List<AVMediaCharacteristic>'
methods:
'+assetWithURL:':
name: create
return_type: AVAsset
'-trackWithTrackID:':
name: getTrack
'-tracksWithMediaType:':
name: getTracksWithType
return_type: NSArray<AVAssetTrack>
parameters:
mediaType:
type: AVMediaType
'-tracksWithMediaCharacteristic:':
name: getTracksWithCharacteristic
return_type: NSArray<AVAssetTrack>
parameters:
mediaCharacteristic:
type: AVMediaCharacteristic
'-metadataForFormat:':
name: getMetadata
return_type: NSArray<AVMetadataItem>
parameters:
format:
type: AVMetadataFormat
'-chapterMetadataGroupsWithTitleLocale:containingItemsWithCommonKeys:':
name: getChapterMetadataGroupsContainingItemsWithCommonKeys
return_type: NSArray<AVTimedMetadataGroup>
parameters:
commonKeys:
type: '@org.robovm.rt.bro.annotation.Marshaler(AVMetadataKey.AsListMarshaler.class) List<AVMetadataKey>'
'-chapterMetadataGroupsBestMatchingPreferredLanguages:':
name: getChapterMetadataGroupsBestMatchingPreferredLanguages
return_type: NSArray<AVTimedMetadataGroup>
parameters:
preferredLanguages:
type: '@org.robovm.rt.bro.annotation.Marshaler(NSArray.AsStringListMarshaler.class) List<String>'
'-mediaSelectionGroupForMediaCharacteristic:':
name: getMediaSelectionGroup
parameters:
mediaCharacteristic:
type: AVMediaCharacteristic
'-unusedTrackID':
property: true
AVAssetExportSession: # DONE
properties:
'presetName':
type: AVAssetExportPreset
'outputFileType':
type: String
'supportedFileTypes':
type: '@org.robovm.rt.bro.annotation.Marshaler(NSArray.AsStringListMarshaler.class) List<String>'
'metadata':
type: NSArray<AVMetadataItem>
'audioTimePitchAlgorithm':
type: AVAudioTimePitchAlgorithm
methods:
'-initWithAsset:presetName:':
name: init
parameters:
presetName:
type: AVAssetExportPreset
'-determineCompatibleFileTypesWithCompletionHandler:':
name: determineCompatibleFileTypes
parameters:
handler:
type: '@Block VoidBlock1<NSArray<NSString>>' # TODO asStringListMarshaler
'-exportAsynchronouslyWithCompletionHandler:':
name: exportAsynchronously
'+allExportPresets':
property: true
return_type: '@org.robovm.rt.bro.annotation.Marshaler(AVAssetExportPreset.AsListMarshaler.class) List<AVAssetExportPreset>'
'+exportPresetsCompatibleWithAsset:':
name: getCompatibleExportPresets
return_type: '@org.robovm.rt.bro.annotation.Marshaler(AVAssetExportPreset.AsListMarshaler.class) List<AVAssetExportPreset>'
'+determineCompatibilityOfExportPreset:withAsset:outputFileType:completionHandler:':
name: determineCompatibilityOfExportPreset
parameters:
presetName:
type: AVAssetExportPreset
'+exportSessionWithAsset:presetName:':
name: create
parameters:
presetName:
type: AVAssetExportPreset
AVAssetImageGenerator: # DONE
properties:
'apertureMode':
type: AVAssetImageGeneratorApertureMode
methods:
'-initWithAsset:':
name: init
'-copyCGImageAtTime:actualTime:error:':
name: getCGImageAtTime
throws: NSErrorException
return_marshaler: CFType.NoRetainMarshaler
'-generateCGImagesAsynchronouslyForTimes:completionHandler:':
name: generateCGImagesAsynchronously
parameters:
requestedTimes:
type: '@org.robovm.rt.bro.annotation.Marshaler(CMTime.AsValuedListMarshaler.class) List<CMTime>'
handler:
type: '@Block VoidBlock5<CMTime, CGImage, CMTime, AVAssetImageGeneratorResult, NSError>'
'+assetImageGeneratorWithAsset:':
name: create
AVAssetReader: # DONE
properties:
'outputs':
type: NSArray<AVAssetReaderOutput>
methods:
'-initWithAsset:error:':
name: init
constructor: false # throws NSErrorException
'-canAddOutput:':
trim_after_first_colon: true
'-addOutput:':
trim_after_first_colon: true
'+assetReaderWithAsset:error:':
name: create
visibility: protected # throws NSErrorException
AVAssetReaderAudioMixOutput: # DONE
properties:
'audioTracks':
type: NSArray<AVAssetTrack>
'audioSettings':
type: AVAudioSettings
'audioTimePitchAlgorithm':
type: AVAudioTimePitchAlgorithm
methods:
'-initWithAudioTracks:audioSettings:':
name: init
parameters:
audioTracks:
type: NSArray<AVAssetTrack>
audioSettings:
type: AVAudioSettings
'+assetReaderAudioMixOutputWithAudioTracks:audioSettings:':
name: create
parameters:
audioTracks:
type: NSArray<AVAssetTrack>
audioSettings:
type: AVAudioSettings
AVAssetReaderOutput: # DONE
properties:
'mediaType':
type: AVMediaType
methods:
'-copyNextSampleBuffer':
name: getNextSampleBuffer
return_marshaler: CFType.NoRetainMarshaler
'-resetForReadingTimeRanges:':
trim_after_first_colon: true
parameters:
timeRanges:
type: '@org.robovm.rt.bro.annotation.Marshaler(CMTimeRange.AsValuedListMarshaler.class) List<CMTimeRange>'
AVAssetReaderOutputMetadataAdaptor: # DONE
methods:
'-init.*':
name: init
'+assetReaderOutputMetadataAdaptorWithAssetReaderTrackOutput:':
name: create
AVAssetReaderSampleReferenceOutput: # DONE
methods:
'-init.*':
name: init
'+assetReaderSampleReferenceOutputWithTrack:':
name: create
AVAssetReaderTrackOutput: # DONE
properties:
'outputSettings':
type: 'NSDictionary<NSString, NSObject>'
visibility: protected
'audioTimePitchAlgorithm':
type: AVAudioTimePitchAlgorithm
methods:
'-initWithTrack:outputSettings:':
name: init
constructor: false
parameters:
outputSettings:
type: 'NSDictionary<NSString, NSObject>'
'+assetReaderTrackOutputWithTrack:outputSettings:':
name: create
visibility: protected
parameters:
outputSettings:
type: 'NSDictionary<NSString, NSObject>'
AVAssetReaderVideoCompositionOutput: # DONE
properties:
'videoTracks':
type: NSArray<AVAssetTrack>
'videoSettings':
name: videoSettings0
type: 'NSDictionary<NSString, NSObject>'
visibility: protected
methods:
'-initWithVideoTracks:videoSettings:':
name: init
constructor: false
parameters:
videoTracks:
type: NSArray<AVAssetTrack>
videoSettings:
type: 'NSDictionary<NSString, NSObject>'
'+assetReaderVideoCompositionOutputWithVideoTracks:videoSettings:':
name: create
visibility: protected
parameters:
videoTracks:
type: NSArray<AVAssetTrack>
videoSettings:
type: 'NSDictionary<NSString, NSObject>'
AVAssetResourceLoader: # DONE
methods:
'-setDelegate:queue:':
trim_after_first_colon: true
AVAssetResourceLoadingContentInformationRequest: {} # DONE
AVAssetResourceLoadingDataRequest: # DONE
methods:
'-respondWithData:':
trim_after_first_colon: true
AVAssetResourceLoadingRequest: # DONE
properties:
'cancelled':
name: isCancelled
methods:
'-finishLoadingWithError:':
name: finishLoading
'-streamingContentKeyRequestDataForApp:contentIdentifier:options:error:':
name: getStreamingContentKeyRequestData
visibility: protected # throws NSErrorException
parameters:
options:
type: 'NSDictionary<NSString, ?>'
'-finishLoadingWithResponse:data:redirect:':
name: finishLoading
AVAssetResourceRenewalRequest: {} # DONE
AVAssetTrack: # DONE
properties:
'formatDescriptions':
type: '@org.robovm.rt.bro.annotation.Marshaler(NSArray.AsListMarshaler.class) List<CMFormatDescription>'
'segments':
type: NSArray<AVAssetTrackSegment>
'commonMetadata':
type: NSArray<AVMetadataItem>
'availableMetadataFormats':
type: '@org.robovm.rt.bro.annotation.Marshaler(AVMetadataFormat.AsListMarshaler.class) List<AVMetadataFormat>'
'availableTrackAssociationTypes':
type: '@org.robovm.rt.bro.annotation.Marshaler(AVTrackAssociationType.AsListMarshaler.class) List<AVTrackAssociationType>'
'metadata':
type: NSArray<AVMetadataItem>
methods:
'-hasMediaCharacteristic:':
trim_after_first_colon: true
parameters:
mediaCharacteristic:
type: AVMediaCharacteristic
'-segmentForTrackTime:':
name: getSegment
'-samplePresentationTimeForTrackTime:':
name: getSamplePresentationTime
'-metadataForFormat:':
name: getMetadataForFormat
return_type: NSArray<AVMetadataItem>
parameters:
format:
type: AVMetadataFormat
'-associatedTracksOfType:':
name: getAssociatedTracksOfType
return_type: NSArray<AVAssetTrack>
parameters:
trackAssociationType:
type: AVTrackAssociationType
AVAssetTrackGroup: # DONE
properties:
'trackIDs':
type: NSArray<NSNumber>
AVAssetTrackSegment: {} # DONE
AVAssetWriter: # DONE
properties:
'availableMediaTypes':
type: '@org.robovm.rt.bro.annotation.Marshaler(AVMediaType.AsListMarshaler.class) List<AVMediaType>'
'metadata':
type: NSArray<AVMetadataItem>
'inputs':
type: NSArray<AVAssetWriterInput>
'inputGroups':
type: NSArray<AVAssetWriterInputGroup>
methods:
'-initWithURL:fileType:error:':
name: init
constructor: false # throws NSErrorException
'-canApplyOutputSettings:forMediaType:':
trim_after_first_colon: true
visibility: protected # can be either AVAudioSettings or AVVideoSettings
parameters:
outputSettings:
type: NSDictionary<NSString, NSObject>
mediaType:
type: AVMediaType
'-canAddInput:':
trim_after_first_colon: true
'-addInput:':
trim_after_first_colon: true
'-startSessionAtSourceTime:':
name: startSession
'-endSessionAtSourceTime:':
name: endSession
'-finishWritingWithCompletionHandler:':
name: finishWriting
'+assetWriterWithURL:fileType:error:':
name: create
visibility: protected # throws NSErrorException
'-canAddInputGroup:':
trim_after_first_colon: true
'-addInputGroup:':
trim_after_first_colon: true
AVAssetWriterInput: # DONE
properties:
'outputSettings':
type: NSDictionary<NSString, NSObject>
visibility: protected # can be either AVAudioSettings or AVVideoSettings
'metadata':
type: NSArray<AVMetadataItem>
'mediaType':
type: AVMediaType
'canPerformMultiplePasses':
omit_prefix: true
methods:
'-initWithMediaType:outputSettings:':
name: init
constructor: false # can be either AVAudioSettings or AVVideoSettings
parameters:
mediaType:
type: AVMediaType
outputSettings:
type: NSDictionary<NSString, NSObject>
'-initWithMediaType:outputSettings:sourceFormatHint:':
name: init
constructor: false # can be either AVAudioSettings or AVVideoSettings
parameters:
mediaType:
type: AVMediaType
outputSettings:
type: NSDictionary<NSString, NSObject>
'-requestMediaDataWhenReadyOnQueue:usingBlock:':
name: requestMediaDataWhenReady
'-appendSampleBuffer:':
trim_after_first_colon: true
'+assetWriterInputWithMediaType:outputSettings:':
name: create
visibility: protected # can be either AVAudioSettings or AVVideoSettings
parameters:
mediaType:
type: AVMediaType
outputSettings:
type: NSDictionary<NSString, NSObject>
'+assetWriterInputWithMediaType:outputSettings:sourceFormatHint:':
name: create
visibility: protected # can be either AVAudioSettings or AVVideoSettings
parameters:
mediaType:
type: AVMediaType
outputSettings:
type: NSDictionary<NSString, NSObject>
'-canAddTrackAssociationWithTrackOfInput:type:':
name: canAddTrackAssociation
parameters:
trackAssociationType:
type: AVTrackAssociationType
'-addTrackAssociationWithTrackOfInput:type:':
name: addTrackAssociation
parameters:
trackAssociationType:
type: AVTrackAssociationType
'-respondToEachPassDescriptionOnQueue:usingBlock:':
trim_after_first_colon: true
AVAssetWriterInputGroup: # DONE
properties:
'inputs':
type: NSArray<AVAssetWriterInput>
methods:
'-initWithInputs:defaultInput:':
name: init
parameters:
inputs:
type: NSArray<AVAssetWriterInput>
'+assetWriterInputGroupWithInputs:defaultInput:':
name: create
parameters:
inputs:
type: NSArray<AVAssetWriterInput>
AVAssetWriterInputMetadataAdaptor: # DONE
methods:
'-initWithAssetWriterInput:':
name: init
'-appendTimedMetadataGroup:':
trim_after_first_colon: true
'+assetWriterInputMetadataAdaptorWithAssetWriterInput:':
name: create
AVAssetWriterInputPassDescription: # DONE
properties:
'sourceTimeRanges':
type: '@org.robovm.rt.bro.annotation.Marshaler(CMTimeRange.AsValuedListMarshaler.class) List<CMTimeRange>'
AVAssetWriterInputPixelBufferAdaptor: # DONE
properties:
'sourcePixelBufferAttributes':
type: CVPixelBufferAttributes
methods:
'-initWithAssetWriterInput:sourcePixelBufferAttributes:':
name: init
parameters:
sourcePixelBufferAttributes:
type: CVPixelBufferAttributes
'-appendPixelBuffer:withPresentationTime:':
name: appendPixelBuffer
'+assetWriterInputPixelBufferAdaptorWithAssetWriterInput:sourcePixelBufferAttributes:':
name: create
parameters:
sourcePixelBufferAttributes:
type: CVPixelBufferAttributes
AVAsynchronousVideoCompositionRequest: # DONE
properties:
'sourceTrackIDs':
type: '@org.robovm.rt.bro.annotation.Marshaler(NSArray.AsStringListMarshaler.class) List<String>'
methods:
'-sourceFrameByTrackID:':
name: getSourceFrame
'-finishWithComposedVideoFrame:':
name: finish
'-finishWithError:':
name: finish
AVAudioBuffer: {} # DONE
AVAudioChannelLayout: # DONE
methods:
'-init.*':
name: init
'-isEqual:':
name: equalsTo
parameters:
object:
type: AVAudioChannelLayout
'+layoutWith.*':
name: create
AVAudioEngine: # DONE
methods:
'-init':
exclude: true
'-attachNode:':
trim_after_first_colon: true
'-detachNode:':
trim_after_first_colon: true
'-connect:to:fromBus:toBus:format:':
trim_after_first_colon: true
'-connect:to:format:':
trim_after_first_colon: true
'-disconnectNodeInput:bus:':
trim_after_first_colon: true
'-disconnectNodeInput:':
trim_after_first_colon: true
'-disconnectNodeOutput:bus:':
trim_after_first_colon: true
'-disconnectNodeOutput:':
trim_after_first_colon: true
'-startAndReturnError:':
name: start
visibility: protected # throws NSErrorException
AVAudioEnvironmentDistanceAttenuationParameters: {} # DONE
AVAudioEnvironmentNode: # DONE
methods:
'-applicableRenderingAlgorithms':
name: getApplicableRenderingAlgorithms
return_type: '@org.robovm.rt.bro.annotation.Marshaler(AVAudio3DMixingRenderingAlgorithm.AsListMarshaler.class) List<AVAudio3DMixingRenderingAlgorithm>'
AVAudioEnvironmentReverbParameters: # DONE
methods:
'-loadFactoryReverbPreset:':
trim_after_first_colon: true
AVAudioFile: # DONE
methods:
'-init.*':
name: init
constructor: false # throws NSErrorException
parameters:
settings:
type: AVAudioSettings
'-readIntoBuffer:error:':
trim_after_first_colon: true
visibility: protected # throws NSErrorException
'-readIntoBuffer:frameCount:error:':
trim_after_first_colon: true
visibility: protected # throws NSErrorException
'-writeFromBuffer:error:':
trim_after_first_colon: true
visibility: protected # throws NSErrorException
AVAudioFormat: # DONE
properties:
'settings':
type: AVAudioSettings
methods:
'-initWithSettings:':
name: init
parameters:
settings:
type: AVAudioSettings
'-init.*':
name: init
'-isEqual:':
name: equalsTo
parameters:
object:
type: AVAudioFormat
AVAudioIONode: {} # DONE
AVAudioInputNode: {} # DONE
AVAudioOutputNode: {} # DONE
AVAudioMixerNode: {} # DONE
AVAudioMix: # DONE
properties:
'inputParameters':
type: NSArray<AVAudioMixInputParameters>
AVAudioMixInputParameters: # DONE
properties:
'audioTimePitchAlgorithm':
type: AVAudioTimePitchAlgorithm
methods:
'-getVolumeRampForTime:startVolume:endVolume:timeRange:':
name: getVolumeRamp
visibility: protected
parameters:
timeRange:
type: CMTimeRange.CMTimeRangePtr
AVAudioNode: # DONE
methods:
'-inputFormatForBus:':
name: getInputFormatForBus
'-outputFormatForBus:':
name: getOutputFormatForBus
'-nameForInputBus:':
name: getNameForInputBus
'-nameForOutputBus:':
name: getNameForOutputBus
'-installTapOnBus:bufferSize:format:block:':
trim_after_first_colon: true
parameters:
tapBlock:
type: '@Block VoidBlock2<AVAudioPCMBuffer, AVAudioTime>'
'-removeTapOnBus:':
trim_after_first_colon: true
AVAudioPCMBuffer: # DONE
methods:
'-initWithPCMFormat:frameCapacity:':
name: init
AVAudioPlayer: # DONE
properties:
'settings':
type: AVAudioSettings
'channelAssignments':
type: NSArray<AVAudioSessionChannelDescription>
'enableRate':
name: rateEnabled
methods:
'-init.*':
name: init
constructor: false # throws NSErrorException
'-playAtTime:':
trim_after_first_colon: true
'-peakPowerForChannel:':
name: getPeakPowerForChannel
'-averagePowerForChannel:':
name: getAveragePowerForChannel
AVAudioPlayerNode: # DONE
methods:
'-scheduleBuffer:completionHandler:':
trim_after_first_colon: true
'-scheduleBuffer:atTime:options:completionHandler:':
trim_after_first_colon: true
'-scheduleFile:atTime:completionHandler:':
trim_after_first_colon: true
'-scheduleSegment:startingFrame:frameCount:atTime:completionHandler:':
trim_after_first_colon: true
'-prepareWithFrameCount:':
name: prepare
'-playAtTime:':
trim_after_first_colon: true
'-nodeTimeForPlayerTime:':
name: convertPlayerTimeToNodeTime
'-playerTimeForNodeTime:':
name: convertNodeTimeToPlayerTime
AVAudioRecorder: # DONE
properties:
'settings':
type: AVAudioSettings
'channelAssignments':
type: NSArray<AVAudioSessionChannelDescription>
methods:
'-initWithURL:settings:error:':
name: init
constructor: false # throws NSErrorException
parameters:
settings:
type: AVAudioSettings
'-recordAtTime:':
trim_after_first_colon: true
'-recordForDuration:':
name: record
'-recordAtTime:forDuration:':
trim_after_first_colon: true
'-peakPowerForChannel:':
name: getPeakPowerForChannel
'-averagePowerForChannel:':
name: getAveragePowerForChannel
AVAudioSession: # DONE
properties:
'category':
type: AVAudioSessionCategory
'mode':
type: AVAudioSessionMode
'inputIsAvailable':
exclude: true
'availableInputs':
type: NSArray<AVAudioSessionPortDescription>
'inputDataSources':
type: NSArray<AVAudioSessionDataSourceDescription>
'outputDataSources':
type: NSArray<AVAudioSessionDataSourceDescription>
'secondaryAudioShouldBeSilencedHint':
omit_prefix: true
methods:
'-setActive:.*':
trim_after_first_colon: true
visibility: protected # throws NSErrorException
'-setCategory:.*':
trim_after_first_colon: true
visibility: protected # throws NSErrorException
parameters:
category:
type: AVAudioSessionCategory
'-recordPermission':
property: true
'-requestRecordPermission:':
trim_after_first_colon: true
parameters:
response:
type: '@Block VoidBooleanBlock'
'-setMode:error:':
trim_after_first_colon: true
visibility: protected # throws NSErrorException
parameters:
mode:
type: AVAudioSessionMode
'-overrideOutputAudioPort:error:':
trim_after_first_colon: true
visibility: protected # throws NSErrorException
'-setPreferredInput:error:':
trim_after_first_colon: true
visibility: protected # throws NSErrorException
'+sharedInstance':
return_type: AVAudioSession
property: true
'-setPreferredSampleRate:error:':
trim_after_first_colon: true
visibility: protected # throws NSErrorException
'-setPreferredIOBufferDuration:error:':
trim_after_first_colon: true
visibility: protected # throws NSErrorException
'-setPreferredInputNumberOfChannels:error:':
trim_after_first_colon: true
visibility: protected # throws NSErrorException
'-setPreferredOutputNumberOfChannels:error:':
trim_after_first_colon: true
visibility: protected # throws NSErrorException
'-setInputGain:error:':
trim_after_first_colon: true
visibility: protected # throws NSErrorException
'-setInputDataSource:error:':
trim_after_first_colon: true
visibility: protected # throws NSErrorException
'-setOutputDataSource:error:':
trim_after_first_colon: true
visibility: protected # throws NSErrorException
'-setPreferredHardwareSampleRate:error:':
trim_after_first_colon: true
visibility: protected # throws NSErrorException
AVAudioSessionChannelDescription: {} # DONE
AVAudioSessionDataSourceDescription: # DONE
properties:
'location':
type: AVAudioSessionLocation
'orientation':
type: AVAudioSessionOrientation
'supportedPolarPatterns':
type: '@org.robovm.rt.bro.annotation.Marshaler(AVAudioSessionPolarPattern.AsListMarshaler.class) List<AVAudioSessionPolarPattern>'
'(selectedPolarPattern|preferredPolarPattern)':
type: AVAudioSessionPolarPattern
methods:
'-setPreferredPolarPattern:error:':
trim_after_first_colon: true
visibility: protected # throws NSErrorException
parameters:
pattern:
type: AVAudioSessionPolarPattern
AVAudioSessionPortDescription: # DONE
properties:
'portType':
type: AVAudioSessionPort
'channels':
type: NSArray<AVAudioSessionChannelDescription>
'dataSources':
type: NSArray<AVAudioSessionDataSourceDescription>
methods:
'-setPreferredDataSource:error:':
trim_after_first_colon: true
visibility: protected # throws NSErrorException
AVAudioSessionRouteDescription: # DONE
properties:
'inputs':
type: NSArray<AVAudioSessionPortDescription>
'outputs':
type: NSArray<AVAudioSessionPortDescription>
AVAudioTime: # DONE
methods:
'-init.*':
name: init
'-extrapolateTimeFromAnchor:':
trim_after_first_colon: true
'+timeWith.*':
name: create
'+hostTimeForSeconds:':
name: convertSecondsToHostTime
'+secondsForHostTime:':
name: convertHostTimeToSeconds
AVAudioUnit: # DONE
methods:
'-loadAudioUnitPresetAtURL:error:':
name: loadAudioUnitPreset
visibility: protected # throws NSErrorException
AVAudioUnitDelay: {} # DONE
AVAudioUnitDistortion: # DONE
methods:
'-loadFactoryPreset:':
trim_after_first_colon: true
AVAudioUnitEQ: # DONE
properties:
'bands':
type: AVAudioUnitEQFilterParameters
methods:
'-initWithNumberOfBands:':
name: init
AVAudioUnitEQFilterParameters: {} # DONE
AVAudioUnitEffect: # DONE
methods:
'-initWithAudioComponentDescription:':
name: init
AVAudioUnitGenerator: # DONE
methods:
'-initWithAudioComponentDescription:':
name: init
AVAudioUnitMIDIInstrument: # DONE
methods:
'-initWithAudioComponentDescription:':
name: init
'-startNote:withVelocity:onChannel:':
trim_after_first_colon: true
'-stopNote:onChannel:':
trim_after_first_colon: true
'-sendController:withValue:onChannel:':
trim_after_first_colon: true
'-sendPitchBend:onChannel:':
trim_after_first_colon: true
'-sendPressure:onChannel:':
trim_after_first_colon: true
'-sendPressureForKey:withValue:onChannel:':
name: sendPressure
'-sendProgramChange:onChannel:':
trim_after_first_colon: true
'-sendProgramChange:bankMSB:bankLSB:onChannel:':
trim_after_first_colon: true
'-sendMIDIEvent:data1:data2:':
trim_after_first_colon: true
'-sendMIDIEvent:data1:':
trim_after_first_colon: true
'-sendMIDISysExEvent:':
trim_after_first_colon: true
AVAudioUnitReverb: # DONE
methods:
'-loadFactoryPreset:':
trim_after_first_colon: true
AVAudioUnitSampler: # DONE
methods:
'-loadSoundBankInstrumentAtURL:program:bankMSB:bankLSB:error:':
name: loadSoundBankInstrument
visibility: protected # throws NSErrorException
'-loadInstrumentAtURL:error:':
name: loadInstrument
visibility: protected # throws NSErrorException
'-loadAudioFilesAtURLs:error:':
name: loadAudioFiles
visibility: protected # throws NSErrorException
parameters:
audioFiles:
type: NSArray<NSURL>
AVAudioUnitTimeEffect: # DONE
methods:
'-initWithAudioComponentDescription:':
name: init
AVAudioUnitTimePitch: {} # DONE
AVAudioUnitVarispeed: {} # DONE
AVCaptureAudioChannel: {} # DONE
AVCaptureAudioDataOutput: # DONE
methods:
'-setSampleBufferDelegate:queue:':
trim_after_first_colon: true
'-recommendedAudioSettingsForAssetWriterWithOutputFileType:':
name: getRecommendedAudioSettings
return_type: AVAudioSettings
AVCaptureAutoExposureBracketedStillImageSettings: # DONE
methods:
'+autoExposureSettingsWithExposureTargetBias:':
name: create
AVCaptureBracketedStillImageSettings: {} # DONE
AVCaptureConnection: # DONE
properties:
'inputPorts':
type: NSArray<AVCaptureInputPort>
'audioChannels':
type: NSArray<AVCaptureAudioChannel>
methods:
'-initWithInputPorts:output:':
name: init
parameters:
ports:
type: NSArray<AVCaptureInputPort>
'-initWithInputPort:videoPreviewLayer:':
name: init
'+connectionWithInputPorts:output:':
name: create
parameters:
ports:
type: NSArray<AVCaptureInputPort>
'+connectionWithInputPort:videoPreviewLayer:':
name: create
AVCaptureDevice: # DONE
properties:
'formats':
type: NSArray<AVCaptureDeviceFormat>
'(hasFlash|hasTorch)':
omit_prefix: true
methods:
'-hasMediaType:':
trim_after_first_colon: true
parameters: