Skip to content

Commit 3423c18

Browse files
authored
[HealthKit] Implement Xcode 16.2 beta 1-3 changes. (#21712)
1 parent 01d7ab9 commit 3423c18

File tree

5 files changed

+10
-3
lines changed

5 files changed

+10
-3
lines changed

src/healthkit.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1099,6 +1099,10 @@ interface HKMetadata {
10991099
[MacCatalyst (13, 1)]
11001100
[Export ("HeartRateEventThreshold")]
11011101
HKQuantity HeartRateEventThreshold { get; set; }
1102+
1103+
[MacCatalyst (18, 2), Mac (15, 2), iOS (18, 2)]
1104+
[Export ("AppleFitnessPlusCatalogIdentifier")]
1105+
string AppleFitnessPlusCatalogIdentifier { get; set; }
11021106
}
11031107

11041108
/// <summary>Defines the keys in the <see cref="T:HealthKit.HKMetadata" /> key-value dictionary.</summary>
@@ -1386,6 +1390,10 @@ interface HKMetadataKey {
13861390
[Watch (10, 0), MacCatalyst (17, 0), Mac (14, 0), iOS (17, 0)]
13871391
[Field ("HKMetadataKeyWaterSalinity")]
13881392
NSString WaterSalinity { get; }
1393+
1394+
[MacCatalyst (18, 2), Mac (15, 2), iOS (18, 2)]
1395+
[Field ("HKMetadataKeyAppleFitnessPlusCatalogIdentifier")]
1396+
NSString AppleFitnessPlusCatalogIdentifier { get; }
13891397
}
13901398

13911399
/// <summary>Base class to <see cref="T:HealthKit.HKSample" />, which defines sampling data.</summary>

tests/cecil-tests/Documentation.KnownFailures.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60554,6 +60554,7 @@ P:HealthKit.HKHealthStore.AuthorizationViewControllerPresenter
6055460554
P:HealthKit.HKHealthStore.UserPreferencesDidChangeNotification
6055560555
P:HealthKit.HKLiveWorkoutBuilder.Delegate
6055660556
P:HealthKit.HKMetadata.AlpineSlopeGrade
60557+
P:HealthKit.HKMetadata.AppleFitnessPlusCatalogIdentifier
6055760558
P:HealthKit.HKMetadata.AverageSpeed
6055860559
P:HealthKit.HKMetadata.BloodGlucoseMealTime
6055960560
P:HealthKit.HKMetadata.BodyTemperatureSensorLocation
@@ -60599,6 +60600,7 @@ P:HealthKit.HKMetadataKey.AlgorithmVersion
6059960600
P:HealthKit.HKMetadataKey.AlpineSlopeGrade
6060060601
P:HealthKit.HKMetadataKey.AppleDeviceCalibrated
6060160602
P:HealthKit.HKMetadataKey.AppleEcgAlgorithmVersion
60603+
P:HealthKit.HKMetadataKey.AppleFitnessPlusCatalogIdentifier
6060260604
P:HealthKit.HKMetadataKey.AppleFitnessPlusSession
6060360605
P:HealthKit.HKMetadataKey.AudioExposureDuration
6060460606
P:HealthKit.HKMetadataKey.AudioExposureLevel

tests/xtro-sharpie/api-annotations-dotnet/MacCatalyst-HealthKit.todo

Lines changed: 0 additions & 1 deletion
This file was deleted.

tests/xtro-sharpie/api-annotations-dotnet/iOS-HealthKit.todo

Lines changed: 0 additions & 1 deletion
This file was deleted.

tests/xtro-sharpie/api-annotations-dotnet/macOS-HealthKit.todo

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)