Skip to content

MetricKit tvOS xcode13.2 b2

Alex Soto edited this page Dec 6, 2021 · 3 revisions

#MetricKit.framework https://github.com/xamarin/xamarin-macios/pull/13497

diff -ruN /Applications/Xcode_13.2.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/MetricKit.framework/Headers/MXAppLaunchMetric.h /Applications/Xcode_13.2.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/MetricKit.framework/Headers/MXAppLaunchMetric.h
--- /Applications/Xcode_13.2.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/MetricKit.framework/Headers/MXAppLaunchMetric.h	2021-10-21 17:38:02.000000000 -0400
+++ /Applications/Xcode_13.2.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/MetricKit.framework/Headers/MXAppLaunchMetric.h	2021-11-11 13:12:07.000000000 -0500
@@ -34,6 +34,15 @@
  */
 @property (readonly, strong, nonnull) MXHistogram<NSUnitDuration *> *histogrammedApplicationResumeTime;
 
+/*!
+@property      histogrammedOptimizedTimeToFirstDraw
+@abstract      Histogrammed optimized application time-to-first-draw data.
+@discussion    Dimensioned as NSUnitDuration.
+@discussion    This represents the time when the first CA commit is finished where the application launch has been optimized by the system.
+@discussion    In iOS 15, the system will opportunistically start applications that are not running in the background to reduce the amount of time a user may have to wait before an application is usable. These launches can occur after a system reboot and periodically as system conditions allow.
+*/
+@property (readonly, strong, nonnull) MXHistogram<NSUnitDuration *> *histogrammedOptimizedTimeToFirstDraw API_AVAILABLE(ios(15.2)) API_UNAVAILABLE(macos, tvos, watchos);
+
 @end
 
 NS_ASSUME_NONNULL_END
Clone this wiki locally