-
Notifications
You must be signed in to change notification settings - Fork 516
CoreMotion iOS xcode13.3 beta1
Alex Soto edited this page Mar 7, 2022
·
2 revisions
#CoreMotion.framework https://github.com/xamarin/xamarin-macios/pull/14325
diff -ruN /Applications/Xcode_13.2.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreMotion.framework/Headers/CMAmbientPressure.h /Applications/Xcode_13.3.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreMotion.framework/Headers/CMAmbientPressure.h
--- /Applications/Xcode_13.2.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreMotion.framework/Headers/CMAmbientPressure.h 1969-12-31 19:00:00.000000000 -0500
+++ /Applications/Xcode_13.3.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreMotion.framework/Headers/CMAmbientPressure.h 2022-01-25 13:02:17.000000000 -0500
@@ -0,0 +1,38 @@
+//
+// CMAmbientPressure.h
+// CMAmbientPressure
+//
+// Copyright (c) 2021 Apple Inc. All rights reserved.
+//
+
+#import <CoreMotion/CMLogItem.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+/*
+ * CMAmbientPressureData
+ *
+ * Discussion:
+ * Contains a single pressure measurement.
+ *
+ */
+COREMOTION_EXPORT API_AVAILABLE(ios(10.0))
+@interface CMAmbientPressureData : CMLogItem
+
+/**
+ * Discussion:
+ * The pressure as measured by the pressure sensor.
+ * Pressure is in kPa (kilopascals).
+ */
+@property(readonly, strong, nonatomic) NSMeasurement<NSUnitPressure *> *pressure;
+
+/**
+ * Discussion:
+ * The temperature as measured by the pressure sensor.
+ * Temperature is in C (degrees centrigrade).
+ */
+@property(readonly, strong, nonatomic) NSMeasurement<NSUnitTemperature *> *temperature;
+
+@end
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_13.2.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreMotion.framework/Headers/CMMotionManager.h /Applications/Xcode_13.3.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreMotion.framework/Headers/CMMotionManager.h
--- /Applications/Xcode_13.2.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreMotion.framework/Headers/CMMotionManager.h 2021-11-19 09:43:32.000000000 -0500
+++ /Applications/Xcode_13.3.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreMotion.framework/Headers/CMMotionManager.h 2022-01-25 13:25:28.000000000 -0500
@@ -74,7 +74,7 @@
* Discussion:
* Typedef of block to be invoked when magnetometer data is available.
*/
-typedef void (^CMMagnetometerHandler)(CMMagnetometerData * __nullable magnetometerData, NSError * __nullable error) COREMOTION_EXPORT API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(macos) API_UNAVAILABLE(tvos);
+typedef void (^CMMagnetometerHandler)(CMMagnetometerData * __nullable magnetometerData, NSError * __nullable error) COREMOTION_EXPORT API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(tvos);
/*
* CMMotionManager
@@ -321,7 +321,7 @@
* is undefined.
*
*/
-@property(readonly, nonatomic) CMAttitudeReferenceFrame attitudeReferenceFrame COREMOTION_EXPORT API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(macos) API_UNAVAILABLE(tvos);
+@property(readonly, nonatomic) CMAttitudeReferenceFrame attitudeReferenceFrame COREMOTION_EXPORT API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(tvos);
/*
* deviceMotionAvailable
diff -ruN /Applications/Xcode_13.2.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreMotion.framework/Headers/CMRecordedPressureData.h /Applications/Xcode_13.3.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreMotion.framework/Headers/CMRecordedPressureData.h
--- /Applications/Xcode_13.2.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreMotion.framework/Headers/CMRecordedPressureData.h 1969-12-31 19:00:00.000000000 -0500
+++ /Applications/Xcode_13.3.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreMotion.framework/Headers/CMRecordedPressureData.h 2022-01-25 13:02:17.000000000 -0500
@@ -0,0 +1,46 @@
+//
+// CMRecordedPressureData.h
+// CMRecordedPressureData
+//
+// Copyright (c) 2021 Apple Inc. All rights reserved.
+//
+
+
+#import <Foundation/Foundation.h>
+#import <CoreMotion/CMAmbientPressure.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+/*
+ * CMRecordedPressureData
+ *
+ * Discussion:
+ * CMRecordedPressureData contains data for each pressure sample.
+ */
+COREMOTION_EXPORT API_AVAILABLE(ios(12.0), watchos(5.0)) API_UNAVAILABLE(macos)
+@interface CMRecordedPressureData : CMAmbientPressureData
+
+/*
+ * identifier
+ *
+ * Discussion:
+ * Unique identifier that identifies the batch for which the pressure sample
+ * was recorded in. This identifier will be monotonically increased
+ * for each new sensor batch recorded and can be used as an anchor for future queries.
+ */
+@property (readonly) uint64_t identifier;
+
+/*
+ * startDate
+ *
+ * Discussion:
+ * Wall time for when this sensor sample is recorded.
+ *
+ */
+@property (readonly) NSDate *startDate;
+
+@end
+
+NS_ASSUME_NONNULL_END
+
+
diff -ruN /Applications/Xcode_13.2.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreMotion.framework/Headers/CMRotationRateData.h /Applications/Xcode_13.3.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreMotion.framework/Headers/CMRotationRateData.h
--- /Applications/Xcode_13.2.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreMotion.framework/Headers/CMRotationRateData.h 2021-11-19 10:25:04.000000000 -0500
+++ /Applications/Xcode_13.3.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreMotion.framework/Headers/CMRotationRateData.h 2022-01-25 13:02:17.000000000 -0500
@@ -17,7 +17,7 @@
* Contains a single rotation rate measurement.
*
*/
-COREMOTION_EXPORT API_AVAILABLE(ios(14.0), watchos(7.0)) API_UNAVAILABLE(macos)
+COREMOTION_EXPORT API_AVAILABLE(ios(14.0), watchos(7.0))
@interface CMRotationRateData : CMLogItem
{
@private
@@ -41,7 +41,7 @@
* Discussion:
* CMRecordedRotationRateData contains data for each rotation rate sample.
*/
-COREMOTION_EXPORT API_AVAILABLE(ios(14.0), watchos(7.0)) API_UNAVAILABLE(macos)
+COREMOTION_EXPORT API_AVAILABLE(ios(14.0), watchos(7.0))
@interface CMRecordedRotationRateData : CMRotationRateData
/*
diff -ruN /Applications/Xcode_13.2.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreMotion.framework/Headers/CoreMotion.h /Applications/Xcode_13.3.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreMotion.framework/Headers/CoreMotion.h
--- /Applications/Xcode_13.2.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreMotion.framework/Headers/CoreMotion.h 2021-11-12 01:20:52.000000000 -0500
+++ /Applications/Xcode_13.3.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreMotion.framework/Headers/CoreMotion.h 2022-01-17 00:53:38.000000000 -0500
@@ -33,5 +33,6 @@
#import <CoreMotion/CMRotationRateData.h>
#import <CoreMotion/CMStepCounter.h>
#import <CoreMotion/CMSensorRecorder.h>
+#import <CoreMotion/CMRecordedPressureData.h>
#endif /* __COREMOTION__ */
- README
- xcode13.0 Binding Status
- xcode13.1 Binding Status
- xcode13.2 Binding Status
- xcode13.3 Binding Status
- xcode13.4 Binding Status
- xcode14.0 Binding Status
- xcode14.1 Binding Status
- xcode14.2 Binding Status
- xcode14.3 Binding Status
- xcode15.0 Binding Status
- xcode15.1 Binding Status
- xcode15.3 Binding Status
- xcode15.4 Binding Status
- xcode16.0 Binding Status
- xcode16.1 Binding Status
- xcode16.2 Binding Status