forked from dotnet/macios
-
Notifications
You must be signed in to change notification settings - Fork 1
AVFoundation macOS xcode9 beta5
Vincent Dondain edited this page Aug 7, 2017
·
1 revision
#AVFoundation.framework
diff -ruN /Applications/Xcode9-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAsset.h /Applications/Xcode9-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAsset.h
--- /Applications/Xcode9-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAsset.h 2017-07-14 04:50:09.000000000 -0400
+++ /Applications/Xcode9-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.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/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAudioSession.h /Applications/Xcode9-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAudioSession.h
--- /Applications/Xcode9-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAudioSession.h 2017-07-14 00:10:59.000000000 -0400
+++ /Applications/Xcode9-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAudioSession.h 1969-12-31 19:00:00.000000000 -0500
@@ -1,9 +0,0 @@
-/*
- File: AVAudioSession.h
- Framework: AVFoundation
-
- Copyright 2016 Apple Inc. All rights reserved.
-*/
-
-#import <AVFAudio/AVAudioSession.h>
-
diff -ruN /Applications/Xcode9-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVFoundation.apinotes /Applications/Xcode9-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVFoundation.apinotes
--- /Applications/Xcode9-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVFoundation.apinotes 2017-07-14 16:11:45.000000000 -0400
+++ /Applications/Xcode9-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.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/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVRouteDetector.h /Applications/Xcode9-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVRouteDetector.h
--- /Applications/Xcode9-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVRouteDetector.h 2017-07-14 00:11:01.000000000 -0400
+++ /Applications/Xcode9-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVRouteDetector.h 1969-12-31 19:00:00.000000000 -0500
@@ -1,55 +0,0 @@
-/*
- File: AVRouteDetector.h
-
- Framework: AVFoundation
-
- Copyright 2017 Apple Inc. All rights reserved.
-
- */
-
-#import <AVFoundation/AVBase.h>
-#import <Foundation/Foundation.h>
-
-@class AVRouteDetectorInternal;
-
-NS_ASSUME_NONNULL_BEGIN
-
-/*!
- @class AVRouteDetector
- @abstract AVRouteDetector detects the presence of media playback routes.
- @discussion
- If route detection is enabled (it is disabled by default), AVRouteDetector reports whether or not multiple playback routes have been detected. If this is the case, AVKit's AVRoutePickerView can be used to allow users to pick from the set of available routes.
- */
-
-API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos)
-@interface AVRouteDetector : NSObject
-{
-@private
- AVRouteDetectorInternal *_routeDetectorInternal;
-}
-
-/*!
- @property routeDetectionEnabled
- @abstract Whether or not route detection is enabled. The default value is NO.
- @discussion
- Route detection significantly increases power consumption and must be turned off when it's no longer needed.
- */
-@property (getter=isRouteDetectionEnabled) BOOL routeDetectionEnabled;
-
-/*!
- @property multipleRoutesDetected
- @abstract This property is YES if, in addition to the local playback route, at least one more playback route has been detected.
- @discussion
- If multiple route have been detected, AVKit's AVRoutePickerView can be used to allow users to pick from the set of available routes. When the values of this property changes AVRouteDetectorMultipleRoutesDetectedDidChangeNotification is posted.
- */
-@property (readonly) BOOL multipleRoutesDetected;
-
-/*!
- @constant AVRouteDetectorMultipleRoutesDetectedDidChangeNotification
- @abstract Posted when the value of multipleRoutesDetected changes.
- */
-AVF_EXPORT NSNotificationName const AVRouteDetectorMultipleRoutesDetectedDidChangeNotification API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
-
-@end
-
-NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode9-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVSampleBufferDisplayLayer.h /Applications/Xcode9-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVSampleBufferDisplayLayer.h
--- /Applications/Xcode9-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVSampleBufferDisplayLayer.h 2017-07-14 03:00:38.000000000 -0400
+++ /Applications/Xcode9-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.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/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVVideoSettings.h /Applications/Xcode9-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVVideoSettings.h
--- /Applications/Xcode9-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVVideoSettings.h 2017-07-14 02:57:31.000000000 -0400
+++ /Applications/Xcode9-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.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