-
-
Save vs-mobiletools-engineering-service2/bd7dffd8cdbfa09b57dca2ae63ca1aac to your computer and use it in GitHub Desktop.
generator-diff/generator.diff
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/old/dotnet/IDE/obj/common/bgen/bgen.AssemblyInfo.cs b/new/dotnet/IDE/obj/common/bgen/bgen.AssemblyInfo.cs | |
index e44b684..46dbbf6 100644 | |
--- a/old/dotnet/IDE/obj/common/bgen/bgen.AssemblyInfo.cs | |
+++ b/new/dotnet/IDE/obj/common/bgen/bgen.AssemblyInfo.cs | |
@@ -13,7 +13,7 @@ using System.Reflection; | |
[assembly: System.Reflection.AssemblyCompanyAttribute("bgen")] | |
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] | |
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] | |
-[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+c34823ce1f9972509783def9ba2338284c2724e5")] | |
+[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+8b857a407bb0cd975bad783dbcc53d85862281b2")] | |
[assembly: System.Reflection.AssemblyProductAttribute("bgen")] | |
[assembly: System.Reflection.AssemblyTitleAttribute("bgen")] | |
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] | |
diff --git a/old/dotnet/IDE/obj/common/bgen/bgen.sourcelink.json b/new/dotnet/IDE/obj/common/bgen/bgen.sourcelink.json | |
index 2584ca4..36e1692 100644 | |
--- a/old/dotnet/IDE/obj/common/bgen/bgen.sourcelink.json | |
+++ b/new/dotnet/IDE/obj/common/bgen/bgen.sourcelink.json | |
@@ -1 +1 @@ | |
-{"documents":{"/Users/builder/azdo/_work/3/a/change-detection/tmp/src/xamarin-macios/*":"https://raw.githubusercontent.com/xamarin/xamarin-macios/c34823ce1f9972509783def9ba2338284c2724e5/*","/Users/builder/azdo/_work/3/a/change-detection/tmp/src/xamarin-macios/external/api-tools/*":"https://raw.githubusercontent.com/xamarin/api-tools/1fbbe003a141231439c08b23989d3dc910bd6182/*","/Users/builder/azdo/_work/3/a/change-detection/tmp/src/xamarin-macios/external/macios-binaries/*":"https://raw.githubusercontent.com/xamarin/macios-binaries/7813391e75d7373ee073ef2d5716e3c607c8636a/*","/Users/builder/azdo/_work/3/a/change-detection/tmp/src/xamarin-macios/external/MonoTouch.Dialog/*":"https://raw.githubusercontent.com/xamarin/MonoTouch.Dialog/77b3337dbbc9e3e2f1b06dab3d37d2822488b0b3/*","/Users/builder/azdo/_work/3/a/change-detection/tmp/src/xamarin-macios/external/opentk/*":"https://raw.githubusercontent.com/mono/opentk/396bc90c7ac2e7ce442840a5e8bd91e5e79b381e/*","/Users/builder/azdo/_work/3/a/change-detection/tmp/src/xamarin-macios/external/Touch.Unit/*":"https://raw.githubusercontent.com/xamarin/Touch.Unit/92a072683b69b2f61f235a7a249c2c7f261236d4/*","/Users/builder/azdo/_work/3/a/change-detection/tmp/src/xamarin-macios/external/Xamarin.MacDev/*":"https://raw.githubusercontent.com/xamarin/Xamarin.MacDev/bd3d13362bfda48a34fa0cc419744c4a1f4dc45a/*"}} | |
\ No newline at end of file | |
+{"documents":{"/Users/builder/azdo/_work/3/s/xamarin-macios/*":"https://raw.githubusercontent.com/xamarin/xamarin-macios/8b857a407bb0cd975bad783dbcc53d85862281b2/*","/Users/builder/azdo/_work/3/s/xamarin-macios/external/api-tools/*":"https://raw.githubusercontent.com/xamarin/api-tools/1fbbe003a141231439c08b23989d3dc910bd6182/*","/Users/builder/azdo/_work/3/s/xamarin-macios/external/macios-binaries/*":"https://raw.githubusercontent.com/xamarin/macios-binaries/7813391e75d7373ee073ef2d5716e3c607c8636a/*","/Users/builder/azdo/_work/3/s/xamarin-macios/external/MonoTouch.Dialog/*":"https://raw.githubusercontent.com/xamarin/MonoTouch.Dialog/77b3337dbbc9e3e2f1b06dab3d37d2822488b0b3/*","/Users/builder/azdo/_work/3/s/xamarin-macios/external/opentk/*":"https://raw.githubusercontent.com/mono/opentk/396bc90c7ac2e7ce442840a5e8bd91e5e79b381e/*","/Users/builder/azdo/_work/3/s/xamarin-macios/external/Touch.Unit/*":"https://raw.githubusercontent.com/xamarin/Touch.Unit/92a072683b69b2f61f235a7a249c2c7f261236d4/*","/Users/builder/azdo/_work/3/s/xamarin-macios/external/Xamarin.MacDev/*":"https://raw.githubusercontent.com/xamarin/Xamarin.MacDev/bd3d13362bfda48a34fa0cc419744c4a1f4dc45a/*"}} | |
\ No newline at end of file | |
diff --git a/old/dotnet/ios/SourceLink.json b/new/dotnet/ios/SourceLink.json | |
index 9c0cc63..87f8fa3 100644 | |
--- a/old/dotnet/ios/SourceLink.json | |
+++ b/new/dotnet/ios/SourceLink.json | |
@@ -1,5 +1,5 @@ | |
{ | |
"documents": { | |
- "/Users/builder/azdo/_work/3/a/change-detection/tmp/src/xamarin-macios/src*": "https://raw.githubusercontent.com/xamarin/xamarin-macios/c34823ce1f9972509783def9ba2338284c2724e5/src*" | |
+ "/Users/builder/azdo/_work/3/s/xamarin-macios/src*": "https://raw.githubusercontent.com/xamarin/xamarin-macios/8b857a407bb0cd975bad783dbcc53d85862281b2/src*" | |
} | |
} | |
diff --git a/old/dotnet/ios/doc/Microsoft.iOS.xml b/new/dotnet/ios/doc/Microsoft.iOS.xml | |
index 74eb3dd..c023744 100644 | |
--- a/old/dotnet/ios/doc/Microsoft.iOS.xml | |
+++ b/new/dotnet/ios/doc/Microsoft.iOS.xml | |
@@ -182535,6 +182535,16 @@ | |
</para> | |
</remarks> | |
</member> | |
+ <member name="M:HealthKit.HKAppleSleepingBreathingDisturbances.GetClassification(HealthKit.HKQuantity)"> | |
+ <summary>Get the breathing disturbances classification for a given quantity of breathing disturbance.</summary> | |
+ <param name="value">The quantity of the breathing disturbance whose classification to get.</param> | |
+ <returns>The breathing disturbances classification for the specified breathing disturbance quantity.</returns> | |
+ </member> | |
+ <member name="M:HealthKit.HKAppleSleepingBreathingDisturbances.GetMinimumQuantity(HealthKit.HKAppleSleepingBreathingDisturbancesClassification)"> | |
+ <summary>Get the minimum quantity for a breathing disturbances classification.</summary> | |
+ <param name="classification">The classification to get the minimum quantity for.</param> | |
+ <returns>The minimum quantity for the specified breathing disturbances classification.</returns> | |
+ </member> | |
<member name="T:HealthKit.HKQuantityType"> | |
<summary>A <format type="text/html"><a href="https://docs.microsoft.com/en-us/search/index?search=T:HKSampleType&scope=Xamarin" title="T:HKSampleType">T:HKSampleType</a></format> that represents either a cumulative or discrete sample.</summary> | |
<remarks> | |
diff --git a/new/dotnet/ios/generated-sources/HealthKit/HKAppleSleepingBreathingDisturbancesClassification.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKAppleSleepingBreathingDisturbancesClassification.g.cs | |
new file mode 100644 | |
index 0000000..a40f4a6 | |
--- /dev/null | |
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKAppleSleepingBreathingDisturbancesClassification.g.cs | |
@@ -0,0 +1,61 @@ | |
+// | |
+// Auto-generated from generator.cs, do not edit | |
+// | |
+// We keep references to objects, so warning 414 is expected | |
+#pragma warning disable 414 | |
+using System; | |
+using System.Drawing; | |
+using System.Diagnostics; | |
+using System.ComponentModel; | |
+using System.Threading.Tasks; | |
+using System.Runtime.Versioning; | |
+using System.Runtime.InteropServices; | |
+using System.Diagnostics.CodeAnalysis; | |
+using UIKit; | |
+using GLKit; | |
+using Metal; | |
+using CoreML; | |
+using MapKit; | |
+using Photos; | |
+using ModelIO; | |
+using Network; | |
+using SceneKit; | |
+using Contacts; | |
+using Security; | |
+using Messages; | |
+using AudioUnit; | |
+using CoreVideo; | |
+using CoreMedia; | |
+using QuickLook; | |
+using CoreImage; | |
+using SpriteKit; | |
+using Foundation; | |
+using CoreMotion; | |
+using ObjCRuntime; | |
+using AddressBook; | |
+using MediaPlayer; | |
+using GameplayKit; | |
+using CoreGraphics; | |
+using CoreLocation; | |
+using AVFoundation; | |
+using NewsstandKit; | |
+using FileProvider; | |
+using CoreAnimation; | |
+using CoreFoundation; | |
+using NetworkExtension; | |
+using MetalPerformanceShadersGraph; | |
+#nullable enable | |
+#if !NET | |
+using NativeHandle = System.IntPtr; | |
+#endif | |
+namespace HealthKit { | |
+ [SupportedOSPlatform ("macos15.0")] | |
+ [SupportedOSPlatform ("ios18.0")] | |
+ [SupportedOSPlatform ("maccatalyst18.0")] | |
+ [UnsupportedOSPlatform ("tvos")] | |
+ [Native] | |
+ public enum HKAppleSleepingBreathingDisturbancesClassification : long { | |
+ NotElevated = 0, | |
+ Elevated = 1, | |
+ } | |
+} | |
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKCategoryTypeIdentifier.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKCategoryTypeIdentifier.g.cs | |
index 6398b9d..be807e4 100644 | |
--- a/old/dotnet/ios/generated-sources/HealthKit/HKCategoryTypeIdentifier.g.cs | |
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKCategoryTypeIdentifier.g.cs | |
@@ -323,6 +323,10 @@ namespace HealthKit { | |
[SupportedOSPlatform ("maccatalyst18.0")] | |
[SupportedOSPlatform ("macos15.0")] | |
BleedingDuringPregnancy = 67, | |
+ [SupportedOSPlatform ("ios18.0")] | |
+ [SupportedOSPlatform ("maccatalyst18.0")] | |
+ [SupportedOSPlatform ("macos15.0")] | |
+ SleepApneaEvent = 68, | |
} | |
/// <summary>Extension methods for the <see cref="global::HealthKit.HKCategoryTypeIdentifier" /> enumeration.</summary> | |
[SupportedOSPlatform ("macos13.0")] | |
@@ -330,7 +334,7 @@ namespace HealthKit { | |
[SupportedOSPlatform ("ios")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
static public partial class HKCategoryTypeIdentifierExtensions { | |
- static IntPtr[] values = new IntPtr [68]; | |
+ static IntPtr[] values = new IntPtr [69]; | |
[Field ("HKCategoryTypeIdentifierSleepAnalysis", "HealthKit")] | |
internal unsafe static IntPtr HKCategoryTypeIdentifierSleepAnalysis { | |
get { | |
@@ -1008,6 +1012,16 @@ namespace HealthKit { | |
return Dlfcn.CachePointer (Libraries.HealthKit.Handle, "HKCategoryTypeIdentifierBleedingDuringPregnancy", storage); | |
} | |
} | |
+ [SupportedOSPlatform ("ios18.0")] | |
+ [SupportedOSPlatform ("maccatalyst18.0")] | |
+ [SupportedOSPlatform ("macos15.0")] | |
+ [Field ("HKCategoryTypeIdentifierSleepApneaEvent", "HealthKit")] | |
+ internal unsafe static IntPtr HKCategoryTypeIdentifierSleepApneaEvent { | |
+ get { | |
+ fixed (IntPtr *storage = &values [68]) | |
+ return Dlfcn.CachePointer (Libraries.HealthKit.Handle, "HKCategoryTypeIdentifierSleepApneaEvent", storage); | |
+ } | |
+ } | |
/// <summary>Retrieves the <see cref="global::Foundation.NSString" /> constant that describes <paramref name="self" />.</summary> | |
/// <param name="self">The instance on which this method operates.</param> | |
public static NSString? GetConstant (this HKCategoryTypeIdentifier self) | |
@@ -1218,6 +1232,9 @@ namespace HealthKit { | |
case 67: // HKCategoryTypeIdentifier.BleedingDuringPregnancy | |
ptr = HKCategoryTypeIdentifierBleedingDuringPregnancy; | |
break; | |
+ case 68: // HKCategoryTypeIdentifier.SleepApneaEvent | |
+ ptr = HKCategoryTypeIdentifierSleepApneaEvent; | |
+ break; | |
} | |
return (NSString?) Runtime.GetNSObject (ptr); | |
} | |
@@ -1363,6 +1380,8 @@ namespace HealthKit { | |
return HKCategoryTypeIdentifier.BleedingAfterPregnancy; | |
if (constant.IsEqualTo (HKCategoryTypeIdentifierBleedingDuringPregnancy)) | |
return HKCategoryTypeIdentifier.BleedingDuringPregnancy; | |
+ if (constant.IsEqualTo (HKCategoryTypeIdentifierSleepApneaEvent)) | |
+ return HKCategoryTypeIdentifier.SleepApneaEvent; | |
throw new NotSupportedException ($"{constant} has no associated enum value on this platform."); | |
} | |
/// <summary>Converts an array of <see cref="global::HealthKit.HKCategoryTypeIdentifier" /> enum values into an array of their corresponding constants.</summary> | |
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKQuantityTypeIdentifier.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKQuantityTypeIdentifier.g.cs | |
index 42171dc..89ad4ae 100644 | |
--- a/old/dotnet/ios/generated-sources/HealthKit/HKQuantityTypeIdentifier.g.cs | |
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKQuantityTypeIdentifier.g.cs | |
@@ -342,6 +342,10 @@ namespace HealthKit { | |
[SupportedOSPlatform ("maccatalyst18.0")] | |
[SupportedOSPlatform ("macos15.0")] | |
RowingSpeed = 118, | |
+ [SupportedOSPlatform ("ios18.0")] | |
+ [SupportedOSPlatform ("maccatalyst18.0")] | |
+ [SupportedOSPlatform ("macos15.0")] | |
+ AppleSleepingBreathingDisturbances = 119, | |
} | |
/// <summary>Extension methods for the <see cref="global::HealthKit.HKQuantityTypeIdentifier" /> enumeration.</summary> | |
[SupportedOSPlatform ("macos13.0")] | |
@@ -349,7 +353,7 @@ namespace HealthKit { | |
[SupportedOSPlatform ("ios")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
static public partial class HKQuantityTypeIdentifierExtensions { | |
- static IntPtr[] values = new IntPtr [119]; | |
+ static IntPtr[] values = new IntPtr [120]; | |
[Field ("HKQuantityTypeIdentifierBodyMassIndex", "HealthKit")] | |
internal unsafe static IntPtr HKQuantityTypeIdentifierBodyMassIndex { | |
get { | |
@@ -1352,6 +1356,16 @@ namespace HealthKit { | |
return Dlfcn.CachePointer (Libraries.HealthKit.Handle, "HKQuantityTypeIdentifierRowingSpeed", storage); | |
} | |
} | |
+ [SupportedOSPlatform ("ios18.0")] | |
+ [SupportedOSPlatform ("maccatalyst18.0")] | |
+ [SupportedOSPlatform ("macos15.0")] | |
+ [Field ("HKQuantityTypeIdentifierAppleSleepingBreathingDisturbances", "HealthKit")] | |
+ internal unsafe static IntPtr HKQuantityTypeIdentifierAppleSleepingBreathingDisturbances { | |
+ get { | |
+ fixed (IntPtr *storage = &values [119]) | |
+ return Dlfcn.CachePointer (Libraries.HealthKit.Handle, "HKQuantityTypeIdentifierAppleSleepingBreathingDisturbances", storage); | |
+ } | |
+ } | |
/// <summary>Retrieves the <see cref="global::Foundation.NSString" /> constant that describes <paramref name="self" />.</summary> | |
/// <param name="self">The instance on which this method operates.</param> | |
public static NSString? GetConstant (this HKQuantityTypeIdentifier self) | |
@@ -1715,6 +1729,9 @@ namespace HealthKit { | |
case 118: // HKQuantityTypeIdentifier.RowingSpeed | |
ptr = HKQuantityTypeIdentifierRowingSpeed; | |
break; | |
+ case 119: // HKQuantityTypeIdentifier.AppleSleepingBreathingDisturbances | |
+ ptr = HKQuantityTypeIdentifierAppleSleepingBreathingDisturbances; | |
+ break; | |
} | |
return (NSString?) Runtime.GetNSObject (ptr); | |
} | |
@@ -1962,6 +1979,8 @@ namespace HealthKit { | |
return HKQuantityTypeIdentifier.PaddleSportsSpeed; | |
if (constant.IsEqualTo (HKQuantityTypeIdentifierRowingSpeed)) | |
return HKQuantityTypeIdentifier.RowingSpeed; | |
+ if (constant.IsEqualTo (HKQuantityTypeIdentifierAppleSleepingBreathingDisturbances)) | |
+ return HKQuantityTypeIdentifier.AppleSleepingBreathingDisturbances; | |
throw new NotSupportedException ($"{constant} has no associated enum value on this platform."); | |
} | |
/// <summary>Converts an array of <see cref="global::HealthKit.HKQuantityTypeIdentifier" /> enum values into an array of their corresponding constants.</summary> | |
diff --git a/old/dotnet/ios/ref/Microsoft.iOS.xml b/new/dotnet/ios/ref/Microsoft.iOS.xml | |
index 06c21cf..8e59539 100644 | |
--- a/old/dotnet/ios/ref/Microsoft.iOS.xml | |
+++ b/new/dotnet/ios/ref/Microsoft.iOS.xml | |
@@ -178045,6 +178045,16 @@ | |
</para> | |
</remarks> | |
</member> | |
+ <member name="M:HealthKit.HKAppleSleepingBreathingDisturbances.GetClassification(HealthKit.HKQuantity)"> | |
+ <summary>Get the breathing disturbances classification for a given quantity of breathing disturbance.</summary> | |
+ <param name="value">The quantity of the breathing disturbance whose classification to get.</param> | |
+ <returns>The breathing disturbances classification for the specified breathing disturbance quantity.</returns> | |
+ </member> | |
+ <member name="M:HealthKit.HKAppleSleepingBreathingDisturbances.GetMinimumQuantity(HealthKit.HKAppleSleepingBreathingDisturbancesClassification)"> | |
+ <summary>Get the minimum quantity for a breathing disturbances classification.</summary> | |
+ <param name="classification">The classification to get the minimum quantity for.</param> | |
+ <returns>The minimum quantity for the specified breathing disturbances classification.</returns> | |
+ </member> | |
<member name="T:HealthKit.HKQuantityType"> | |
<summary>A <format type="text/html"><a href="https://docs.microsoft.com/en-us/search/index?search=T:HKSampleType&scope=Xamarin" title="T:HKSampleType">T:HKSampleType</a></format> that represents either a cumulative or discrete sample.</summary><remarks><para>Use the factory method Create to create a new instance of this type.</para><para /><example><code lang="csharp lang-csharp"><![CDATA[if (HKHealthStore.IsHealthDataAvailable) { | |
var bodyTemperature = HKQuantityType.Create (HKQuantityTypeIdentifier.BodyTemperature); | |
diff --git a/old/dotnet/maccatalyst/SourceLink.json b/new/dotnet/maccatalyst/SourceLink.json | |
index 9c0cc63..87f8fa3 100644 | |
--- a/old/dotnet/maccatalyst/SourceLink.json | |
+++ b/new/dotnet/maccatalyst/SourceLink.json | |
@@ -1,5 +1,5 @@ | |
{ | |
"documents": { | |
- "/Users/builder/azdo/_work/3/a/change-detection/tmp/src/xamarin-macios/src*": "https://raw.githubusercontent.com/xamarin/xamarin-macios/c34823ce1f9972509783def9ba2338284c2724e5/src*" | |
+ "/Users/builder/azdo/_work/3/s/xamarin-macios/src*": "https://raw.githubusercontent.com/xamarin/xamarin-macios/8b857a407bb0cd975bad783dbcc53d85862281b2/src*" | |
} | |
} | |
diff --git a/old/dotnet/maccatalyst/doc/Microsoft.MacCatalyst.xml b/new/dotnet/maccatalyst/doc/Microsoft.MacCatalyst.xml | |
index 9f252f5..3d6d79d 100644 | |
--- a/old/dotnet/maccatalyst/doc/Microsoft.MacCatalyst.xml | |
+++ b/new/dotnet/maccatalyst/doc/Microsoft.MacCatalyst.xml | |
@@ -165984,6 +165984,16 @@ | |
</para> | |
</remarks> | |
</member> | |
+ <member name="M:HealthKit.HKAppleSleepingBreathingDisturbances.GetClassification(HealthKit.HKQuantity)"> | |
+ <summary>Get the breathing disturbances classification for a given quantity of breathing disturbance.</summary> | |
+ <param name="value">The quantity of the breathing disturbance whose classification to get.</param> | |
+ <returns>The breathing disturbances classification for the specified breathing disturbance quantity.</returns> | |
+ </member> | |
+ <member name="M:HealthKit.HKAppleSleepingBreathingDisturbances.GetMinimumQuantity(HealthKit.HKAppleSleepingBreathingDisturbancesClassification)"> | |
+ <summary>Get the minimum quantity for a breathing disturbances classification.</summary> | |
+ <param name="classification">The classification to get the minimum quantity for.</param> | |
+ <returns>The minimum quantity for the specified breathing disturbances classification.</returns> | |
+ </member> | |
<member name="T:HealthKit.HKQuantityType"> | |
<summary>A <format type="text/html"><a href="https://docs.microsoft.com/en-us/search/index?search=T:HKSampleType&scope=Xamarin" title="T:HKSampleType">T:HKSampleType</a></format> that represents either a cumulative or discrete sample.</summary> | |
<remarks> | |
diff --git a/new/dotnet/maccatalyst/generated-sources/HealthKit/HKAppleSleepingBreathingDisturbancesClassification.g.cs b/new/dotnet/maccatalyst/generated-sources/HealthKit/HKAppleSleepingBreathingDisturbancesClassification.g.cs | |
new file mode 100644 | |
index 0000000..54a3b59 | |
--- /dev/null | |
+++ b/new/dotnet/maccatalyst/generated-sources/HealthKit/HKAppleSleepingBreathingDisturbancesClassification.g.cs | |
@@ -0,0 +1,61 @@ | |
+// | |
+// Auto-generated from generator.cs, do not edit | |
+// | |
+// We keep references to objects, so warning 414 is expected | |
+#pragma warning disable 414 | |
+using System; | |
+using System.Drawing; | |
+using System.Diagnostics; | |
+using System.ComponentModel; | |
+using System.Threading.Tasks; | |
+using System.Runtime.Versioning; | |
+using System.Runtime.InteropServices; | |
+using System.Diagnostics.CodeAnalysis; | |
+using UIKit; | |
+using Metal; | |
+using CoreML; | |
+using AppKit; | |
+using MapKit; | |
+using Photos; | |
+using ModelIO; | |
+using Network; | |
+using SceneKit; | |
+using Contacts; | |
+using Security; | |
+using CloudKit; | |
+using Messages; | |
+using AudioUnit; | |
+using CoreVideo; | |
+using CoreMedia; | |
+using QuickLook; | |
+using CoreImage; | |
+using SpriteKit; | |
+using Foundation; | |
+using CoreMotion; | |
+using ObjCRuntime; | |
+using AddressBook; | |
+using MediaPlayer; | |
+using GameplayKit; | |
+using CoreGraphics; | |
+using CoreLocation; | |
+using AVFoundation; | |
+using FileProvider; | |
+using CoreAnimation; | |
+using CoreFoundation; | |
+using NetworkExtension; | |
+using MetalPerformanceShadersGraph; | |
+#nullable enable | |
+#if !NET | |
+using NativeHandle = System.IntPtr; | |
+#endif | |
+namespace HealthKit { | |
+ [SupportedOSPlatform ("macos15.0")] | |
+ [SupportedOSPlatform ("ios18.0")] | |
+ [SupportedOSPlatform ("maccatalyst18.0")] | |
+ [UnsupportedOSPlatform ("tvos")] | |
+ [Native] | |
+ public enum HKAppleSleepingBreathingDisturbancesClassification : long { | |
+ NotElevated = 0, | |
+ Elevated = 1, | |
+ } | |
+} | |
diff --git a/old/dotnet/maccatalyst/generated-sources/HealthKit/HKCategoryTypeIdentifier.g.cs b/new/dotnet/maccatalyst/generated-sources/HealthKit/HKCategoryTypeIdentifier.g.cs | |
index c6dc4d5..f6718bd 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/HealthKit/HKCategoryTypeIdentifier.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/HealthKit/HKCategoryTypeIdentifier.g.cs | |
@@ -323,6 +323,10 @@ namespace HealthKit { | |
[SupportedOSPlatform ("maccatalyst18.0")] | |
[SupportedOSPlatform ("macos15.0")] | |
BleedingDuringPregnancy = 67, | |
+ [SupportedOSPlatform ("ios18.0")] | |
+ [SupportedOSPlatform ("maccatalyst18.0")] | |
+ [SupportedOSPlatform ("macos15.0")] | |
+ SleepApneaEvent = 68, | |
} | |
/// <summary>Extension methods for the <see cref="global::HealthKit.HKCategoryTypeIdentifier" /> enumeration.</summary> | |
[SupportedOSPlatform ("macos13.0")] | |
@@ -330,7 +334,7 @@ namespace HealthKit { | |
[SupportedOSPlatform ("ios")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
static public partial class HKCategoryTypeIdentifierExtensions { | |
- static IntPtr[] values = new IntPtr [68]; | |
+ static IntPtr[] values = new IntPtr [69]; | |
[Field ("HKCategoryTypeIdentifierSleepAnalysis", "HealthKit")] | |
internal unsafe static IntPtr HKCategoryTypeIdentifierSleepAnalysis { | |
get { | |
@@ -1008,6 +1012,16 @@ namespace HealthKit { | |
return Dlfcn.CachePointer (Libraries.HealthKit.Handle, "HKCategoryTypeIdentifierBleedingDuringPregnancy", storage); | |
} | |
} | |
+ [SupportedOSPlatform ("ios18.0")] | |
+ [SupportedOSPlatform ("maccatalyst18.0")] | |
+ [SupportedOSPlatform ("macos15.0")] | |
+ [Field ("HKCategoryTypeIdentifierSleepApneaEvent", "HealthKit")] | |
+ internal unsafe static IntPtr HKCategoryTypeIdentifierSleepApneaEvent { | |
+ get { | |
+ fixed (IntPtr *storage = &values [68]) | |
+ return Dlfcn.CachePointer (Libraries.HealthKit.Handle, "HKCategoryTypeIdentifierSleepApneaEvent", storage); | |
+ } | |
+ } | |
/// <summary>Retrieves the <see cref="global::Foundation.NSString" /> constant that describes <paramref name="self" />.</summary> | |
/// <param name="self">The instance on which this method operates.</param> | |
public static NSString? GetConstant (this HKCategoryTypeIdentifier self) | |
@@ -1218,6 +1232,9 @@ namespace HealthKit { | |
case 67: // HKCategoryTypeIdentifier.BleedingDuringPregnancy | |
ptr = HKCategoryTypeIdentifierBleedingDuringPregnancy; | |
break; | |
+ case 68: // HKCategoryTypeIdentifier.SleepApneaEvent | |
+ ptr = HKCategoryTypeIdentifierSleepApneaEvent; | |
+ break; | |
} | |
return (NSString?) Runtime.GetNSObject (ptr); | |
} | |
@@ -1363,6 +1380,8 @@ namespace HealthKit { | |
return HKCategoryTypeIdentifier.BleedingAfterPregnancy; | |
if (constant.IsEqualTo (HKCategoryTypeIdentifierBleedingDuringPregnancy)) | |
return HKCategoryTypeIdentifier.BleedingDuringPregnancy; | |
+ if (constant.IsEqualTo (HKCategoryTypeIdentifierSleepApneaEvent)) | |
+ return HKCategoryTypeIdentifier.SleepApneaEvent; | |
throw new NotSupportedException ($"{constant} has no associated enum value on this platform."); | |
} | |
/// <summary>Converts an array of <see cref="global::HealthKit.HKCategoryTypeIdentifier" /> enum values into an array of their corresponding constants.</summary> | |
diff --git a/old/dotnet/maccatalyst/generated-sources/HealthKit/HKQuantityTypeIdentifier.g.cs b/new/dotnet/maccatalyst/generated-sources/HealthKit/HKQuantityTypeIdentifier.g.cs | |
index 312f446..8898603 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/HealthKit/HKQuantityTypeIdentifier.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/HealthKit/HKQuantityTypeIdentifier.g.cs | |
@@ -342,6 +342,10 @@ namespace HealthKit { | |
[SupportedOSPlatform ("maccatalyst18.0")] | |
[SupportedOSPlatform ("macos15.0")] | |
RowingSpeed = 118, | |
+ [SupportedOSPlatform ("ios18.0")] | |
+ [SupportedOSPlatform ("maccatalyst18.0")] | |
+ [SupportedOSPlatform ("macos15.0")] | |
+ AppleSleepingBreathingDisturbances = 119, | |
} | |
/// <summary>Extension methods for the <see cref="global::HealthKit.HKQuantityTypeIdentifier" /> enumeration.</summary> | |
[SupportedOSPlatform ("macos13.0")] | |
@@ -349,7 +353,7 @@ namespace HealthKit { | |
[SupportedOSPlatform ("ios")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
static public partial class HKQuantityTypeIdentifierExtensions { | |
- static IntPtr[] values = new IntPtr [119]; | |
+ static IntPtr[] values = new IntPtr [120]; | |
[Field ("HKQuantityTypeIdentifierBodyMassIndex", "HealthKit")] | |
internal unsafe static IntPtr HKQuantityTypeIdentifierBodyMassIndex { | |
get { | |
@@ -1352,6 +1356,16 @@ namespace HealthKit { | |
return Dlfcn.CachePointer (Libraries.HealthKit.Handle, "HKQuantityTypeIdentifierRowingSpeed", storage); | |
} | |
} | |
+ [SupportedOSPlatform ("ios18.0")] | |
+ [SupportedOSPlatform ("maccatalyst18.0")] | |
+ [SupportedOSPlatform ("macos15.0")] | |
+ [Field ("HKQuantityTypeIdentifierAppleSleepingBreathingDisturbances", "HealthKit")] | |
+ internal unsafe static IntPtr HKQuantityTypeIdentifierAppleSleepingBreathingDisturbances { | |
+ get { | |
+ fixed (IntPtr *storage = &values [119]) | |
+ return Dlfcn.CachePointer (Libraries.HealthKit.Handle, "HKQuantityTypeIdentifierAppleSleepingBreathingDisturbances", storage); | |
+ } | |
+ } | |
/// <summary>Retrieves the <see cref="global::Foundation.NSString" /> constant that describes <paramref name="self" />.</summary> | |
/// <param name="self">The instance on which this method operates.</param> | |
public static NSString? GetConstant (this HKQuantityTypeIdentifier self) | |
@@ -1715,6 +1729,9 @@ namespace HealthKit { | |
case 118: // HKQuantityTypeIdentifier.RowingSpeed | |
ptr = HKQuantityTypeIdentifierRowingSpeed; | |
break; | |
+ case 119: // HKQuantityTypeIdentifier.AppleSleepingBreathingDisturbances | |
+ ptr = HKQuantityTypeIdentifierAppleSleepingBreathingDisturbances; | |
+ break; | |
} | |
return (NSString?) Runtime.GetNSObject (ptr); | |
} | |
@@ -1962,6 +1979,8 @@ namespace HealthKit { | |
return HKQuantityTypeIdentifier.PaddleSportsSpeed; | |
if (constant.IsEqualTo (HKQuantityTypeIdentifierRowingSpeed)) | |
return HKQuantityTypeIdentifier.RowingSpeed; | |
+ if (constant.IsEqualTo (HKQuantityTypeIdentifierAppleSleepingBreathingDisturbances)) | |
+ return HKQuantityTypeIdentifier.AppleSleepingBreathingDisturbances; | |
throw new NotSupportedException ($"{constant} has no associated enum value on this platform."); | |
} | |
/// <summary>Converts an array of <see cref="global::HealthKit.HKQuantityTypeIdentifier" /> enum values into an array of their corresponding constants.</summary> | |
diff --git a/old/dotnet/maccatalyst/ref/Microsoft.MacCatalyst.xml b/new/dotnet/maccatalyst/ref/Microsoft.MacCatalyst.xml | |
index b807895..1a7a314 100644 | |
--- a/old/dotnet/maccatalyst/ref/Microsoft.MacCatalyst.xml | |
+++ b/new/dotnet/maccatalyst/ref/Microsoft.MacCatalyst.xml | |
@@ -161866,6 +161866,16 @@ | |
</para> | |
</remarks> | |
</member> | |
+ <member name="M:HealthKit.HKAppleSleepingBreathingDisturbances.GetClassification(HealthKit.HKQuantity)"> | |
+ <summary>Get the breathing disturbances classification for a given quantity of breathing disturbance.</summary> | |
+ <param name="value">The quantity of the breathing disturbance whose classification to get.</param> | |
+ <returns>The breathing disturbances classification for the specified breathing disturbance quantity.</returns> | |
+ </member> | |
+ <member name="M:HealthKit.HKAppleSleepingBreathingDisturbances.GetMinimumQuantity(HealthKit.HKAppleSleepingBreathingDisturbancesClassification)"> | |
+ <summary>Get the minimum quantity for a breathing disturbances classification.</summary> | |
+ <param name="classification">The classification to get the minimum quantity for.</param> | |
+ <returns>The minimum quantity for the specified breathing disturbances classification.</returns> | |
+ </member> | |
<member name="T:HealthKit.HKQuantityType"> | |
<summary>A <format type="text/html"><a href="https://docs.microsoft.com/en-us/search/index?search=T:HKSampleType&scope=Xamarin" title="T:HKSampleType">T:HKSampleType</a></format> that represents either a cumulative or discrete sample.</summary><remarks><para>Use the factory method Create to create a new instance of this type.</para><para /><example><code lang="csharp lang-csharp"><![CDATA[if (HKHealthStore.IsHealthDataAvailable) { | |
var bodyTemperature = HKQuantityType.Create (HKQuantityTypeIdentifier.BodyTemperature); | |
diff --git a/old/dotnet/macos/SourceLink.json b/new/dotnet/macos/SourceLink.json | |
index 9c0cc63..87f8fa3 100644 | |
--- a/old/dotnet/macos/SourceLink.json | |
+++ b/new/dotnet/macos/SourceLink.json | |
@@ -1,5 +1,5 @@ | |
{ | |
"documents": { | |
- "/Users/builder/azdo/_work/3/a/change-detection/tmp/src/xamarin-macios/src*": "https://raw.githubusercontent.com/xamarin/xamarin-macios/c34823ce1f9972509783def9ba2338284c2724e5/src*" | |
+ "/Users/builder/azdo/_work/3/s/xamarin-macios/src*": "https://raw.githubusercontent.com/xamarin/xamarin-macios/8b857a407bb0cd975bad783dbcc53d85862281b2/src*" | |
} | |
} | |
diff --git a/old/dotnet/macos/doc/Microsoft.macOS.xml b/new/dotnet/macos/doc/Microsoft.macOS.xml | |
index 985d31c..2c1ef6f 100644 | |
--- a/old/dotnet/macos/doc/Microsoft.macOS.xml | |
+++ b/new/dotnet/macos/doc/Microsoft.macOS.xml | |
@@ -162455,6 +162455,16 @@ | |
</para> | |
</remarks> | |
</member> | |
+ <member name="M:HealthKit.HKAppleSleepingBreathingDisturbances.GetClassification(HealthKit.HKQuantity)"> | |
+ <summary>Get the breathing disturbances classification for a given quantity of breathing disturbance.</summary> | |
+ <param name="value">The quantity of the breathing disturbance whose classification to get.</param> | |
+ <returns>The breathing disturbances classification for the specified breathing disturbance quantity.</returns> | |
+ </member> | |
+ <member name="M:HealthKit.HKAppleSleepingBreathingDisturbances.GetMinimumQuantity(HealthKit.HKAppleSleepingBreathingDisturbancesClassification)"> | |
+ <summary>Get the minimum quantity for a breathing disturbances classification.</summary> | |
+ <param name="classification">The classification to get the minimum quantity for.</param> | |
+ <returns>The minimum quantity for the specified breathing disturbances classification.</returns> | |
+ </member> | |
<member name="T:HealthKit.HKQuantityType"> | |
<summary>A <format type="text/html"><a href="https://docs.microsoft.com/en-us/search/index?search=T:HKSampleType&scope=Xamarin" title="T:HKSampleType">T:HKSampleType</a></format> that represents either a cumulative or discrete sample.</summary> | |
<remarks> | |
diff --git a/new/dotnet/macos/generated-sources/HealthKit/HKAppleSleepingBreathingDisturbancesClassification.g.cs b/new/dotnet/macos/generated-sources/HealthKit/HKAppleSleepingBreathingDisturbancesClassification.g.cs | |
new file mode 100644 | |
index 0000000..0d9f7a9 | |
--- /dev/null | |
+++ b/new/dotnet/macos/generated-sources/HealthKit/HKAppleSleepingBreathingDisturbancesClassification.g.cs | |
@@ -0,0 +1,56 @@ | |
+// | |
+// Auto-generated from generator.cs, do not edit | |
+// | |
+// We keep references to objects, so warning 414 is expected | |
+#pragma warning disable 414 | |
+using System; | |
+using System.Drawing; | |
+using System.Diagnostics; | |
+using System.ComponentModel; | |
+using System.Threading.Tasks; | |
+using System.Runtime.Versioning; | |
+using System.Runtime.InteropServices; | |
+using System.Diagnostics.CodeAnalysis; | |
+using Metal; | |
+using CoreML; | |
+using OpenGL; | |
+using AppKit; | |
+using Photos; | |
+using ModelIO; | |
+using Network; | |
+using SceneKit; | |
+using Contacts; | |
+using Security; | |
+using CloudKit; | |
+using AudioUnit; | |
+using CoreVideo; | |
+using CoreMedia; | |
+using CoreImage; | |
+using SpriteKit; | |
+using Foundation; | |
+using ObjCRuntime; | |
+using MediaPlayer; | |
+using GameplayKit; | |
+using CoreGraphics; | |
+using CoreLocation; | |
+using AVFoundation; | |
+using FileProvider; | |
+using CoreAnimation; | |
+using CoreFoundation; | |
+using NetworkExtension; | |
+using MetalPerformanceShadersGraph; | |
+#nullable enable | |
+#if !NET | |
+using NativeHandle = System.IntPtr; | |
+#endif | |
+namespace HealthKit { | |
+ [SupportedOSPlatform ("macos15.0")] | |
+ [SupportedOSPlatform ("ios18.0")] | |
+ [SupportedOSPlatform ("maccatalyst18.0")] | |
+ [UnsupportedOSPlatform ("tvos")] | |
+ [Native] | |
+ public enum HKAppleSleepingBreathingDisturbancesClassification : long { | |
+ NotElevated = 0, | |
+ Elevated = 1, | |
+ } | |
+} | |
diff --git a/old/dotnet/macos/generated-sources/HealthKit/HKCategoryTypeIdentifier.g.cs b/new/dotnet/macos/generated-sources/HealthKit/HKCategoryTypeIdentifier.g.cs | |
index 4301e81..ff003c1 100644 | |
--- a/old/dotnet/macos/generated-sources/HealthKit/HKCategoryTypeIdentifier.g.cs | |
+++ b/new/dotnet/macos/generated-sources/HealthKit/HKCategoryTypeIdentifier.g.cs | |
@@ -318,6 +318,10 @@ namespace HealthKit { | |
[SupportedOSPlatform ("maccatalyst18.0")] | |
[SupportedOSPlatform ("macos15.0")] | |
BleedingDuringPregnancy = 67, | |
+ [SupportedOSPlatform ("ios18.0")] | |
+ [SupportedOSPlatform ("maccatalyst18.0")] | |
+ [SupportedOSPlatform ("macos15.0")] | |
+ SleepApneaEvent = 68, | |
} | |
/// <summary>Extension methods for the <see cref="global::HealthKit.HKCategoryTypeIdentifier" /> enumeration.</summary> | |
[SupportedOSPlatform ("macos13.0")] | |
@@ -325,7 +329,7 @@ namespace HealthKit { | |
[SupportedOSPlatform ("ios")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
static public partial class HKCategoryTypeIdentifierExtensions { | |
- static IntPtr[] values = new IntPtr [68]; | |
+ static IntPtr[] values = new IntPtr [69]; | |
[Field ("HKCategoryTypeIdentifierSleepAnalysis", "HealthKit")] | |
internal unsafe static IntPtr HKCategoryTypeIdentifierSleepAnalysis { | |
get { | |
@@ -1003,6 +1007,16 @@ namespace HealthKit { | |
return Dlfcn.CachePointer (Libraries.HealthKit.Handle, "HKCategoryTypeIdentifierBleedingDuringPregnancy", storage); | |
} | |
} | |
+ [SupportedOSPlatform ("ios18.0")] | |
+ [SupportedOSPlatform ("maccatalyst18.0")] | |
+ [SupportedOSPlatform ("macos15.0")] | |
+ [Field ("HKCategoryTypeIdentifierSleepApneaEvent", "HealthKit")] | |
+ internal unsafe static IntPtr HKCategoryTypeIdentifierSleepApneaEvent { | |
+ get { | |
+ fixed (IntPtr *storage = &values [68]) | |
+ return Dlfcn.CachePointer (Libraries.HealthKit.Handle, "HKCategoryTypeIdentifierSleepApneaEvent", storage); | |
+ } | |
+ } | |
/// <summary>Retrieves the <see cref="global::Foundation.NSString" /> constant that describes <paramref name="self" />.</summary> | |
/// <param name="self">The instance on which this method operates.</param> | |
public static NSString? GetConstant (this HKCategoryTypeIdentifier self) | |
@@ -1213,6 +1227,9 @@ namespace HealthKit { | |
case 67: // HKCategoryTypeIdentifier.BleedingDuringPregnancy | |
ptr = HKCategoryTypeIdentifierBleedingDuringPregnancy; | |
break; | |
+ case 68: // HKCategoryTypeIdentifier.SleepApneaEvent | |
+ ptr = HKCategoryTypeIdentifierSleepApneaEvent; | |
+ break; | |
} | |
return (NSString?) Runtime.GetNSObject (ptr); | |
} | |
@@ -1358,6 +1375,8 @@ namespace HealthKit { | |
return HKCategoryTypeIdentifier.BleedingAfterPregnancy; | |
if (constant.IsEqualTo (HKCategoryTypeIdentifierBleedingDuringPregnancy)) | |
return HKCategoryTypeIdentifier.BleedingDuringPregnancy; | |
+ if (constant.IsEqualTo (HKCategoryTypeIdentifierSleepApneaEvent)) | |
+ return HKCategoryTypeIdentifier.SleepApneaEvent; | |
throw new NotSupportedException ($"{constant} has no associated enum value on this platform."); | |
} | |
/// <summary>Converts an array of <see cref="global::HealthKit.HKCategoryTypeIdentifier" /> enum values into an array of their corresponding constants.</summary> | |
diff --git a/old/dotnet/macos/generated-sources/HealthKit/HKQuantityTypeIdentifier.g.cs b/new/dotnet/macos/generated-sources/HealthKit/HKQuantityTypeIdentifier.g.cs | |
index 4f69fe0..e135619 100644 | |
--- a/old/dotnet/macos/generated-sources/HealthKit/HKQuantityTypeIdentifier.g.cs | |
+++ b/new/dotnet/macos/generated-sources/HealthKit/HKQuantityTypeIdentifier.g.cs | |
@@ -337,6 +337,10 @@ namespace HealthKit { | |
[SupportedOSPlatform ("maccatalyst18.0")] | |
[SupportedOSPlatform ("macos15.0")] | |
RowingSpeed = 118, | |
+ [SupportedOSPlatform ("ios18.0")] | |
+ [SupportedOSPlatform ("maccatalyst18.0")] | |
+ [SupportedOSPlatform ("macos15.0")] | |
+ AppleSleepingBreathingDisturbances = 119, | |
} | |
/// <summary>Extension methods for the <see cref="global::HealthKit.HKQuantityTypeIdentifier" /> enumeration.</summary> | |
[SupportedOSPlatform ("macos13.0")] | |
@@ -344,7 +348,7 @@ namespace HealthKit { | |
[SupportedOSPlatform ("ios")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
static public partial class HKQuantityTypeIdentifierExtensions { | |
- static IntPtr[] values = new IntPtr [119]; | |
+ static IntPtr[] values = new IntPtr [120]; | |
[Field ("HKQuantityTypeIdentifierBodyMassIndex", "HealthKit")] | |
internal unsafe static IntPtr HKQuantityTypeIdentifierBodyMassIndex { | |
get { | |
@@ -1347,6 +1351,16 @@ namespace HealthKit { | |
return Dlfcn.CachePointer (Libraries.HealthKit.Handle, "HKQuantityTypeIdentifierRowingSpeed", storage); | |
} | |
} | |
+ [SupportedOSPlatform ("ios18.0")] | |
+ [SupportedOSPlatform ("maccatalyst18.0")] | |
+ [SupportedOSPlatform ("macos15.0")] | |
+ [Field ("HKQuantityTypeIdentifierAppleSleepingBreathingDisturbances", "HealthKit")] | |
+ internal unsafe static IntPtr HKQuantityTypeIdentifierAppleSleepingBreathingDisturbances { | |
+ get { | |
+ fixed (IntPtr *storage = &values [119]) | |
+ return Dlfcn.CachePointer (Libraries.HealthKit.Handle, "HKQuantityTypeIdentifierAppleSleepingBreathingDisturbances", storage); | |
+ } | |
+ } | |
/// <summary>Retrieves the <see cref="global::Foundation.NSString" /> constant that describes <paramref name="self" />.</summary> | |
/// <param name="self">The instance on which this method operates.</param> | |
public static NSString? GetConstant (this HKQuantityTypeIdentifier self) | |
@@ -1710,6 +1724,9 @@ namespace HealthKit { | |
case 118: // HKQuantityTypeIdentifier.RowingSpeed | |
ptr = HKQuantityTypeIdentifierRowingSpeed; | |
break; | |
+ case 119: // HKQuantityTypeIdentifier.AppleSleepingBreathingDisturbances | |
+ ptr = HKQuantityTypeIdentifierAppleSleepingBreathingDisturbances; | |
+ break; | |
} | |
return (NSString?) Runtime.GetNSObject (ptr); | |
} | |
@@ -1957,6 +1974,8 @@ namespace HealthKit { | |
return HKQuantityTypeIdentifier.PaddleSportsSpeed; | |
if (constant.IsEqualTo (HKQuantityTypeIdentifierRowingSpeed)) | |
return HKQuantityTypeIdentifier.RowingSpeed; | |
+ if (constant.IsEqualTo (HKQuantityTypeIdentifierAppleSleepingBreathingDisturbances)) | |
+ return HKQuantityTypeIdentifier.AppleSleepingBreathingDisturbances; | |
throw new NotSupportedException ($"{constant} has no associated enum value on this platform."); | |
} | |
/// <summary>Converts an array of <see cref="global::HealthKit.HKQuantityTypeIdentifier" /> enum values into an array of their corresponding constants.</summary> | |
diff --git a/old/dotnet/macos/ref/Microsoft.macOS.xml b/new/dotnet/macos/ref/Microsoft.macOS.xml | |
index 903ef7a..4bc4a28 100644 | |
--- a/old/dotnet/macos/ref/Microsoft.macOS.xml | |
+++ b/new/dotnet/macos/ref/Microsoft.macOS.xml | |
@@ -159255,6 +159255,16 @@ | |
</para> | |
</remarks> | |
</member> | |
+ <member name="M:HealthKit.HKAppleSleepingBreathingDisturbances.GetClassification(HealthKit.HKQuantity)"> | |
+ <summary>Get the breathing disturbances classification for a given quantity of breathing disturbance.</summary> | |
+ <param name="value">The quantity of the breathing disturbance whose classification to get.</param> | |
+ <returns>The breathing disturbances classification for the specified breathing disturbance quantity.</returns> | |
+ </member> | |
+ <member name="M:HealthKit.HKAppleSleepingBreathingDisturbances.GetMinimumQuantity(HealthKit.HKAppleSleepingBreathingDisturbancesClassification)"> | |
+ <summary>Get the minimum quantity for a breathing disturbances classification.</summary> | |
+ <param name="classification">The classification to get the minimum quantity for.</param> | |
+ <returns>The minimum quantity for the specified breathing disturbances classification.</returns> | |
+ </member> | |
<member name="T:HealthKit.HKQuantityType"> | |
<summary>A <format type="text/html"><a href="https://docs.microsoft.com/en-us/search/index?search=T:HKSampleType&scope=Xamarin" title="T:HKSampleType">T:HKSampleType</a></format> that represents either a cumulative or discrete sample.</summary><remarks><para>Use the factory method Create to create a new instance of this type.</para><para /><example><code lang="csharp lang-csharp"><![CDATA[if (HKHealthStore.IsHealthDataAvailable) { | |
var bodyTemperature = HKQuantityType.Create (HKQuantityTypeIdentifier.BodyTemperature); | |
diff --git a/old/dotnet/projects/MacCatalyst/MacCatalyst.csproj b/new/dotnet/projects/MacCatalyst/MacCatalyst.csproj | |
index 4484aed..9b3bf67 100644 | |
--- a/old/dotnet/projects/MacCatalyst/MacCatalyst.csproj | |
+++ b/new/dotnet/projects/MacCatalyst/MacCatalyst.csproj | |
@@ -591,6 +591,7 @@ | |
<Compile Include="../../../../GameplayKit/NSArray_GameplayKit.cs" Link="sources/GameplayKit/NSArray_GameplayKit.cs"/> | |
<Compile Include="../../../../HealthKit/EnumsCompat.cs" Link="sources/HealthKit/EnumsCompat.cs"/> | |
<Compile Include="../../../../HealthKit/HKAnchoredObjectQuery.cs" Link="sources/HealthKit/HKAnchoredObjectQuery.cs"/> | |
+ <Compile Include="../../../../HealthKit/HKAppleSleepingBreathingDisturbances.cs" Link="sources/HealthKit/HKAppleSleepingBreathingDisturbances.cs"/> | |
<Compile Include="../../../../HealthKit/HKAppleWalkingSteadiness.cs" Link="sources/HealthKit/HKAppleWalkingSteadiness.cs"/> | |
<Compile Include="../../../../HealthKit/HKCategoryValueSleepAnalysisAsleep.cs" Link="sources/HealthKit/HKCategoryValueSleepAnalysisAsleep.cs"/> | |
<Compile Include="../../../../HealthKit/HKObjectType.cs" Link="sources/HealthKit/HKObjectType.cs"/> | |
diff --git a/old/dotnet/projects/iOS/iOS.csproj b/new/dotnet/projects/iOS/iOS.csproj | |
index 4c7fcf4..656dddc 100644 | |
--- a/old/dotnet/projects/iOS/iOS.csproj | |
+++ b/new/dotnet/projects/iOS/iOS.csproj | |
@@ -536,6 +536,7 @@ | |
<Compile Include="../../../../GameplayKit/NSArray_GameplayKit.cs" Link="sources/GameplayKit/NSArray_GameplayKit.cs"/> | |
<Compile Include="../../../../HealthKit/EnumsCompat.cs" Link="sources/HealthKit/EnumsCompat.cs"/> | |
<Compile Include="../../../../HealthKit/HKAnchoredObjectQuery.cs" Link="sources/HealthKit/HKAnchoredObjectQuery.cs"/> | |
+ <Compile Include="../../../../HealthKit/HKAppleSleepingBreathingDisturbances.cs" Link="sources/HealthKit/HKAppleSleepingBreathingDisturbances.cs"/> | |
<Compile Include="../../../../HealthKit/HKAppleWalkingSteadiness.cs" Link="sources/HealthKit/HKAppleWalkingSteadiness.cs"/> | |
<Compile Include="../../../../HealthKit/HKCategoryValueSleepAnalysisAsleep.cs" Link="sources/HealthKit/HKCategoryValueSleepAnalysisAsleep.cs"/> | |
<Compile Include="../../../../HealthKit/HKObjectType.cs" Link="sources/HealthKit/HKObjectType.cs"/> | |
diff --git a/old/dotnet/projects/macOS/macOS.csproj b/new/dotnet/projects/macOS/macOS.csproj | |
index c93798b..c3da33d 100644 | |
--- a/old/dotnet/projects/macOS/macOS.csproj | |
+++ b/new/dotnet/projects/macOS/macOS.csproj | |
@@ -593,6 +593,7 @@ | |
<Compile Include="../../../../GameplayKit/NSArray_GameplayKit.cs" Link="sources/GameplayKit/NSArray_GameplayKit.cs"/> | |
<Compile Include="../../../../HealthKit/EnumsCompat.cs" Link="sources/HealthKit/EnumsCompat.cs"/> | |
<Compile Include="../../../../HealthKit/HKAnchoredObjectQuery.cs" Link="sources/HealthKit/HKAnchoredObjectQuery.cs"/> | |
+ <Compile Include="../../../../HealthKit/HKAppleSleepingBreathingDisturbances.cs" Link="sources/HealthKit/HKAppleSleepingBreathingDisturbances.cs"/> | |
<Compile Include="../../../../HealthKit/HKAppleWalkingSteadiness.cs" Link="sources/HealthKit/HKAppleWalkingSteadiness.cs"/> | |
<Compile Include="../../../../HealthKit/HKCategoryValueSleepAnalysisAsleep.cs" Link="sources/HealthKit/HKCategoryValueSleepAnalysisAsleep.cs"/> | |
<Compile Include="../../../../HealthKit/HKObjectType.cs" Link="sources/HealthKit/HKObjectType.cs"/> | |
diff --git a/old/dotnet/tvos/SourceLink.json b/new/dotnet/tvos/SourceLink.json | |
index 9c0cc63..87f8fa3 100644 | |
--- a/old/dotnet/tvos/SourceLink.json | |
+++ b/new/dotnet/tvos/SourceLink.json | |
@@ -1,5 +1,5 @@ | |
{ | |
"documents": { | |
- "/Users/builder/azdo/_work/3/a/change-detection/tmp/src/xamarin-macios/src*": "https://raw.githubusercontent.com/xamarin/xamarin-macios/c34823ce1f9972509783def9ba2338284c2724e5/src*" | |
+ "/Users/builder/azdo/_work/3/s/xamarin-macios/src*": "https://raw.githubusercontent.com/xamarin/xamarin-macios/8b857a407bb0cd975bad783dbcc53d85862281b2/src*" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment