Skip to content

AVFoundation tvOS xcode9 beta5

Vincent Dondain edited this page Aug 7, 2017 · 1 revision

#AVFoundation.framework

diff -ruN /Applications/Xcode9-beta4.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAsset.h /Applications/Xcode9-beta5.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAsset.h
--- /Applications/Xcode9-beta4.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAsset.h	2017-07-14 04:50:09.000000000 -0400
+++ /Applications/Xcode9-beta5.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAsset.h	2017-08-03 20:52:58.000000000 -0400
@@ -764,7 +764,7 @@
 	@property 		mayRequireContentKeysForMediaDataProcessing
 	@abstract		Allows AVURLAsset to be added as a content key recipient to an AVContentKeySession.
 */
-@property (nonatomic, readonly) BOOL mayRequireContentKeysForMediaDataProcessing;
+@property (nonatomic, readonly) BOOL mayRequireContentKeysForMediaDataProcessing API_AVAILABLE(macos(10.12.4), ios(10.3), tvos(10.2), watchos(3.3));
 
 @end
 
diff -ruN /Applications/Xcode9-beta4.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVFoundation.apinotes /Applications/Xcode9-beta5.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVFoundation.apinotes
--- /Applications/Xcode9-beta4.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVFoundation.apinotes	2017-07-14 16:11:45.000000000 -0400
+++ /Applications/Xcode9-beta5.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVFoundation.apinotes	2017-07-28 03:13:15.000000000 -0400
@@ -68,8 +68,8 @@
     SwiftName: 'chromaticityValues(for:)'
     MethodKind: Instance
   - Selector: 'defaultDeviceWithDeviceType:mediaType:position:'
+    SwiftName: 'default(_:for:position:)'
     MethodKind: Class
-    SwiftPrivate: true
   - Selector: 'defaultDeviceWithMediaType:'
     SwiftName: 'default(for:)'
     MethodKind: Class
@@ -99,10 +99,6 @@
     MethodKind: Instance
 - Name: AVCaptureDeviceDiscoverySession
   SwiftName: AVCaptureDevice.DiscoverySession
-  Methods:
-  - Selector: 'discoverySessionWithDeviceTypes:mediaType:position:'
-    MethodKind: Class
-    SwiftPrivate: true
 - Name: AVCaptureDeviceFormat
   SwiftName: AVCaptureDevice.Format
   Properties:
@@ -159,11 +155,11 @@
     SwiftName: 'supportedPhotoCodecTypes(for:)'
     MethodKind: Instance
   - Selector: 'supportedPhotoPixelFormatTypesForFileType:'
+    SwiftName: 'supportedPhotoPixelFormatTypes(for:)'
     MethodKind: Instance
-    SwiftPrivate: true
   - Selector: 'supportedRawPhotoPixelFormatTypesForFileType:'
+    SwiftName: 'supportedRawPhotoPixelFormatTypes(for:)'
     MethodKind: Instance
-    SwiftPrivate: true
   Properties:
   - Name: availablePhotoPixelFormatTypes
     PropertyKind: Instance
@@ -215,8 +211,6 @@
   - Selector: 'rectForMetadataOutputRectOfInterest:'
     SwiftName: 'layerRectConverted(fromMetadataOutputRect:)'
     MethodKind: Instance
-- Name: AVFrameRateRange
-  SwiftName: AVCaptureDeviceFormat.FrameRateRange
 - Name: AVMutableComposition
   Methods:
   - Selector: 'insertTimeRange:ofAsset:atTime:error:'
@@ -1110,6 +1104,10 @@
     - Selector: 'chromaticityValuesForDeviceWhiteBalanceGains:'
       SwiftName: 'chromaticityValues(forDeviceWhiteBalanceGains:)'
       MethodKind: Instance
+    - Selector: 'defaultDeviceWithDeviceType:mediaType:position:'
+      MethodKind: Class
+      NullabilityOfRet: U
+      Nullability: [ U, U, N ]
     - Selector: 'defaultDeviceWithMediaType:'
       MethodKind: Class
       NullabilityOfRet: U
@@ -1227,6 +1225,11 @@
       Nullability: U
   - Name: AVCaptureDeviceDiscoverySession
     SwiftName: AVCaptureDeviceDiscoverySession
+    Methods:
+    - Selector: 'discoverySessionWithDeviceTypes:mediaType:position:'
+      MethodKind: Class
+      NullabilityOfRet: U
+      Nullability: [ U, U, N ]
     Properties:
     - Name: devices
       PropertyKind: Instance
@@ -1549,8 +1552,6 @@
       - Position: 0
         Nullability: N
         Type: 'NSArray<NSDictionary *> *'
-  - Name: AVFrameRateRange
-    SwiftName: AVFrameRateRange
   - Name: AVMetadataMachineReadableCodeObject
     Properties:
     - Name: stringValue
@@ -1768,6 +1769,8 @@
   - Name: AVCaptureDeviceTransportControlsPlayingMode
     SwiftName: playingMode
   Tags:
