-
Notifications
You must be signed in to change notification settings - Fork 516
HealthKit iOS xcode13.3 beta2
Alex Soto edited this page Mar 7, 2022
·
2 revisions
#HealthKit.framework https://github.com/xamarin/xamarin-macios/pull/14325
diff -ruN /Applications/Xcode_13.3.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKVerifiableClinicalRecord.h /Applications/Xcode_13.3.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKVerifiableClinicalRecord.h
--- /Applications/Xcode_13.3.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKVerifiableClinicalRecord.h 2022-01-25 13:03:22.000000000 -0500
+++ /Applications/Xcode_13.3.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKVerifiableClinicalRecord.h 2022-02-04 13:47:39.000000000 -0500
@@ -14,12 +14,6 @@
typedef NSString * HKVerifiableClinicalRecordSourceType NS_TYPED_ENUM API_AVAILABLE(ios(15.4));
/*!
- @constant HKVerifiableClinicalRecordSourceTypeUnknown
- @abstract Represents an unknown source type for a verifiable record.
- */
-HK_EXTERN HKVerifiableClinicalRecordSourceType const HKVerifiableClinicalRecordSourceTypeUnknown API_AVAILABLE(ios(15.4));
-
-/*!
@constant HKVerifiableClinicalRecordSourceTypeSMARTHealthCard
@abstract Represents a SMART Health Card source type for a verifiable record.
*/
@@ -31,6 +25,32 @@
*/
HK_EXTERN HKVerifiableClinicalRecordSourceType const HKVerifiableClinicalRecordSourceTypeEUDigitalCOVIDCertificate API_AVAILABLE(ios(15.4));
+typedef NSString * HKVerifiableClinicalRecordCredentialType NS_TYPED_ENUM API_AVAILABLE(ios(15.4));
+
+/*!
+ @constant HKVerifiableClinicalRecordCredentialTypeCOVID19
+ @abstract Represents the COVID-19 credential type for a verifiable record.
+ */
+HK_EXTERN HKVerifiableClinicalRecordCredentialType const HKVerifiableClinicalRecordCredentialTypeCOVID19 NS_SWIFT_NAME(covid19) API_AVAILABLE(ios(15.4));
+
+/*!
+ @constant HKVerifiableClinicalRecordCredentialTypeImmunization
+ @abstract Represents the immunization credential type for a verifiable record.
+ */
+HK_EXTERN HKVerifiableClinicalRecordCredentialType const HKVerifiableClinicalRecordCredentialTypeImmunization API_AVAILABLE(ios(15.4));
+
+/*!
+ @constant HKVerifiableClinicalRecordCredentialTypeLaboratory
+ @abstract Represents the laboratory credential type for a verifiable record.
+ */
+HK_EXTERN HKVerifiableClinicalRecordCredentialType const HKVerifiableClinicalRecordCredentialTypeLaboratory API_AVAILABLE(ios(15.4));
+
+/*!
+ @constant HKVerifiableClinicalRecordCredentialTypeRecovery
+ @abstract Represents the recovery credential type for a verifiable record.
+ */
+HK_EXTERN HKVerifiableClinicalRecordCredentialType const HKVerifiableClinicalRecordCredentialTypeRecovery API_AVAILABLE(ios(15.4));
+
/*!
@class HKVerifiableClinicalRecord
@abstract An NSObject that represents a verifiable clinical record.
@@ -79,19 +99,25 @@
@property itemNames
@abstract A list of display names for each item contained in this record.
*/
-@property (readonly, copy) NSArray<NSString*> *itemNames;
+@property (readonly, copy) NSArray<NSString *> *itemNames;
/*!
- @property JWSRepresentation
- @abstract The record's entirety as JSON Web Signature (JWS) data.
+ @property sourceType
+ @abstract The type of the source leading to this verifiable record.
*/
-@property (readonly, copy) NSData *JWSRepresentation;
+@property (readonly, copy, nullable) HKVerifiableClinicalRecordSourceType sourceType API_AVAILABLE(ios(15.4));
/*!
- @property sourceType
- @abstract The type of the source leading to this verifiable record.
+ @property dataRepresentation
+ @abstract The record's data representation, determined by source type.
+ */
+@property (readonly, copy) NSData *dataRepresentation API_AVAILABLE(ios(15.4));
+
+/*!
+ @property JWSRepresentation
+ @abstract The record's entirety as JSON Web Signature (JWS) data.
*/
-@property (readonly, copy) HKVerifiableClinicalRecordSourceType sourceType API_AVAILABLE(ios(15.4));
+@property (readonly, copy) NSData *JWSRepresentation API_DEPRECATED_WITH_REPLACEMENT("dataRepresentation", ios(15.0, 15.4));
- (instancetype)init NS_UNAVAILABLE;
+ (instancetype)new NS_UNAVAILABLE;
- 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