forked from dotnet/macios
-
Notifications
You must be signed in to change notification settings - Fork 1
AVFoundation watchOS xcode9 beta3
Vincent Dondain edited this page Jul 10, 2017
·
1 revision
#AVFoundation.framework
diff -ruN /Applications/Xcode9-beta2.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSessionPreset.h /Applications/Xcode9-beta3.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSessionPreset.h
--- /Applications/Xcode9-beta2.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSessionPreset.h 2017-06-12 01:08:15.000000000 -0400
+++ /Applications/Xcode9-beta3.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSessionPreset.h 2017-06-30 23:38:55.000000000 -0400
@@ -17,7 +17,7 @@
@discussion
Clients may use an AVCaptureSessionPreset to set the format for output on an AVCaptureSession.
*/
-typedef NSString * AVCaptureSessionPreset NS_AVAILABLE(10_7, 4_0) __TVOS_PROHIBITED __WATCHOS_PROHIBITED NS_STRING_ENUM;
+typedef NSString * AVCaptureSessionPreset NS_STRING_ENUM NS_AVAILABLE(10_7, 4_0) __TVOS_PROHIBITED __WATCHOS_PROHIBITED;
/*!
@constant AVCaptureSessionPresetPhoto
diff -ruN /Applications/Xcode9-beta2.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVDepthData.h /Applications/Xcode9-beta3.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVDepthData.h
--- /Applications/Xcode9-beta2.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVDepthData.h 2017-06-11 18:48:50.000000000 -0400
+++ /Applications/Xcode9-beta3.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVDepthData.h 2017-07-01 00:02:25.000000000 -0400
@@ -15,6 +15,24 @@
NS_ASSUME_NONNULL_BEGIN
/*
+ @enum AVDepthDataQuality
+ @abstract
+ Constants indicating the overall quality of depth data map values.
+
+ @constant AVDepthDataQualityLow
+ The overall quality of values within the map is low (too many invalid depth values).
+ @constant AVDepthDataQualityHigh
+ The overall quality of values within the map is high.
+
+ @discussion
+ Depth data maps are typically generated by comparing images and calculating disparity. If features are lacking in either input image, it may be difficult to find matching keypoints, resulting in a depth data map with substantial holes. These holes can be filled with depth data filtering, but still may produce a map of overall poor quality. If a depth data map suffers from insufficient features, it is marked as low quality, and should be considered a substandard candidate for rendering high-quality depth effects or reconstructing a 3D scene. High quality depth is feature-rich, contains a high level of detail, and should be considered a good candidate for rendering high-quality depth effects or reconstructing a 3D scene.
+*/
+typedef NS_ENUM(NSInteger, AVDepthDataQuality) {
+ AVDepthDataQualityLow = 0,
+ AVDepthDataQualityHigh = 1,
+} NS_AVAILABLE(10_13, 11_0) __TVOS_AVAILABLE(11_0) __WATCHOS_PROHIBITED;
+
+/*
@enum AVDepthDataAccuracy
@abstract
Constants indicating the accuracy of the units expressed by depth data map values.
@@ -172,6 +190,16 @@
@property(readonly) __attribute__((NSObject)) CVPixelBufferRef depthDataMap NS_RETURNS_INNER_POINTER;
/*!
+ @property depthDataQuality
+ @abstract
+ Specifies the overall quality of the depth data map's values.
+
+ @discussion
+ See AVDepthDataQuality documentation for more information.
+ */
+@property(readonly) AVDepthDataQuality depthDataQuality;
+
+/*!
@property depthDataFiltered
@abstract
Specifies whether the depth data pixel buffer map contains filtered (hole-filled) data.
diff -ruN /Applications/Xcode9-beta2.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVFoundation.apinotes /Applications/Xcode9-beta3.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVFoundation.apinotes
--- /Applications/Xcode9-beta2.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVFoundation.apinotes 2017-06-12 01:08:13.000000000 -0400
+++ /Applications/Xcode9-beta3.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVFoundation.apinotes 2017-07-01 00:02:21.000000000 -0400
@@ -532,6 +532,8 @@
SwiftName: AVCaptureDevice.WhiteBalanceMode
- Name: AVDepthDataAccuracy
SwiftName: AVDepthData.Accuracy
+- Name: AVDepthDataQuality
+ SwiftName: AVDepthData.Quality
- Name: AVError
NSErrorDomain: AVFoundationErrorDomain
Typedefs:
@@ -1173,6 +1175,7 @@
PropertyKind: Instance
Nullability: U
- Name: AVCaptureDeviceFormat
+ SwiftName: AVCaptureDeviceFormat
Properties:
- Name: formatDescription
Nullability: U
@@ -1200,6 +1203,7 @@
PropertyKind: Instance
Nullability: U
- Name: AVCaptureDeviceDiscoverySession
+ SwiftName: AVCaptureDeviceDiscoverySession
Methods:
- Selector: 'discoverySessionWithDeviceTypes:mediaType:position:'
MethodKind: Class
@@ -1227,6 +1231,7 @@
Nullability: U
Type: 'NSArray *'
- Name: AVCaptureInputPort
+ SwiftName: AVCaptureInputPort
Properties:
- Name: clock
PropertyKind: Instance
@@ -1413,7 +1418,7 @@
- Selector: 'jpegStillImageNSDataRepresentation:'
MethodKind: Class
NullabilityOfRet: U
- Nullability: [ U ] # TODO: Use Parameters: instead
+ Nullability: [ U ]
- Selector: 'prepareToCaptureStillImageBracketFromConnection:withSettingsArray:completionHandler:'
MethodKind: Instance
Parameters:
@@ -1522,6 +1527,15 @@
- Selector: 'contentKeySessionWithKeySystem:storageDirectoryAtURL:'
MethodKind: Class
Nullability: [ N, O ]
+ - Selector: 'pendingExpiredSessionReportsWithAppIdentifier:storageDirectoryAtURL:'
+ MethodKind: Class
+ ResultType: 'NSArray<NSDictionary *> * _Nonnull'
+ - Selector: 'removePendingExpiredSessionReports:withAppIdentifier:storageDirectoryAtURL:'
+ MethodKind: Class
+ Parameters:
+ - Position: 0
+ Nullability: N
+ Type: 'NSArray<NSDictionary *> *'
- Name: AVFrameRateRange
SwiftName: AVFrameRateRange
- Name: AVMetadataMachineReadableCodeObject
@@ -1768,10 +1782,10 @@
SwiftName: AVCaptureFlashMode
- Name: AVCaptureFocusMode
SwiftName: AVCaptureFocusMode
- - Name: AVCaptureTorchMode
- SwiftName: AVCaptureTorchMode
- Name: AVCaptureSessionInterruptionReason
SwiftName: AVCaptureSessionInterruptionReason
+ - Name: AVCaptureTorchMode
+ SwiftName: AVCaptureTorchMode
- Name: AVCaptureWhiteBalanceMode
SwiftName: AVCaptureWhiteBalanceMode
Typedefs:
@@ -1782,10 +1796,12 @@
- Name: AVAudioTimePitchAlgorithm
SwiftWrapper: none
- Name: AVCaptureDeviceTransportControlsSpeed
+ SwiftName: AVCaptureDeviceTransportControlsSpeed
SwiftWrapper: none
- Name: AVCaptureDeviceType
SwiftName: AVCaptureDeviceType
- Name: AVCaptureSessionPreset
+ SwiftName: AVCaptureSessionPreset
SwiftWrapper: none
- Name: AVCaptureWhiteBalanceChromaticityValues
SwiftName: AVCaptureWhiteBalanceChromaticityValues
@@ -1812,6 +1828,7 @@
- Name: AVMetadataIdentifier
SwiftWrapper: none
- Name: AVMetadataObjectType
+ SwiftName: AVMetadataObjectType
SwiftWrapper: none
- Name: AVMetadataKey
SwiftWrapper: none
diff -ruN /Applications/Xcode9-beta2.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVSampleBufferAudioRenderer.h /Applications/Xcode9-beta3.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVSampleBufferAudioRenderer.h
--- /Applications/Xcode9-beta2.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVSampleBufferAudioRenderer.h 2017-06-12 01:11:55.000000000 -0400
+++ /Applications/Xcode9-beta3.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVSampleBufferAudioRenderer.h 2017-06-30 23:52:19.000000000 -0400
@@ -8,6 +8,7 @@
*/
#import <AVFoundation/AVQueuedSampleBufferRendering.h>
+#import <AVFoundation/AVAudioProcessingSettings.h>
NS_ASSUME_NONNULL_BEGIN
@@ -76,7 +77,7 @@
Modifying this property while the timebase's rate is not 0.0 may cause the rate to briefly change to 0.0.
*/
-@property (nonatomic, copy) NSString *audioTimePitchAlgorithm;
+@property (nonatomic, copy) AVAudioTimePitchAlgorithm audioTimePitchAlgorithm;
@end