Skip to content

CoreMotion iOS xcode16.0 b2

Rolf Bjarne Kvinge edited this page Jul 11, 2024 · 4 revisions

#CoreMotion.framework https://github.com/xamarin/xamarin-macios/pull/20862

diff -ruN /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreMotion.framework/Headers/CMHeadphoneMotionManager.h /Applications/Xcode_16.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreMotion.framework/Headers/CMHeadphoneMotionManager.h --- /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreMotion.framework/Headers/CMHeadphoneMotionManager.h	2024-05-31 07:37:27 +++ /Applications/Xcode_16.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreMotion.framework/Headers/CMHeadphoneMotionManager.h	2024-06-18 06:11:25 @@ -53,6 +53,14 @@ @property(weak, nonatomic, nullable) id<CMHeadphoneMotionManagerDelegate> delegate; /* + * connectionStatusActive + * + * Discussion: + * Determines whether the CMHeadphoneMotionManager is currently providing connection updates to the delegate. + */ +@property(readonly, nonatomic, getter=isConnectionStatusActive) BOOL connectionStatusActive; + +/* * deviceMotionAvailable * * Discussion: @@ -102,6 +110,23 @@ * Stops device motion updates. */ - (void)stopDeviceMotionUpdates; + +/* + * startConnectionStatusUpdates + * + * Discussion: + * Starts event updates to the delegate object. This can be used to register for delegate updates before requesting device motion data. + * + */ +- (void)startConnectionStatusUpdates; + +/* + * stopConnectionStatusUpdates + * + * Discussion: + * Stops connection status updates to the delegate object. This only applies if startConnectionStatusUpdates was called. + */ +- (void)stopConnectionStatusUpdates; @end 
Clone this wiki locally