-
Notifications
You must be signed in to change notification settings - Fork 507
CoreLocation watchOS xcode15.0 b2
Manuel de la Pena edited this page Aug 30, 2023
·
3 revisions
#CoreLocation.framework https://github.com/xamarin/xamarin-macios/pull/18876
diff -ruN /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationUpdater.h /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationUpdater.h
--- /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationUpdater.h 2023-05-31 23:45:38
+++ /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationUpdater.h 2023-06-10 03:14:51
@@ -88,9 +88,9 @@
* available update.
* handler: Specifies the block that will be invoked with each update.
*
- * CoreLocation will ensure the app has a few seconds of runtime each
- * location update it is authorized to receive. If the app is suspended,
- * crashes, or exits for any reason while updates are flowing,
+ * CoreLocation will ensure the app has a few seconds of runtime to process
+ * each location update it is authorized to receive. If the app crashes,
+ * or exits for any reason while updates are flowing,
* it will be launched for the next update, which it may receive by
* calling this method again to express resumed interest.
* If this method is not called again, or the resulting updater
@@ -118,8 +118,8 @@
* available update.
* handler: Specifies the block that will be invoked with each update.
*
- * CoreLocation will ensure the app has a few seconds of runtime each
- * location update it is authorized to receive. If the app is suspended,
+ * CoreLocation will ensure the app has a few seconds of runtime to process
+ * each location update it is authorized to receive. If the app crashes,
* crashes, or exits for any reason while updates are flowing,
* it will be launched for the next update, which it may receive by
* calling this method again to express resumed interest.
@@ -135,103 +135,7 @@
, xros(1.0)
#endif
) NS_REFINED_FOR_SWIFT;
-
-/*
- * historicalUpdaterWithDateInterval:sampleCount:queue:handler:
- *
- * Discussion:
- * Returns a new CLLocationUpdater with the requested query configuration,
- * queue, and handler.
- *
- * interestInterval:
- * Specifies the date interval of interest to retrieve
- * updates. Date interval should be non-nil. Start date should
- * be before end date, and end date should be before or equal to
- * +[NSDate now].
- * sampleCount:
- * Specifies the maximum number of locations to return,
- * downsampling if necessary. Sample count must be greater than 0.
- * Set sampleCount to a large number to retrieve all available locations
- * without downsampling.
- * queue: Specifies the queue to which the handler is submitted with each
- * available update.
- * handler: Specifies the block that will be invoked with each update.
- *
- * CoreLocation will ensure the app has a few seconds of runtime each
- * location update it is authorized to receive. If the app is suspended,
- * crashes, or exits for any reason while updates are flowing,
- * it will be launched for the next update, which it may receive by
- * calling this method again to express resumed interest.
- * If this method is not called again, or the resulting updater
- * is not resumed again, then CoreLocation will automatically stop the flow
- * of updates.
- *
- *
- * Care should be taken to change dateInterval and sampleCount to avoid
- * re-delivery of updates, or re-delivery should be handled, if a query
- * is started again after such an interruption.
- *
- * Once all the historical updates are delivered to the completion block it will
- * finally be invoked by passing a nil to signify end of operation.
- *
- */
-+ (nullable instancetype)historicalUpdaterWithDateInterval:(NSDateInterval *)interestInterval
- sampleCount:(int)maxCount
- queue:(dispatch_queue_t)queue
- handler:(void(^)(CLUpdate * _Nullable update))handler API_AVAILABLE(ios(17.0), macos(14.0), watchos(10.0), tvos(17.0)
-#if defined(TARGET_OS_XR) && TARGET_OS_XR
-, xros(1.0)
-#endif
-) NS_REFINED_FOR_SWIFT;
-
-/*
- * historicalUpdaterWithCenter:radius:dateInterval:sampleCount:queue:handler:
- *
- * Discussion:
- * Returns a new CLLocationUpdater with the requested query configuration,
- * queue, and handler.
- *
- * center: Specifies the coordinate of the center point of location.
- * radius: Specifies the radius in meters.
- * interestInterval: Specifies the date interval of interest to retrieve
- * updates. Date interval should be valid: start date should be before end
- * date, and end date should be before or equal to +[NSDate now]. Set
- * interestInterval to nil to receive all locations.
- * sampleCount: Specifies the maximum number of locations to return,
- * downsampling if necessary. Sample count must be greater than 0.
- * Set sampleCount to a large number to retrieve all available locations
- * without downsampling.
- * queue: Specifies the queue to which the handler is submitted with each
- * available update.
- * handler: Specifies the block that will be invoked with each update.
- *
- * CoreLocation will ensure the app has a few seconds of runtime each
- * location update it is authorized to receive. If the app is suspended,
- * crashes, or exits for any reason while updates are flowing,
- * it will be launched for the next update, which it may receive by
- * calling this method again to express resumed interest.
- * If this method is not called again, or the resulting updater
- * is not resumed again, then CoreLocation will automatically stop the flow
- * of updates.
- *
- * Care should be taken to change dateInterval and sampleCount to avoid
- * re-delivery of updates, or re-delivery should be handled, if a query
- * is started again after such an interruption.
- *
- * Once all the historical updates are delivered to the completion block it will
- * finally be invoked by passing a nil to signify end of operation.
- */
-+ (nullable instancetype)historicalUpdaterWithCenter:(CLLocationCoordinate2D)center
- radius:(double)radius
- dateInterval:(NSDateInterval * _Nullable)interestInterval
- sampleCount:(int)maxCount
- queue:(dispatch_queue_t)queue
- handler:(void(^)(CLUpdate * _Nullable update))handler API_AVAILABLE(ios(17.0), macos(14.0), watchos(10.0), tvos(17.0))
-#if defined(TARGET_OS_XR) && TARGET_OS_XR
-API_UNAVAILABLE(xros)
-#endif
-NS_REFINED_FOR_SWIFT;
-
+
/*
* resume
*
diff -ruN /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLMonitor.h /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLMonitor.h
--- /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLMonitor.h 2023-05-28 22:43:56
+++ /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLMonitor.h 2023-06-14 23:21:14
@@ -31,7 +31,6 @@
@interface CLMonitor : NSObject
/* requestMonitorWithConfiguration:completion:
- * TODO: rdar://105089713 ([CLMonitor] API Review for vending CLMonitor and new state)
* Discussion:
* Creates or opens, a `CLMonitor` instance with the given name.
* The completion handler will be called with the instance of `CLMonitor`
- 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