+  - Name: AVAudioSessionRecordPermission
+    EnumKind: NSOptions
   - Name: AVCaptureAutoFocusSystem
     SwiftName: AVCaptureAutoFocusSystem
   - Name: AVCaptureAutoFocusRangeRestriction
diff -ruN /Applications/Xcode9-beta4.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVSampleBufferDisplayLayer.h /Applications/Xcode9-beta5.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVSampleBufferDisplayLayer.h
--- /Applications/Xcode9-beta4.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVSampleBufferDisplayLayer.h	2017-07-14 03:00:38.000000000 -0400
+++ /Applications/Xcode9-beta5.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVSampleBufferDisplayLayer.h	2017-07-28 03:50:35.000000000 -0400
@@ -27,7 +27,7 @@
 AVF_EXPORT NSString *const AVSampleBufferDisplayLayerFailedToDecodeNotification API_AVAILABLE(macos(10.10), ios(8.0), tvos(10.2)) __WATCHOS_PROHIBITED; // decode failed, see NSError in notification payload
 AVF_EXPORT NSString *const AVSampleBufferDisplayLayerFailedToDecodeNotificationErrorKey API_AVAILABLE(macos(10.10), ios(8.0), tvos(10.2)) __WATCHOS_PROHIBITED; // NSError
 
-API_AVAILABLE(macos(10.10), ios(8.0), tvos(10.2)) __WATCHOS_PROHIBITED
+API_AVAILABLE(macos(10.8), ios(8.0), tvos(10.2)) __WATCHOS_PROHIBITED
 @interface AVSampleBufferDisplayLayer : CALayer
 {
 @private
@@ -74,14 +74,14 @@
 		
 					This property is key value observable.
  */
-@property (nonatomic, readonly) AVQueuedSampleBufferRenderingStatus status;
+@property (nonatomic, readonly) AVQueuedSampleBufferRenderingStatus status API_AVAILABLE(macos(10.10), ios(8.0), tvos(10.2)) __WATCHOS_PROHIBITED;
 
 /*!
 	@property		error
 	@abstract		If the display layer's status is AVQueuedSampleBufferRenderingStatusFailed, this describes the error that caused the failure.
 	@discussion		The value of this property is an NSError that describes what caused the display layer to no longer be able to enqueue sample buffers. If the status is not AVQueuedSampleBufferRenderingStatusFailed, the value of this property is nil.
  */
-@property (nonatomic, readonly, nullable) NSError *error;
+@property (nonatomic, readonly, nullable) NSError *error API_AVAILABLE(macos(10.10), ios(8.0), tvos(10.2)) __WATCHOS_PROHIBITED;
 
 /*!
 	@method			enqueueSampleBuffer:
diff -ruN /Applications/Xcode9-beta4.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVVideoSettings.h /Applications/Xcode9-beta5.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVVideoSettings.h
--- /Applications/Xcode9-beta4.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVVideoSettings.h	2017-07-14 02:57:31.000000000 -0400
+++ /Applications/Xcode9-beta5.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVVideoSettings.h	2017-07-28 02:12:48.000000000 -0400
@@ -134,6 +134,7 @@
 		AVF_EXPORT NSString *const AVVideoColorPrimaries_EBU_3213                                            NS_AVAILABLE(10_7, NA);
 		AVF_EXPORT NSString *const AVVideoColorPrimaries_SMPTE_C                                             NS_AVAILABLE(10_7, 10_0);
 		AVF_EXPORT NSString *const AVVideoColorPrimaries_P3_D65                                              NS_AVAILABLE(10_12, 10_0);
+		AVF_EXPORT NSString *const AVVideoColorPrimaries_ITU_R_2020                                          NS_AVAILABLE(10_13, 11_0);
 	AVF_EXPORT NSString *const AVVideoTransferFunctionKey /* NSString */                                     NS_AVAILABLE(10_7, 10_0);
 		AVF_EXPORT NSString *const AVVideoTransferFunction_ITU_R_709_2                                       NS_AVAILABLE(10_7, 10_0);
 		AVF_EXPORT NSString *const AVVideoTransferFunction_SMPTE_240M_1995                                   NS_AVAILABLE(10_7, NA);
@@ -143,6 +144,8 @@
 		AVF_EXPORT NSString *const AVVideoYCbCrMatrix_ITU_R_709_2                                            NS_AVAILABLE(10_7, 10_0);
 		AVF_EXPORT NSString *const AVVideoYCbCrMatrix_ITU_R_601_4                                            NS_AVAILABLE(10_7, 10_0);
 		AVF_EXPORT NSString *const AVVideoYCbCrMatrix_SMPTE_240M_1995                                        NS_AVAILABLE(10_7, NA);
+		AVF_EXPORT NSString *const AVVideoYCbCrMatrix_ITU_R_2020                                             NS_AVAILABLE(10_13, 11_0);
+
 /*!
  @constant	AVVideoAllowWideColorKey
  @abstract	Indicates whether the client can process wide color
Clone this wiki locally