diff --git a/src/healthkit.cs b/src/healthkit.cs index 8f17dea2e02b..b20f95fe0cda 100644 --- a/src/healthkit.cs +++ b/src/healthkit.cs @@ -1099,6 +1099,10 @@ interface HKMetadata { [MacCatalyst (13, 1)] [Export ("HeartRateEventThreshold")] HKQuantity HeartRateEventThreshold { get; set; } + + [MacCatalyst (18, 2), Mac (15, 2), iOS (18, 2)] + [Export ("AppleFitnessPlusCatalogIdentifier")] + string AppleFitnessPlusCatalogIdentifier { get; set; } } /// Defines the keys in the key-value dictionary. @@ -1386,6 +1390,10 @@ interface HKMetadataKey { [Watch (10, 0), MacCatalyst (17, 0), Mac (14, 0), iOS (17, 0)] [Field ("HKMetadataKeyWaterSalinity")] NSString WaterSalinity { get; } + + [MacCatalyst (18, 2), Mac (15, 2), iOS (18, 2)] + [Field ("HKMetadataKeyAppleFitnessPlusCatalogIdentifier")] + NSString AppleFitnessPlusCatalogIdentifier { get; } } /// Base class to , which defines sampling data. diff --git a/tests/cecil-tests/Documentation.KnownFailures.txt b/tests/cecil-tests/Documentation.KnownFailures.txt index d374cc4a9463..630ca432ff7d 100644 --- a/tests/cecil-tests/Documentation.KnownFailures.txt +++ b/tests/cecil-tests/Documentation.KnownFailures.txt @@ -60543,6 +60543,7 @@ P:HealthKit.HKHealthStore.AuthorizationViewControllerPresenter P:HealthKit.HKHealthStore.UserPreferencesDidChangeNotification P:HealthKit.HKLiveWorkoutBuilder.Delegate P:HealthKit.HKMetadata.AlpineSlopeGrade +P:HealthKit.HKMetadata.AppleFitnessPlusCatalogIdentifier P:HealthKit.HKMetadata.AverageSpeed P:HealthKit.HKMetadata.BloodGlucoseMealTime P:HealthKit.HKMetadata.BodyTemperatureSensorLocation @@ -60588,6 +60589,7 @@ P:HealthKit.HKMetadataKey.AlgorithmVersion P:HealthKit.HKMetadataKey.AlpineSlopeGrade P:HealthKit.HKMetadataKey.AppleDeviceCalibrated P:HealthKit.HKMetadataKey.AppleEcgAlgorithmVersion +P:HealthKit.HKMetadataKey.AppleFitnessPlusCatalogIdentifier P:HealthKit.HKMetadataKey.AppleFitnessPlusSession P:HealthKit.HKMetadataKey.AudioExposureDuration P:HealthKit.HKMetadataKey.AudioExposureLevel diff --git a/tests/xtro-sharpie/api-annotations-dotnet/MacCatalyst-HealthKit.todo b/tests/xtro-sharpie/api-annotations-dotnet/MacCatalyst-HealthKit.todo deleted file mode 100644 index a3491c6bf97c..000000000000 --- a/tests/xtro-sharpie/api-annotations-dotnet/MacCatalyst-HealthKit.todo +++ /dev/null @@ -1 +0,0 @@ -!missing-field! HKMetadataKeyAppleFitnessPlusCatalogIdentifier not bound diff --git a/tests/xtro-sharpie/api-annotations-dotnet/iOS-HealthKit.todo b/tests/xtro-sharpie/api-annotations-dotnet/iOS-HealthKit.todo deleted file mode 100644 index a3491c6bf97c..000000000000 --- a/tests/xtro-sharpie/api-annotations-dotnet/iOS-HealthKit.todo +++ /dev/null @@ -1 +0,0 @@ -!missing-field! HKMetadataKeyAppleFitnessPlusCatalogIdentifier not bound diff --git a/tests/xtro-sharpie/api-annotations-dotnet/macOS-HealthKit.todo b/tests/xtro-sharpie/api-annotations-dotnet/macOS-HealthKit.todo deleted file mode 100644 index a3491c6bf97c..000000000000 --- a/tests/xtro-sharpie/api-annotations-dotnet/macOS-HealthKit.todo +++ /dev/null @@ -1 +0,0 @@ -!missing-field! HKMetadataKeyAppleFitnessPlusCatalogIdentifier not bound