Skip to content

ExposureNotification iOS xcode13.2 b1

Alex Soto edited this page Oct 28, 2021 · 2 revisions

#ExposureNotification.framework

diff -ruN /Applications/Xcode_13.1.0-rc.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ExposureNotification.framework/Headers/ENCommon.h /Applications/Xcode_13.2.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ExposureNotification.framework/Headers/ENCommon.h
--- /Applications/Xcode_13.1.0-rc.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ExposureNotification.framework/Headers/ENCommon.h	2021-09-09 16:45:51.000000000 -0400
+++ /Applications/Xcode_13.2.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ExposureNotification.framework/Headers/ENCommon.h	2021-10-22 20:13:27.000000000 -0400
@@ -42,6 +42,9 @@
 /// Indicates the platforms this API is available for version 3 of the API. Used for non-exportable items, such as typedefs.
 #define EN_API_AVAILABLE_V3			API_AVAILABLE( ios( 14.4 ) ) API_UNAVAILABLE(macos, tvos, watchos)
 
+/// Indicates the platforms this API is available for version 5 of the API. Used for non-exportable items, such as typedefs.
+#define EN_API_AVAILABLE_V5			API_AVAILABLE( ios( 15.2 ) ) API_UNAVAILABLE(macos, tvos, watchos)
+
 /// Indicates the platforms this API is available for version 1 of the API and exports the symbol via the framework.
 #define EN_API_AVAILABLE_EXPORT		EN_API_AVAILABLE __attribute__( ( visibility( "default" ) ) )
 
@@ -187,6 +190,15 @@
 	
 }	EN_API_AVAILABLE_V2;
 
+typedef NS_ENUM( uint32_t, ENVariantOfConcernType )
+{
+	ENVariantOfConcernTypeUnknown   = 0, // Unknown
+	ENVariantOfConcernType1         = 1, // Vaccine is effective
+	ENVariantOfConcernType2         = 2, // Highly transmissive
+	ENVariantOfConcernType3         = 3, // High severity
+	ENVariantOfConcernType4         = 4, // Vaccine breakthrough
+}	EN_API_AVAILABLE_V5;
+
 //===========================================================================================================================
 /*!	@brief	ENIntervalNumber (ENIN)
 	
@@ -467,6 +479,9 @@
 /// Each scan instance corresponds to a scan (of a few seconds) when a beacon with a TEK causing this exposure was observed.
 @property (readonly, copy, nonatomic) NSArray <ENScanInstance *> *		scanInstances;
 
+/// Type of variant of concern
+@property (readonly, assign, nonatomic) ENVariantOfConcernType			variantOfConcernType EN_API_AVAILABLE_V5;
+
 @end
 
 //===========================================================================================================================
Clone this wiki locally