Skip to content

Instantly share code, notes, and snippets.

@vs-mobiletools-engineering-service2
Created August 14, 2025 01:44
Show Gist options
  • Select an option

  • Save vs-mobiletools-engineering-service2/2a1ef964e027f857e8a272a608913f49 to your computer and use it in GitHub Desktop.

Select an option

Save vs-mobiletools-engineering-service2/2a1ef964e027f857e8a272a608913f49 to your computer and use it in GitHub Desktop.
generator-diff/generator.diff
diff --git a/old/dotnet/IDE/obj/common/rgen/analyzer/cs/Microsoft.Macios.Bindings.Analyzer.resources.cs b/new/dotnet/IDE/obj/common/rgen/analyzer/cs/Microsoft.Macios.Bindings.Analyzer.resources.cs
index 644cb9f..e762587 100644
--- a/old/dotnet/IDE/obj/common/rgen/analyzer/cs/Microsoft.Macios.Bindings.Analyzer.resources.cs
+++ b/new/dotnet/IDE/obj/common/rgen/analyzer/cs/Microsoft.Macios.Bindings.Analyzer.resources.cs
@@ -13,7 +13,7 @@ using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("Microsoft.Macios.Bindings.Analyzer")]
[assembly: System.Reflection.AssemblyCopyrightAttribute(" ")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("0.1.0.0")]
-[assembly: System.Reflection.AssemblyInformationalVersionAttribute("0.1.0+bd7c7515cad81da20c68eb3d2de021af9b562ccd")]
+[assembly: System.Reflection.AssemblyInformationalVersionAttribute("0.1.0+9a024d33c1fb1febdba47d1f6728633be08fb841")]
[assembly: System.Reflection.AssemblyProductAttribute("Microsoft.Macios.Bindings.Analyzer")]
[assembly: System.Reflection.AssemblyTitleAttribute("Microsoft.Macios.Bindings.Analyzer")]
[assembly: System.Reflection.AssemblyVersionAttribute("0.1.0.0")]
diff --git a/old/dotnet/IDE/obj/common/rgen/analyzer/de/Microsoft.Macios.Bindings.Analyzer.resources.cs b/new/dotnet/IDE/obj/common/rgen/analyzer/de/Microsoft.Macios.Bindings.Analyzer.resources.cs
index d282ab3..7c60f23 100644
--- a/old/dotnet/IDE/obj/common/rgen/analyzer/de/Microsoft.Macios.Bindings.Analyzer.resources.cs
+++ b/new/dotnet/IDE/obj/common/rgen/analyzer/de/Microsoft.Macios.Bindings.Analyzer.resources.cs
@@ -13,7 +13,7 @@ using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("Microsoft.Macios.Bindings.Analyzer")]
[assembly: System.Reflection.AssemblyCopyrightAttribute(" ")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("0.1.0.0")]
-[assembly: System.Reflection.AssemblyInformationalVersionAttribute("0.1.0+bd7c7515cad81da20c68eb3d2de021af9b562ccd")]
+[assembly: System.Reflection.AssemblyInformationalVersionAttribute("0.1.0+9a024d33c1fb1febdba47d1f6728633be08fb841")]
[assembly: System.Reflection.AssemblyProductAttribute("Microsoft.Macios.Bindings.Analyzer")]
[assembly: System.Reflection.AssemblyTitleAttribute("Microsoft.Macios.Bindings.Analyzer")]
[assembly: System.Reflection.AssemblyVersionAttribute("0.1.0.0")]
diff --git a/old/dotnet/IDE/obj/common/rgen/analyzer/es/Microsoft.Macios.Bindings.Analyzer.resources.cs b/new/dotnet/IDE/obj/common/rgen/analyzer/es/Microsoft.Macios.Bindings.Analyzer.resources.cs
index 283cea0..e5a5827 100644
--- a/old/dotnet/IDE/obj/common/rgen/analyzer/es/Microsoft.Macios.Bindings.Analyzer.resources.cs
+++ b/new/dotnet/IDE/obj/common/rgen/analyzer/es/Microsoft.Macios.Bindings.Analyzer.resources.cs
@@ -13,7 +13,7 @@ using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("Microsoft.Macios.Bindings.Analyzer")]
[assembly: System.Reflection.AssemblyCopyrightAttribute(" ")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("0.1.0.0")]
-[assembly: System.Reflection.AssemblyInformationalVersionAttribute("0.1.0+bd7c7515cad81da20c68eb3d2de021af9b562ccd")]
+[assembly: System.Reflection.AssemblyInformationalVersionAttribute("0.1.0+9a024d33c1fb1febdba47d1f6728633be08fb841")]
[assembly: System.Reflection.AssemblyProductAttribute("Microsoft.Macios.Bindings.Analyzer")]
[assembly: System.Reflection.AssemblyTitleAttribute("Microsoft.Macios.Bindings.Analyzer")]
[assembly: System.Reflection.AssemblyVersionAttribute("0.1.0.0")]
diff --git a/old/dotnet/IDE/obj/common/rgen/analyzer/fr/Microsoft.Macios.Bindings.Analyzer.resources.cs b/new/dotnet/IDE/obj/common/rgen/analyzer/fr/Microsoft.Macios.Bindings.Analyzer.resources.cs
index b922627..f6762ef 100644
--- a/old/dotnet/IDE/obj/common/rgen/analyzer/fr/Microsoft.Macios.Bindings.Analyzer.resources.cs
+++ b/new/dotnet/IDE/obj/common/rgen/analyzer/fr/Microsoft.Macios.Bindings.Analyzer.resources.cs
@@ -13,7 +13,7 @@ using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("Microsoft.Macios.Bindings.Analyzer")]
[assembly: System.Reflection.AssemblyCopyrightAttribute(" ")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("0.1.0.0")]
-[assembly: System.Reflection.AssemblyInformationalVersionAttribute("0.1.0+bd7c7515cad81da20c68eb3d2de021af9b562ccd")]
+[assembly: System.Reflection.AssemblyInformationalVersionAttribute("0.1.0+9a024d33c1fb1febdba47d1f6728633be08fb841")]
[assembly: System.Reflection.AssemblyProductAttribute("Microsoft.Macios.Bindings.Analyzer")]
[assembly: System.Reflection.AssemblyTitleAttribute("Microsoft.Macios.Bindings.Analyzer")]
[assembly: System.Reflection.AssemblyVersionAttribute("0.1.0.0")]
diff --git a/old/dotnet/IDE/obj/common/rgen/analyzer/it/Microsoft.Macios.Bindings.Analyzer.resources.cs b/new/dotnet/IDE/obj/common/rgen/analyzer/it/Microsoft.Macios.Bindings.Analyzer.resources.cs
index cd7641a..757f5a5 100644
--- a/old/dotnet/IDE/obj/common/rgen/analyzer/it/Microsoft.Macios.Bindings.Analyzer.resources.cs
+++ b/new/dotnet/IDE/obj/common/rgen/analyzer/it/Microsoft.Macios.Bindings.Analyzer.resources.cs
@@ -13,7 +13,7 @@ using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("Microsoft.Macios.Bindings.Analyzer")]
[assembly: System.Reflection.AssemblyCopyrightAttribute(" ")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("0.1.0.0")]
-[assembly: System.Reflection.AssemblyInformationalVersionAttribute("0.1.0+bd7c7515cad81da20c68eb3d2de021af9b562ccd")]
+[assembly: System.Reflection.AssemblyInformationalVersionAttribute("0.1.0+9a024d33c1fb1febdba47d1f6728633be08fb841")]
[assembly: System.Reflection.AssemblyProductAttribute("Microsoft.Macios.Bindings.Analyzer")]
[assembly: System.Reflection.AssemblyTitleAttribute("Microsoft.Macios.Bindings.Analyzer")]
[assembly: System.Reflection.AssemblyVersionAttribute("0.1.0.0")]
diff --git a/old/dotnet/IDE/obj/common/rgen/analyzer/ja/Microsoft.Macios.Bindings.Analyzer.resources.cs b/new/dotnet/IDE/obj/common/rgen/analyzer/ja/Microsoft.Macios.Bindings.Analyzer.resources.cs
index c2d0837..5673214 100644
--- a/old/dotnet/IDE/obj/common/rgen/analyzer/ja/Microsoft.Macios.Bindings.Analyzer.resources.cs
+++ b/new/dotnet/IDE/obj/common/rgen/analyzer/ja/Microsoft.Macios.Bindings.Analyzer.resources.cs
@@ -13,7 +13,7 @@ using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("Microsoft.Macios.Bindings.Analyzer")]
[assembly: System.Reflection.AssemblyCopyrightAttribute(" ")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("0.1.0.0")]
-[assembly: System.Reflection.AssemblyInformationalVersionAttribute("0.1.0+bd7c7515cad81da20c68eb3d2de021af9b562ccd")]
+[assembly: System.Reflection.AssemblyInformationalVersionAttribute("0.1.0+9a024d33c1fb1febdba47d1f6728633be08fb841")]
[assembly: System.Reflection.AssemblyProductAttribute("Microsoft.Macios.Bindings.Analyzer")]
[assembly: System.Reflection.AssemblyTitleAttribute("Microsoft.Macios.Bindings.Analyzer")]
[assembly: System.Reflection.AssemblyVersionAttribute("0.1.0.0")]
diff --git a/old/dotnet/IDE/obj/common/rgen/analyzer/ko/Microsoft.Macios.Bindings.Analyzer.resources.cs b/new/dotnet/IDE/obj/common/rgen/analyzer/ko/Microsoft.Macios.Bindings.Analyzer.resources.cs
index ee5dc86..4aa4775 100644
--- a/old/dotnet/IDE/obj/common/rgen/analyzer/ko/Microsoft.Macios.Bindings.Analyzer.resources.cs
+++ b/new/dotnet/IDE/obj/common/rgen/analyzer/ko/Microsoft.Macios.Bindings.Analyzer.resources.cs
@@ -13,7 +13,7 @@ using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("Microsoft.Macios.Bindings.Analyzer")]
[assembly: System.Reflection.AssemblyCopyrightAttribute(" ")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("0.1.0.0")]
-[assembly: System.Reflection.AssemblyInformationalVersionAttribute("0.1.0+bd7c7515cad81da20c68eb3d2de021af9b562ccd")]
+[assembly: System.Reflection.AssemblyInformationalVersionAttribute("0.1.0+9a024d33c1fb1febdba47d1f6728633be08fb841")]
[assembly: System.Reflection.AssemblyProductAttribute("Microsoft.Macios.Bindings.Analyzer")]
[assembly: System.Reflection.AssemblyTitleAttribute("Microsoft.Macios.Bindings.Analyzer")]
[assembly: System.Reflection.AssemblyVersionAttribute("0.1.0.0")]
diff --git a/old/dotnet/IDE/obj/common/rgen/analyzer/pl/Microsoft.Macios.Bindings.Analyzer.resources.cs b/new/dotnet/IDE/obj/common/rgen/analyzer/pl/Microsoft.Macios.Bindings.Analyzer.resources.cs
index 486235e..8331708 100644
--- a/old/dotnet/IDE/obj/common/rgen/analyzer/pl/Microsoft.Macios.Bindings.Analyzer.resources.cs
+++ b/new/dotnet/IDE/obj/common/rgen/analyzer/pl/Microsoft.Macios.Bindings.Analyzer.resources.cs
@@ -13,7 +13,7 @@ using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("Microsoft.Macios.Bindings.Analyzer")]
[assembly: System.Reflection.AssemblyCopyrightAttribute(" ")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("0.1.0.0")]
-[assembly: System.Reflection.AssemblyInformationalVersionAttribute("0.1.0+bd7c7515cad81da20c68eb3d2de021af9b562ccd")]
+[assembly: System.Reflection.AssemblyInformationalVersionAttribute("0.1.0+9a024d33c1fb1febdba47d1f6728633be08fb841")]
[assembly: System.Reflection.AssemblyProductAttribute("Microsoft.Macios.Bindings.Analyzer")]
[assembly: System.Reflection.AssemblyTitleAttribute("Microsoft.Macios.Bindings.Analyzer")]
[assembly: System.Reflection.AssemblyVersionAttribute("0.1.0.0")]
diff --git a/old/dotnet/IDE/obj/common/rgen/analyzer/pt-BR/Microsoft.Macios.Bindings.Analyzer.resources.cs b/new/dotnet/IDE/obj/common/rgen/analyzer/pt-BR/Microsoft.Macios.Bindings.Analyzer.resources.cs
index da60a60..ac13e36 100644
--- a/old/dotnet/IDE/obj/common/rgen/analyzer/pt-BR/Microsoft.Macios.Bindings.Analyzer.resources.cs
+++ b/new/dotnet/IDE/obj/common/rgen/analyzer/pt-BR/Microsoft.Macios.Bindings.Analyzer.resources.cs
@@ -13,7 +13,7 @@ using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("Microsoft.Macios.Bindings.Analyzer")]
[assembly: System.Reflection.AssemblyCopyrightAttribute(" ")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("0.1.0.0")]
-[assembly: System.Reflection.AssemblyInformationalVersionAttribute("0.1.0+bd7c7515cad81da20c68eb3d2de021af9b562ccd")]
+[assembly: System.Reflection.AssemblyInformationalVersionAttribute("0.1.0+9a024d33c1fb1febdba47d1f6728633be08fb841")]
[assembly: System.Reflection.AssemblyProductAttribute("Microsoft.Macios.Bindings.Analyzer")]
[assembly: System.Reflection.AssemblyTitleAttribute("Microsoft.Macios.Bindings.Analyzer")]
[assembly: System.Reflection.AssemblyVersionAttribute("0.1.0.0")]
diff --git a/old/dotnet/IDE/obj/common/rgen/analyzer/ru/Microsoft.Macios.Bindings.Analyzer.resources.cs b/new/dotnet/IDE/obj/common/rgen/analyzer/ru/Microsoft.Macios.Bindings.Analyzer.resources.cs
index 055ccf1..c828a4a 100644
--- a/old/dotnet/IDE/obj/common/rgen/analyzer/ru/Microsoft.Macios.Bindings.Analyzer.resources.cs
+++ b/new/dotnet/IDE/obj/common/rgen/analyzer/ru/Microsoft.Macios.Bindings.Analyzer.resources.cs
@@ -13,7 +13,7 @@ using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("Microsoft.Macios.Bindings.Analyzer")]
[assembly: System.Reflection.AssemblyCopyrightAttribute(" ")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("0.1.0.0")]
-[assembly: System.Reflection.AssemblyInformationalVersionAttribute("0.1.0+bd7c7515cad81da20c68eb3d2de021af9b562ccd")]
+[assembly: System.Reflection.AssemblyInformationalVersionAttribute("0.1.0+9a024d33c1fb1febdba47d1f6728633be08fb841")]
[assembly: System.Reflection.AssemblyProductAttribute("Microsoft.Macios.Bindings.Analyzer")]
[assembly: System.Reflection.AssemblyTitleAttribute("Microsoft.Macios.Bindings.Analyzer")]
[assembly: System.Reflection.AssemblyVersionAttribute("0.1.0.0")]
diff --git a/old/dotnet/IDE/obj/common/rgen/analyzer/tr/Microsoft.Macios.Bindings.Analyzer.resources.cs b/new/dotnet/IDE/obj/common/rgen/analyzer/tr/Microsoft.Macios.Bindings.Analyzer.resources.cs
index 8126f32..a3ee07d 100644
--- a/old/dotnet/IDE/obj/common/rgen/analyzer/tr/Microsoft.Macios.Bindings.Analyzer.resources.cs
+++ b/new/dotnet/IDE/obj/common/rgen/analyzer/tr/Microsoft.Macios.Bindings.Analyzer.resources.cs
@@ -13,7 +13,7 @@ using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("Microsoft.Macios.Bindings.Analyzer")]
[assembly: System.Reflection.AssemblyCopyrightAttribute(" ")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("0.1.0.0")]
-[assembly: System.Reflection.AssemblyInformationalVersionAttribute("0.1.0+bd7c7515cad81da20c68eb3d2de021af9b562ccd")]
+[assembly: System.Reflection.AssemblyInformationalVersionAttribute("0.1.0+9a024d33c1fb1febdba47d1f6728633be08fb841")]
[assembly: System.Reflection.AssemblyProductAttribute("Microsoft.Macios.Bindings.Analyzer")]
[assembly: System.Reflection.AssemblyTitleAttribute("Microsoft.Macios.Bindings.Analyzer")]
[assembly: System.Reflection.AssemblyVersionAttribute("0.1.0.0")]
diff --git a/old/dotnet/IDE/obj/common/rgen/analyzer/zh-Hans/Microsoft.Macios.Bindings.Analyzer.resources.cs b/new/dotnet/IDE/obj/common/rgen/analyzer/zh-Hans/Microsoft.Macios.Bindings.Analyzer.resources.cs
index 6d86d80..3e13f8b 100644
--- a/old/dotnet/IDE/obj/common/rgen/analyzer/zh-Hans/Microsoft.Macios.Bindings.Analyzer.resources.cs
+++ b/new/dotnet/IDE/obj/common/rgen/analyzer/zh-Hans/Microsoft.Macios.Bindings.Analyzer.resources.cs
@@ -13,7 +13,7 @@ using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("Microsoft.Macios.Bindings.Analyzer")]
[assembly: System.Reflection.AssemblyCopyrightAttribute(" ")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("0.1.0.0")]
-[assembly: System.Reflection.AssemblyInformationalVersionAttribute("0.1.0+bd7c7515cad81da20c68eb3d2de021af9b562ccd")]
+[assembly: System.Reflection.AssemblyInformationalVersionAttribute("0.1.0+9a024d33c1fb1febdba47d1f6728633be08fb841")]
[assembly: System.Reflection.AssemblyProductAttribute("Microsoft.Macios.Bindings.Analyzer")]
[assembly: System.Reflection.AssemblyTitleAttribute("Microsoft.Macios.Bindings.Analyzer")]
[assembly: System.Reflection.AssemblyVersionAttribute("0.1.0.0")]
diff --git a/old/dotnet/IDE/obj/common/rgen/analyzer/zh-Hant/Microsoft.Macios.Bindings.Analyzer.resources.cs b/new/dotnet/IDE/obj/common/rgen/analyzer/zh-Hant/Microsoft.Macios.Bindings.Analyzer.resources.cs
index 8841da6..e2165a5 100644
--- a/old/dotnet/IDE/obj/common/rgen/analyzer/zh-Hant/Microsoft.Macios.Bindings.Analyzer.resources.cs
+++ b/new/dotnet/IDE/obj/common/rgen/analyzer/zh-Hant/Microsoft.Macios.Bindings.Analyzer.resources.cs
@@ -13,7 +13,7 @@ using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("Microsoft.Macios.Bindings.Analyzer")]
[assembly: System.Reflection.AssemblyCopyrightAttribute(" ")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("0.1.0.0")]
-[assembly: System.Reflection.AssemblyInformationalVersionAttribute("0.1.0+bd7c7515cad81da20c68eb3d2de021af9b562ccd")]
+[assembly: System.Reflection.AssemblyInformationalVersionAttribute("0.1.0+9a024d33c1fb1febdba47d1f6728633be08fb841")]
[assembly: System.Reflection.AssemblyProductAttribute("Microsoft.Macios.Bindings.Analyzer")]
[assembly: System.Reflection.AssemblyTitleAttribute("Microsoft.Macios.Bindings.Analyzer")]
[assembly: System.Reflection.AssemblyVersionAttribute("0.1.0.0")]
diff --git a/old/dotnet/IDE/obj/common/rgen/generator/cs/Microsoft.Macios.Generator.resources.cs b/new/dotnet/IDE/obj/common/rgen/generator/cs/Microsoft.Macios.Generator.resources.cs
index adf16b7..1078cbf 100644
--- a/old/dotnet/IDE/obj/common/rgen/generator/cs/Microsoft.Macios.Generator.resources.cs
+++ b/new/dotnet/IDE/obj/common/rgen/generator/cs/Microsoft.Macios.Generator.resources.cs
@@ -13,7 +13,7 @@ using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("Microsoft.Macios.Generator")]
[assembly: System.Reflection.AssemblyCopyrightAttribute(" ")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("0.1.0.0")]
-[assembly: System.Reflection.AssemblyInformationalVersionAttribute("0.1.0+bd7c7515cad81da20c68eb3d2de021af9b562ccd")]
+[assembly: System.Reflection.AssemblyInformationalVersionAttribute("0.1.0+9a024d33c1fb1febdba47d1f6728633be08fb841")]
[assembly: System.Reflection.AssemblyProductAttribute("Microsoft.Macios.Generator")]
[assembly: System.Reflection.AssemblyTitleAttribute("Microsoft.Macios.Generator")]
[assembly: System.Reflection.AssemblyVersionAttribute("0.1.0.0")]
diff --git a/old/dotnet/IDE/obj/common/rgen/generator/de/Microsoft.Macios.Generator.resources.cs b/new/dotnet/IDE/obj/common/rgen/generator/de/Microsoft.Macios.Generator.resources.cs
index 3964274..ec85ded 100644
--- a/old/dotnet/IDE/obj/common/rgen/generator/de/Microsoft.Macios.Generator.resources.cs
+++ b/new/dotnet/IDE/obj/common/rgen/generator/de/Microsoft.Macios.Generator.resources.cs
@@ -13,7 +13,7 @@ using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("Microsoft.Macios.Generator")]
[assembly: System.Reflection.AssemblyCopyrightAttribute(" ")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("0.1.0.0")]
-[assembly: System.Reflection.AssemblyInformationalVersionAttribute("0.1.0+bd7c7515cad81da20c68eb3d2de021af9b562ccd")]
+[assembly: System.Reflection.AssemblyInformationalVersionAttribute("0.1.0+9a024d33c1fb1febdba47d1f6728633be08fb841")]
[assembly: System.Reflection.AssemblyProductAttribute("Microsoft.Macios.Generator")]
[assembly: System.Reflection.AssemblyTitleAttribute("Microsoft.Macios.Generator")]
[assembly: System.Reflection.AssemblyVersionAttribute("0.1.0.0")]
diff --git a/old/dotnet/IDE/obj/common/rgen/generator/es/Microsoft.Macios.Generator.resources.cs b/new/dotnet/IDE/obj/common/rgen/generator/es/Microsoft.Macios.Generator.resources.cs
index 6c42224..431207e 100644
--- a/old/dotnet/IDE/obj/common/rgen/generator/es/Microsoft.Macios.Generator.resources.cs
+++ b/new/dotnet/IDE/obj/common/rgen/generator/es/Microsoft.Macios.Generator.resources.cs
@@ -13,7 +13,7 @@ using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("Microsoft.Macios.Generator")]
[assembly: System.Reflection.AssemblyCopyrightAttribute(" ")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("0.1.0.0")]
-[assembly: System.Reflection.AssemblyInformationalVersionAttribute("0.1.0+bd7c7515cad81da20c68eb3d2de021af9b562ccd")]
+[assembly: System.Reflection.AssemblyInformationalVersionAttribute("0.1.0+9a024d33c1fb1febdba47d1f6728633be08fb841")]
[assembly: System.Reflection.AssemblyProductAttribute("Microsoft.Macios.Generator")]
[assembly: System.Reflection.AssemblyTitleAttribute("Microsoft.Macios.Generator")]
[assembly: System.Reflection.AssemblyVersionAttribute("0.1.0.0")]
diff --git a/old/dotnet/IDE/obj/common/rgen/generator/fr/Microsoft.Macios.Generator.resources.cs b/new/dotnet/IDE/obj/common/rgen/generator/fr/Microsoft.Macios.Generator.resources.cs
index 0913934..f58232a 100644
--- a/old/dotnet/IDE/obj/common/rgen/generator/fr/Microsoft.Macios.Generator.resources.cs
+++ b/new/dotnet/IDE/obj/common/rgen/generator/fr/Microsoft.Macios.Generator.resources.cs
@@ -13,7 +13,7 @@ using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("Microsoft.Macios.Generator")]
[assembly: System.Reflection.AssemblyCopyrightAttribute(" ")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("0.1.0.0")]
-[assembly: System.Reflection.AssemblyInformationalVersionAttribute("0.1.0+bd7c7515cad81da20c68eb3d2de021af9b562ccd")]
+[assembly: System.Reflection.AssemblyInformationalVersionAttribute("0.1.0+9a024d33c1fb1febdba47d1f6728633be08fb841")]
[assembly: System.Reflection.AssemblyProductAttribute("Microsoft.Macios.Generator")]
[assembly: System.Reflection.AssemblyTitleAttribute("Microsoft.Macios.Generator")]
[assembly: System.Reflection.AssemblyVersionAttribute("0.1.0.0")]
diff --git a/old/dotnet/IDE/obj/common/rgen/generator/it/Microsoft.Macios.Generator.resources.cs b/new/dotnet/IDE/obj/common/rgen/generator/it/Microsoft.Macios.Generator.resources.cs
index c62b08a..a12f5bc 100644
--- a/old/dotnet/IDE/obj/common/rgen/generator/it/Microsoft.Macios.Generator.resources.cs
+++ b/new/dotnet/IDE/obj/common/rgen/generator/it/Microsoft.Macios.Generator.resources.cs
@@ -13,7 +13,7 @@ using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("Microsoft.Macios.Generator")]
[assembly: System.Reflection.AssemblyCopyrightAttribute(" ")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("0.1.0.0")]
-[assembly: System.Reflection.AssemblyInformationalVersionAttribute("0.1.0+bd7c7515cad81da20c68eb3d2de021af9b562ccd")]
+[assembly: System.Reflection.AssemblyInformationalVersionAttribute("0.1.0+9a024d33c1fb1febdba47d1f6728633be08fb841")]
[assembly: System.Reflection.AssemblyProductAttribute("Microsoft.Macios.Generator")]
[assembly: System.Reflection.AssemblyTitleAttribute("Microsoft.Macios.Generator")]
[assembly: System.Reflection.AssemblyVersionAttribute("0.1.0.0")]
diff --git a/old/dotnet/IDE/obj/common/rgen/generator/ja/Microsoft.Macios.Generator.resources.cs b/new/dotnet/IDE/obj/common/rgen/generator/ja/Microsoft.Macios.Generator.resources.cs
index 43e9f41..fbdc7d1 100644
--- a/old/dotnet/IDE/obj/common/rgen/generator/ja/Microsoft.Macios.Generator.resources.cs
+++ b/new/dotnet/IDE/obj/common/rgen/generator/ja/Microsoft.Macios.Generator.resources.cs
@@ -13,7 +13,7 @@ using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("Microsoft.Macios.Generator")]
[assembly: System.Reflection.AssemblyCopyrightAttribute(" ")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("0.1.0.0")]
-[assembly: System.Reflection.AssemblyInformationalVersionAttribute("0.1.0+bd7c7515cad81da20c68eb3d2de021af9b562ccd")]
+[assembly: System.Reflection.AssemblyInformationalVersionAttribute("0.1.0+9a024d33c1fb1febdba47d1f6728633be08fb841")]
[assembly: System.Reflection.AssemblyProductAttribute("Microsoft.Macios.Generator")]
[assembly: System.Reflection.AssemblyTitleAttribute("Microsoft.Macios.Generator")]
[assembly: System.Reflection.AssemblyVersionAttribute("0.1.0.0")]
diff --git a/old/dotnet/IDE/obj/common/rgen/generator/ko/Microsoft.Macios.Generator.resources.cs b/new/dotnet/IDE/obj/common/rgen/generator/ko/Microsoft.Macios.Generator.resources.cs
index 9c79f82..a41aec3 100644
--- a/old/dotnet/IDE/obj/common/rgen/generator/ko/Microsoft.Macios.Generator.resources.cs
+++ b/new/dotnet/IDE/obj/common/rgen/generator/ko/Microsoft.Macios.Generator.resources.cs
@@ -13,7 +13,7 @@ using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("Microsoft.Macios.Generator")]
[assembly: System.Reflection.AssemblyCopyrightAttribute(" ")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("0.1.0.0")]
-[assembly: System.Reflection.AssemblyInformationalVersionAttribute("0.1.0+bd7c7515cad81da20c68eb3d2de021af9b562ccd")]
+[assembly: System.Reflection.AssemblyInformationalVersionAttribute("0.1.0+9a024d33c1fb1febdba47d1f6728633be08fb841")]
[assembly: System.Reflection.AssemblyProductAttribute("Microsoft.Macios.Generator")]
[assembly: System.Reflection.AssemblyTitleAttribute("Microsoft.Macios.Generator")]
[assembly: System.Reflection.AssemblyVersionAttribute("0.1.0.0")]
diff --git a/old/dotnet/IDE/obj/common/rgen/generator/pl/Microsoft.Macios.Generator.resources.cs b/new/dotnet/IDE/obj/common/rgen/generator/pl/Microsoft.Macios.Generator.resources.cs
index 0cc4865..2121feb 100644
--- a/old/dotnet/IDE/obj/common/rgen/generator/pl/Microsoft.Macios.Generator.resources.cs
+++ b/new/dotnet/IDE/obj/common/rgen/generator/pl/Microsoft.Macios.Generator.resources.cs
@@ -13,7 +13,7 @@ using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("Microsoft.Macios.Generator")]
[assembly: System.Reflection.AssemblyCopyrightAttribute(" ")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("0.1.0.0")]
-[assembly: System.Reflection.AssemblyInformationalVersionAttribute("0.1.0+bd7c7515cad81da20c68eb3d2de021af9b562ccd")]
+[assembly: System.Reflection.AssemblyInformationalVersionAttribute("0.1.0+9a024d33c1fb1febdba47d1f6728633be08fb841")]
[assembly: System.Reflection.AssemblyProductAttribute("Microsoft.Macios.Generator")]
[assembly: System.Reflection.AssemblyTitleAttribute("Microsoft.Macios.Generator")]
[assembly: System.Reflection.AssemblyVersionAttribute("0.1.0.0")]
diff --git a/old/dotnet/IDE/obj/common/rgen/generator/pt-BR/Microsoft.Macios.Generator.resources.cs b/new/dotnet/IDE/obj/common/rgen/generator/pt-BR/Microsoft.Macios.Generator.resources.cs
index d63e6e2..16a21e8 100644
--- a/old/dotnet/IDE/obj/common/rgen/generator/pt-BR/Microsoft.Macios.Generator.resources.cs
+++ b/new/dotnet/IDE/obj/common/rgen/generator/pt-BR/Microsoft.Macios.Generator.resources.cs
@@ -13,7 +13,7 @@ using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("Microsoft.Macios.Generator")]
[assembly: System.Reflection.AssemblyCopyrightAttribute(" ")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("0.1.0.0")]
-[assembly: System.Reflection.AssemblyInformationalVersionAttribute("0.1.0+bd7c7515cad81da20c68eb3d2de021af9b562ccd")]
+[assembly: System.Reflection.AssemblyInformationalVersionAttribute("0.1.0+9a024d33c1fb1febdba47d1f6728633be08fb841")]
[assembly: System.Reflection.AssemblyProductAttribute("Microsoft.Macios.Generator")]
[assembly: System.Reflection.AssemblyTitleAttribute("Microsoft.Macios.Generator")]
[assembly: System.Reflection.AssemblyVersionAttribute("0.1.0.0")]
diff --git a/old/dotnet/IDE/obj/common/rgen/generator/ru/Microsoft.Macios.Generator.resources.cs b/new/dotnet/IDE/obj/common/rgen/generator/ru/Microsoft.Macios.Generator.resources.cs
index 3baf89a..739b8aa 100644
--- a/old/dotnet/IDE/obj/common/rgen/generator/ru/Microsoft.Macios.Generator.resources.cs
+++ b/new/dotnet/IDE/obj/common/rgen/generator/ru/Microsoft.Macios.Generator.resources.cs
@@ -13,7 +13,7 @@ using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("Microsoft.Macios.Generator")]
[assembly: System.Reflection.AssemblyCopyrightAttribute(" ")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("0.1.0.0")]
-[assembly: System.Reflection.AssemblyInformationalVersionAttribute("0.1.0+bd7c7515cad81da20c68eb3d2de021af9b562ccd")]
+[assembly: System.Reflection.AssemblyInformationalVersionAttribute("0.1.0+9a024d33c1fb1febdba47d1f6728633be08fb841")]
[assembly: System.Reflection.AssemblyProductAttribute("Microsoft.Macios.Generator")]
[assembly: System.Reflection.AssemblyTitleAttribute("Microsoft.Macios.Generator")]
[assembly: System.Reflection.AssemblyVersionAttribute("0.1.0.0")]
diff --git a/old/dotnet/IDE/obj/common/rgen/generator/tr/Microsoft.Macios.Generator.resources.cs b/new/dotnet/IDE/obj/common/rgen/generator/tr/Microsoft.Macios.Generator.resources.cs
index 593955f..b50f5cb 100644
--- a/old/dotnet/IDE/obj/common/rgen/generator/tr/Microsoft.Macios.Generator.resources.cs
+++ b/new/dotnet/IDE/obj/common/rgen/generator/tr/Microsoft.Macios.Generator.resources.cs
@@ -13,7 +13,7 @@ using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("Microsoft.Macios.Generator")]
[assembly: System.Reflection.AssemblyCopyrightAttribute(" ")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("0.1.0.0")]
-[assembly: System.Reflection.AssemblyInformationalVersionAttribute("0.1.0+bd7c7515cad81da20c68eb3d2de021af9b562ccd")]
+[assembly: System.Reflection.AssemblyInformationalVersionAttribute("0.1.0+9a024d33c1fb1febdba47d1f6728633be08fb841")]
[assembly: System.Reflection.AssemblyProductAttribute("Microsoft.Macios.Generator")]
[assembly: System.Reflection.AssemblyTitleAttribute("Microsoft.Macios.Generator")]
[assembly: System.Reflection.AssemblyVersionAttribute("0.1.0.0")]
diff --git a/old/dotnet/IDE/obj/common/rgen/generator/zh-Hans/Microsoft.Macios.Generator.resources.cs b/new/dotnet/IDE/obj/common/rgen/generator/zh-Hans/Microsoft.Macios.Generator.resources.cs
index 55756b3..d9b3828 100644
--- a/old/dotnet/IDE/obj/common/rgen/generator/zh-Hans/Microsoft.Macios.Generator.resources.cs
+++ b/new/dotnet/IDE/obj/common/rgen/generator/zh-Hans/Microsoft.Macios.Generator.resources.cs
@@ -13,7 +13,7 @@ using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("Microsoft.Macios.Generator")]
[assembly: System.Reflection.AssemblyCopyrightAttribute(" ")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("0.1.0.0")]
-[assembly: System.Reflection.AssemblyInformationalVersionAttribute("0.1.0+bd7c7515cad81da20c68eb3d2de021af9b562ccd")]
+[assembly: System.Reflection.AssemblyInformationalVersionAttribute("0.1.0+9a024d33c1fb1febdba47d1f6728633be08fb841")]
[assembly: System.Reflection.AssemblyProductAttribute("Microsoft.Macios.Generator")]
[assembly: System.Reflection.AssemblyTitleAttribute("Microsoft.Macios.Generator")]
[assembly: System.Reflection.AssemblyVersionAttribute("0.1.0.0")]
diff --git a/old/dotnet/IDE/obj/common/rgen/generator/zh-Hant/Microsoft.Macios.Generator.resources.cs b/new/dotnet/IDE/obj/common/rgen/generator/zh-Hant/Microsoft.Macios.Generator.resources.cs
index a4b04cb..01aeac6 100644
--- a/old/dotnet/IDE/obj/common/rgen/generator/zh-Hant/Microsoft.Macios.Generator.resources.cs
+++ b/new/dotnet/IDE/obj/common/rgen/generator/zh-Hant/Microsoft.Macios.Generator.resources.cs
@@ -13,7 +13,7 @@ using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("Microsoft.Macios.Generator")]
[assembly: System.Reflection.AssemblyCopyrightAttribute(" ")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("0.1.0.0")]
-[assembly: System.Reflection.AssemblyInformationalVersionAttribute("0.1.0+bd7c7515cad81da20c68eb3d2de021af9b562ccd")]
+[assembly: System.Reflection.AssemblyInformationalVersionAttribute("0.1.0+9a024d33c1fb1febdba47d1f6728633be08fb841")]
[assembly: System.Reflection.AssemblyProductAttribute("Microsoft.Macios.Generator")]
[assembly: System.Reflection.AssemblyTitleAttribute("Microsoft.Macios.Generator")]
[assembly: System.Reflection.AssemblyVersionAttribute("0.1.0.0")]
diff --git a/old/dotnet/ios/doc/Microsoft.iOS.xml b/new/dotnet/ios/doc/Microsoft.iOS.xml
index 5ece73c..f832b0c 100644
--- a/old/dotnet/ios/doc/Microsoft.iOS.xml
+++ b/new/dotnet/ios/doc/Microsoft.iOS.xml
@@ -552149,6 +552149,426 @@ Console.WriteLine ("The password for the account is: {0}", password);
<summary>Converts an array of <see cref="T:Foundation.NSString" /> values into an array of their corresponding enum values.</summary>
<param name="values">The array if <see cref="T:Foundation.NSString" /> values to convert.</param>
</member>
+ <member name="P:SensorKit.SRAcousticSettings.ClassHandle">
+ <summary>The Objective-C class handle for this class.</summary>
+ <value>The pointer to the Objective-C class.</value>
+ <remarks>
+ Each managed class mirrors an unmanaged Objective-C class.
+ This value contains the pointer to the Objective-C class.
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ </remarks>
+ </member>
+ <member name="M:SensorKit.SRAcousticSettings.#ctor(Foundation.NSCoder)">
+ <summary>A constructor that initializes the object from the data stored in the unarchiver object.</summary>
+ <param name="coder">The unarchiver object.</param>
+ <remarks>
+ <para>This constructor is provided to allow the class to be initialized from an unarchiver (for example, during NIB deserialization). This is part of the <see cref="T:Foundation.NSCoding" /> protocol.</para>
+ <para>If developers want to create a subclass of this object and continue to support deserialization from an archive, they should implement a constructor with an identical signature: taking a single parameter of type <see cref="T:Foundation.NSCoder" /> and decorate it with the <c>[Export("initWithCoder:"]</c> attribute.</para>
+ <para>The state of this object can also be serialized by using the <see cref="M:Foundation.INSCoding.EncodeTo(Foundation.NSCoder)" /> companion method.</para>
+ </remarks>
+ </member>
+ <member name="M:SensorKit.SRAcousticSettings.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (CGRect frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:SensorKit.SRAcousticSettings.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
+ <member name="M:SensorKit.SRAcousticSettings.Copy(Foundation.NSZone)">
+ <param name="zone">Developers should pass <see langword="null" />. Memory zones are no longer used.</param><summary>Performs a copy of the underlying Objective-C object.</summary><returns>The newly-allocated object.</returns><remarks><para>This method performs a "shallow copy" of <see langword="this" />. If this object contains references to external objects, the new object will contain references to the same object.</para></remarks>
+ </member>
+ <member name="M:SensorKit.SRAcousticSettings.EncodeTo(Foundation.NSCoder)">
+ <summary>Encodes the state of the object using the provided encoder.</summary><param name="encoder">The encoder object where the state of the object will be stored</param><remarks><para>This method is part of the <see cref="T:Foundation.INSCoding" /> protocol and is used by applications to preserve the state of the object into an archive.</para><para>Developers will typically create an <see cref="T:Foundation.NSKeyedArchiver" /> and then invoke the <see cref="M:Foundation.NSKeyedArchiver.ArchiveRootObjectToFile(Foundation.NSObject,System.String)" /> method which will call into this method.</para><para>If developers want to allow their object to be archived, they should override this method and store their state in using the provided <paramref name="encoder" /> parameter. In addition, developers should also implement a constructor that takes an NSCoder argument and is exported with <c>[Export ("initWithCoder:")]</c>.</para><example><code lang="csharp lang-csharp"><![CDATA[public void override EncodeTo (NSCoder coder) {
+ coder.Encode (1, key: "version");
+ coder.Encode (userName, key: "userName");
+ coder.Encode (hostName, key: "hostName");]]></code></example></remarks>
+ </member>
+ <member name="P:SensorKit.SRAcousticSettingsAccessibility.ClassHandle">
+ <summary>The Objective-C class handle for this class.</summary>
+ <value>The pointer to the Objective-C class.</value>
+ <remarks>
+ Each managed class mirrors an unmanaged Objective-C class.
+ This value contains the pointer to the Objective-C class.
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ </remarks>
+ </member>
+ <member name="M:SensorKit.SRAcousticSettingsAccessibility.#ctor(Foundation.NSCoder)">
+ <summary>A constructor that initializes the object from the data stored in the unarchiver object.</summary>
+ <param name="coder">The unarchiver object.</param>
+ <remarks>
+ <para>This constructor is provided to allow the class to be initialized from an unarchiver (for example, during NIB deserialization). This is part of the <see cref="T:Foundation.NSCoding" /> protocol.</para>
+ <para>If developers want to create a subclass of this object and continue to support deserialization from an archive, they should implement a constructor with an identical signature: taking a single parameter of type <see cref="T:Foundation.NSCoder" /> and decorate it with the <c>[Export("initWithCoder:"]</c> attribute.</para>
+ <para>The state of this object can also be serialized by using the <see cref="M:Foundation.INSCoding.EncodeTo(Foundation.NSCoder)" /> companion method.</para>
+ </remarks>
+ </member>
+ <member name="M:SensorKit.SRAcousticSettingsAccessibility.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (CGRect frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:SensorKit.SRAcousticSettingsAccessibility.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
+ <member name="M:SensorKit.SRAcousticSettingsAccessibility.Copy(Foundation.NSZone)">
+ <param name="zone">Developers should pass <see langword="null" />. Memory zones are no longer used.</param><summary>Performs a copy of the underlying Objective-C object.</summary><returns>The newly-allocated object.</returns><remarks><para>This method performs a "shallow copy" of <see langword="this" />. If this object contains references to external objects, the new object will contain references to the same object.</para></remarks>
+ </member>
+ <member name="M:SensorKit.SRAcousticSettingsAccessibility.EncodeTo(Foundation.NSCoder)">
+ <summary>Encodes the state of the object using the provided encoder.</summary><param name="encoder">The encoder object where the state of the object will be stored</param><remarks><para>This method is part of the <see cref="T:Foundation.INSCoding" /> protocol and is used by applications to preserve the state of the object into an archive.</para><para>Developers will typically create an <see cref="T:Foundation.NSKeyedArchiver" /> and then invoke the <see cref="M:Foundation.NSKeyedArchiver.ArchiveRootObjectToFile(Foundation.NSObject,System.String)" /> method which will call into this method.</para><para>If developers want to allow their object to be archived, they should override this method and store their state in using the provided <paramref name="encoder" /> parameter. In addition, developers should also implement a constructor that takes an NSCoder argument and is exported with <c>[Export ("initWithCoder:")]</c>.</para><example><code lang="csharp lang-csharp"><![CDATA[public void override EncodeTo (NSCoder coder) {
+ coder.Encode (1, key: "version");
+ coder.Encode (userName, key: "userName");
+ coder.Encode (hostName, key: "hostName");]]></code></example></remarks>
+ </member>
+ <member name="P:SensorKit.SRAcousticSettingsAccessibilityBackgroundSounds.ClassHandle">
+ <summary>The Objective-C class handle for this class.</summary>
+ <value>The pointer to the Objective-C class.</value>
+ <remarks>
+ Each managed class mirrors an unmanaged Objective-C class.
+ This value contains the pointer to the Objective-C class.
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ </remarks>
+ </member>
+ <member name="M:SensorKit.SRAcousticSettingsAccessibilityBackgroundSounds.#ctor(Foundation.NSCoder)">
+ <summary>A constructor that initializes the object from the data stored in the unarchiver object.</summary>
+ <param name="coder">The unarchiver object.</param>
+ <remarks>
+ <para>This constructor is provided to allow the class to be initialized from an unarchiver (for example, during NIB deserialization). This is part of the <see cref="T:Foundation.NSCoding" /> protocol.</para>
+ <para>If developers want to create a subclass of this object and continue to support deserialization from an archive, they should implement a constructor with an identical signature: taking a single parameter of type <see cref="T:Foundation.NSCoder" /> and decorate it with the <c>[Export("initWithCoder:"]</c> attribute.</para>
+ <para>The state of this object can also be serialized by using the <see cref="M:Foundation.INSCoding.EncodeTo(Foundation.NSCoder)" /> companion method.</para>
+ </remarks>
+ </member>
+ <member name="M:SensorKit.SRAcousticSettingsAccessibilityBackgroundSounds.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (CGRect frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:SensorKit.SRAcousticSettingsAccessibilityBackgroundSounds.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
+ <member name="M:SensorKit.SRAcousticSettingsAccessibilityBackgroundSounds.Copy(Foundation.NSZone)">
+ <param name="zone">Developers should pass <see langword="null" />. Memory zones are no longer used.</param><summary>Performs a copy of the underlying Objective-C object.</summary><returns>The newly-allocated object.</returns><remarks><para>This method performs a "shallow copy" of <see langword="this" />. If this object contains references to external objects, the new object will contain references to the same object.</para></remarks>
+ </member>
+ <member name="M:SensorKit.SRAcousticSettingsAccessibilityBackgroundSounds.EncodeTo(Foundation.NSCoder)">
+ <summary>Encodes the state of the object using the provided encoder.</summary><param name="encoder">The encoder object where the state of the object will be stored</param><remarks><para>This method is part of the <see cref="T:Foundation.INSCoding" /> protocol and is used by applications to preserve the state of the object into an archive.</para><para>Developers will typically create an <see cref="T:Foundation.NSKeyedArchiver" /> and then invoke the <see cref="M:Foundation.NSKeyedArchiver.ArchiveRootObjectToFile(Foundation.NSObject,System.String)" /> method which will call into this method.</para><para>If developers want to allow their object to be archived, they should override this method and store their state in using the provided <paramref name="encoder" /> parameter. In addition, developers should also implement a constructor that takes an NSCoder argument and is exported with <c>[Export ("initWithCoder:")]</c>.</para><example><code lang="csharp lang-csharp"><![CDATA[public void override EncodeTo (NSCoder coder) {
+ coder.Encode (1, key: "version");
+ coder.Encode (userName, key: "userName");
+ coder.Encode (hostName, key: "hostName");]]></code></example></remarks>
+ </member>
+ <member name="P:SensorKit.SRAcousticSettingsAccessibilityHeadphoneAccommodations.ClassHandle">
+ <summary>The Objective-C class handle for this class.</summary>
+ <value>The pointer to the Objective-C class.</value>
+ <remarks>
+ Each managed class mirrors an unmanaged Objective-C class.
+ This value contains the pointer to the Objective-C class.
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ </remarks>
+ </member>
+ <member name="M:SensorKit.SRAcousticSettingsAccessibilityHeadphoneAccommodations.#ctor(Foundation.NSCoder)">
+ <summary>A constructor that initializes the object from the data stored in the unarchiver object.</summary>
+ <param name="coder">The unarchiver object.</param>
+ <remarks>
+ <para>This constructor is provided to allow the class to be initialized from an unarchiver (for example, during NIB deserialization). This is part of the <see cref="T:Foundation.NSCoding" /> protocol.</para>
+ <para>If developers want to create a subclass of this object and continue to support deserialization from an archive, they should implement a constructor with an identical signature: taking a single parameter of type <see cref="T:Foundation.NSCoder" /> and decorate it with the <c>[Export("initWithCoder:"]</c> attribute.</para>
+ <para>The state of this object can also be serialized by using the <see cref="M:Foundation.INSCoding.EncodeTo(Foundation.NSCoder)" /> companion method.</para>
+ </remarks>
+ </member>
+ <member name="M:SensorKit.SRAcousticSettingsAccessibilityHeadphoneAccommodations.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (CGRect frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:SensorKit.SRAcousticSettingsAccessibilityHeadphoneAccommodations.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
+ <member name="M:SensorKit.SRAcousticSettingsAccessibilityHeadphoneAccommodations.Copy(Foundation.NSZone)">
+ <param name="zone">Developers should pass <see langword="null" />. Memory zones are no longer used.</param><summary>Performs a copy of the underlying Objective-C object.</summary><returns>The newly-allocated object.</returns><remarks><para>This method performs a "shallow copy" of <see langword="this" />. If this object contains references to external objects, the new object will contain references to the same object.</para></remarks>
+ </member>
+ <member name="M:SensorKit.SRAcousticSettingsAccessibilityHeadphoneAccommodations.EncodeTo(Foundation.NSCoder)">
+ <summary>Encodes the state of the object using the provided encoder.</summary><param name="encoder">The encoder object where the state of the object will be stored</param><remarks><para>This method is part of the <see cref="T:Foundation.INSCoding" /> protocol and is used by applications to preserve the state of the object into an archive.</para><para>Developers will typically create an <see cref="T:Foundation.NSKeyedArchiver" /> and then invoke the <see cref="M:Foundation.NSKeyedArchiver.ArchiveRootObjectToFile(Foundation.NSObject,System.String)" /> method which will call into this method.</para><para>If developers want to allow their object to be archived, they should override this method and store their state in using the provided <paramref name="encoder" /> parameter. In addition, developers should also implement a constructor that takes an NSCoder argument and is exported with <c>[Export ("initWithCoder:")]</c>.</para><example><code lang="csharp lang-csharp"><![CDATA[public void override EncodeTo (NSCoder coder) {
+ coder.Encode (1, key: "version");
+ coder.Encode (userName, key: "userName");
+ coder.Encode (hostName, key: "hostName");]]></code></example></remarks>
+ </member>
+ <member name="P:SensorKit.SRAcousticSettingsMusicEQ.ClassHandle">
+ <summary>The Objective-C class handle for this class.</summary>
+ <value>The pointer to the Objective-C class.</value>
+ <remarks>
+ Each managed class mirrors an unmanaged Objective-C class.
+ This value contains the pointer to the Objective-C class.
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ </remarks>
+ </member>
+ <member name="M:SensorKit.SRAcousticSettingsMusicEQ.#ctor(Foundation.NSCoder)">
+ <summary>A constructor that initializes the object from the data stored in the unarchiver object.</summary>
+ <param name="coder">The unarchiver object.</param>
+ <remarks>
+ <para>This constructor is provided to allow the class to be initialized from an unarchiver (for example, during NIB deserialization). This is part of the <see cref="T:Foundation.NSCoding" /> protocol.</para>
+ <para>If developers want to create a subclass of this object and continue to support deserialization from an archive, they should implement a constructor with an identical signature: taking a single parameter of type <see cref="T:Foundation.NSCoder" /> and decorate it with the <c>[Export("initWithCoder:"]</c> attribute.</para>
+ <para>The state of this object can also be serialized by using the <see cref="M:Foundation.INSCoding.EncodeTo(Foundation.NSCoder)" /> companion method.</para>
+ </remarks>
+ </member>
+ <member name="M:SensorKit.SRAcousticSettingsMusicEQ.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (CGRect frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:SensorKit.SRAcousticSettingsMusicEQ.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
+ <member name="M:SensorKit.SRAcousticSettingsMusicEQ.Copy(Foundation.NSZone)">
+ <param name="zone">Developers should pass <see langword="null" />. Memory zones are no longer used.</param><summary>Performs a copy of the underlying Objective-C object.</summary><returns>The newly-allocated object.</returns><remarks><para>This method performs a "shallow copy" of <see langword="this" />. If this object contains references to external objects, the new object will contain references to the same object.</para></remarks>
+ </member>
+ <member name="M:SensorKit.SRAcousticSettingsMusicEQ.EncodeTo(Foundation.NSCoder)">
+ <summary>Encodes the state of the object using the provided encoder.</summary><param name="encoder">The encoder object where the state of the object will be stored</param><remarks><para>This method is part of the <see cref="T:Foundation.INSCoding" /> protocol and is used by applications to preserve the state of the object into an archive.</para><para>Developers will typically create an <see cref="T:Foundation.NSKeyedArchiver" /> and then invoke the <see cref="M:Foundation.NSKeyedArchiver.ArchiveRootObjectToFile(Foundation.NSObject,System.String)" /> method which will call into this method.</para><para>If developers want to allow their object to be archived, they should override this method and store their state in using the provided <paramref name="encoder" /> parameter. In addition, developers should also implement a constructor that takes an NSCoder argument and is exported with <c>[Export ("initWithCoder:")]</c>.</para><example><code lang="csharp lang-csharp"><![CDATA[public void override EncodeTo (NSCoder coder) {
+ coder.Encode (1, key: "version");
+ coder.Encode (userName, key: "userName");
+ coder.Encode (hostName, key: "hostName");]]></code></example></remarks>
+ </member>
<member name="P:SensorKit.SRAmbientLightSample.ClassHandle">
<summary>The Objective-C class handle for this class.</summary>
<value>The pointer to the Objective-C class.</value>
@@ -554063,6 +554483,90 @@ Console.WriteLine ("The password for the account is: {0}", password);
</para>
</remarks>
</member>
+ <member name="P:SensorKit.SRSleepSession.ClassHandle">
+ <summary>The Objective-C class handle for this class.</summary>
+ <value>The pointer to the Objective-C class.</value>
+ <remarks>
+ Each managed class mirrors an unmanaged Objective-C class.
+ This value contains the pointer to the Objective-C class.
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ </remarks>
+ </member>
+ <member name="M:SensorKit.SRSleepSession.#ctor(Foundation.NSCoder)">
+ <summary>A constructor that initializes the object from the data stored in the unarchiver object.</summary>
+ <param name="coder">The unarchiver object.</param>
+ <remarks>
+ <para>This constructor is provided to allow the class to be initialized from an unarchiver (for example, during NIB deserialization). This is part of the <see cref="T:Foundation.NSCoding" /> protocol.</para>
+ <para>If developers want to create a subclass of this object and continue to support deserialization from an archive, they should implement a constructor with an identical signature: taking a single parameter of type <see cref="T:Foundation.NSCoder" /> and decorate it with the <c>[Export("initWithCoder:"]</c> attribute.</para>
+ <para>The state of this object can also be serialized by using the <see cref="M:Foundation.INSCoding.EncodeTo(Foundation.NSCoder)" /> companion method.</para>
+ </remarks>
+ </member>
+ <member name="M:SensorKit.SRSleepSession.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (CGRect frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:SensorKit.SRSleepSession.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
+ <member name="M:SensorKit.SRSleepSession.Copy(Foundation.NSZone)">
+ <param name="zone">Developers should pass <see langword="null" />. Memory zones are no longer used.</param><summary>Performs a copy of the underlying Objective-C object.</summary><returns>The newly-allocated object.</returns><remarks><para>This method performs a "shallow copy" of <see langword="this" />. If this object contains references to external objects, the new object will contain references to the same object.</para></remarks>
+ </member>
+ <member name="M:SensorKit.SRSleepSession.EncodeTo(Foundation.NSCoder)">
+ <summary>Encodes the state of the object using the provided encoder.</summary><param name="encoder">The encoder object where the state of the object will be stored</param><remarks><para>This method is part of the <see cref="T:Foundation.INSCoding" /> protocol and is used by applications to preserve the state of the object into an archive.</para><para>Developers will typically create an <see cref="T:Foundation.NSKeyedArchiver" /> and then invoke the <see cref="M:Foundation.NSKeyedArchiver.ArchiveRootObjectToFile(Foundation.NSObject,System.String)" /> method which will call into this method.</para><para>If developers want to allow their object to be archived, they should override this method and store their state in using the provided <paramref name="encoder" /> parameter. In addition, developers should also implement a constructor that takes an NSCoder argument and is exported with <c>[Export ("initWithCoder:")]</c>.</para><example><code lang="csharp lang-csharp"><![CDATA[public void override EncodeTo (NSCoder coder) {
+ coder.Encode (1, key: "version");
+ coder.Encode (userName, key: "userName");
+ coder.Encode (hostName, key: "hostName");]]></code></example></remarks>
+ </member>
<member name="P:SensorKit.SRSpeechExpression.ClassHandle">
<summary>The Objective-C class handle for this class.</summary>
<value>The pointer to the Objective-C class.</value>
diff --git a/new/dotnet/ios/generated-sources/SensorKit/SRAcousticSettings.g.cs b/new/dotnet/ios/generated-sources/SensorKit/SRAcousticSettings.g.cs
new file mode 100644
index 0000000..f1ef861
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/SensorKit/SRAcousticSettings.g.cs
@@ -0,0 +1,255 @@
+//
+// 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
+namespace SensorKit {
+ [Register("SRAcousticSettings", true)]
+ [SupportedOSPlatform ("ios26.0")]
+ [SupportedOSPlatform ("maccatalyst26.0")]
+ public unsafe partial class SRAcousticSettings : NSObject, INSCoding, INSCopying, INSSecureCoding {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ static readonly NativeHandle class_ptr = Class.GetHandle ("SRAcousticSettings");
+ /// <summary>The Objective-C class handle for this class.</summary>
+ /// <value>The pointer to the Objective-C class.</value>
+ /// <remarks>
+ /// Each managed class mirrors an unmanaged Objective-C class.
+ /// This value contains the pointer to the Objective-C class.
+ /// It is similar to calling the managed <see cref="ObjCRuntime.Class.GetHandle(string)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ /// </remarks>
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ /// <summary>A constructor that initializes the object from the data stored in the unarchiver object.</summary>
+ /// <param name="coder">The unarchiver object.</param>
+ /// <remarks>
+ /// <para>This constructor is provided to allow the class to be initialized from an unarchiver (for example, during NIB deserialization). This is part of the <see cref="Foundation.NSCoding" /> protocol.</para>
+ /// <para>If developers want to create a subclass of this object and continue to support deserialization from an archive, they should implement a constructor with an identical signature: taking a single parameter of type <see cref="Foundation.NSCoder" /> and decorate it with the <c>[Export("initWithCoder:"]</c> attribute.</para>
+ /// <para>The state of this object can also be serialized by using the <see cref="Foundation.INSCoding.EncodeTo" /> companion method.</para>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [DesignatedInitializer]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("initWithCoder:")]
+ public SRAcousticSettings (NSCoder coder) : base (NSObjectFlag.Empty)
+ {
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("initWithCoder:"), coder.Handle), "initWithCoder:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_IntPtr (this.SuperHandle, Selector.GetHandle ("initWithCoder:"), coder.Handle), "initWithCoder:");
+ }
+ GC.KeepAlive (coder);
+ }
+
+ /// <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ /// <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="Foundation.NSObject" />.
+ /// This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ /// When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ /// The actual initialization of the object is up to the developer.
+ /// </para>
+ /// <para>
+ /// This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ /// Once the allocation has taken place, the constructor has to initialize the object.
+ /// With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ /// </para>
+ /// <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ /// <para>
+ /// In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ /// If this is not the case, developers should instead chain to the proper constructor in their class.
+ /// </para>
+ /// <para>
+ /// The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="Foundation.NSObject" /> allocation and runtime type registration.
+ /// Typically the chaining would look like this:
+ /// </para>
+ /// <example>
+ /// <code lang="csharp lang-csharp"><![CDATA[
+ /// //
+ /// // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ /// // No actual initXxx method is invoked, that is done later in the constructor
+ /// //
+ /// // This is taken from the iOS SDK's source code for the UIView class:
+ /// //
+ /// [Export ("initWithFrame:")]
+ /// public UIView (CGRect frame) : base (NSObjectFlag.Empty)
+ /// {
+ /// // Invoke the init method now.
+ /// var initWithFrame = new Selector ("initWithFrame:").Handle;
+ /// if (IsDirectBinding) {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ /// } else {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ /// }
+ /// }
+ /// ]]></code>
+ /// </example>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected SRAcousticSettings (NSObjectFlag t) : base (t)
+ {
+ }
+
+ /// <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ /// <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor is invoked by the runtime infrastructure (<see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ /// Developers should not invoke this method directly, instead they should call <see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ /// </para>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal SRAcousticSettings (NativeHandle handle) : base (handle)
+ {
+ }
+
+ /// <param name="zone">Developers should pass <see langword="null" />. Memory zones are no longer used.</param><summary>Performs a copy of the underlying Objective-C object.</summary><returns>The newly-allocated object.</returns><remarks><para>This method performs a "shallow copy" of <see langword="this" />. If this object contains references to external objects, the new object will contain references to the same object.</para></remarks>
+ [Export ("copyWithZone:")]
+ [return: ReleaseAttribute ()]
+ [SupportedOSPlatform ("ios26.0")]
+ [SupportedOSPlatform ("maccatalyst26.0")]
+ [UnsupportedOSPlatform ("macos")]
+ [UnsupportedOSPlatform ("tvos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual NSObject Copy (NSZone? zone)
+ {
+ var zone__handle__ = zone.GetHandle ();
+ NSObject? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("copyWithZone:"), zone__handle__), true)!;
+ } else {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("copyWithZone:"), zone__handle__), true)!;
+ }
+ GC.KeepAlive (zone);
+ return ret!;
+ }
+ /// <summary>Encodes the state of the object using the provided encoder.</summary><param name="encoder">The encoder object where the state of the object will be stored</param><remarks><para>This method is part of the <see cref="T:Foundation.INSCoding" /> protocol and is used by applications to preserve the state of the object into an archive.</para><para>Developers will typically create an <see cref="T:Foundation.NSKeyedArchiver" /> and then invoke the <see cref="M:Foundation.NSKeyedArchiver.ArchiveRootObjectToFile(Foundation.NSObject,System.String)" /> method which will call into this method.</para><para>If developers want to allow their object to be archived, they should override this method and store their state in using the provided <paramref name="encoder" /> parameter. In addition, developers should also implement a constructor that takes an NSCoder argument and is exported with <c>[Export ("initWithCoder:")]</c>.</para><example><code lang="csharp lang-csharp"><![CDATA[public void override EncodeTo (NSCoder coder) {
+ /// coder.Encode (1, key: "version");
+ /// coder.Encode (userName, key: "userName");
+ /// coder.Encode (hostName, key: "hostName");]]></code></example></remarks>
+ [Export ("encodeWithCoder:")]
+ [SupportedOSPlatform ("ios26.0")]
+ [SupportedOSPlatform ("maccatalyst26.0")]
+ [UnsupportedOSPlatform ("macos")]
+ [UnsupportedOSPlatform ("tvos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void EncodeTo (NSCoder encoder)
+ {
+ var encoder__handle__ = encoder!.GetNonNullHandle (nameof (encoder));
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("encodeWithCoder:"), encoder__handle__);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("encodeWithCoder:"), encoder__handle__);
+ }
+ GC.KeepAlive (encoder);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual SRAcousticSettingsAccessibility AccessibilitySettings {
+ [Export ("accessibilitySettings", ArgumentSemantic.Retain)]
+ get {
+ SRAcousticSettingsAccessibility? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<SRAcousticSettingsAccessibility> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("accessibilitySettings")), false)!;
+ } else {
+ ret = Runtime.GetNSObject<SRAcousticSettingsAccessibility> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("accessibilitySettings")), false)!;
+ }
+ return ret!;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual SRAcousticSettingsSampleLifetime AudioExposureSampleLifetime {
+ [Export ("audioExposureSampleLifetime")]
+ get {
+ SRAcousticSettingsSampleLifetime ret;
+ if (IsDirectBinding) {
+ ret = (SensorKit.SRAcousticSettingsSampleLifetime) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("audioExposureSampleLifetime"));
+ } else {
+ ret = (SensorKit.SRAcousticSettingsSampleLifetime) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("audioExposureSampleLifetime"));
+ }
+ return ret!;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual NSNumber? HeadphoneSafetyAudioLevel {
+ [Export ("headphoneSafetyAudioLevel", ArgumentSemantic.Retain)]
+ get {
+ NSNumber? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<NSNumber> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("headphoneSafetyAudioLevel")), false)!;
+ } else {
+ ret = Runtime.GetNSObject<NSNumber> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("headphoneSafetyAudioLevel")), false)!;
+ }
+ return ret!;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual bool IsEnvironmentalSoundMeasurementsEnabled {
+ [Export ("isEnvironmentalSoundMeasurementsEnabled")]
+ get {
+ byte ret;
+ if (IsDirectBinding) {
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend (this.Handle, Selector.GetHandle ("isEnvironmentalSoundMeasurementsEnabled"));
+ } else {
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("isEnvironmentalSoundMeasurementsEnabled"));
+ }
+ return ret != 0;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual SRAcousticSettingsMusicEQ MusicEQSettings {
+ [Export ("musicEQSettings", ArgumentSemantic.Retain)]
+ get {
+ SRAcousticSettingsMusicEQ? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<SRAcousticSettingsMusicEQ> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("musicEQSettings")), false)!;
+ } else {
+ ret = Runtime.GetNSObject<SRAcousticSettingsMusicEQ> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("musicEQSettings")), false)!;
+ }
+ return ret!;
+ }
+ }
+ } /* class SRAcousticSettings */
+}
diff --git a/new/dotnet/ios/generated-sources/SensorKit/SRAcousticSettingsAccessibility.g.cs b/new/dotnet/ios/generated-sources/SensorKit/SRAcousticSettingsAccessibility.g.cs
new file mode 100644
index 0000000..1275035
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/SensorKit/SRAcousticSettingsAccessibility.g.cs
@@ -0,0 +1,242 @@
+//
+// 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
+namespace SensorKit {
+ [Register("SRAcousticSettingsAccessibility", true)]
+ [SupportedOSPlatform ("ios26.0")]
+ [SupportedOSPlatform ("maccatalyst26.0")]
+ public unsafe partial class SRAcousticSettingsAccessibility : NSObject, INSCoding, INSCopying, INSSecureCoding {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ static readonly NativeHandle class_ptr = Class.GetHandle ("SRAcousticSettingsAccessibility");
+ /// <summary>The Objective-C class handle for this class.</summary>
+ /// <value>The pointer to the Objective-C class.</value>
+ /// <remarks>
+ /// Each managed class mirrors an unmanaged Objective-C class.
+ /// This value contains the pointer to the Objective-C class.
+ /// It is similar to calling the managed <see cref="ObjCRuntime.Class.GetHandle(string)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ /// </remarks>
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ /// <summary>A constructor that initializes the object from the data stored in the unarchiver object.</summary>
+ /// <param name="coder">The unarchiver object.</param>
+ /// <remarks>
+ /// <para>This constructor is provided to allow the class to be initialized from an unarchiver (for example, during NIB deserialization). This is part of the <see cref="Foundation.NSCoding" /> protocol.</para>
+ /// <para>If developers want to create a subclass of this object and continue to support deserialization from an archive, they should implement a constructor with an identical signature: taking a single parameter of type <see cref="Foundation.NSCoder" /> and decorate it with the <c>[Export("initWithCoder:"]</c> attribute.</para>
+ /// <para>The state of this object can also be serialized by using the <see cref="Foundation.INSCoding.EncodeTo" /> companion method.</para>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [DesignatedInitializer]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("initWithCoder:")]
+ public SRAcousticSettingsAccessibility (NSCoder coder) : base (NSObjectFlag.Empty)
+ {
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("initWithCoder:"), coder.Handle), "initWithCoder:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_IntPtr (this.SuperHandle, Selector.GetHandle ("initWithCoder:"), coder.Handle), "initWithCoder:");
+ }
+ GC.KeepAlive (coder);
+ }
+
+ /// <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ /// <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="Foundation.NSObject" />.
+ /// This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ /// When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ /// The actual initialization of the object is up to the developer.
+ /// </para>
+ /// <para>
+ /// This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ /// Once the allocation has taken place, the constructor has to initialize the object.
+ /// With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ /// </para>
+ /// <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ /// <para>
+ /// In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ /// If this is not the case, developers should instead chain to the proper constructor in their class.
+ /// </para>
+ /// <para>
+ /// The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="Foundation.NSObject" /> allocation and runtime type registration.
+ /// Typically the chaining would look like this:
+ /// </para>
+ /// <example>
+ /// <code lang="csharp lang-csharp"><![CDATA[
+ /// //
+ /// // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ /// // No actual initXxx method is invoked, that is done later in the constructor
+ /// //
+ /// // This is taken from the iOS SDK's source code for the UIView class:
+ /// //
+ /// [Export ("initWithFrame:")]
+ /// public UIView (CGRect frame) : base (NSObjectFlag.Empty)
+ /// {
+ /// // Invoke the init method now.
+ /// var initWithFrame = new Selector ("initWithFrame:").Handle;
+ /// if (IsDirectBinding) {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ /// } else {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ /// }
+ /// }
+ /// ]]></code>
+ /// </example>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected SRAcousticSettingsAccessibility (NSObjectFlag t) : base (t)
+ {
+ }
+
+ /// <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ /// <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor is invoked by the runtime infrastructure (<see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ /// Developers should not invoke this method directly, instead they should call <see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ /// </para>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal SRAcousticSettingsAccessibility (NativeHandle handle) : base (handle)
+ {
+ }
+
+ /// <param name="zone">Developers should pass <see langword="null" />. Memory zones are no longer used.</param><summary>Performs a copy of the underlying Objective-C object.</summary><returns>The newly-allocated object.</returns><remarks><para>This method performs a "shallow copy" of <see langword="this" />. If this object contains references to external objects, the new object will contain references to the same object.</para></remarks>
+ [Export ("copyWithZone:")]
+ [return: ReleaseAttribute ()]
+ [SupportedOSPlatform ("ios26.0")]
+ [SupportedOSPlatform ("maccatalyst26.0")]
+ [UnsupportedOSPlatform ("macos")]
+ [UnsupportedOSPlatform ("tvos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual NSObject Copy (NSZone? zone)
+ {
+ var zone__handle__ = zone.GetHandle ();
+ NSObject? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("copyWithZone:"), zone__handle__), true)!;
+ } else {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("copyWithZone:"), zone__handle__), true)!;
+ }
+ GC.KeepAlive (zone);
+ return ret!;
+ }
+ /// <summary>Encodes the state of the object using the provided encoder.</summary><param name="encoder">The encoder object where the state of the object will be stored</param><remarks><para>This method is part of the <see cref="T:Foundation.INSCoding" /> protocol and is used by applications to preserve the state of the object into an archive.</para><para>Developers will typically create an <see cref="T:Foundation.NSKeyedArchiver" /> and then invoke the <see cref="M:Foundation.NSKeyedArchiver.ArchiveRootObjectToFile(Foundation.NSObject,System.String)" /> method which will call into this method.</para><para>If developers want to allow their object to be archived, they should override this method and store their state in using the provided <paramref name="encoder" /> parameter. In addition, developers should also implement a constructor that takes an NSCoder argument and is exported with <c>[Export ("initWithCoder:")]</c>.</para><example><code lang="csharp lang-csharp"><![CDATA[public void override EncodeTo (NSCoder coder) {
+ /// coder.Encode (1, key: "version");
+ /// coder.Encode (userName, key: "userName");
+ /// coder.Encode (hostName, key: "hostName");]]></code></example></remarks>
+ [Export ("encodeWithCoder:")]
+ [SupportedOSPlatform ("ios26.0")]
+ [SupportedOSPlatform ("maccatalyst26.0")]
+ [UnsupportedOSPlatform ("macos")]
+ [UnsupportedOSPlatform ("tvos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void EncodeTo (NSCoder encoder)
+ {
+ var encoder__handle__ = encoder!.GetNonNullHandle (nameof (encoder));
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("encodeWithCoder:"), encoder__handle__);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("encodeWithCoder:"), encoder__handle__);
+ }
+ GC.KeepAlive (encoder);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual SRAcousticSettingsAccessibilityBackgroundSounds BackgroundSounds {
+ [Export ("backgroundSounds", ArgumentSemantic.Retain)]
+ get {
+ SRAcousticSettingsAccessibilityBackgroundSounds? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<SRAcousticSettingsAccessibilityBackgroundSounds> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("backgroundSounds")), false)!;
+ } else {
+ ret = Runtime.GetNSObject<SRAcousticSettingsAccessibilityBackgroundSounds> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("backgroundSounds")), false)!;
+ }
+ return ret!;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual SRAcousticSettingsAccessibilityHeadphoneAccommodations HeadphoneAccommodations {
+ [Export ("headphoneAccommodations", ArgumentSemantic.Retain)]
+ get {
+ SRAcousticSettingsAccessibilityHeadphoneAccommodations? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<SRAcousticSettingsAccessibilityHeadphoneAccommodations> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("headphoneAccommodations")), false)!;
+ } else {
+ ret = Runtime.GetNSObject<SRAcousticSettingsAccessibilityHeadphoneAccommodations> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("headphoneAccommodations")), false)!;
+ }
+ return ret!;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual bool IsMonoAudioEnabled {
+ [Export ("isMonoAudioEnabled")]
+ get {
+ byte ret;
+ if (IsDirectBinding) {
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend (this.Handle, Selector.GetHandle ("isMonoAudioEnabled"));
+ } else {
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("isMonoAudioEnabled"));
+ }
+ return ret != 0;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual double LeftRightBalance {
+ [Export ("leftRightBalance")]
+ get {
+ double ret;
+ if (IsDirectBinding) {
+ ret = global::ObjCRuntime.Messaging.Double_objc_msgSend (this.Handle, Selector.GetHandle ("leftRightBalance"));
+ } else {
+ ret = global::ObjCRuntime.Messaging.Double_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("leftRightBalance"));
+ }
+ return ret;
+ }
+ }
+ } /* class SRAcousticSettingsAccessibility */
+}
diff --git a/new/dotnet/ios/generated-sources/SensorKit/SRAcousticSettingsAccessibilityBackgroundSounds.g.cs b/new/dotnet/ios/generated-sources/SensorKit/SRAcousticSettingsAccessibilityBackgroundSounds.g.cs
new file mode 100644
index 0000000..697bd50
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/SensorKit/SRAcousticSettingsAccessibilityBackgroundSounds.g.cs
@@ -0,0 +1,268 @@
+//
+// 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
+namespace SensorKit {
+ [Register("SRAcousticSettingsAccessibilityBackgroundSounds", true)]
+ [SupportedOSPlatform ("ios26.0")]
+ [SupportedOSPlatform ("maccatalyst26.0")]
+ public unsafe partial class SRAcousticSettingsAccessibilityBackgroundSounds : NSObject, INSCoding, INSCopying, INSSecureCoding {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ static readonly NativeHandle class_ptr = Class.GetHandle ("SRAcousticSettingsAccessibilityBackgroundSounds");
+ /// <summary>The Objective-C class handle for this class.</summary>
+ /// <value>The pointer to the Objective-C class.</value>
+ /// <remarks>
+ /// Each managed class mirrors an unmanaged Objective-C class.
+ /// This value contains the pointer to the Objective-C class.
+ /// It is similar to calling the managed <see cref="ObjCRuntime.Class.GetHandle(string)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ /// </remarks>
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ /// <summary>A constructor that initializes the object from the data stored in the unarchiver object.</summary>
+ /// <param name="coder">The unarchiver object.</param>
+ /// <remarks>
+ /// <para>This constructor is provided to allow the class to be initialized from an unarchiver (for example, during NIB deserialization). This is part of the <see cref="Foundation.NSCoding" /> protocol.</para>
+ /// <para>If developers want to create a subclass of this object and continue to support deserialization from an archive, they should implement a constructor with an identical signature: taking a single parameter of type <see cref="Foundation.NSCoder" /> and decorate it with the <c>[Export("initWithCoder:"]</c> attribute.</para>
+ /// <para>The state of this object can also be serialized by using the <see cref="Foundation.INSCoding.EncodeTo" /> companion method.</para>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [DesignatedInitializer]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("initWithCoder:")]
+ public SRAcousticSettingsAccessibilityBackgroundSounds (NSCoder coder) : base (NSObjectFlag.Empty)
+ {
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("initWithCoder:"), coder.Handle), "initWithCoder:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_IntPtr (this.SuperHandle, Selector.GetHandle ("initWithCoder:"), coder.Handle), "initWithCoder:");
+ }
+ GC.KeepAlive (coder);
+ }
+
+ /// <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ /// <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="Foundation.NSObject" />.
+ /// This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ /// When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ /// The actual initialization of the object is up to the developer.
+ /// </para>
+ /// <para>
+ /// This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ /// Once the allocation has taken place, the constructor has to initialize the object.
+ /// With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ /// </para>
+ /// <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ /// <para>
+ /// In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ /// If this is not the case, developers should instead chain to the proper constructor in their class.
+ /// </para>
+ /// <para>
+ /// The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="Foundation.NSObject" /> allocation and runtime type registration.
+ /// Typically the chaining would look like this:
+ /// </para>
+ /// <example>
+ /// <code lang="csharp lang-csharp"><![CDATA[
+ /// //
+ /// // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ /// // No actual initXxx method is invoked, that is done later in the constructor
+ /// //
+ /// // This is taken from the iOS SDK's source code for the UIView class:
+ /// //
+ /// [Export ("initWithFrame:")]
+ /// public UIView (CGRect frame) : base (NSObjectFlag.Empty)
+ /// {
+ /// // Invoke the init method now.
+ /// var initWithFrame = new Selector ("initWithFrame:").Handle;
+ /// if (IsDirectBinding) {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ /// } else {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ /// }
+ /// }
+ /// ]]></code>
+ /// </example>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected SRAcousticSettingsAccessibilityBackgroundSounds (NSObjectFlag t) : base (t)
+ {
+ }
+
+ /// <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ /// <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor is invoked by the runtime infrastructure (<see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ /// Developers should not invoke this method directly, instead they should call <see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ /// </para>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal SRAcousticSettingsAccessibilityBackgroundSounds (NativeHandle handle) : base (handle)
+ {
+ }
+
+ /// <param name="zone">Developers should pass <see langword="null" />. Memory zones are no longer used.</param><summary>Performs a copy of the underlying Objective-C object.</summary><returns>The newly-allocated object.</returns><remarks><para>This method performs a "shallow copy" of <see langword="this" />. If this object contains references to external objects, the new object will contain references to the same object.</para></remarks>
+ [Export ("copyWithZone:")]
+ [return: ReleaseAttribute ()]
+ [SupportedOSPlatform ("ios26.0")]
+ [SupportedOSPlatform ("maccatalyst26.0")]
+ [UnsupportedOSPlatform ("macos")]
+ [UnsupportedOSPlatform ("tvos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual NSObject Copy (NSZone? zone)
+ {
+ var zone__handle__ = zone.GetHandle ();
+ NSObject? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("copyWithZone:"), zone__handle__), true)!;
+ } else {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("copyWithZone:"), zone__handle__), true)!;
+ }
+ GC.KeepAlive (zone);
+ return ret!;
+ }
+ /// <summary>Encodes the state of the object using the provided encoder.</summary><param name="encoder">The encoder object where the state of the object will be stored</param><remarks><para>This method is part of the <see cref="T:Foundation.INSCoding" /> protocol and is used by applications to preserve the state of the object into an archive.</para><para>Developers will typically create an <see cref="T:Foundation.NSKeyedArchiver" /> and then invoke the <see cref="M:Foundation.NSKeyedArchiver.ArchiveRootObjectToFile(Foundation.NSObject,System.String)" /> method which will call into this method.</para><para>If developers want to allow their object to be archived, they should override this method and store their state in using the provided <paramref name="encoder" /> parameter. In addition, developers should also implement a constructor that takes an NSCoder argument and is exported with <c>[Export ("initWithCoder:")]</c>.</para><example><code lang="csharp lang-csharp"><![CDATA[public void override EncodeTo (NSCoder coder) {
+ /// coder.Encode (1, key: "version");
+ /// coder.Encode (userName, key: "userName");
+ /// coder.Encode (hostName, key: "hostName");]]></code></example></remarks>
+ [Export ("encodeWithCoder:")]
+ [SupportedOSPlatform ("ios26.0")]
+ [SupportedOSPlatform ("maccatalyst26.0")]
+ [UnsupportedOSPlatform ("macos")]
+ [UnsupportedOSPlatform ("tvos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void EncodeTo (NSCoder encoder)
+ {
+ var encoder__handle__ = encoder!.GetNonNullHandle (nameof (encoder));
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("encodeWithCoder:"), encoder__handle__);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("encodeWithCoder:"), encoder__handle__);
+ }
+ GC.KeepAlive (encoder);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual bool IsEnabled {
+ [Export ("isEnabled")]
+ get {
+ byte ret;
+ if (IsDirectBinding) {
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend (this.Handle, Selector.GetHandle ("isEnabled"));
+ } else {
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("isEnabled"));
+ }
+ return ret != 0;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual bool IsPlayWithMediaEnabled {
+ [Export ("isPlayWithMediaEnabled")]
+ get {
+ byte ret;
+ if (IsDirectBinding) {
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend (this.Handle, Selector.GetHandle ("isPlayWithMediaEnabled"));
+ } else {
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("isPlayWithMediaEnabled"));
+ }
+ return ret != 0;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual bool IsStopOnLockEnabled {
+ [Export ("isStopOnLockEnabled")]
+ get {
+ byte ret;
+ if (IsDirectBinding) {
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend (this.Handle, Selector.GetHandle ("isStopOnLockEnabled"));
+ } else {
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("isStopOnLockEnabled"));
+ }
+ return ret != 0;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual double RelativeVolume {
+ [Export ("relativeVolume")]
+ get {
+ double ret;
+ if (IsDirectBinding) {
+ ret = global::ObjCRuntime.Messaging.Double_objc_msgSend (this.Handle, Selector.GetHandle ("relativeVolume"));
+ } else {
+ ret = global::ObjCRuntime.Messaging.Double_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("relativeVolume"));
+ }
+ return ret;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual double RelativeVolumeWithMedia {
+ [Export ("relativeVolumeWithMedia")]
+ get {
+ double ret;
+ if (IsDirectBinding) {
+ ret = global::ObjCRuntime.Messaging.Double_objc_msgSend (this.Handle, Selector.GetHandle ("relativeVolumeWithMedia"));
+ } else {
+ ret = global::ObjCRuntime.Messaging.Double_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("relativeVolumeWithMedia"));
+ }
+ return ret;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual SRAcousticSettingsAccessibilityBackgroundSoundsName SoundName {
+ [Export ("soundName")]
+ get {
+ SRAcousticSettingsAccessibilityBackgroundSoundsName ret;
+ if (IsDirectBinding) {
+ ret = (SensorKit.SRAcousticSettingsAccessibilityBackgroundSoundsName) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("soundName"));
+ } else {
+ ret = (SensorKit.SRAcousticSettingsAccessibilityBackgroundSoundsName) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("soundName"));
+ }
+ return ret!;
+ }
+ }
+ } /* class SRAcousticSettingsAccessibilityBackgroundSounds */
+}
diff --git a/new/dotnet/ios/generated-sources/SensorKit/SRAcousticSettingsAccessibilityBackgroundSoundsName.g.cs b/new/dotnet/ios/generated-sources/SensorKit/SRAcousticSettingsAccessibilityBackgroundSoundsName.g.cs
new file mode 100644
index 0000000..dc77f93
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/SensorKit/SRAcousticSettingsAccessibilityBackgroundSoundsName.g.cs
@@ -0,0 +1,70 @@
+//
+// 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
+namespace SensorKit {
+ [SupportedOSPlatform ("ios26.0")]
+ [SupportedOSPlatform ("maccatalyst26.0")]
+ [Native]
+ public enum SRAcousticSettingsAccessibilityBackgroundSoundsName : long {
+ BalancedNoise = 1,
+ BrightNoise = 2,
+ DarkNoise = 3,
+ Ocean = 4,
+ Rain = 5,
+ Stream = 6,
+ Night = 7,
+ Fire = 8,
+ Babble = 9,
+ Steam = 10,
+ Airplane = 11,
+ Boat = 12,
+ Bus = 13,
+ Train = 14,
+ RainOnRoof = 15,
+ QuietNight = 16,
+ }
+}
diff --git a/new/dotnet/ios/generated-sources/SensorKit/SRAcousticSettingsAccessibilityHeadphoneAccommodations.g.cs b/new/dotnet/ios/generated-sources/SensorKit/SRAcousticSettingsAccessibilityHeadphoneAccommodations.g.cs
new file mode 100644
index 0000000..da0a5ca
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/SensorKit/SRAcousticSettingsAccessibilityHeadphoneAccommodations.g.cs
@@ -0,0 +1,242 @@
+//
+// 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
+namespace SensorKit {
+ [Register("SRAcousticSettingsAccessibilityHeadphoneAccommodations", true)]
+ [SupportedOSPlatform ("ios26.0")]
+ [SupportedOSPlatform ("maccatalyst26.0")]
+ public unsafe partial class SRAcousticSettingsAccessibilityHeadphoneAccommodations : NSObject, INSCoding, INSCopying, INSSecureCoding {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ static readonly NativeHandle class_ptr = Class.GetHandle ("SRAcousticSettingsAccessibilityHeadphoneAccommodations");
+ /// <summary>The Objective-C class handle for this class.</summary>
+ /// <value>The pointer to the Objective-C class.</value>
+ /// <remarks>
+ /// Each managed class mirrors an unmanaged Objective-C class.
+ /// This value contains the pointer to the Objective-C class.
+ /// It is similar to calling the managed <see cref="ObjCRuntime.Class.GetHandle(string)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ /// </remarks>
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ /// <summary>A constructor that initializes the object from the data stored in the unarchiver object.</summary>
+ /// <param name="coder">The unarchiver object.</param>
+ /// <remarks>
+ /// <para>This constructor is provided to allow the class to be initialized from an unarchiver (for example, during NIB deserialization). This is part of the <see cref="Foundation.NSCoding" /> protocol.</para>
+ /// <para>If developers want to create a subclass of this object and continue to support deserialization from an archive, they should implement a constructor with an identical signature: taking a single parameter of type <see cref="Foundation.NSCoder" /> and decorate it with the <c>[Export("initWithCoder:"]</c> attribute.</para>
+ /// <para>The state of this object can also be serialized by using the <see cref="Foundation.INSCoding.EncodeTo" /> companion method.</para>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [DesignatedInitializer]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("initWithCoder:")]
+ public SRAcousticSettingsAccessibilityHeadphoneAccommodations (NSCoder coder) : base (NSObjectFlag.Empty)
+ {
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("initWithCoder:"), coder.Handle), "initWithCoder:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_IntPtr (this.SuperHandle, Selector.GetHandle ("initWithCoder:"), coder.Handle), "initWithCoder:");
+ }
+ GC.KeepAlive (coder);
+ }
+
+ /// <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ /// <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="Foundation.NSObject" />.
+ /// This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ /// When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ /// The actual initialization of the object is up to the developer.
+ /// </para>
+ /// <para>
+ /// This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ /// Once the allocation has taken place, the constructor has to initialize the object.
+ /// With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ /// </para>
+ /// <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ /// <para>
+ /// In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ /// If this is not the case, developers should instead chain to the proper constructor in their class.
+ /// </para>
+ /// <para>
+ /// The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="Foundation.NSObject" /> allocation and runtime type registration.
+ /// Typically the chaining would look like this:
+ /// </para>
+ /// <example>
+ /// <code lang="csharp lang-csharp"><![CDATA[
+ /// //
+ /// // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ /// // No actual initXxx method is invoked, that is done later in the constructor
+ /// //
+ /// // This is taken from the iOS SDK's source code for the UIView class:
+ /// //
+ /// [Export ("initWithFrame:")]
+ /// public UIView (CGRect frame) : base (NSObjectFlag.Empty)
+ /// {
+ /// // Invoke the init method now.
+ /// var initWithFrame = new Selector ("initWithFrame:").Handle;
+ /// if (IsDirectBinding) {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ /// } else {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ /// }
+ /// }
+ /// ]]></code>
+ /// </example>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected SRAcousticSettingsAccessibilityHeadphoneAccommodations (NSObjectFlag t) : base (t)
+ {
+ }
+
+ /// <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ /// <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor is invoked by the runtime infrastructure (<see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ /// Developers should not invoke this method directly, instead they should call <see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ /// </para>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal SRAcousticSettingsAccessibilityHeadphoneAccommodations (NativeHandle handle) : base (handle)
+ {
+ }
+
+ /// <param name="zone">Developers should pass <see langword="null" />. Memory zones are no longer used.</param><summary>Performs a copy of the underlying Objective-C object.</summary><returns>The newly-allocated object.</returns><remarks><para>This method performs a "shallow copy" of <see langword="this" />. If this object contains references to external objects, the new object will contain references to the same object.</para></remarks>
+ [Export ("copyWithZone:")]
+ [return: ReleaseAttribute ()]
+ [SupportedOSPlatform ("ios26.0")]
+ [SupportedOSPlatform ("maccatalyst26.0")]
+ [UnsupportedOSPlatform ("macos")]
+ [UnsupportedOSPlatform ("tvos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual NSObject Copy (NSZone? zone)
+ {
+ var zone__handle__ = zone.GetHandle ();
+ NSObject? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("copyWithZone:"), zone__handle__), true)!;
+ } else {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("copyWithZone:"), zone__handle__), true)!;
+ }
+ GC.KeepAlive (zone);
+ return ret!;
+ }
+ /// <summary>Encodes the state of the object using the provided encoder.</summary><param name="encoder">The encoder object where the state of the object will be stored</param><remarks><para>This method is part of the <see cref="T:Foundation.INSCoding" /> protocol and is used by applications to preserve the state of the object into an archive.</para><para>Developers will typically create an <see cref="T:Foundation.NSKeyedArchiver" /> and then invoke the <see cref="M:Foundation.NSKeyedArchiver.ArchiveRootObjectToFile(Foundation.NSObject,System.String)" /> method which will call into this method.</para><para>If developers want to allow their object to be archived, they should override this method and store their state in using the provided <paramref name="encoder" /> parameter. In addition, developers should also implement a constructor that takes an NSCoder argument and is exported with <c>[Export ("initWithCoder:")]</c>.</para><example><code lang="csharp lang-csharp"><![CDATA[public void override EncodeTo (NSCoder coder) {
+ /// coder.Encode (1, key: "version");
+ /// coder.Encode (userName, key: "userName");
+ /// coder.Encode (hostName, key: "hostName");]]></code></example></remarks>
+ [Export ("encodeWithCoder:")]
+ [SupportedOSPlatform ("ios26.0")]
+ [SupportedOSPlatform ("maccatalyst26.0")]
+ [UnsupportedOSPlatform ("macos")]
+ [UnsupportedOSPlatform ("tvos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void EncodeTo (NSCoder encoder)
+ {
+ var encoder__handle__ = encoder!.GetNonNullHandle (nameof (encoder));
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("encodeWithCoder:"), encoder__handle__);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("encodeWithCoder:"), encoder__handle__);
+ }
+ GC.KeepAlive (encoder);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual bool IsEnabled {
+ [Export ("isEnabled")]
+ get {
+ byte ret;
+ if (IsDirectBinding) {
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend (this.Handle, Selector.GetHandle ("isEnabled"));
+ } else {
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("isEnabled"));
+ }
+ return ret != 0;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual SRAcousticSettingsAccessibilityHeadphoneAccommodationsMediaEnhanceApplication MediaEnhanceApplication {
+ [Export ("mediaEnhanceApplication")]
+ get {
+ SRAcousticSettingsAccessibilityHeadphoneAccommodationsMediaEnhanceApplication ret;
+ if (IsDirectBinding) {
+ ret = (SensorKit.SRAcousticSettingsAccessibilityHeadphoneAccommodationsMediaEnhanceApplication) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("mediaEnhanceApplication"));
+ } else {
+ ret = (SensorKit.SRAcousticSettingsAccessibilityHeadphoneAccommodationsMediaEnhanceApplication) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("mediaEnhanceApplication"));
+ }
+ return ret!;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual SRAcousticSettingsAccessibilityHeadphoneAccommodationsMediaEnhanceBoosting MediaEnhanceBoosting {
+ [Export ("mediaEnhanceBoosting")]
+ get {
+ SRAcousticSettingsAccessibilityHeadphoneAccommodationsMediaEnhanceBoosting ret;
+ if (IsDirectBinding) {
+ ret = (SensorKit.SRAcousticSettingsAccessibilityHeadphoneAccommodationsMediaEnhanceBoosting) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("mediaEnhanceBoosting"));
+ } else {
+ ret = (SensorKit.SRAcousticSettingsAccessibilityHeadphoneAccommodationsMediaEnhanceBoosting) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("mediaEnhanceBoosting"));
+ }
+ return ret!;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual SRAcousticSettingsAccessibilityHeadphoneAccommodationsMediaEnhanceTuning MediaEnhanceTuning {
+ [Export ("mediaEnhanceTuning")]
+ get {
+ SRAcousticSettingsAccessibilityHeadphoneAccommodationsMediaEnhanceTuning ret;
+ if (IsDirectBinding) {
+ ret = (SensorKit.SRAcousticSettingsAccessibilityHeadphoneAccommodationsMediaEnhanceTuning) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("mediaEnhanceTuning"));
+ } else {
+ ret = (SensorKit.SRAcousticSettingsAccessibilityHeadphoneAccommodationsMediaEnhanceTuning) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("mediaEnhanceTuning"));
+ }
+ return ret!;
+ }
+ }
+ } /* class SRAcousticSettingsAccessibilityHeadphoneAccommodations */
+}
diff --git a/new/dotnet/ios/generated-sources/SensorKit/SRAcousticSettingsAccessibilityHeadphoneAccommodationsMediaEnhanceApplication.g.cs b/new/dotnet/ios/generated-sources/SensorKit/SRAcousticSettingsAccessibilityHeadphoneAccommodationsMediaEnhanceApplication.g.cs
new file mode 100644
index 0000000..9132a10
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/SensorKit/SRAcousticSettingsAccessibilityHeadphoneAccommodationsMediaEnhanceApplication.g.cs
@@ -0,0 +1,58 @@
+//
+// 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
+namespace SensorKit {
+ [SupportedOSPlatform ("ios26.0")]
+ [SupportedOSPlatform ("maccatalyst26.0")]
+ [Native]
+ public enum SRAcousticSettingsAccessibilityHeadphoneAccommodationsMediaEnhanceApplication : long {
+ None = 1,
+ Phone = 2,
+ Media = 3,
+ PhoneAndMedia = 4,
+ }
+}
diff --git a/new/dotnet/ios/generated-sources/SensorKit/SRAcousticSettingsAccessibilityHeadphoneAccommodationsMediaEnhanceBoosting.g.cs b/new/dotnet/ios/generated-sources/SensorKit/SRAcousticSettingsAccessibilityHeadphoneAccommodationsMediaEnhanceBoosting.g.cs
new file mode 100644
index 0000000..e6b6697
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/SensorKit/SRAcousticSettingsAccessibilityHeadphoneAccommodationsMediaEnhanceBoosting.g.cs
@@ -0,0 +1,57 @@
+//
+// 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
+namespace SensorKit {
+ [SupportedOSPlatform ("ios26.0")]
+ [SupportedOSPlatform ("maccatalyst26.0")]
+ [Native]
+ public enum SRAcousticSettingsAccessibilityHeadphoneAccommodationsMediaEnhanceBoosting : long {
+ Slight = 1,
+ Moderate = 2,
+ Strong = 3,
+ }
+}
diff --git a/new/dotnet/ios/generated-sources/SensorKit/SRAcousticSettingsAccessibilityHeadphoneAccommodationsMediaEnhanceTuning.g.cs b/new/dotnet/ios/generated-sources/SensorKit/SRAcousticSettingsAccessibilityHeadphoneAccommodationsMediaEnhanceTuning.g.cs
new file mode 100644
index 0000000..5d97d39
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/SensorKit/SRAcousticSettingsAccessibilityHeadphoneAccommodationsMediaEnhanceTuning.g.cs
@@ -0,0 +1,57 @@
+//
+// 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
+namespace SensorKit {
+ [SupportedOSPlatform ("ios26.0")]
+ [SupportedOSPlatform ("maccatalyst26.0")]
+ [Native]
+ public enum SRAcousticSettingsAccessibilityHeadphoneAccommodationsMediaEnhanceTuning : long {
+ BalancedTone = 1,
+ VocalRange = 2,
+ Brightness = 3,
+ }
+}
diff --git a/new/dotnet/ios/generated-sources/SensorKit/SRAcousticSettingsMusicEQ.g.cs b/new/dotnet/ios/generated-sources/SensorKit/SRAcousticSettingsMusicEQ.g.cs
new file mode 100644
index 0000000..6a2c886
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/SensorKit/SRAcousticSettingsMusicEQ.g.cs
@@ -0,0 +1,216 @@
+//
+// 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
+namespace SensorKit {
+ [Register("SRAcousticSettingsMusicEQ", true)]
+ [SupportedOSPlatform ("ios26.0")]
+ [SupportedOSPlatform ("maccatalyst26.0")]
+ public unsafe partial class SRAcousticSettingsMusicEQ : NSObject, INSCoding, INSCopying, INSSecureCoding {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ static readonly NativeHandle class_ptr = Class.GetHandle ("SRAcousticSettingsMusicEQ");
+ /// <summary>The Objective-C class handle for this class.</summary>
+ /// <value>The pointer to the Objective-C class.</value>
+ /// <remarks>
+ /// Each managed class mirrors an unmanaged Objective-C class.
+ /// This value contains the pointer to the Objective-C class.
+ /// It is similar to calling the managed <see cref="ObjCRuntime.Class.GetHandle(string)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ /// </remarks>
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ /// <summary>A constructor that initializes the object from the data stored in the unarchiver object.</summary>
+ /// <param name="coder">The unarchiver object.</param>
+ /// <remarks>
+ /// <para>This constructor is provided to allow the class to be initialized from an unarchiver (for example, during NIB deserialization). This is part of the <see cref="Foundation.NSCoding" /> protocol.</para>
+ /// <para>If developers want to create a subclass of this object and continue to support deserialization from an archive, they should implement a constructor with an identical signature: taking a single parameter of type <see cref="Foundation.NSCoder" /> and decorate it with the <c>[Export("initWithCoder:"]</c> attribute.</para>
+ /// <para>The state of this object can also be serialized by using the <see cref="Foundation.INSCoding.EncodeTo" /> companion method.</para>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [DesignatedInitializer]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("initWithCoder:")]
+ public SRAcousticSettingsMusicEQ (NSCoder coder) : base (NSObjectFlag.Empty)
+ {
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("initWithCoder:"), coder.Handle), "initWithCoder:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_IntPtr (this.SuperHandle, Selector.GetHandle ("initWithCoder:"), coder.Handle), "initWithCoder:");
+ }
+ GC.KeepAlive (coder);
+ }
+
+ /// <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ /// <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="Foundation.NSObject" />.
+ /// This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ /// When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ /// The actual initialization of the object is up to the developer.
+ /// </para>
+ /// <para>
+ /// This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ /// Once the allocation has taken place, the constructor has to initialize the object.
+ /// With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ /// </para>
+ /// <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ /// <para>
+ /// In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ /// If this is not the case, developers should instead chain to the proper constructor in their class.
+ /// </para>
+ /// <para>
+ /// The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="Foundation.NSObject" /> allocation and runtime type registration.
+ /// Typically the chaining would look like this:
+ /// </para>
+ /// <example>
+ /// <code lang="csharp lang-csharp"><![CDATA[
+ /// //
+ /// // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ /// // No actual initXxx method is invoked, that is done later in the constructor
+ /// //
+ /// // This is taken from the iOS SDK's source code for the UIView class:
+ /// //
+ /// [Export ("initWithFrame:")]
+ /// public UIView (CGRect frame) : base (NSObjectFlag.Empty)
+ /// {
+ /// // Invoke the init method now.
+ /// var initWithFrame = new Selector ("initWithFrame:").Handle;
+ /// if (IsDirectBinding) {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ /// } else {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ /// }
+ /// }
+ /// ]]></code>
+ /// </example>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected SRAcousticSettingsMusicEQ (NSObjectFlag t) : base (t)
+ {
+ }
+
+ /// <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ /// <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor is invoked by the runtime infrastructure (<see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ /// Developers should not invoke this method directly, instead they should call <see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ /// </para>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal SRAcousticSettingsMusicEQ (NativeHandle handle) : base (handle)
+ {
+ }
+
+ /// <param name="zone">Developers should pass <see langword="null" />. Memory zones are no longer used.</param><summary>Performs a copy of the underlying Objective-C object.</summary><returns>The newly-allocated object.</returns><remarks><para>This method performs a "shallow copy" of <see langword="this" />. If this object contains references to external objects, the new object will contain references to the same object.</para></remarks>
+ [Export ("copyWithZone:")]
+ [return: ReleaseAttribute ()]
+ [SupportedOSPlatform ("ios26.0")]
+ [SupportedOSPlatform ("maccatalyst26.0")]
+ [UnsupportedOSPlatform ("macos")]
+ [UnsupportedOSPlatform ("tvos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual NSObject Copy (NSZone? zone)
+ {
+ var zone__handle__ = zone.GetHandle ();
+ NSObject? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("copyWithZone:"), zone__handle__), true)!;
+ } else {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("copyWithZone:"), zone__handle__), true)!;
+ }
+ GC.KeepAlive (zone);
+ return ret!;
+ }
+ /// <summary>Encodes the state of the object using the provided encoder.</summary><param name="encoder">The encoder object where the state of the object will be stored</param><remarks><para>This method is part of the <see cref="T:Foundation.INSCoding" /> protocol and is used by applications to preserve the state of the object into an archive.</para><para>Developers will typically create an <see cref="T:Foundation.NSKeyedArchiver" /> and then invoke the <see cref="M:Foundation.NSKeyedArchiver.ArchiveRootObjectToFile(Foundation.NSObject,System.String)" /> method which will call into this method.</para><para>If developers want to allow their object to be archived, they should override this method and store their state in using the provided <paramref name="encoder" /> parameter. In addition, developers should also implement a constructor that takes an NSCoder argument and is exported with <c>[Export ("initWithCoder:")]</c>.</para><example><code lang="csharp lang-csharp"><![CDATA[public void override EncodeTo (NSCoder coder) {
+ /// coder.Encode (1, key: "version");
+ /// coder.Encode (userName, key: "userName");
+ /// coder.Encode (hostName, key: "hostName");]]></code></example></remarks>
+ [Export ("encodeWithCoder:")]
+ [SupportedOSPlatform ("ios26.0")]
+ [SupportedOSPlatform ("maccatalyst26.0")]
+ [UnsupportedOSPlatform ("macos")]
+ [UnsupportedOSPlatform ("tvos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void EncodeTo (NSCoder encoder)
+ {
+ var encoder__handle__ = encoder!.GetNonNullHandle (nameof (encoder));
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("encodeWithCoder:"), encoder__handle__);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("encodeWithCoder:"), encoder__handle__);
+ }
+ GC.KeepAlive (encoder);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual bool IsLateNightModeEnabled {
+ [Export ("isLateNightModeEnabled")]
+ get {
+ byte ret;
+ if (IsDirectBinding) {
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend (this.Handle, Selector.GetHandle ("isLateNightModeEnabled"));
+ } else {
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("isLateNightModeEnabled"));
+ }
+ return ret != 0;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual bool IsSoundCheckEnabled {
+ [Export ("isSoundCheckEnabled")]
+ get {
+ byte ret;
+ if (IsDirectBinding) {
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend (this.Handle, Selector.GetHandle ("isSoundCheckEnabled"));
+ } else {
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("isSoundCheckEnabled"));
+ }
+ return ret != 0;
+ }
+ }
+ } /* class SRAcousticSettingsMusicEQ */
+}
diff --git a/new/dotnet/ios/generated-sources/SensorKit/SRAcousticSettingsSampleLifetime.g.cs b/new/dotnet/ios/generated-sources/SensorKit/SRAcousticSettingsSampleLifetime.g.cs
new file mode 100644
index 0000000..090b331
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/SensorKit/SRAcousticSettingsSampleLifetime.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 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
+namespace SensorKit {
+ [SupportedOSPlatform ("ios26.0")]
+ [SupportedOSPlatform ("maccatalyst26.0")]
+ [Native]
+ public enum SRAcousticSettingsSampleLifetime : long {
+ EightDays = 1,
+ UntilUserDeletes = 2,
+ }
+}
diff --git a/old/dotnet/ios/generated-sources/SensorKit/SRFaceMetrics.g.cs b/new/dotnet/ios/generated-sources/SensorKit/SRFaceMetrics.g.cs
index c2bddaa..030e652 100644
--- a/old/dotnet/ios/generated-sources/SensorKit/SRFaceMetrics.g.cs
+++ b/new/dotnet/ios/generated-sources/SensorKit/SRFaceMetrics.g.cs
@@ -50,7 +50,7 @@ namespace SensorKit {
[UnsupportedOSPlatform ("tvos")]
[UnsupportedOSPlatform ("macos")]
[SupportedOSPlatform ("ios17.0")]
- [UnsupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("maccatalyst26.0")]
public unsafe partial class SRFaceMetrics : NSObject, INSCoding, INSCopying, INSSecureCoding {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
static readonly NativeHandle class_ptr = Class.GetHandle ("SRFaceMetrics");
@@ -153,8 +153,8 @@ namespace SensorKit {
[return: ReleaseAttribute ()]
[UnsupportedOSPlatform ("tvos")]
[UnsupportedOSPlatform ("macos")]
- [UnsupportedOSPlatform ("maccatalyst")]
[SupportedOSPlatform ("ios17.0")]
+ [SupportedOSPlatform ("maccatalyst26.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual NSObject Copy (NSZone? zone)
{
@@ -175,8 +175,8 @@ namespace SensorKit {
[Export ("encodeWithCoder:")]
[UnsupportedOSPlatform ("tvos")]
[UnsupportedOSPlatform ("macos")]
- [UnsupportedOSPlatform ("maccatalyst")]
[SupportedOSPlatform ("ios17.0")]
+ [SupportedOSPlatform ("maccatalyst26.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual void EncodeTo (NSCoder encoder)
{
diff --git a/old/dotnet/ios/generated-sources/SensorKit/SRSensor.g.cs b/new/dotnet/ios/generated-sources/SensorKit/SRSensor.g.cs
index bbddc0c..b94a18a 100644
--- a/old/dotnet/ios/generated-sources/SensorKit/SRSensor.g.cs
+++ b/new/dotnet/ios/generated-sources/SensorKit/SRSensor.g.cs
@@ -112,6 +112,16 @@ namespace SensorKit {
[UnsupportedOSPlatform ("tvos")]
[UnsupportedOSPlatform ("macos")]
Photoplethysmogram = 19,
+ [SupportedOSPlatform ("ios26.0")]
+ [SupportedOSPlatform ("maccatalyst26.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ [UnsupportedOSPlatform ("macos")]
+ AcousticSettings = 20,
+ [SupportedOSPlatform ("ios26.0")]
+ [SupportedOSPlatform ("maccatalyst26.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ [UnsupportedOSPlatform ("macos")]
+ SleepSessions = 21,
}
/// <summary>Extension methods for the <see cref="global::SensorKit.SRSensor" /> enumeration.</summary>
[UnsupportedOSPlatform ("tvos")]
@@ -120,7 +130,7 @@ namespace SensorKit {
[SupportedOSPlatform ("maccatalyst")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
static public partial class SRSensorExtensions {
- static IntPtr[] values = new IntPtr [20];
+ static IntPtr[] values = new IntPtr [22];
[Field ("SRSensorAmbientLightSensor", "SensorKit")]
internal unsafe static IntPtr SRSensorAmbientLightSensor {
get {
@@ -301,6 +311,28 @@ namespace SensorKit {
return Dlfcn.CachePointer (Libraries.SensorKit.Handle, "SRSensorPhotoplethysmogram", storage);
}
}
+ [SupportedOSPlatform ("ios26.0")]
+ [SupportedOSPlatform ("maccatalyst26.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ [UnsupportedOSPlatform ("macos")]
+ [Field ("SRSensorAcousticSettings", "SensorKit")]
+ internal unsafe static IntPtr SRSensorAcousticSettings {
+ get {
+ fixed (IntPtr *storage = &values [20])
+ return Dlfcn.CachePointer (Libraries.SensorKit.Handle, "SRSensorAcousticSettings", storage);
+ }
+ }
+ [SupportedOSPlatform ("ios26.0")]
+ [SupportedOSPlatform ("maccatalyst26.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ [UnsupportedOSPlatform ("macos")]
+ [Field ("SRSensorSleepSessions", "SensorKit")]
+ internal unsafe static IntPtr SRSensorSleepSessions {
+ get {
+ fixed (IntPtr *storage = &values [21])
+ return Dlfcn.CachePointer (Libraries.SensorKit.Handle, "SRSensorSleepSessions", 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 SRSensor self)
@@ -367,6 +399,12 @@ namespace SensorKit {
case 19: // SRSensor.Photoplethysmogram
ptr = SRSensorPhotoplethysmogram;
break;
+ case 20: // SRSensor.AcousticSettings
+ ptr = SRSensorAcousticSettings;
+ break;
+ case 21: // SRSensor.SleepSessions
+ ptr = SRSensorSleepSessions;
+ break;
}
return (NSString?) Runtime.GetNSObject (ptr);
}
@@ -416,6 +454,10 @@ namespace SensorKit {
return SRSensor.Electrocardiogram;
if (constant.IsEqualTo (SRSensorPhotoplethysmogram))
return SRSensor.Photoplethysmogram;
+ if (constant.IsEqualTo (SRSensorAcousticSettings))
+ return SRSensor.AcousticSettings;
+ if (constant.IsEqualTo (SRSensorSleepSessions))
+ return SRSensor.SleepSessions;
throw new NotSupportedException ($"{constant} has no associated enum value on this platform.");
}
/// <summary>Retrieves the <see cref="global::SensorKit.SRSensor" /> value represented by the backing field value in <paramref name="handle" />.</summary>
diff --git a/new/dotnet/ios/generated-sources/SensorKit/SRSleepSession.g.cs b/new/dotnet/ios/generated-sources/SensorKit/SRSleepSession.g.cs
new file mode 100644
index 0000000..be7616c
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/SensorKit/SRSleepSession.g.cs
@@ -0,0 +1,229 @@
+//
+// 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
+namespace SensorKit {
+ [Register("SRSleepSession", true)]
+ [SupportedOSPlatform ("ios26.0")]
+ [SupportedOSPlatform ("maccatalyst26.0")]
+ public unsafe partial class SRSleepSession : NSObject, INSCoding, INSCopying, INSSecureCoding {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ static readonly NativeHandle class_ptr = Class.GetHandle ("SRSleepSession");
+ /// <summary>The Objective-C class handle for this class.</summary>
+ /// <value>The pointer to the Objective-C class.</value>
+ /// <remarks>
+ /// Each managed class mirrors an unmanaged Objective-C class.
+ /// This value contains the pointer to the Objective-C class.
+ /// It is similar to calling the managed <see cref="ObjCRuntime.Class.GetHandle(string)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ /// </remarks>
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ /// <summary>A constructor that initializes the object from the data stored in the unarchiver object.</summary>
+ /// <param name="coder">The unarchiver object.</param>
+ /// <remarks>
+ /// <para>This constructor is provided to allow the class to be initialized from an unarchiver (for example, during NIB deserialization). This is part of the <see cref="Foundation.NSCoding" /> protocol.</para>
+ /// <para>If developers want to create a subclass of this object and continue to support deserialization from an archive, they should implement a constructor with an identical signature: taking a single parameter of type <see cref="Foundation.NSCoder" /> and decorate it with the <c>[Export("initWithCoder:"]</c> attribute.</para>
+ /// <para>The state of this object can also be serialized by using the <see cref="Foundation.INSCoding.EncodeTo" /> companion method.</para>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [DesignatedInitializer]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("initWithCoder:")]
+ public SRSleepSession (NSCoder coder) : base (NSObjectFlag.Empty)
+ {
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("initWithCoder:"), coder.Handle), "initWithCoder:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_IntPtr (this.SuperHandle, Selector.GetHandle ("initWithCoder:"), coder.Handle), "initWithCoder:");
+ }
+ GC.KeepAlive (coder);
+ }
+
+ /// <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ /// <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="Foundation.NSObject" />.
+ /// This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ /// When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ /// The actual initialization of the object is up to the developer.
+ /// </para>
+ /// <para>
+ /// This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ /// Once the allocation has taken place, the constructor has to initialize the object.
+ /// With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ /// </para>
+ /// <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ /// <para>
+ /// In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ /// If this is not the case, developers should instead chain to the proper constructor in their class.
+ /// </para>
+ /// <para>
+ /// The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="Foundation.NSObject" /> allocation and runtime type registration.
+ /// Typically the chaining would look like this:
+ /// </para>
+ /// <example>
+ /// <code lang="csharp lang-csharp"><![CDATA[
+ /// //
+ /// // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ /// // No actual initXxx method is invoked, that is done later in the constructor
+ /// //
+ /// // This is taken from the iOS SDK's source code for the UIView class:
+ /// //
+ /// [Export ("initWithFrame:")]
+ /// public UIView (CGRect frame) : base (NSObjectFlag.Empty)
+ /// {
+ /// // Invoke the init method now.
+ /// var initWithFrame = new Selector ("initWithFrame:").Handle;
+ /// if (IsDirectBinding) {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ /// } else {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ /// }
+ /// }
+ /// ]]></code>
+ /// </example>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected SRSleepSession (NSObjectFlag t) : base (t)
+ {
+ }
+
+ /// <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ /// <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor is invoked by the runtime infrastructure (<see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ /// Developers should not invoke this method directly, instead they should call <see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ /// </para>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal SRSleepSession (NativeHandle handle) : base (handle)
+ {
+ }
+
+ /// <param name="zone">Developers should pass <see langword="null" />. Memory zones are no longer used.</param><summary>Performs a copy of the underlying Objective-C object.</summary><returns>The newly-allocated object.</returns><remarks><para>This method performs a "shallow copy" of <see langword="this" />. If this object contains references to external objects, the new object will contain references to the same object.</para></remarks>
+ [Export ("copyWithZone:")]
+ [return: ReleaseAttribute ()]
+ [SupportedOSPlatform ("ios26.0")]
+ [SupportedOSPlatform ("maccatalyst26.0")]
+ [UnsupportedOSPlatform ("macos")]
+ [UnsupportedOSPlatform ("tvos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual NSObject Copy (NSZone? zone)
+ {
+ var zone__handle__ = zone.GetHandle ();
+ NSObject? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("copyWithZone:"), zone__handle__), true)!;
+ } else {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("copyWithZone:"), zone__handle__), true)!;
+ }
+ GC.KeepAlive (zone);
+ return ret!;
+ }
+ /// <summary>Encodes the state of the object using the provided encoder.</summary><param name="encoder">The encoder object where the state of the object will be stored</param><remarks><para>This method is part of the <see cref="T:Foundation.INSCoding" /> protocol and is used by applications to preserve the state of the object into an archive.</para><para>Developers will typically create an <see cref="T:Foundation.NSKeyedArchiver" /> and then invoke the <see cref="M:Foundation.NSKeyedArchiver.ArchiveRootObjectToFile(Foundation.NSObject,System.String)" /> method which will call into this method.</para><para>If developers want to allow their object to be archived, they should override this method and store their state in using the provided <paramref name="encoder" /> parameter. In addition, developers should also implement a constructor that takes an NSCoder argument and is exported with <c>[Export ("initWithCoder:")]</c>.</para><example><code lang="csharp lang-csharp"><![CDATA[public void override EncodeTo (NSCoder coder) {
+ /// coder.Encode (1, key: "version");
+ /// coder.Encode (userName, key: "userName");
+ /// coder.Encode (hostName, key: "hostName");]]></code></example></remarks>
+ [Export ("encodeWithCoder:")]
+ [SupportedOSPlatform ("ios26.0")]
+ [SupportedOSPlatform ("maccatalyst26.0")]
+ [UnsupportedOSPlatform ("macos")]
+ [UnsupportedOSPlatform ("tvos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void EncodeTo (NSCoder encoder)
+ {
+ var encoder__handle__ = encoder!.GetNonNullHandle (nameof (encoder));
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("encodeWithCoder:"), encoder__handle__);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("encodeWithCoder:"), encoder__handle__);
+ }
+ GC.KeepAlive (encoder);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual double Duration {
+ [Export ("duration")]
+ get {
+ double ret;
+ if (IsDirectBinding) {
+ ret = global::ObjCRuntime.Messaging.Double_objc_msgSend (this.Handle, Selector.GetHandle ("duration"));
+ } else {
+ ret = global::ObjCRuntime.Messaging.Double_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("duration"));
+ }
+ return ret;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual string Identifier {
+ [Export ("identifier")]
+ get {
+ string ret;
+ if (IsDirectBinding) {
+ ret = CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("identifier")), false)!;
+ } else {
+ ret = CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("identifier")), false)!;
+ }
+ return ret;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual NSDate StartDate {
+ [Export ("startDate", ArgumentSemantic.Retain)]
+ get {
+ NSDate? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<NSDate> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("startDate")), false)!;
+ } else {
+ ret = Runtime.GetNSObject<NSDate> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("startDate")), false)!;
+ }
+ return ret!;
+ }
+ }
+ } /* class SRSleepSession */
+}
diff --git a/old/dotnet/ios/ref/Microsoft.iOS.xml b/new/dotnet/ios/ref/Microsoft.iOS.xml
index 5ece73c..f832b0c 100644
--- a/old/dotnet/ios/ref/Microsoft.iOS.xml
+++ b/new/dotnet/ios/ref/Microsoft.iOS.xml
@@ -552149,6 +552149,426 @@ Console.WriteLine ("The password for the account is: {0}", password);
<summary>Converts an array of <see cref="T:Foundation.NSString" /> values into an array of their corresponding enum values.</summary>
<param name="values">The array if <see cref="T:Foundation.NSString" /> values to convert.</param>
</member>
+ <member name="P:SensorKit.SRAcousticSettings.ClassHandle">
+ <summary>The Objective-C class handle for this class.</summary>
+ <value>The pointer to the Objective-C class.</value>
+ <remarks>
+ Each managed class mirrors an unmanaged Objective-C class.
+ This value contains the pointer to the Objective-C class.
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ </remarks>
+ </member>
+ <member name="M:SensorKit.SRAcousticSettings.#ctor(Foundation.NSCoder)">
+ <summary>A constructor that initializes the object from the data stored in the unarchiver object.</summary>
+ <param name="coder">The unarchiver object.</param>
+ <remarks>
+ <para>This constructor is provided to allow the class to be initialized from an unarchiver (for example, during NIB deserialization). This is part of the <see cref="T:Foundation.NSCoding" /> protocol.</para>
+ <para>If developers want to create a subclass of this object and continue to support deserialization from an archive, they should implement a constructor with an identical signature: taking a single parameter of type <see cref="T:Foundation.NSCoder" /> and decorate it with the <c>[Export("initWithCoder:"]</c> attribute.</para>
+ <para>The state of this object can also be serialized by using the <see cref="M:Foundation.INSCoding.EncodeTo(Foundation.NSCoder)" /> companion method.</para>
+ </remarks>
+ </member>
+ <member name="M:SensorKit.SRAcousticSettings.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (CGRect frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:SensorKit.SRAcousticSettings.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
+ <member name="M:SensorKit.SRAcousticSettings.Copy(Foundation.NSZone)">
+ <param name="zone">Developers should pass <see langword="null" />. Memory zones are no longer used.</param><summary>Performs a copy of the underlying Objective-C object.</summary><returns>The newly-allocated object.</returns><remarks><para>This method performs a "shallow copy" of <see langword="this" />. If this object contains references to external objects, the new object will contain references to the same object.</para></remarks>
+ </member>
+ <member name="M:SensorKit.SRAcousticSettings.EncodeTo(Foundation.NSCoder)">
+ <summary>Encodes the state of the object using the provided encoder.</summary><param name="encoder">The encoder object where the state of the object will be stored</param><remarks><para>This method is part of the <see cref="T:Foundation.INSCoding" /> protocol and is used by applications to preserve the state of the object into an archive.</para><para>Developers will typically create an <see cref="T:Foundation.NSKeyedArchiver" /> and then invoke the <see cref="M:Foundation.NSKeyedArchiver.ArchiveRootObjectToFile(Foundation.NSObject,System.String)" /> method which will call into this method.</para><para>If developers want to allow their object to be archived, they should override this method and store their state in using the provided <paramref name="encoder" /> parameter. In addition, developers should also implement a constructor that takes an NSCoder argument and is exported with <c>[Export ("initWithCoder:")]</c>.</para><example><code lang="csharp lang-csharp"><![CDATA[public void override EncodeTo (NSCoder coder) {
+ coder.Encode (1, key: "version");
+ coder.Encode (userName, key: "userName");
+ coder.Encode (hostName, key: "hostName");]]></code></example></remarks>
+ </member>
+ <member name="P:SensorKit.SRAcousticSettingsAccessibility.ClassHandle">
+ <summary>The Objective-C class handle for this class.</summary>
+ <value>The pointer to the Objective-C class.</value>
+ <remarks>
+ Each managed class mirrors an unmanaged Objective-C class.
+ This value contains the pointer to the Objective-C class.
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ </remarks>
+ </member>
+ <member name="M:SensorKit.SRAcousticSettingsAccessibility.#ctor(Foundation.NSCoder)">
+ <summary>A constructor that initializes the object from the data stored in the unarchiver object.</summary>
+ <param name="coder">The unarchiver object.</param>
+ <remarks>
+ <para>This constructor is provided to allow the class to be initialized from an unarchiver (for example, during NIB deserialization). This is part of the <see cref="T:Foundation.NSCoding" /> protocol.</para>
+ <para>If developers want to create a subclass of this object and continue to support deserialization from an archive, they should implement a constructor with an identical signature: taking a single parameter of type <see cref="T:Foundation.NSCoder" /> and decorate it with the <c>[Export("initWithCoder:"]</c> attribute.</para>
+ <para>The state of this object can also be serialized by using the <see cref="M:Foundation.INSCoding.EncodeTo(Foundation.NSCoder)" /> companion method.</para>
+ </remarks>
+ </member>
+ <member name="M:SensorKit.SRAcousticSettingsAccessibility.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (CGRect frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:SensorKit.SRAcousticSettingsAccessibility.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
+ <member name="M:SensorKit.SRAcousticSettingsAccessibility.Copy(Foundation.NSZone)">
+ <param name="zone">Developers should pass <see langword="null" />. Memory zones are no longer used.</param><summary>Performs a copy of the underlying Objective-C object.</summary><returns>The newly-allocated object.</returns><remarks><para>This method performs a "shallow copy" of <see langword="this" />. If this object contains references to external objects, the new object will contain references to the same object.</para></remarks>
+ </member>
+ <member name="M:SensorKit.SRAcousticSettingsAccessibility.EncodeTo(Foundation.NSCoder)">
+ <summary>Encodes the state of the object using the provided encoder.</summary><param name="encoder">The encoder object where the state of the object will be stored</param><remarks><para>This method is part of the <see cref="T:Foundation.INSCoding" /> protocol and is used by applications to preserve the state of the object into an archive.</para><para>Developers will typically create an <see cref="T:Foundation.NSKeyedArchiver" /> and then invoke the <see cref="M:Foundation.NSKeyedArchiver.ArchiveRootObjectToFile(Foundation.NSObject,System.String)" /> method which will call into this method.</para><para>If developers want to allow their object to be archived, they should override this method and store their state in using the provided <paramref name="encoder" /> parameter. In addition, developers should also implement a constructor that takes an NSCoder argument and is exported with <c>[Export ("initWithCoder:")]</c>.</para><example><code lang="csharp lang-csharp"><![CDATA[public void override EncodeTo (NSCoder coder) {
+ coder.Encode (1, key: "version");
+ coder.Encode (userName, key: "userName");
+ coder.Encode (hostName, key: "hostName");]]></code></example></remarks>
+ </member>
+ <member name="P:SensorKit.SRAcousticSettingsAccessibilityBackgroundSounds.ClassHandle">
+ <summary>The Objective-C class handle for this class.</summary>
+ <value>The pointer to the Objective-C class.</value>
+ <remarks>
+ Each managed class mirrors an unmanaged Objective-C class.
+ This value contains the pointer to the Objective-C class.
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ </remarks>
+ </member>
+ <member name="M:SensorKit.SRAcousticSettingsAccessibilityBackgroundSounds.#ctor(Foundation.NSCoder)">
+ <summary>A constructor that initializes the object from the data stored in the unarchiver object.</summary>
+ <param name="coder">The unarchiver object.</param>
+ <remarks>
+ <para>This constructor is provided to allow the class to be initialized from an unarchiver (for example, during NIB deserialization). This is part of the <see cref="T:Foundation.NSCoding" /> protocol.</para>
+ <para>If developers want to create a subclass of this object and continue to support deserialization from an archive, they should implement a constructor with an identical signature: taking a single parameter of type <see cref="T:Foundation.NSCoder" /> and decorate it with the <c>[Export("initWithCoder:"]</c> attribute.</para>
+ <para>The state of this object can also be serialized by using the <see cref="M:Foundation.INSCoding.EncodeTo(Foundation.NSCoder)" /> companion method.</para>
+ </remarks>
+ </member>
+ <member name="M:SensorKit.SRAcousticSettingsAccessibilityBackgroundSounds.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (CGRect frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:SensorKit.SRAcousticSettingsAccessibilityBackgroundSounds.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
+ <member name="M:SensorKit.SRAcousticSettingsAccessibilityBackgroundSounds.Copy(Foundation.NSZone)">
+ <param name="zone">Developers should pass <see langword="null" />. Memory zones are no longer used.</param><summary>Performs a copy of the underlying Objective-C object.</summary><returns>The newly-allocated object.</returns><remarks><para>This method performs a "shallow copy" of <see langword="this" />. If this object contains references to external objects, the new object will contain references to the same object.</para></remarks>
+ </member>
+ <member name="M:SensorKit.SRAcousticSettingsAccessibilityBackgroundSounds.EncodeTo(Foundation.NSCoder)">
+ <summary>Encodes the state of the object using the provided encoder.</summary><param name="encoder">The encoder object where the state of the object will be stored</param><remarks><para>This method is part of the <see cref="T:Foundation.INSCoding" /> protocol and is used by applications to preserve the state of the object into an archive.</para><para>Developers will typically create an <see cref="T:Foundation.NSKeyedArchiver" /> and then invoke the <see cref="M:Foundation.NSKeyedArchiver.ArchiveRootObjectToFile(Foundation.NSObject,System.String)" /> method which will call into this method.</para><para>If developers want to allow their object to be archived, they should override this method and store their state in using the provided <paramref name="encoder" /> parameter. In addition, developers should also implement a constructor that takes an NSCoder argument and is exported with <c>[Export ("initWithCoder:")]</c>.</para><example><code lang="csharp lang-csharp"><![CDATA[public void override EncodeTo (NSCoder coder) {
+ coder.Encode (1, key: "version");
+ coder.Encode (userName, key: "userName");
+ coder.Encode (hostName, key: "hostName");]]></code></example></remarks>
+ </member>
+ <member name="P:SensorKit.SRAcousticSettingsAccessibilityHeadphoneAccommodations.ClassHandle">
+ <summary>The Objective-C class handle for this class.</summary>
+ <value>The pointer to the Objective-C class.</value>
+ <remarks>
+ Each managed class mirrors an unmanaged Objective-C class.
+ This value contains the pointer to the Objective-C class.
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ </remarks>
+ </member>
+ <member name="M:SensorKit.SRAcousticSettingsAccessibilityHeadphoneAccommodations.#ctor(Foundation.NSCoder)">
+ <summary>A constructor that initializes the object from the data stored in the unarchiver object.</summary>
+ <param name="coder">The unarchiver object.</param>
+ <remarks>
+ <para>This constructor is provided to allow the class to be initialized from an unarchiver (for example, during NIB deserialization). This is part of the <see cref="T:Foundation.NSCoding" /> protocol.</para>
+ <para>If developers want to create a subclass of this object and continue to support deserialization from an archive, they should implement a constructor with an identical signature: taking a single parameter of type <see cref="T:Foundation.NSCoder" /> and decorate it with the <c>[Export("initWithCoder:"]</c> attribute.</para>
+ <para>The state of this object can also be serialized by using the <see cref="M:Foundation.INSCoding.EncodeTo(Foundation.NSCoder)" /> companion method.</para>
+ </remarks>
+ </member>
+ <member name="M:SensorKit.SRAcousticSettingsAccessibilityHeadphoneAccommodations.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (CGRect frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:SensorKit.SRAcousticSettingsAccessibilityHeadphoneAccommodations.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
+ <member name="M:SensorKit.SRAcousticSettingsAccessibilityHeadphoneAccommodations.Copy(Foundation.NSZone)">
+ <param name="zone">Developers should pass <see langword="null" />. Memory zones are no longer used.</param><summary>Performs a copy of the underlying Objective-C object.</summary><returns>The newly-allocated object.</returns><remarks><para>This method performs a "shallow copy" of <see langword="this" />. If this object contains references to external objects, the new object will contain references to the same object.</para></remarks>
+ </member>
+ <member name="M:SensorKit.SRAcousticSettingsAccessibilityHeadphoneAccommodations.EncodeTo(Foundation.NSCoder)">
+ <summary>Encodes the state of the object using the provided encoder.</summary><param name="encoder">The encoder object where the state of the object will be stored</param><remarks><para>This method is part of the <see cref="T:Foundation.INSCoding" /> protocol and is used by applications to preserve the state of the object into an archive.</para><para>Developers will typically create an <see cref="T:Foundation.NSKeyedArchiver" /> and then invoke the <see cref="M:Foundation.NSKeyedArchiver.ArchiveRootObjectToFile(Foundation.NSObject,System.String)" /> method which will call into this method.</para><para>If developers want to allow their object to be archived, they should override this method and store their state in using the provided <paramref name="encoder" /> parameter. In addition, developers should also implement a constructor that takes an NSCoder argument and is exported with <c>[Export ("initWithCoder:")]</c>.</para><example><code lang="csharp lang-csharp"><![CDATA[public void override EncodeTo (NSCoder coder) {
+ coder.Encode (1, key: "version");
+ coder.Encode (userName, key: "userName");
+ coder.Encode (hostName, key: "hostName");]]></code></example></remarks>
+ </member>
+ <member name="P:SensorKit.SRAcousticSettingsMusicEQ.ClassHandle">
+ <summary>The Objective-C class handle for this class.</summary>
+ <value>The pointer to the Objective-C class.</value>
+ <remarks>
+ Each managed class mirrors an unmanaged Objective-C class.
+ This value contains the pointer to the Objective-C class.
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ </remarks>
+ </member>
+ <member name="M:SensorKit.SRAcousticSettingsMusicEQ.#ctor(Foundation.NSCoder)">
+ <summary>A constructor that initializes the object from the data stored in the unarchiver object.</summary>
+ <param name="coder">The unarchiver object.</param>
+ <remarks>
+ <para>This constructor is provided to allow the class to be initialized from an unarchiver (for example, during NIB deserialization). This is part of the <see cref="T:Foundation.NSCoding" /> protocol.</para>
+ <para>If developers want to create a subclass of this object and continue to support deserialization from an archive, they should implement a constructor with an identical signature: taking a single parameter of type <see cref="T:Foundation.NSCoder" /> and decorate it with the <c>[Export("initWithCoder:"]</c> attribute.</para>
+ <para>The state of this object can also be serialized by using the <see cref="M:Foundation.INSCoding.EncodeTo(Foundation.NSCoder)" /> companion method.</para>
+ </remarks>
+ </member>
+ <member name="M:SensorKit.SRAcousticSettingsMusicEQ.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (CGRect frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:SensorKit.SRAcousticSettingsMusicEQ.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
+ <member name="M:SensorKit.SRAcousticSettingsMusicEQ.Copy(Foundation.NSZone)">
+ <param name="zone">Developers should pass <see langword="null" />. Memory zones are no longer used.</param><summary>Performs a copy of the underlying Objective-C object.</summary><returns>The newly-allocated object.</returns><remarks><para>This method performs a "shallow copy" of <see langword="this" />. If this object contains references to external objects, the new object will contain references to the same object.</para></remarks>
+ </member>
+ <member name="M:SensorKit.SRAcousticSettingsMusicEQ.EncodeTo(Foundation.NSCoder)">
+ <summary>Encodes the state of the object using the provided encoder.</summary><param name="encoder">The encoder object where the state of the object will be stored</param><remarks><para>This method is part of the <see cref="T:Foundation.INSCoding" /> protocol and is used by applications to preserve the state of the object into an archive.</para><para>Developers will typically create an <see cref="T:Foundation.NSKeyedArchiver" /> and then invoke the <see cref="M:Foundation.NSKeyedArchiver.ArchiveRootObjectToFile(Foundation.NSObject,System.String)" /> method which will call into this method.</para><para>If developers want to allow their object to be archived, they should override this method and store their state in using the provided <paramref name="encoder" /> parameter. In addition, developers should also implement a constructor that takes an NSCoder argument and is exported with <c>[Export ("initWithCoder:")]</c>.</para><example><code lang="csharp lang-csharp"><![CDATA[public void override EncodeTo (NSCoder coder) {
+ coder.Encode (1, key: "version");
+ coder.Encode (userName, key: "userName");
+ coder.Encode (hostName, key: "hostName");]]></code></example></remarks>
+ </member>
<member name="P:SensorKit.SRAmbientLightSample.ClassHandle">
<summary>The Objective-C class handle for this class.</summary>
<value>The pointer to the Objective-C class.</value>
@@ -554063,6 +554483,90 @@ Console.WriteLine ("The password for the account is: {0}", password);
</para>
</remarks>
</member>
+ <member name="P:SensorKit.SRSleepSession.ClassHandle">
+ <summary>The Objective-C class handle for this class.</summary>
+ <value>The pointer to the Objective-C class.</value>
+ <remarks>
+ Each managed class mirrors an unmanaged Objective-C class.
+ This value contains the pointer to the Objective-C class.
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ </remarks>
+ </member>
+ <member name="M:SensorKit.SRSleepSession.#ctor(Foundation.NSCoder)">
+ <summary>A constructor that initializes the object from the data stored in the unarchiver object.</summary>
+ <param name="coder">The unarchiver object.</param>
+ <remarks>
+ <para>This constructor is provided to allow the class to be initialized from an unarchiver (for example, during NIB deserialization). This is part of the <see cref="T:Foundation.NSCoding" /> protocol.</para>
+ <para>If developers want to create a subclass of this object and continue to support deserialization from an archive, they should implement a constructor with an identical signature: taking a single parameter of type <see cref="T:Foundation.NSCoder" /> and decorate it with the <c>[Export("initWithCoder:"]</c> attribute.</para>
+ <para>The state of this object can also be serialized by using the <see cref="M:Foundation.INSCoding.EncodeTo(Foundation.NSCoder)" /> companion method.</para>
+ </remarks>
+ </member>
+ <member name="M:SensorKit.SRSleepSession.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (CGRect frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:SensorKit.SRSleepSession.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
+ <member name="M:SensorKit.SRSleepSession.Copy(Foundation.NSZone)">
+ <param name="zone">Developers should pass <see langword="null" />. Memory zones are no longer used.</param><summary>Performs a copy of the underlying Objective-C object.</summary><returns>The newly-allocated object.</returns><remarks><para>This method performs a "shallow copy" of <see langword="this" />. If this object contains references to external objects, the new object will contain references to the same object.</para></remarks>
+ </member>
+ <member name="M:SensorKit.SRSleepSession.EncodeTo(Foundation.NSCoder)">
+ <summary>Encodes the state of the object using the provided encoder.</summary><param name="encoder">The encoder object where the state of the object will be stored</param><remarks><para>This method is part of the <see cref="T:Foundation.INSCoding" /> protocol and is used by applications to preserve the state of the object into an archive.</para><para>Developers will typically create an <see cref="T:Foundation.NSKeyedArchiver" /> and then invoke the <see cref="M:Foundation.NSKeyedArchiver.ArchiveRootObjectToFile(Foundation.NSObject,System.String)" /> method which will call into this method.</para><para>If developers want to allow their object to be archived, they should override this method and store their state in using the provided <paramref name="encoder" /> parameter. In addition, developers should also implement a constructor that takes an NSCoder argument and is exported with <c>[Export ("initWithCoder:")]</c>.</para><example><code lang="csharp lang-csharp"><![CDATA[public void override EncodeTo (NSCoder coder) {
+ coder.Encode (1, key: "version");
+ coder.Encode (userName, key: "userName");
+ coder.Encode (hostName, key: "hostName");]]></code></example></remarks>
+ </member>
<member name="P:SensorKit.SRSpeechExpression.ClassHandle">
<summary>The Objective-C class handle for this class.</summary>
<value>The pointer to the Objective-C class.</value>
diff --git a/old/dotnet/maccatalyst/doc/Microsoft.MacCatalyst.xml b/new/dotnet/maccatalyst/doc/Microsoft.MacCatalyst.xml
index 317e2f9..bd6125e 100644
--- a/old/dotnet/maccatalyst/doc/Microsoft.MacCatalyst.xml
+++ b/new/dotnet/maccatalyst/doc/Microsoft.MacCatalyst.xml
@@ -530146,6 +530146,426 @@ Console.WriteLine ("The password for the account is: {0}", password);
<summary>Converts an array of <see cref="T:Foundation.NSString" /> values into an array of their corresponding enum values.</summary>
<param name="values">The array if <see cref="T:Foundation.NSString" /> values to convert.</param>
</member>
+ <member name="P:SensorKit.SRAcousticSettings.ClassHandle">
+ <summary>The Objective-C class handle for this class.</summary>
+ <value>The pointer to the Objective-C class.</value>
+ <remarks>
+ Each managed class mirrors an unmanaged Objective-C class.
+ This value contains the pointer to the Objective-C class.
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ </remarks>
+ </member>
+ <member name="M:SensorKit.SRAcousticSettings.#ctor(Foundation.NSCoder)">
+ <summary>A constructor that initializes the object from the data stored in the unarchiver object.</summary>
+ <param name="coder">The unarchiver object.</param>
+ <remarks>
+ <para>This constructor is provided to allow the class to be initialized from an unarchiver (for example, during NIB deserialization). This is part of the <see cref="T:Foundation.NSCoding" /> protocol.</para>
+ <para>If developers want to create a subclass of this object and continue to support deserialization from an archive, they should implement a constructor with an identical signature: taking a single parameter of type <see cref="T:Foundation.NSCoder" /> and decorate it with the <c>[Export("initWithCoder:"]</c> attribute.</para>
+ <para>The state of this object can also be serialized by using the <see cref="M:Foundation.INSCoding.EncodeTo(Foundation.NSCoder)" /> companion method.</para>
+ </remarks>
+ </member>
+ <member name="M:SensorKit.SRAcousticSettings.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (CGRect frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:SensorKit.SRAcousticSettings.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
+ <member name="M:SensorKit.SRAcousticSettings.Copy(Foundation.NSZone)">
+ <param name="zone">Developers should pass <see langword="null" />. Memory zones are no longer used.</param><summary>Performs a copy of the underlying Objective-C object.</summary><returns>The newly-allocated object.</returns><remarks><para>This method performs a "shallow copy" of <see langword="this" />. If this object contains references to external objects, the new object will contain references to the same object.</para></remarks>
+ </member>
+ <member name="M:SensorKit.SRAcousticSettings.EncodeTo(Foundation.NSCoder)">
+ <summary>Encodes the state of the object using the provided encoder.</summary><param name="encoder">The encoder object where the state of the object will be stored</param><remarks><para>This method is part of the <see cref="T:Foundation.INSCoding" /> protocol and is used by applications to preserve the state of the object into an archive.</para><para>Developers will typically create an <see cref="T:Foundation.NSKeyedArchiver" /> and then invoke the <see cref="M:Foundation.NSKeyedArchiver.ArchiveRootObjectToFile(Foundation.NSObject,System.String)" /> method which will call into this method.</para><para>If developers want to allow their object to be archived, they should override this method and store their state in using the provided <paramref name="encoder" /> parameter. In addition, developers should also implement a constructor that takes an NSCoder argument and is exported with <c>[Export ("initWithCoder:")]</c>.</para><example><code lang="csharp lang-csharp"><![CDATA[public void override EncodeTo (NSCoder coder) {
+ coder.Encode (1, key: "version");
+ coder.Encode (userName, key: "userName");
+ coder.Encode (hostName, key: "hostName");]]></code></example></remarks>
+ </member>
+ <member name="P:SensorKit.SRAcousticSettingsAccessibility.ClassHandle">
+ <summary>The Objective-C class handle for this class.</summary>
+ <value>The pointer to the Objective-C class.</value>
+ <remarks>
+ Each managed class mirrors an unmanaged Objective-C class.
+ This value contains the pointer to the Objective-C class.
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ </remarks>
+ </member>
+ <member name="M:SensorKit.SRAcousticSettingsAccessibility.#ctor(Foundation.NSCoder)">
+ <summary>A constructor that initializes the object from the data stored in the unarchiver object.</summary>
+ <param name="coder">The unarchiver object.</param>
+ <remarks>
+ <para>This constructor is provided to allow the class to be initialized from an unarchiver (for example, during NIB deserialization). This is part of the <see cref="T:Foundation.NSCoding" /> protocol.</para>
+ <para>If developers want to create a subclass of this object and continue to support deserialization from an archive, they should implement a constructor with an identical signature: taking a single parameter of type <see cref="T:Foundation.NSCoder" /> and decorate it with the <c>[Export("initWithCoder:"]</c> attribute.</para>
+ <para>The state of this object can also be serialized by using the <see cref="M:Foundation.INSCoding.EncodeTo(Foundation.NSCoder)" /> companion method.</para>
+ </remarks>
+ </member>
+ <member name="M:SensorKit.SRAcousticSettingsAccessibility.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (CGRect frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:SensorKit.SRAcousticSettingsAccessibility.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
+ <member name="M:SensorKit.SRAcousticSettingsAccessibility.Copy(Foundation.NSZone)">
+ <param name="zone">Developers should pass <see langword="null" />. Memory zones are no longer used.</param><summary>Performs a copy of the underlying Objective-C object.</summary><returns>The newly-allocated object.</returns><remarks><para>This method performs a "shallow copy" of <see langword="this" />. If this object contains references to external objects, the new object will contain references to the same object.</para></remarks>
+ </member>
+ <member name="M:SensorKit.SRAcousticSettingsAccessibility.EncodeTo(Foundation.NSCoder)">
+ <summary>Encodes the state of the object using the provided encoder.</summary><param name="encoder">The encoder object where the state of the object will be stored</param><remarks><para>This method is part of the <see cref="T:Foundation.INSCoding" /> protocol and is used by applications to preserve the state of the object into an archive.</para><para>Developers will typically create an <see cref="T:Foundation.NSKeyedArchiver" /> and then invoke the <see cref="M:Foundation.NSKeyedArchiver.ArchiveRootObjectToFile(Foundation.NSObject,System.String)" /> method which will call into this method.</para><para>If developers want to allow their object to be archived, they should override this method and store their state in using the provided <paramref name="encoder" /> parameter. In addition, developers should also implement a constructor that takes an NSCoder argument and is exported with <c>[Export ("initWithCoder:")]</c>.</para><example><code lang="csharp lang-csharp"><![CDATA[public void override EncodeTo (NSCoder coder) {
+ coder.Encode (1, key: "version");
+ coder.Encode (userName, key: "userName");
+ coder.Encode (hostName, key: "hostName");]]></code></example></remarks>
+ </member>
+ <member name="P:SensorKit.SRAcousticSettingsAccessibilityBackgroundSounds.ClassHandle">
+ <summary>The Objective-C class handle for this class.</summary>
+ <value>The pointer to the Objective-C class.</value>
+ <remarks>
+ Each managed class mirrors an unmanaged Objective-C class.
+ This value contains the pointer to the Objective-C class.
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ </remarks>
+ </member>
+ <member name="M:SensorKit.SRAcousticSettingsAccessibilityBackgroundSounds.#ctor(Foundation.NSCoder)">
+ <summary>A constructor that initializes the object from the data stored in the unarchiver object.</summary>
+ <param name="coder">The unarchiver object.</param>
+ <remarks>
+ <para>This constructor is provided to allow the class to be initialized from an unarchiver (for example, during NIB deserialization). This is part of the <see cref="T:Foundation.NSCoding" /> protocol.</para>
+ <para>If developers want to create a subclass of this object and continue to support deserialization from an archive, they should implement a constructor with an identical signature: taking a single parameter of type <see cref="T:Foundation.NSCoder" /> and decorate it with the <c>[Export("initWithCoder:"]</c> attribute.</para>
+ <para>The state of this object can also be serialized by using the <see cref="M:Foundation.INSCoding.EncodeTo(Foundation.NSCoder)" /> companion method.</para>
+ </remarks>
+ </member>
+ <member name="M:SensorKit.SRAcousticSettingsAccessibilityBackgroundSounds.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (CGRect frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:SensorKit.SRAcousticSettingsAccessibilityBackgroundSounds.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
+ <member name="M:SensorKit.SRAcousticSettingsAccessibilityBackgroundSounds.Copy(Foundation.NSZone)">
+ <param name="zone">Developers should pass <see langword="null" />. Memory zones are no longer used.</param><summary>Performs a copy of the underlying Objective-C object.</summary><returns>The newly-allocated object.</returns><remarks><para>This method performs a "shallow copy" of <see langword="this" />. If this object contains references to external objects, the new object will contain references to the same object.</para></remarks>
+ </member>
+ <member name="M:SensorKit.SRAcousticSettingsAccessibilityBackgroundSounds.EncodeTo(Foundation.NSCoder)">
+ <summary>Encodes the state of the object using the provided encoder.</summary><param name="encoder">The encoder object where the state of the object will be stored</param><remarks><para>This method is part of the <see cref="T:Foundation.INSCoding" /> protocol and is used by applications to preserve the state of the object into an archive.</para><para>Developers will typically create an <see cref="T:Foundation.NSKeyedArchiver" /> and then invoke the <see cref="M:Foundation.NSKeyedArchiver.ArchiveRootObjectToFile(Foundation.NSObject,System.String)" /> method which will call into this method.</para><para>If developers want to allow their object to be archived, they should override this method and store their state in using the provided <paramref name="encoder" /> parameter. In addition, developers should also implement a constructor that takes an NSCoder argument and is exported with <c>[Export ("initWithCoder:")]</c>.</para><example><code lang="csharp lang-csharp"><![CDATA[public void override EncodeTo (NSCoder coder) {
+ coder.Encode (1, key: "version");
+ coder.Encode (userName, key: "userName");
+ coder.Encode (hostName, key: "hostName");]]></code></example></remarks>
+ </member>
+ <member name="P:SensorKit.SRAcousticSettingsAccessibilityHeadphoneAccommodations.ClassHandle">
+ <summary>The Objective-C class handle for this class.</summary>
+ <value>The pointer to the Objective-C class.</value>
+ <remarks>
+ Each managed class mirrors an unmanaged Objective-C class.
+ This value contains the pointer to the Objective-C class.
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ </remarks>
+ </member>
+ <member name="M:SensorKit.SRAcousticSettingsAccessibilityHeadphoneAccommodations.#ctor(Foundation.NSCoder)">
+ <summary>A constructor that initializes the object from the data stored in the unarchiver object.</summary>
+ <param name="coder">The unarchiver object.</param>
+ <remarks>
+ <para>This constructor is provided to allow the class to be initialized from an unarchiver (for example, during NIB deserialization). This is part of the <see cref="T:Foundation.NSCoding" /> protocol.</para>
+ <para>If developers want to create a subclass of this object and continue to support deserialization from an archive, they should implement a constructor with an identical signature: taking a single parameter of type <see cref="T:Foundation.NSCoder" /> and decorate it with the <c>[Export("initWithCoder:"]</c> attribute.</para>
+ <para>The state of this object can also be serialized by using the <see cref="M:Foundation.INSCoding.EncodeTo(Foundation.NSCoder)" /> companion method.</para>
+ </remarks>
+ </member>
+ <member name="M:SensorKit.SRAcousticSettingsAccessibilityHeadphoneAccommodations.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (CGRect frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:SensorKit.SRAcousticSettingsAccessibilityHeadphoneAccommodations.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
+ <member name="M:SensorKit.SRAcousticSettingsAccessibilityHeadphoneAccommodations.Copy(Foundation.NSZone)">
+ <param name="zone">Developers should pass <see langword="null" />. Memory zones are no longer used.</param><summary>Performs a copy of the underlying Objective-C object.</summary><returns>The newly-allocated object.</returns><remarks><para>This method performs a "shallow copy" of <see langword="this" />. If this object contains references to external objects, the new object will contain references to the same object.</para></remarks>
+ </member>
+ <member name="M:SensorKit.SRAcousticSettingsAccessibilityHeadphoneAccommodations.EncodeTo(Foundation.NSCoder)">
+ <summary>Encodes the state of the object using the provided encoder.</summary><param name="encoder">The encoder object where the state of the object will be stored</param><remarks><para>This method is part of the <see cref="T:Foundation.INSCoding" /> protocol and is used by applications to preserve the state of the object into an archive.</para><para>Developers will typically create an <see cref="T:Foundation.NSKeyedArchiver" /> and then invoke the <see cref="M:Foundation.NSKeyedArchiver.ArchiveRootObjectToFile(Foundation.NSObject,System.String)" /> method which will call into this method.</para><para>If developers want to allow their object to be archived, they should override this method and store their state in using the provided <paramref name="encoder" /> parameter. In addition, developers should also implement a constructor that takes an NSCoder argument and is exported with <c>[Export ("initWithCoder:")]</c>.</para><example><code lang="csharp lang-csharp"><![CDATA[public void override EncodeTo (NSCoder coder) {
+ coder.Encode (1, key: "version");
+ coder.Encode (userName, key: "userName");
+ coder.Encode (hostName, key: "hostName");]]></code></example></remarks>
+ </member>
+ <member name="P:SensorKit.SRAcousticSettingsMusicEQ.ClassHandle">
+ <summary>The Objective-C class handle for this class.</summary>
+ <value>The pointer to the Objective-C class.</value>
+ <remarks>
+ Each managed class mirrors an unmanaged Objective-C class.
+ This value contains the pointer to the Objective-C class.
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ </remarks>
+ </member>
+ <member name="M:SensorKit.SRAcousticSettingsMusicEQ.#ctor(Foundation.NSCoder)">
+ <summary>A constructor that initializes the object from the data stored in the unarchiver object.</summary>
+ <param name="coder">The unarchiver object.</param>
+ <remarks>
+ <para>This constructor is provided to allow the class to be initialized from an unarchiver (for example, during NIB deserialization). This is part of the <see cref="T:Foundation.NSCoding" /> protocol.</para>
+ <para>If developers want to create a subclass of this object and continue to support deserialization from an archive, they should implement a constructor with an identical signature: taking a single parameter of type <see cref="T:Foundation.NSCoder" /> and decorate it with the <c>[Export("initWithCoder:"]</c> attribute.</para>
+ <para>The state of this object can also be serialized by using the <see cref="M:Foundation.INSCoding.EncodeTo(Foundation.NSCoder)" /> companion method.</para>
+ </remarks>
+ </member>
+ <member name="M:SensorKit.SRAcousticSettingsMusicEQ.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (CGRect frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:SensorKit.SRAcousticSettingsMusicEQ.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
+ <member name="M:SensorKit.SRAcousticSettingsMusicEQ.Copy(Foundation.NSZone)">
+ <param name="zone">Developers should pass <see langword="null" />. Memory zones are no longer used.</param><summary>Performs a copy of the underlying Objective-C object.</summary><returns>The newly-allocated object.</returns><remarks><para>This method performs a "shallow copy" of <see langword="this" />. If this object contains references to external objects, the new object will contain references to the same object.</para></remarks>
+ </member>
+ <member name="M:SensorKit.SRAcousticSettingsMusicEQ.EncodeTo(Foundation.NSCoder)">
+ <summary>Encodes the state of the object using the provided encoder.</summary><param name="encoder">The encoder object where the state of the object will be stored</param><remarks><para>This method is part of the <see cref="T:Foundation.INSCoding" /> protocol and is used by applications to preserve the state of the object into an archive.</para><para>Developers will typically create an <see cref="T:Foundation.NSKeyedArchiver" /> and then invoke the <see cref="M:Foundation.NSKeyedArchiver.ArchiveRootObjectToFile(Foundation.NSObject,System.String)" /> method which will call into this method.</para><para>If developers want to allow their object to be archived, they should override this method and store their state in using the provided <paramref name="encoder" /> parameter. In addition, developers should also implement a constructor that takes an NSCoder argument and is exported with <c>[Export ("initWithCoder:")]</c>.</para><example><code lang="csharp lang-csharp"><![CDATA[public void override EncodeTo (NSCoder coder) {
+ coder.Encode (1, key: "version");
+ coder.Encode (userName, key: "userName");
+ coder.Encode (hostName, key: "hostName");]]></code></example></remarks>
+ </member>
<member name="P:SensorKit.SRAmbientLightSample.ClassHandle">
<summary>The Objective-C class handle for this class.</summary>
<value>The pointer to the Objective-C class.</value>
@@ -530885,6 +531305,90 @@ Console.WriteLine ("The password for the account is: {0}", password);
<para>See the <see cref="T:Foundation.NSError" /> for information on how to use the error domains when reporting errors.</para>
</remarks>
</member>
+ <member name="P:SensorKit.SRFaceMetrics.ClassHandle">
+ <summary>The Objective-C class handle for this class.</summary>
+ <value>The pointer to the Objective-C class.</value>
+ <remarks>
+ Each managed class mirrors an unmanaged Objective-C class.
+ This value contains the pointer to the Objective-C class.
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ </remarks>
+ </member>
+ <member name="M:SensorKit.SRFaceMetrics.#ctor(Foundation.NSCoder)">
+ <summary>A constructor that initializes the object from the data stored in the unarchiver object.</summary>
+ <param name="coder">The unarchiver object.</param>
+ <remarks>
+ <para>This constructor is provided to allow the class to be initialized from an unarchiver (for example, during NIB deserialization). This is part of the <see cref="T:Foundation.NSCoding" /> protocol.</para>
+ <para>If developers want to create a subclass of this object and continue to support deserialization from an archive, they should implement a constructor with an identical signature: taking a single parameter of type <see cref="T:Foundation.NSCoder" /> and decorate it with the <c>[Export("initWithCoder:"]</c> attribute.</para>
+ <para>The state of this object can also be serialized by using the <see cref="M:Foundation.INSCoding.EncodeTo(Foundation.NSCoder)" /> companion method.</para>
+ </remarks>
+ </member>
+ <member name="M:SensorKit.SRFaceMetrics.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (CGRect frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:SensorKit.SRFaceMetrics.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
+ <member name="M:SensorKit.SRFaceMetrics.Copy(Foundation.NSZone)">
+ <param name="zone">Developers should pass <see langword="null" />. Memory zones are no longer used.</param><summary>Performs a copy of the underlying Objective-C object.</summary><returns>The newly-allocated object.</returns><remarks><para>This method performs a "shallow copy" of <see langword="this" />. If this object contains references to external objects, the new object will contain references to the same object.</para></remarks>
+ </member>
+ <member name="M:SensorKit.SRFaceMetrics.EncodeTo(Foundation.NSCoder)">
+ <summary>Encodes the state of the object using the provided encoder.</summary><param name="encoder">The encoder object where the state of the object will be stored</param><remarks><para>This method is part of the <see cref="T:Foundation.INSCoding" /> protocol and is used by applications to preserve the state of the object into an archive.</para><para>Developers will typically create an <see cref="T:Foundation.NSKeyedArchiver" /> and then invoke the <see cref="M:Foundation.NSKeyedArchiver.ArchiveRootObjectToFile(Foundation.NSObject,System.String)" /> method which will call into this method.</para><para>If developers want to allow their object to be archived, they should override this method and store their state in using the provided <paramref name="encoder" /> parameter. In addition, developers should also implement a constructor that takes an NSCoder argument and is exported with <c>[Export ("initWithCoder:")]</c>.</para><example><code lang="csharp lang-csharp"><![CDATA[public void override EncodeTo (NSCoder coder) {
+ coder.Encode (1, key: "version");
+ coder.Encode (userName, key: "userName");
+ coder.Encode (hostName, key: "hostName");]]></code></example></remarks>
+ </member>
<member name="P:SensorKit.SRFaceMetricsExpression.ClassHandle">
<summary>The Objective-C class handle for this class.</summary>
<value>The pointer to the Objective-C class.</value>
@@ -531976,6 +532480,90 @@ Console.WriteLine ("The password for the account is: {0}", password);
</para>
</remarks>
</member>
+ <member name="P:SensorKit.SRSleepSession.ClassHandle">
+ <summary>The Objective-C class handle for this class.</summary>
+ <value>The pointer to the Objective-C class.</value>
+ <remarks>
+ Each managed class mirrors an unmanaged Objective-C class.
+ This value contains the pointer to the Objective-C class.
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ </remarks>
+ </member>
+ <member name="M:SensorKit.SRSleepSession.#ctor(Foundation.NSCoder)">
+ <summary>A constructor that initializes the object from the data stored in the unarchiver object.</summary>
+ <param name="coder">The unarchiver object.</param>
+ <remarks>
+ <para>This constructor is provided to allow the class to be initialized from an unarchiver (for example, during NIB deserialization). This is part of the <see cref="T:Foundation.NSCoding" /> protocol.</para>
+ <para>If developers want to create a subclass of this object and continue to support deserialization from an archive, they should implement a constructor with an identical signature: taking a single parameter of type <see cref="T:Foundation.NSCoder" /> and decorate it with the <c>[Export("initWithCoder:"]</c> attribute.</para>
+ <para>The state of this object can also be serialized by using the <see cref="M:Foundation.INSCoding.EncodeTo(Foundation.NSCoder)" /> companion method.</para>
+ </remarks>
+ </member>
+ <member name="M:SensorKit.SRSleepSession.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (CGRect frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:SensorKit.SRSleepSession.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
+ <member name="M:SensorKit.SRSleepSession.Copy(Foundation.NSZone)">
+ <param name="zone">Developers should pass <see langword="null" />. Memory zones are no longer used.</param><summary>Performs a copy of the underlying Objective-C object.</summary><returns>The newly-allocated object.</returns><remarks><para>This method performs a "shallow copy" of <see langword="this" />. If this object contains references to external objects, the new object will contain references to the same object.</para></remarks>
+ </member>
+ <member name="M:SensorKit.SRSleepSession.EncodeTo(Foundation.NSCoder)">
+ <summary>Encodes the state of the object using the provided encoder.</summary><param name="encoder">The encoder object where the state of the object will be stored</param><remarks><para>This method is part of the <see cref="T:Foundation.INSCoding" /> protocol and is used by applications to preserve the state of the object into an archive.</para><para>Developers will typically create an <see cref="T:Foundation.NSKeyedArchiver" /> and then invoke the <see cref="M:Foundation.NSKeyedArchiver.ArchiveRootObjectToFile(Foundation.NSObject,System.String)" /> method which will call into this method.</para><para>If developers want to allow their object to be archived, they should override this method and store their state in using the provided <paramref name="encoder" /> parameter. In addition, developers should also implement a constructor that takes an NSCoder argument and is exported with <c>[Export ("initWithCoder:")]</c>.</para><example><code lang="csharp lang-csharp"><![CDATA[public void override EncodeTo (NSCoder coder) {
+ coder.Encode (1, key: "version");
+ coder.Encode (userName, key: "userName");
+ coder.Encode (hostName, key: "hostName");]]></code></example></remarks>
+ </member>
<member name="P:SensorKit.SRSpeechExpression.ClassHandle">
<summary>The Objective-C class handle for this class.</summary>
<value>The pointer to the Objective-C class.</value>
diff --git a/new/dotnet/maccatalyst/generated-sources/SensorKit/SRAcousticSettings.g.cs b/new/dotnet/maccatalyst/generated-sources/SensorKit/SRAcousticSettings.g.cs
new file mode 100644
index 0000000..490acd0
--- /dev/null
+++ b/new/dotnet/maccatalyst/generated-sources/SensorKit/SRAcousticSettings.g.cs
@@ -0,0 +1,255 @@
+//
+// 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
+namespace SensorKit {
+ [Register("SRAcousticSettings", true)]
+ [SupportedOSPlatform ("ios26.0")]
+ [SupportedOSPlatform ("maccatalyst26.0")]
+ public unsafe partial class SRAcousticSettings : NSObject, INSCoding, INSCopying, INSSecureCoding {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ static readonly NativeHandle class_ptr = Class.GetHandle ("SRAcousticSettings");
+ /// <summary>The Objective-C class handle for this class.</summary>
+ /// <value>The pointer to the Objective-C class.</value>
+ /// <remarks>
+ /// Each managed class mirrors an unmanaged Objective-C class.
+ /// This value contains the pointer to the Objective-C class.
+ /// It is similar to calling the managed <see cref="ObjCRuntime.Class.GetHandle(string)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ /// </remarks>
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ /// <summary>A constructor that initializes the object from the data stored in the unarchiver object.</summary>
+ /// <param name="coder">The unarchiver object.</param>
+ /// <remarks>
+ /// <para>This constructor is provided to allow the class to be initialized from an unarchiver (for example, during NIB deserialization). This is part of the <see cref="Foundation.NSCoding" /> protocol.</para>
+ /// <para>If developers want to create a subclass of this object and continue to support deserialization from an archive, they should implement a constructor with an identical signature: taking a single parameter of type <see cref="Foundation.NSCoder" /> and decorate it with the <c>[Export("initWithCoder:"]</c> attribute.</para>
+ /// <para>The state of this object can also be serialized by using the <see cref="Foundation.INSCoding.EncodeTo" /> companion method.</para>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [DesignatedInitializer]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("initWithCoder:")]
+ public SRAcousticSettings (NSCoder coder) : base (NSObjectFlag.Empty)
+ {
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("initWithCoder:"), coder.Handle), "initWithCoder:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_IntPtr (this.SuperHandle, Selector.GetHandle ("initWithCoder:"), coder.Handle), "initWithCoder:");
+ }
+ GC.KeepAlive (coder);
+ }
+
+ /// <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ /// <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="Foundation.NSObject" />.
+ /// This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ /// When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ /// The actual initialization of the object is up to the developer.
+ /// </para>
+ /// <para>
+ /// This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ /// Once the allocation has taken place, the constructor has to initialize the object.
+ /// With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ /// </para>
+ /// <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ /// <para>
+ /// In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ /// If this is not the case, developers should instead chain to the proper constructor in their class.
+ /// </para>
+ /// <para>
+ /// The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="Foundation.NSObject" /> allocation and runtime type registration.
+ /// Typically the chaining would look like this:
+ /// </para>
+ /// <example>
+ /// <code lang="csharp lang-csharp"><![CDATA[
+ /// //
+ /// // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ /// // No actual initXxx method is invoked, that is done later in the constructor
+ /// //
+ /// // This is taken from the iOS SDK's source code for the UIView class:
+ /// //
+ /// [Export ("initWithFrame:")]
+ /// public UIView (CGRect frame) : base (NSObjectFlag.Empty)
+ /// {
+ /// // Invoke the init method now.
+ /// var initWithFrame = new Selector ("initWithFrame:").Handle;
+ /// if (IsDirectBinding) {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ /// } else {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ /// }
+ /// }
+ /// ]]></code>
+ /// </example>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected SRAcousticSettings (NSObjectFlag t) : base (t)
+ {
+ }
+
+ /// <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ /// <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor is invoked by the runtime infrastructure (<see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ /// Developers should not invoke this method directly, instead they should call <see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ /// </para>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal SRAcousticSettings (NativeHandle handle) : base (handle)
+ {
+ }
+
+ /// <param name="zone">Developers should pass <see langword="null" />. Memory zones are no longer used.</param><summary>Performs a copy of the underlying Objective-C object.</summary><returns>The newly-allocated object.</returns><remarks><para>This method performs a "shallow copy" of <see langword="this" />. If this object contains references to external objects, the new object will contain references to the same object.</para></remarks>
+ [Export ("copyWithZone:")]
+ [return: ReleaseAttribute ()]
+ [SupportedOSPlatform ("ios26.0")]
+ [SupportedOSPlatform ("maccatalyst26.0")]
+ [UnsupportedOSPlatform ("macos")]
+ [UnsupportedOSPlatform ("tvos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual NSObject Copy (NSZone? zone)
+ {
+ var zone__handle__ = zone.GetHandle ();
+ NSObject? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("copyWithZone:"), zone__handle__), true)!;
+ } else {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("copyWithZone:"), zone__handle__), true)!;
+ }
+ GC.KeepAlive (zone);
+ return ret!;
+ }
+ /// <summary>Encodes the state of the object using the provided encoder.</summary><param name="encoder">The encoder object where the state of the object will be stored</param><remarks><para>This method is part of the <see cref="T:Foundation.INSCoding" /> protocol and is used by applications to preserve the state of the object into an archive.</para><para>Developers will typically create an <see cref="T:Foundation.NSKeyedArchiver" /> and then invoke the <see cref="M:Foundation.NSKeyedArchiver.ArchiveRootObjectToFile(Foundation.NSObject,System.String)" /> method which will call into this method.</para><para>If developers want to allow their object to be archived, they should override this method and store their state in using the provided <paramref name="encoder" /> parameter. In addition, developers should also implement a constructor that takes an NSCoder argument and is exported with <c>[Export ("initWithCoder:")]</c>.</para><example><code lang="csharp lang-csharp"><![CDATA[public void override EncodeTo (NSCoder coder) {
+ /// coder.Encode (1, key: "version");
+ /// coder.Encode (userName, key: "userName");
+ /// coder.Encode (hostName, key: "hostName");]]></code></example></remarks>
+ [Export ("encodeWithCoder:")]
+ [SupportedOSPlatform ("ios26.0")]
+ [SupportedOSPlatform ("maccatalyst26.0")]
+ [UnsupportedOSPlatform ("macos")]
+ [UnsupportedOSPlatform ("tvos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void EncodeTo (NSCoder encoder)
+ {
+ var encoder__handle__ = encoder!.GetNonNullHandle (nameof (encoder));
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("encodeWithCoder:"), encoder__handle__);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("encodeWithCoder:"), encoder__handle__);
+ }
+ GC.KeepAlive (encoder);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual SRAcousticSettingsAccessibility AccessibilitySettings {
+ [Export ("accessibilitySettings", ArgumentSemantic.Retain)]
+ get {
+ SRAcousticSettingsAccessibility? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<SRAcousticSettingsAccessibility> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("accessibilitySettings")), false)!;
+ } else {
+ ret = Runtime.GetNSObject<SRAcousticSettingsAccessibility> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("accessibilitySettings")), false)!;
+ }
+ return ret!;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual SRAcousticSettingsSampleLifetime AudioExposureSampleLifetime {
+ [Export ("audioExposureSampleLifetime")]
+ get {
+ SRAcousticSettingsSampleLifetime ret;
+ if (IsDirectBinding) {
+ ret = (SensorKit.SRAcousticSettingsSampleLifetime) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("audioExposureSampleLifetime"));
+ } else {
+ ret = (SensorKit.SRAcousticSettingsSampleLifetime) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("audioExposureSampleLifetime"));
+ }
+ return ret!;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual NSNumber? HeadphoneSafetyAudioLevel {
+ [Export ("headphoneSafetyAudioLevel", ArgumentSemantic.Retain)]
+ get {
+ NSNumber? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<NSNumber> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("headphoneSafetyAudioLevel")), false)!;
+ } else {
+ ret = Runtime.GetNSObject<NSNumber> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("headphoneSafetyAudioLevel")), false)!;
+ }
+ return ret!;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual bool IsEnvironmentalSoundMeasurementsEnabled {
+ [Export ("isEnvironmentalSoundMeasurementsEnabled")]
+ get {
+ byte ret;
+ if (IsDirectBinding) {
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend (this.Handle, Selector.GetHandle ("isEnvironmentalSoundMeasurementsEnabled"));
+ } else {
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("isEnvironmentalSoundMeasurementsEnabled"));
+ }
+ return ret != 0;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual SRAcousticSettingsMusicEQ MusicEQSettings {
+ [Export ("musicEQSettings", ArgumentSemantic.Retain)]
+ get {
+ SRAcousticSettingsMusicEQ? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<SRAcousticSettingsMusicEQ> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("musicEQSettings")), false)!;
+ } else {
+ ret = Runtime.GetNSObject<SRAcousticSettingsMusicEQ> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("musicEQSettings")), false)!;
+ }
+ return ret!;
+ }
+ }
+ } /* class SRAcousticSettings */
+}
diff --git a/new/dotnet/maccatalyst/generated-sources/SensorKit/SRAcousticSettingsAccessibility.g.cs b/new/dotnet/maccatalyst/generated-sources/SensorKit/SRAcousticSettingsAccessibility.g.cs
new file mode 100644
index 0000000..f677c7d
--- /dev/null
+++ b/new/dotnet/maccatalyst/generated-sources/SensorKit/SRAcousticSettingsAccessibility.g.cs
@@ -0,0 +1,242 @@
+//
+// 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
+namespace SensorKit {
+ [Register("SRAcousticSettingsAccessibility", true)]
+ [SupportedOSPlatform ("ios26.0")]
+ [SupportedOSPlatform ("maccatalyst26.0")]
+ public unsafe partial class SRAcousticSettingsAccessibility : NSObject, INSCoding, INSCopying, INSSecureCoding {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ static readonly NativeHandle class_ptr = Class.GetHandle ("SRAcousticSettingsAccessibility");
+ /// <summary>The Objective-C class handle for this class.</summary>
+ /// <value>The pointer to the Objective-C class.</value>
+ /// <remarks>
+ /// Each managed class mirrors an unmanaged Objective-C class.
+ /// This value contains the pointer to the Objective-C class.
+ /// It is similar to calling the managed <see cref="ObjCRuntime.Class.GetHandle(string)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ /// </remarks>
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ /// <summary>A constructor that initializes the object from the data stored in the unarchiver object.</summary>
+ /// <param name="coder">The unarchiver object.</param>
+ /// <remarks>
+ /// <para>This constructor is provided to allow the class to be initialized from an unarchiver (for example, during NIB deserialization). This is part of the <see cref="Foundation.NSCoding" /> protocol.</para>
+ /// <para>If developers want to create a subclass of this object and continue to support deserialization from an archive, they should implement a constructor with an identical signature: taking a single parameter of type <see cref="Foundation.NSCoder" /> and decorate it with the <c>[Export("initWithCoder:"]</c> attribute.</para>
+ /// <para>The state of this object can also be serialized by using the <see cref="Foundation.INSCoding.EncodeTo" /> companion method.</para>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [DesignatedInitializer]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("initWithCoder:")]
+ public SRAcousticSettingsAccessibility (NSCoder coder) : base (NSObjectFlag.Empty)
+ {
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("initWithCoder:"), coder.Handle), "initWithCoder:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_IntPtr (this.SuperHandle, Selector.GetHandle ("initWithCoder:"), coder.Handle), "initWithCoder:");
+ }
+ GC.KeepAlive (coder);
+ }
+
+ /// <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ /// <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="Foundation.NSObject" />.
+ /// This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ /// When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ /// The actual initialization of the object is up to the developer.
+ /// </para>
+ /// <para>
+ /// This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ /// Once the allocation has taken place, the constructor has to initialize the object.
+ /// With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ /// </para>
+ /// <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ /// <para>
+ /// In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ /// If this is not the case, developers should instead chain to the proper constructor in their class.
+ /// </para>
+ /// <para>
+ /// The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="Foundation.NSObject" /> allocation and runtime type registration.
+ /// Typically the chaining would look like this:
+ /// </para>
+ /// <example>
+ /// <code lang="csharp lang-csharp"><![CDATA[
+ /// //
+ /// // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ /// // No actual initXxx method is invoked, that is done later in the constructor
+ /// //
+ /// // This is taken from the iOS SDK's source code for the UIView class:
+ /// //
+ /// [Export ("initWithFrame:")]
+ /// public UIView (CGRect frame) : base (NSObjectFlag.Empty)
+ /// {
+ /// // Invoke the init method now.
+ /// var initWithFrame = new Selector ("initWithFrame:").Handle;
+ /// if (IsDirectBinding) {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ /// } else {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ /// }
+ /// }
+ /// ]]></code>
+ /// </example>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected SRAcousticSettingsAccessibility (NSObjectFlag t) : base (t)
+ {
+ }
+
+ /// <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ /// <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor is invoked by the runtime infrastructure (<see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ /// Developers should not invoke this method directly, instead they should call <see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ /// </para>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal SRAcousticSettingsAccessibility (NativeHandle handle) : base (handle)
+ {
+ }
+
+ /// <param name="zone">Developers should pass <see langword="null" />. Memory zones are no longer used.</param><summary>Performs a copy of the underlying Objective-C object.</summary><returns>The newly-allocated object.</returns><remarks><para>This method performs a "shallow copy" of <see langword="this" />. If this object contains references to external objects, the new object will contain references to the same object.</para></remarks>
+ [Export ("copyWithZone:")]
+ [return: ReleaseAttribute ()]
+ [SupportedOSPlatform ("ios26.0")]
+ [SupportedOSPlatform ("maccatalyst26.0")]
+ [UnsupportedOSPlatform ("macos")]
+ [UnsupportedOSPlatform ("tvos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual NSObject Copy (NSZone? zone)
+ {
+ var zone__handle__ = zone.GetHandle ();
+ NSObject? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("copyWithZone:"), zone__handle__), true)!;
+ } else {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("copyWithZone:"), zone__handle__), true)!;
+ }
+ GC.KeepAlive (zone);
+ return ret!;
+ }
+ /// <summary>Encodes the state of the object using the provided encoder.</summary><param name="encoder">The encoder object where the state of the object will be stored</param><remarks><para>This method is part of the <see cref="T:Foundation.INSCoding" /> protocol and is used by applications to preserve the state of the object into an archive.</para><para>Developers will typically create an <see cref="T:Foundation.NSKeyedArchiver" /> and then invoke the <see cref="M:Foundation.NSKeyedArchiver.ArchiveRootObjectToFile(Foundation.NSObject,System.String)" /> method which will call into this method.</para><para>If developers want to allow their object to be archived, they should override this method and store their state in using the provided <paramref name="encoder" /> parameter. In addition, developers should also implement a constructor that takes an NSCoder argument and is exported with <c>[Export ("initWithCoder:")]</c>.</para><example><code lang="csharp lang-csharp"><![CDATA[public void override EncodeTo (NSCoder coder) {
+ /// coder.Encode (1, key: "version");
+ /// coder.Encode (userName, key: "userName");
+ /// coder.Encode (hostName, key: "hostName");]]></code></example></remarks>
+ [Export ("encodeWithCoder:")]
+ [SupportedOSPlatform ("ios26.0")]
+ [SupportedOSPlatform ("maccatalyst26.0")]
+ [UnsupportedOSPlatform ("macos")]
+ [UnsupportedOSPlatform ("tvos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void EncodeTo (NSCoder encoder)
+ {
+ var encoder__handle__ = encoder!.GetNonNullHandle (nameof (encoder));
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("encodeWithCoder:"), encoder__handle__);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("encodeWithCoder:"), encoder__handle__);
+ }
+ GC.KeepAlive (encoder);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual SRAcousticSettingsAccessibilityBackgroundSounds BackgroundSounds {
+ [Export ("backgroundSounds", ArgumentSemantic.Retain)]
+ get {
+ SRAcousticSettingsAccessibilityBackgroundSounds? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<SRAcousticSettingsAccessibilityBackgroundSounds> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("backgroundSounds")), false)!;
+ } else {
+ ret = Runtime.GetNSObject<SRAcousticSettingsAccessibilityBackgroundSounds> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("backgroundSounds")), false)!;
+ }
+ return ret!;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual SRAcousticSettingsAccessibilityHeadphoneAccommodations HeadphoneAccommodations {
+ [Export ("headphoneAccommodations", ArgumentSemantic.Retain)]
+ get {
+ SRAcousticSettingsAccessibilityHeadphoneAccommodations? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<SRAcousticSettingsAccessibilityHeadphoneAccommodations> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("headphoneAccommodations")), false)!;
+ } else {
+ ret = Runtime.GetNSObject<SRAcousticSettingsAccessibilityHeadphoneAccommodations> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("headphoneAccommodations")), false)!;
+ }
+ return ret!;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual bool IsMonoAudioEnabled {
+ [Export ("isMonoAudioEnabled")]
+ get {
+ byte ret;
+ if (IsDirectBinding) {
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend (this.Handle, Selector.GetHandle ("isMonoAudioEnabled"));
+ } else {
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("isMonoAudioEnabled"));
+ }
+ return ret != 0;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual double LeftRightBalance {
+ [Export ("leftRightBalance")]
+ get {
+ double ret;
+ if (IsDirectBinding) {
+ ret = global::ObjCRuntime.Messaging.Double_objc_msgSend (this.Handle, Selector.GetHandle ("leftRightBalance"));
+ } else {
+ ret = global::ObjCRuntime.Messaging.Double_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("leftRightBalance"));
+ }
+ return ret;
+ }
+ }
+ } /* class SRAcousticSettingsAccessibility */
+}
diff --git a/new/dotnet/maccatalyst/generated-sources/SensorKit/SRAcousticSettingsAccessibilityBackgroundSounds.g.cs b/new/dotnet/maccatalyst/generated-sources/SensorKit/SRAcousticSettingsAccessibilityBackgroundSounds.g.cs
new file mode 100644
index 0000000..ef58949
--- /dev/null
+++ b/new/dotnet/maccatalyst/generated-sources/SensorKit/SRAcousticSettingsAccessibilityBackgroundSounds.g.cs
@@ -0,0 +1,268 @@
+//
+// 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
+namespace SensorKit {
+ [Register("SRAcousticSettingsAccessibilityBackgroundSounds", true)]
+ [SupportedOSPlatform ("ios26.0")]
+ [SupportedOSPlatform ("maccatalyst26.0")]
+ public unsafe partial class SRAcousticSettingsAccessibilityBackgroundSounds : NSObject, INSCoding, INSCopying, INSSecureCoding {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ static readonly NativeHandle class_ptr = Class.GetHandle ("SRAcousticSettingsAccessibilityBackgroundSounds");
+ /// <summary>The Objective-C class handle for this class.</summary>
+ /// <value>The pointer to the Objective-C class.</value>
+ /// <remarks>
+ /// Each managed class mirrors an unmanaged Objective-C class.
+ /// This value contains the pointer to the Objective-C class.
+ /// It is similar to calling the managed <see cref="ObjCRuntime.Class.GetHandle(string)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ /// </remarks>
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ /// <summary>A constructor that initializes the object from the data stored in the unarchiver object.</summary>
+ /// <param name="coder">The unarchiver object.</param>
+ /// <remarks>
+ /// <para>This constructor is provided to allow the class to be initialized from an unarchiver (for example, during NIB deserialization). This is part of the <see cref="Foundation.NSCoding" /> protocol.</para>
+ /// <para>If developers want to create a subclass of this object and continue to support deserialization from an archive, they should implement a constructor with an identical signature: taking a single parameter of type <see cref="Foundation.NSCoder" /> and decorate it with the <c>[Export("initWithCoder:"]</c> attribute.</para>
+ /// <para>The state of this object can also be serialized by using the <see cref="Foundation.INSCoding.EncodeTo" /> companion method.</para>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [DesignatedInitializer]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("initWithCoder:")]
+ public SRAcousticSettingsAccessibilityBackgroundSounds (NSCoder coder) : base (NSObjectFlag.Empty)
+ {
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("initWithCoder:"), coder.Handle), "initWithCoder:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_IntPtr (this.SuperHandle, Selector.GetHandle ("initWithCoder:"), coder.Handle), "initWithCoder:");
+ }
+ GC.KeepAlive (coder);
+ }
+
+ /// <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ /// <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="Foundation.NSObject" />.
+ /// This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ /// When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ /// The actual initialization of the object is up to the developer.
+ /// </para>
+ /// <para>
+ /// This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ /// Once the allocation has taken place, the constructor has to initialize the object.
+ /// With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ /// </para>
+ /// <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ /// <para>
+ /// In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ /// If this is not the case, developers should instead chain to the proper constructor in their class.
+ /// </para>
+ /// <para>
+ /// The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="Foundation.NSObject" /> allocation and runtime type registration.
+ /// Typically the chaining would look like this:
+ /// </para>
+ /// <example>
+ /// <code lang="csharp lang-csharp"><![CDATA[
+ /// //
+ /// // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ /// // No actual initXxx method is invoked, that is done later in the constructor
+ /// //
+ /// // This is taken from the iOS SDK's source code for the UIView class:
+ /// //
+ /// [Export ("initWithFrame:")]
+ /// public UIView (CGRect frame) : base (NSObjectFlag.Empty)
+ /// {
+ /// // Invoke the init method now.
+ /// var initWithFrame = new Selector ("initWithFrame:").Handle;
+ /// if (IsDirectBinding) {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ /// } else {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ /// }
+ /// }
+ /// ]]></code>
+ /// </example>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected SRAcousticSettingsAccessibilityBackgroundSounds (NSObjectFlag t) : base (t)
+ {
+ }
+
+ /// <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ /// <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor is invoked by the runtime infrastructure (<see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ /// Developers should not invoke this method directly, instead they should call <see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ /// </para>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal SRAcousticSettingsAccessibilityBackgroundSounds (NativeHandle handle) : base (handle)
+ {
+ }
+
+ /// <param name="zone">Developers should pass <see langword="null" />. Memory zones are no longer used.</param><summary>Performs a copy of the underlying Objective-C object.</summary><returns>The newly-allocated object.</returns><remarks><para>This method performs a "shallow copy" of <see langword="this" />. If this object contains references to external objects, the new object will contain references to the same object.</para></remarks>
+ [Export ("copyWithZone:")]
+ [return: ReleaseAttribute ()]
+ [SupportedOSPlatform ("ios26.0")]
+ [SupportedOSPlatform ("maccatalyst26.0")]
+ [UnsupportedOSPlatform ("macos")]
+ [UnsupportedOSPlatform ("tvos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual NSObject Copy (NSZone? zone)
+ {
+ var zone__handle__ = zone.GetHandle ();
+ NSObject? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("copyWithZone:"), zone__handle__), true)!;
+ } else {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("copyWithZone:"), zone__handle__), true)!;
+ }
+ GC.KeepAlive (zone);
+ return ret!;
+ }
+ /// <summary>Encodes the state of the object using the provided encoder.</summary><param name="encoder">The encoder object where the state of the object will be stored</param><remarks><para>This method is part of the <see cref="T:Foundation.INSCoding" /> protocol and is used by applications to preserve the state of the object into an archive.</para><para>Developers will typically create an <see cref="T:Foundation.NSKeyedArchiver" /> and then invoke the <see cref="M:Foundation.NSKeyedArchiver.ArchiveRootObjectToFile(Foundation.NSObject,System.String)" /> method which will call into this method.</para><para>If developers want to allow their object to be archived, they should override this method and store their state in using the provided <paramref name="encoder" /> parameter. In addition, developers should also implement a constructor that takes an NSCoder argument and is exported with <c>[Export ("initWithCoder:")]</c>.</para><example><code lang="csharp lang-csharp"><![CDATA[public void override EncodeTo (NSCoder coder) {
+ /// coder.Encode (1, key: "version");
+ /// coder.Encode (userName, key: "userName");
+ /// coder.Encode (hostName, key: "hostName");]]></code></example></remarks>
+ [Export ("encodeWithCoder:")]
+ [SupportedOSPlatform ("ios26.0")]
+ [SupportedOSPlatform ("maccatalyst26.0")]
+ [UnsupportedOSPlatform ("macos")]
+ [UnsupportedOSPlatform ("tvos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void EncodeTo (NSCoder encoder)
+ {
+ var encoder__handle__ = encoder!.GetNonNullHandle (nameof (encoder));
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("encodeWithCoder:"), encoder__handle__);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("encodeWithCoder:"), encoder__handle__);
+ }
+ GC.KeepAlive (encoder);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual bool IsEnabled {
+ [Export ("isEnabled")]
+ get {
+ byte ret;
+ if (IsDirectBinding) {
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend (this.Handle, Selector.GetHandle ("isEnabled"));
+ } else {
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("isEnabled"));
+ }
+ return ret != 0;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual bool IsPlayWithMediaEnabled {
+ [Export ("isPlayWithMediaEnabled")]
+ get {
+ byte ret;
+ if (IsDirectBinding) {
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend (this.Handle, Selector.GetHandle ("isPlayWithMediaEnabled"));
+ } else {
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("isPlayWithMediaEnabled"));
+ }
+ return ret != 0;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual bool IsStopOnLockEnabled {
+ [Export ("isStopOnLockEnabled")]
+ get {
+ byte ret;
+ if (IsDirectBinding) {
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend (this.Handle, Selector.GetHandle ("isStopOnLockEnabled"));
+ } else {
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("isStopOnLockEnabled"));
+ }
+ return ret != 0;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual double RelativeVolume {
+ [Export ("relativeVolume")]
+ get {
+ double ret;
+ if (IsDirectBinding) {
+ ret = global::ObjCRuntime.Messaging.Double_objc_msgSend (this.Handle, Selector.GetHandle ("relativeVolume"));
+ } else {
+ ret = global::ObjCRuntime.Messaging.Double_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("relativeVolume"));
+ }
+ return ret;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual double RelativeVolumeWithMedia {
+ [Export ("relativeVolumeWithMedia")]
+ get {
+ double ret;
+ if (IsDirectBinding) {
+ ret = global::ObjCRuntime.Messaging.Double_objc_msgSend (this.Handle, Selector.GetHandle ("relativeVolumeWithMedia"));
+ } else {
+ ret = global::ObjCRuntime.Messaging.Double_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("relativeVolumeWithMedia"));
+ }
+ return ret;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual SRAcousticSettingsAccessibilityBackgroundSoundsName SoundName {
+ [Export ("soundName")]
+ get {
+ SRAcousticSettingsAccessibilityBackgroundSoundsName ret;
+ if (IsDirectBinding) {
+ ret = (SensorKit.SRAcousticSettingsAccessibilityBackgroundSoundsName) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("soundName"));
+ } else {
+ ret = (SensorKit.SRAcousticSettingsAccessibilityBackgroundSoundsName) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("soundName"));
+ }
+ return ret!;
+ }
+ }
+ } /* class SRAcousticSettingsAccessibilityBackgroundSounds */
+}
diff --git a/new/dotnet/maccatalyst/generated-sources/SensorKit/SRAcousticSettingsAccessibilityBackgroundSoundsName.g.cs b/new/dotnet/maccatalyst/generated-sources/SensorKit/SRAcousticSettingsAccessibilityBackgroundSoundsName.g.cs
new file mode 100644
index 0000000..2a4a7e3
--- /dev/null
+++ b/new/dotnet/maccatalyst/generated-sources/SensorKit/SRAcousticSettingsAccessibilityBackgroundSoundsName.g.cs
@@ -0,0 +1,70 @@
+//
+// 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
+namespace SensorKit {
+ [SupportedOSPlatform ("ios26.0")]
+ [SupportedOSPlatform ("maccatalyst26.0")]
+ [Native]
+ public enum SRAcousticSettingsAccessibilityBackgroundSoundsName : long {
+ BalancedNoise = 1,
+ BrightNoise = 2,
+ DarkNoise = 3,
+ Ocean = 4,
+ Rain = 5,
+ Stream = 6,
+ Night = 7,
+ Fire = 8,
+ Babble = 9,
+ Steam = 10,
+ Airplane = 11,
+ Boat = 12,
+ Bus = 13,
+ Train = 14,
+ RainOnRoof = 15,
+ QuietNight = 16,
+ }
+}
diff --git a/new/dotnet/maccatalyst/generated-sources/SensorKit/SRAcousticSettingsAccessibilityHeadphoneAccommodations.g.cs b/new/dotnet/maccatalyst/generated-sources/SensorKit/SRAcousticSettingsAccessibilityHeadphoneAccommodations.g.cs
new file mode 100644
index 0000000..03a2c4f
--- /dev/null
+++ b/new/dotnet/maccatalyst/generated-sources/SensorKit/SRAcousticSettingsAccessibilityHeadphoneAccommodations.g.cs
@@ -0,0 +1,242 @@
+//
+// 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
+namespace SensorKit {
+ [Register("SRAcousticSettingsAccessibilityHeadphoneAccommodations", true)]
+ [SupportedOSPlatform ("ios26.0")]
+ [SupportedOSPlatform ("maccatalyst26.0")]
+ public unsafe partial class SRAcousticSettingsAccessibilityHeadphoneAccommodations : NSObject, INSCoding, INSCopying, INSSecureCoding {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ static readonly NativeHandle class_ptr = Class.GetHandle ("SRAcousticSettingsAccessibilityHeadphoneAccommodations");
+ /// <summary>The Objective-C class handle for this class.</summary>
+ /// <value>The pointer to the Objective-C class.</value>
+ /// <remarks>
+ /// Each managed class mirrors an unmanaged Objective-C class.
+ /// This value contains the pointer to the Objective-C class.
+ /// It is similar to calling the managed <see cref="ObjCRuntime.Class.GetHandle(string)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ /// </remarks>
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ /// <summary>A constructor that initializes the object from the data stored in the unarchiver object.</summary>
+ /// <param name="coder">The unarchiver object.</param>
+ /// <remarks>
+ /// <para>This constructor is provided to allow the class to be initialized from an unarchiver (for example, during NIB deserialization). This is part of the <see cref="Foundation.NSCoding" /> protocol.</para>
+ /// <para>If developers want to create a subclass of this object and continue to support deserialization from an archive, they should implement a constructor with an identical signature: taking a single parameter of type <see cref="Foundation.NSCoder" /> and decorate it with the <c>[Export("initWithCoder:"]</c> attribute.</para>
+ /// <para>The state of this object can also be serialized by using the <see cref="Foundation.INSCoding.EncodeTo" /> companion method.</para>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [DesignatedInitializer]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("initWithCoder:")]
+ public SRAcousticSettingsAccessibilityHeadphoneAccommodations (NSCoder coder) : base (NSObjectFlag.Empty)
+ {
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("initWithCoder:"), coder.Handle), "initWithCoder:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_IntPtr (this.SuperHandle, Selector.GetHandle ("initWithCoder:"), coder.Handle), "initWithCoder:");
+ }
+ GC.KeepAlive (coder);
+ }
+
+ /// <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ /// <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="Foundation.NSObject" />.
+ /// This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ /// When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ /// The actual initialization of the object is up to the developer.
+ /// </para>
+ /// <para>
+ /// This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ /// Once the allocation has taken place, the constructor has to initialize the object.
+ /// With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ /// </para>
+ /// <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ /// <para>
+ /// In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ /// If this is not the case, developers should instead chain to the proper constructor in their class.
+ /// </para>
+ /// <para>
+ /// The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="Foundation.NSObject" /> allocation and runtime type registration.
+ /// Typically the chaining would look like this:
+ /// </para>
+ /// <example>
+ /// <code lang="csharp lang-csharp"><![CDATA[
+ /// //
+ /// // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ /// // No actual initXxx method is invoked, that is done later in the constructor
+ /// //
+ /// // This is taken from the iOS SDK's source code for the UIView class:
+ /// //
+ /// [Export ("initWithFrame:")]
+ /// public UIView (CGRect frame) : base (NSObjectFlag.Empty)
+ /// {
+ /// // Invoke the init method now.
+ /// var initWithFrame = new Selector ("initWithFrame:").Handle;
+ /// if (IsDirectBinding) {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ /// } else {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ /// }
+ /// }
+ /// ]]></code>
+ /// </example>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected SRAcousticSettingsAccessibilityHeadphoneAccommodations (NSObjectFlag t) : base (t)
+ {
+ }
+
+ /// <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ /// <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor is invoked by the runtime infrastructure (<see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ /// Developers should not invoke this method directly, instead they should call <see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ /// </para>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal SRAcousticSettingsAccessibilityHeadphoneAccommodations (NativeHandle handle) : base (handle)
+ {
+ }
+
+ /// <param name="zone">Developers should pass <see langword="null" />. Memory zones are no longer used.</param><summary>Performs a copy of the underlying Objective-C object.</summary><returns>The newly-allocated object.</returns><remarks><para>This method performs a "shallow copy" of <see langword="this" />. If this object contains references to external objects, the new object will contain references to the same object.</para></remarks>
+ [Export ("copyWithZone:")]
+ [return: ReleaseAttribute ()]
+ [SupportedOSPlatform ("ios26.0")]
+ [SupportedOSPlatform ("maccatalyst26.0")]
+ [UnsupportedOSPlatform ("macos")]
+ [UnsupportedOSPlatform ("tvos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual NSObject Copy (NSZone? zone)
+ {
+ var zone__handle__ = zone.GetHandle ();
+ NSObject? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("copyWithZone:"), zone__handle__), true)!;
+ } else {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("copyWithZone:"), zone__handle__), true)!;
+ }
+ GC.KeepAlive (zone);
+ return ret!;
+ }
+ /// <summary>Encodes the state of the object using the provided encoder.</summary><param name="encoder">The encoder object where the state of the object will be stored</param><remarks><para>This method is part of the <see cref="T:Foundation.INSCoding" /> protocol and is used by applications to preserve the state of the object into an archive.</para><para>Developers will typically create an <see cref="T:Foundation.NSKeyedArchiver" /> and then invoke the <see cref="M:Foundation.NSKeyedArchiver.ArchiveRootObjectToFile(Foundation.NSObject,System.String)" /> method which will call into this method.</para><para>If developers want to allow their object to be archived, they should override this method and store their state in using the provided <paramref name="encoder" /> parameter. In addition, developers should also implement a constructor that takes an NSCoder argument and is exported with <c>[Export ("initWithCoder:")]</c>.</para><example><code lang="csharp lang-csharp"><![CDATA[public void override EncodeTo (NSCoder coder) {
+ /// coder.Encode (1, key: "version");
+ /// coder.Encode (userName, key: "userName");
+ /// coder.Encode (hostName, key: "hostName");]]></code></example></remarks>
+ [Export ("encodeWithCoder:")]
+ [SupportedOSPlatform ("ios26.0")]
+ [SupportedOSPlatform ("maccatalyst26.0")]
+ [UnsupportedOSPlatform ("macos")]
+ [UnsupportedOSPlatform ("tvos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void EncodeTo (NSCoder encoder)
+ {
+ var encoder__handle__ = encoder!.GetNonNullHandle (nameof (encoder));
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("encodeWithCoder:"), encoder__handle__);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("encodeWithCoder:"), encoder__handle__);
+ }
+ GC.KeepAlive (encoder);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual bool IsEnabled {
+ [Export ("isEnabled")]
+ get {
+ byte ret;
+ if (IsDirectBinding) {
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend (this.Handle, Selector.GetHandle ("isEnabled"));
+ } else {
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("isEnabled"));
+ }
+ return ret != 0;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual SRAcousticSettingsAccessibilityHeadphoneAccommodationsMediaEnhanceApplication MediaEnhanceApplication {
+ [Export ("mediaEnhanceApplication")]
+ get {
+ SRAcousticSettingsAccessibilityHeadphoneAccommodationsMediaEnhanceApplication ret;
+ if (IsDirectBinding) {
+ ret = (SensorKit.SRAcousticSettingsAccessibilityHeadphoneAccommodationsMediaEnhanceApplication) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("mediaEnhanceApplication"));
+ } else {
+ ret = (SensorKit.SRAcousticSettingsAccessibilityHeadphoneAccommodationsMediaEnhanceApplication) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("mediaEnhanceApplication"));
+ }
+ return ret!;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual SRAcousticSettingsAccessibilityHeadphoneAccommodationsMediaEnhanceBoosting MediaEnhanceBoosting {
+ [Export ("mediaEnhanceBoosting")]
+ get {
+ SRAcousticSettingsAccessibilityHeadphoneAccommodationsMediaEnhanceBoosting ret;
+ if (IsDirectBinding) {
+ ret = (SensorKit.SRAcousticSettingsAccessibilityHeadphoneAccommodationsMediaEnhanceBoosting) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("mediaEnhanceBoosting"));
+ } else {
+ ret = (SensorKit.SRAcousticSettingsAccessibilityHeadphoneAccommodationsMediaEnhanceBoosting) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("mediaEnhanceBoosting"));
+ }
+ return ret!;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual SRAcousticSettingsAccessibilityHeadphoneAccommodationsMediaEnhanceTuning MediaEnhanceTuning {
+ [Export ("mediaEnhanceTuning")]
+ get {
+ SRAcousticSettingsAccessibilityHeadphoneAccommodationsMediaEnhanceTuning ret;
+ if (IsDirectBinding) {
+ ret = (SensorKit.SRAcousticSettingsAccessibilityHeadphoneAccommodationsMediaEnhanceTuning) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("mediaEnhanceTuning"));
+ } else {
+ ret = (SensorKit.SRAcousticSettingsAccessibilityHeadphoneAccommodationsMediaEnhanceTuning) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("mediaEnhanceTuning"));
+ }
+ return ret!;
+ }
+ }
+ } /* class SRAcousticSettingsAccessibilityHeadphoneAccommodations */
+}
diff --git a/new/dotnet/maccatalyst/generated-sources/SensorKit/SRAcousticSettingsAccessibilityHeadphoneAccommodationsMediaEnhanceApplication.g.cs b/new/dotnet/maccatalyst/generated-sources/SensorKit/SRAcousticSettingsAccessibilityHeadphoneAccommodationsMediaEnhanceApplication.g.cs
new file mode 100644
index 0000000..fb02c5b
--- /dev/null
+++ b/new/dotnet/maccatalyst/generated-sources/SensorKit/SRAcousticSettingsAccessibilityHeadphoneAccommodationsMediaEnhanceApplication.g.cs
@@ -0,0 +1,58 @@
+//
+// 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
+namespace SensorKit {
+ [SupportedOSPlatform ("ios26.0")]
+ [SupportedOSPlatform ("maccatalyst26.0")]
+ [Native]
+ public enum SRAcousticSettingsAccessibilityHeadphoneAccommodationsMediaEnhanceApplication : long {
+ None = 1,
+ Phone = 2,
+ Media = 3,
+ PhoneAndMedia = 4,
+ }
+}
diff --git a/new/dotnet/maccatalyst/generated-sources/SensorKit/SRAcousticSettingsAccessibilityHeadphoneAccommodationsMediaEnhanceBoosting.g.cs b/new/dotnet/maccatalyst/generated-sources/SensorKit/SRAcousticSettingsAccessibilityHeadphoneAccommodationsMediaEnhanceBoosting.g.cs
new file mode 100644
index 0000000..8376163
--- /dev/null
+++ b/new/dotnet/maccatalyst/generated-sources/SensorKit/SRAcousticSettingsAccessibilityHeadphoneAccommodationsMediaEnhanceBoosting.g.cs
@@ -0,0 +1,57 @@
+//
+// 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
+namespace SensorKit {
+ [SupportedOSPlatform ("ios26.0")]
+ [SupportedOSPlatform ("maccatalyst26.0")]
+ [Native]
+ public enum SRAcousticSettingsAccessibilityHeadphoneAccommodationsMediaEnhanceBoosting : long {
+ Slight = 1,
+ Moderate = 2,
+ Strong = 3,
+ }
+}
diff --git a/new/dotnet/maccatalyst/generated-sources/SensorKit/SRAcousticSettingsAccessibilityHeadphoneAccommodationsMediaEnhanceTuning.g.cs b/new/dotnet/maccatalyst/generated-sources/SensorKit/SRAcousticSettingsAccessibilityHeadphoneAccommodationsMediaEnhanceTuning.g.cs
new file mode 100644
index 0000000..31b823e
--- /dev/null
+++ b/new/dotnet/maccatalyst/generated-sources/SensorKit/SRAcousticSettingsAccessibilityHeadphoneAccommodationsMediaEnhanceTuning.g.cs
@@ -0,0 +1,57 @@
+//
+// 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
+namespace SensorKit {
+ [SupportedOSPlatform ("ios26.0")]
+ [SupportedOSPlatform ("maccatalyst26.0")]
+ [Native]
+ public enum SRAcousticSettingsAccessibilityHeadphoneAccommodationsMediaEnhanceTuning : long {
+ BalancedTone = 1,
+ VocalRange = 2,
+ Brightness = 3,
+ }
+}
diff --git a/new/dotnet/maccatalyst/generated-sources/SensorKit/SRAcousticSettingsMusicEQ.g.cs b/new/dotnet/maccatalyst/generated-sources/SensorKit/SRAcousticSettingsMusicEQ.g.cs
new file mode 100644
index 0000000..760c137
--- /dev/null
+++ b/new/dotnet/maccatalyst/generated-sources/SensorKit/SRAcousticSettingsMusicEQ.g.cs
@@ -0,0 +1,216 @@
+//
+// 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
+namespace SensorKit {
+ [Register("SRAcousticSettingsMusicEQ", true)]
+ [SupportedOSPlatform ("ios26.0")]
+ [SupportedOSPlatform ("maccatalyst26.0")]
+ public unsafe partial class SRAcousticSettingsMusicEQ : NSObject, INSCoding, INSCopying, INSSecureCoding {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ static readonly NativeHandle class_ptr = Class.GetHandle ("SRAcousticSettingsMusicEQ");
+ /// <summary>The Objective-C class handle for this class.</summary>
+ /// <value>The pointer to the Objective-C class.</value>
+ /// <remarks>
+ /// Each managed class mirrors an unmanaged Objective-C class.
+ /// This value contains the pointer to the Objective-C class.
+ /// It is similar to calling the managed <see cref="ObjCRuntime.Class.GetHandle(string)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ /// </remarks>
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ /// <summary>A constructor that initializes the object from the data stored in the unarchiver object.</summary>
+ /// <param name="coder">The unarchiver object.</param>
+ /// <remarks>
+ /// <para>This constructor is provided to allow the class to be initialized from an unarchiver (for example, during NIB deserialization). This is part of the <see cref="Foundation.NSCoding" /> protocol.</para>
+ /// <para>If developers want to create a subclass of this object and continue to support deserialization from an archive, they should implement a constructor with an identical signature: taking a single parameter of type <see cref="Foundation.NSCoder" /> and decorate it with the <c>[Export("initWithCoder:"]</c> attribute.</para>
+ /// <para>The state of this object can also be serialized by using the <see cref="Foundation.INSCoding.EncodeTo" /> companion method.</para>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [DesignatedInitializer]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("initWithCoder:")]
+ public SRAcousticSettingsMusicEQ (NSCoder coder) : base (NSObjectFlag.Empty)
+ {
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("initWithCoder:"), coder.Handle), "initWithCoder:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_IntPtr (this.SuperHandle, Selector.GetHandle ("initWithCoder:"), coder.Handle), "initWithCoder:");
+ }
+ GC.KeepAlive (coder);
+ }
+
+ /// <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ /// <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="Foundation.NSObject" />.
+ /// This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ /// When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ /// The actual initialization of the object is up to the developer.
+ /// </para>
+ /// <para>
+ /// This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ /// Once the allocation has taken place, the constructor has to initialize the object.
+ /// With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ /// </para>
+ /// <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ /// <para>
+ /// In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ /// If this is not the case, developers should instead chain to the proper constructor in their class.
+ /// </para>
+ /// <para>
+ /// The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="Foundation.NSObject" /> allocation and runtime type registration.
+ /// Typically the chaining would look like this:
+ /// </para>
+ /// <example>
+ /// <code lang="csharp lang-csharp"><![CDATA[
+ /// //
+ /// // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ /// // No actual initXxx method is invoked, that is done later in the constructor
+ /// //
+ /// // This is taken from the iOS SDK's source code for the UIView class:
+ /// //
+ /// [Export ("initWithFrame:")]
+ /// public UIView (CGRect frame) : base (NSObjectFlag.Empty)
+ /// {
+ /// // Invoke the init method now.
+ /// var initWithFrame = new Selector ("initWithFrame:").Handle;
+ /// if (IsDirectBinding) {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ /// } else {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ /// }
+ /// }
+ /// ]]></code>
+ /// </example>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected SRAcousticSettingsMusicEQ (NSObjectFlag t) : base (t)
+ {
+ }
+
+ /// <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ /// <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor is invoked by the runtime infrastructure (<see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ /// Developers should not invoke this method directly, instead they should call <see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ /// </para>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal SRAcousticSettingsMusicEQ (NativeHandle handle) : base (handle)
+ {
+ }
+
+ /// <param name="zone">Developers should pass <see langword="null" />. Memory zones are no longer used.</param><summary>Performs a copy of the underlying Objective-C object.</summary><returns>The newly-allocated object.</returns><remarks><para>This method performs a "shallow copy" of <see langword="this" />. If this object contains references to external objects, the new object will contain references to the same object.</para></remarks>
+ [Export ("copyWithZone:")]
+ [return: ReleaseAttribute ()]
+ [SupportedOSPlatform ("ios26.0")]
+ [SupportedOSPlatform ("maccatalyst26.0")]
+ [UnsupportedOSPlatform ("macos")]
+ [UnsupportedOSPlatform ("tvos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual NSObject Copy (NSZone? zone)
+ {
+ var zone__handle__ = zone.GetHandle ();
+ NSObject? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("copyWithZone:"), zone__handle__), true)!;
+ } else {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("copyWithZone:"), zone__handle__), true)!;
+ }
+ GC.KeepAlive (zone);
+ return ret!;
+ }
+ /// <summary>Encodes the state of the object using the provided encoder.</summary><param name="encoder">The encoder object where the state of the object will be stored</param><remarks><para>This method is part of the <see cref="T:Foundation.INSCoding" /> protocol and is used by applications to preserve the state of the object into an archive.</para><para>Developers will typically create an <see cref="T:Foundation.NSKeyedArchiver" /> and then invoke the <see cref="M:Foundation.NSKeyedArchiver.ArchiveRootObjectToFile(Foundation.NSObject,System.String)" /> method which will call into this method.</para><para>If developers want to allow their object to be archived, they should override this method and store their state in using the provided <paramref name="encoder" /> parameter. In addition, developers should also implement a constructor that takes an NSCoder argument and is exported with <c>[Export ("initWithCoder:")]</c>.</para><example><code lang="csharp lang-csharp"><![CDATA[public void override EncodeTo (NSCoder coder) {
+ /// coder.Encode (1, key: "version");
+ /// coder.Encode (userName, key: "userName");
+ /// coder.Encode (hostName, key: "hostName");]]></code></example></remarks>
+ [Export ("encodeWithCoder:")]
+ [SupportedOSPlatform ("ios26.0")]
+ [SupportedOSPlatform ("maccatalyst26.0")]
+ [UnsupportedOSPlatform ("macos")]
+ [UnsupportedOSPlatform ("tvos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void EncodeTo (NSCoder encoder)
+ {
+ var encoder__handle__ = encoder!.GetNonNullHandle (nameof (encoder));
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("encodeWithCoder:"), encoder__handle__);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("encodeWithCoder:"), encoder__handle__);
+ }
+ GC.KeepAlive (encoder);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual bool IsLateNightModeEnabled {
+ [Export ("isLateNightModeEnabled")]
+ get {
+ byte ret;
+ if (IsDirectBinding) {
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend (this.Handle, Selector.GetHandle ("isLateNightModeEnabled"));
+ } else {
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("isLateNightModeEnabled"));
+ }
+ return ret != 0;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual bool IsSoundCheckEnabled {
+ [Export ("isSoundCheckEnabled")]
+ get {
+ byte ret;
+ if (IsDirectBinding) {
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend (this.Handle, Selector.GetHandle ("isSoundCheckEnabled"));
+ } else {
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("isSoundCheckEnabled"));
+ }
+ return ret != 0;
+ }
+ }
+ } /* class SRAcousticSettingsMusicEQ */
+}
diff --git a/new/dotnet/maccatalyst/generated-sources/SensorKit/SRAcousticSettingsSampleLifetime.g.cs b/new/dotnet/maccatalyst/generated-sources/SensorKit/SRAcousticSettingsSampleLifetime.g.cs
new file mode 100644
index 0000000..f2405f3
--- /dev/null
+++ b/new/dotnet/maccatalyst/generated-sources/SensorKit/SRAcousticSettingsSampleLifetime.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 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
+namespace SensorKit {
+ [SupportedOSPlatform ("ios26.0")]
+ [SupportedOSPlatform ("maccatalyst26.0")]
+ [Native]
+ public enum SRAcousticSettingsSampleLifetime : long {
+ EightDays = 1,
+ UntilUserDeletes = 2,
+ }
+}
diff --git a/new/dotnet/maccatalyst/generated-sources/SensorKit/SRFaceMetrics.g.cs b/new/dotnet/maccatalyst/generated-sources/SensorKit/SRFaceMetrics.g.cs
new file mode 100644
index 0000000..215dac3
--- /dev/null
+++ b/new/dotnet/maccatalyst/generated-sources/SensorKit/SRFaceMetrics.g.cs
@@ -0,0 +1,270 @@
+//
+// 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
+namespace SensorKit {
+ [Register("SRFaceMetrics", true)]
+ [UnsupportedOSPlatform ("tvos")]
+ [UnsupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("ios17.0")]
+ [SupportedOSPlatform ("maccatalyst26.0")]
+ public unsafe partial class SRFaceMetrics : NSObject, INSCoding, INSCopying, INSSecureCoding {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ static readonly NativeHandle class_ptr = Class.GetHandle ("SRFaceMetrics");
+ /// <summary>The Objective-C class handle for this class.</summary>
+ /// <value>The pointer to the Objective-C class.</value>
+ /// <remarks>
+ /// Each managed class mirrors an unmanaged Objective-C class.
+ /// This value contains the pointer to the Objective-C class.
+ /// It is similar to calling the managed <see cref="ObjCRuntime.Class.GetHandle(string)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ /// </remarks>
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ /// <summary>A constructor that initializes the object from the data stored in the unarchiver object.</summary>
+ /// <param name="coder">The unarchiver object.</param>
+ /// <remarks>
+ /// <para>This constructor is provided to allow the class to be initialized from an unarchiver (for example, during NIB deserialization). This is part of the <see cref="Foundation.NSCoding" /> protocol.</para>
+ /// <para>If developers want to create a subclass of this object and continue to support deserialization from an archive, they should implement a constructor with an identical signature: taking a single parameter of type <see cref="Foundation.NSCoder" /> and decorate it with the <c>[Export("initWithCoder:"]</c> attribute.</para>
+ /// <para>The state of this object can also be serialized by using the <see cref="Foundation.INSCoding.EncodeTo" /> companion method.</para>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [DesignatedInitializer]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("initWithCoder:")]
+ public SRFaceMetrics (NSCoder coder) : base (NSObjectFlag.Empty)
+ {
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("initWithCoder:"), coder.Handle), "initWithCoder:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_IntPtr (this.SuperHandle, Selector.GetHandle ("initWithCoder:"), coder.Handle), "initWithCoder:");
+ }
+ GC.KeepAlive (coder);
+ }
+
+ /// <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ /// <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="Foundation.NSObject" />.
+ /// This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ /// When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ /// The actual initialization of the object is up to the developer.
+ /// </para>
+ /// <para>
+ /// This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ /// Once the allocation has taken place, the constructor has to initialize the object.
+ /// With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ /// </para>
+ /// <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ /// <para>
+ /// In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ /// If this is not the case, developers should instead chain to the proper constructor in their class.
+ /// </para>
+ /// <para>
+ /// The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="Foundation.NSObject" /> allocation and runtime type registration.
+ /// Typically the chaining would look like this:
+ /// </para>
+ /// <example>
+ /// <code lang="csharp lang-csharp"><![CDATA[
+ /// //
+ /// // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ /// // No actual initXxx method is invoked, that is done later in the constructor
+ /// //
+ /// // This is taken from the iOS SDK's source code for the UIView class:
+ /// //
+ /// [Export ("initWithFrame:")]
+ /// public UIView (CGRect frame) : base (NSObjectFlag.Empty)
+ /// {
+ /// // Invoke the init method now.
+ /// var initWithFrame = new Selector ("initWithFrame:").Handle;
+ /// if (IsDirectBinding) {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ /// } else {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ /// }
+ /// }
+ /// ]]></code>
+ /// </example>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected SRFaceMetrics (NSObjectFlag t) : base (t)
+ {
+ }
+
+ /// <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ /// <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor is invoked by the runtime infrastructure (<see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ /// Developers should not invoke this method directly, instead they should call <see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ /// </para>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal SRFaceMetrics (NativeHandle handle) : base (handle)
+ {
+ }
+
+ /// <param name="zone">Developers should pass <see langword="null" />. Memory zones are no longer used.</param><summary>Performs a copy of the underlying Objective-C object.</summary><returns>The newly-allocated object.</returns><remarks><para>This method performs a "shallow copy" of <see langword="this" />. If this object contains references to external objects, the new object will contain references to the same object.</para></remarks>
+ [Export ("copyWithZone:")]
+ [return: ReleaseAttribute ()]
+ [UnsupportedOSPlatform ("tvos")]
+ [UnsupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("ios17.0")]
+ [SupportedOSPlatform ("maccatalyst26.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual NSObject Copy (NSZone? zone)
+ {
+ var zone__handle__ = zone.GetHandle ();
+ NSObject? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("copyWithZone:"), zone__handle__), true)!;
+ } else {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("copyWithZone:"), zone__handle__), true)!;
+ }
+ GC.KeepAlive (zone);
+ return ret!;
+ }
+ /// <summary>Encodes the state of the object using the provided encoder.</summary><param name="encoder">The encoder object where the state of the object will be stored</param><remarks><para>This method is part of the <see cref="T:Foundation.INSCoding" /> protocol and is used by applications to preserve the state of the object into an archive.</para><para>Developers will typically create an <see cref="T:Foundation.NSKeyedArchiver" /> and then invoke the <see cref="M:Foundation.NSKeyedArchiver.ArchiveRootObjectToFile(Foundation.NSObject,System.String)" /> method which will call into this method.</para><para>If developers want to allow their object to be archived, they should override this method and store their state in using the provided <paramref name="encoder" /> parameter. In addition, developers should also implement a constructor that takes an NSCoder argument and is exported with <c>[Export ("initWithCoder:")]</c>.</para><example><code lang="csharp lang-csharp"><![CDATA[public void override EncodeTo (NSCoder coder) {
+ /// coder.Encode (1, key: "version");
+ /// coder.Encode (userName, key: "userName");
+ /// coder.Encode (hostName, key: "hostName");]]></code></example></remarks>
+ [Export ("encodeWithCoder:")]
+ [UnsupportedOSPlatform ("tvos")]
+ [UnsupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("ios17.0")]
+ [SupportedOSPlatform ("maccatalyst26.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void EncodeTo (NSCoder encoder)
+ {
+ var encoder__handle__ = encoder!.GetNonNullHandle (nameof (encoder));
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("encodeWithCoder:"), encoder__handle__);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("encodeWithCoder:"), encoder__handle__);
+ }
+ GC.KeepAlive (encoder);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual SRFaceMetricsContext Context {
+ [Export ("context", ArgumentSemantic.Assign)]
+ get {
+ SRFaceMetricsContext ret;
+ if (IsDirectBinding) {
+ ret = (SensorKit.SRFaceMetricsContext) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("context"));
+ } else {
+ ret = (SensorKit.SRFaceMetricsContext) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("context"));
+ }
+ return ret!;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual NSObject FaceAnchor {
+ [Export ("faceAnchor", ArgumentSemantic.Copy)]
+ get {
+ NSObject? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("faceAnchor")), false)!;
+ } else {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("faceAnchor")), false)!;
+ }
+ return ret!;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual SRFaceMetricsExpression[] PartialFaceExpressions {
+ [Export ("partialFaceExpressions", ArgumentSemantic.Copy)]
+ get {
+ SRFaceMetricsExpression[]? ret;
+ if (IsDirectBinding) {
+ ret = CFArray.ArrayFromHandle<SRFaceMetricsExpression>(global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("partialFaceExpressions")), false)!;
+ } else {
+ ret = CFArray.ArrayFromHandle<SRFaceMetricsExpression>(global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("partialFaceExpressions")), false)!;
+ }
+ return ret!;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual string SessionIdentifier {
+ [Export ("sessionIdentifier")]
+ get {
+ string ret;
+ if (IsDirectBinding) {
+ ret = CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("sessionIdentifier")), false)!;
+ } else {
+ ret = CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("sessionIdentifier")), false)!;
+ }
+ return ret;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual string Version {
+ [Export ("version")]
+ get {
+ string ret;
+ if (IsDirectBinding) {
+ ret = CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("version")), false)!;
+ } else {
+ ret = CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("version")), false)!;
+ }
+ return ret;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual SRFaceMetricsExpression[] WholeFaceExpressions {
+ [Export ("wholeFaceExpressions", ArgumentSemantic.Copy)]
+ get {
+ SRFaceMetricsExpression[]? ret;
+ if (IsDirectBinding) {
+ ret = CFArray.ArrayFromHandle<SRFaceMetricsExpression>(global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("wholeFaceExpressions")), false)!;
+ } else {
+ ret = CFArray.ArrayFromHandle<SRFaceMetricsExpression>(global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("wholeFaceExpressions")), false)!;
+ }
+ return ret!;
+ }
+ }
+ } /* class SRFaceMetrics */
+}
diff --git a/old/dotnet/maccatalyst/generated-sources/SensorKit/SRSensor.g.cs b/new/dotnet/maccatalyst/generated-sources/SensorKit/SRSensor.g.cs
index 6eb663c..1858b81 100644
--- a/old/dotnet/maccatalyst/generated-sources/SensorKit/SRSensor.g.cs
+++ b/new/dotnet/maccatalyst/generated-sources/SensorKit/SRSensor.g.cs
@@ -112,6 +112,16 @@ namespace SensorKit {
[UnsupportedOSPlatform ("tvos")]
[UnsupportedOSPlatform ("macos")]
Photoplethysmogram = 19,
+ [SupportedOSPlatform ("ios26.0")]
+ [SupportedOSPlatform ("maccatalyst26.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ [UnsupportedOSPlatform ("macos")]
+ AcousticSettings = 20,
+ [SupportedOSPlatform ("ios26.0")]
+ [SupportedOSPlatform ("maccatalyst26.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ [UnsupportedOSPlatform ("macos")]
+ SleepSessions = 21,
}
/// <summary>Extension methods for the <see cref="global::SensorKit.SRSensor" /> enumeration.</summary>
[UnsupportedOSPlatform ("tvos")]
@@ -120,7 +130,7 @@ namespace SensorKit {
[SupportedOSPlatform ("maccatalyst")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
static public partial class SRSensorExtensions {
- static IntPtr[] values = new IntPtr [20];
+ static IntPtr[] values = new IntPtr [22];
[Field ("SRSensorAmbientLightSensor", "SensorKit")]
internal unsafe static IntPtr SRSensorAmbientLightSensor {
get {
@@ -301,6 +311,28 @@ namespace SensorKit {
return Dlfcn.CachePointer (Libraries.SensorKit.Handle, "SRSensorPhotoplethysmogram", storage);
}
}
+ [SupportedOSPlatform ("ios26.0")]
+ [SupportedOSPlatform ("maccatalyst26.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ [UnsupportedOSPlatform ("macos")]
+ [Field ("SRSensorAcousticSettings", "SensorKit")]
+ internal unsafe static IntPtr SRSensorAcousticSettings {
+ get {
+ fixed (IntPtr *storage = &values [20])
+ return Dlfcn.CachePointer (Libraries.SensorKit.Handle, "SRSensorAcousticSettings", storage);
+ }
+ }
+ [SupportedOSPlatform ("ios26.0")]
+ [SupportedOSPlatform ("maccatalyst26.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ [UnsupportedOSPlatform ("macos")]
+ [Field ("SRSensorSleepSessions", "SensorKit")]
+ internal unsafe static IntPtr SRSensorSleepSessions {
+ get {
+ fixed (IntPtr *storage = &values [21])
+ return Dlfcn.CachePointer (Libraries.SensorKit.Handle, "SRSensorSleepSessions", 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 SRSensor self)
@@ -367,6 +399,12 @@ namespace SensorKit {
case 19: // SRSensor.Photoplethysmogram
ptr = SRSensorPhotoplethysmogram;
break;
+ case 20: // SRSensor.AcousticSettings
+ ptr = SRSensorAcousticSettings;
+ break;
+ case 21: // SRSensor.SleepSessions
+ ptr = SRSensorSleepSessions;
+ break;
}
return (NSString?) Runtime.GetNSObject (ptr);
}
@@ -416,6 +454,10 @@ namespace SensorKit {
return SRSensor.Electrocardiogram;
if (constant.IsEqualTo (SRSensorPhotoplethysmogram))
return SRSensor.Photoplethysmogram;
+ if (constant.IsEqualTo (SRSensorAcousticSettings))
+ return SRSensor.AcousticSettings;
+ if (constant.IsEqualTo (SRSensorSleepSessions))
+ return SRSensor.SleepSessions;
throw new NotSupportedException ($"{constant} has no associated enum value on this platform.");
}
/// <summary>Retrieves the <see cref="global::SensorKit.SRSensor" /> value represented by the backing field value in <paramref name="handle" />.</summary>
diff --git a/new/dotnet/maccatalyst/generated-sources/SensorKit/SRSleepSession.g.cs b/new/dotnet/maccatalyst/generated-sources/SensorKit/SRSleepSession.g.cs
new file mode 100644
index 0000000..71dd7db
--- /dev/null
+++ b/new/dotnet/maccatalyst/generated-sources/SensorKit/SRSleepSession.g.cs
@@ -0,0 +1,229 @@
+//
+// 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
+namespace SensorKit {
+ [Register("SRSleepSession", true)]
+ [SupportedOSPlatform ("ios26.0")]
+ [SupportedOSPlatform ("maccatalyst26.0")]
+ public unsafe partial class SRSleepSession : NSObject, INSCoding, INSCopying, INSSecureCoding {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ static readonly NativeHandle class_ptr = Class.GetHandle ("SRSleepSession");
+ /// <summary>The Objective-C class handle for this class.</summary>
+ /// <value>The pointer to the Objective-C class.</value>
+ /// <remarks>
+ /// Each managed class mirrors an unmanaged Objective-C class.
+ /// This value contains the pointer to the Objective-C class.
+ /// It is similar to calling the managed <see cref="ObjCRuntime.Class.GetHandle(string)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ /// </remarks>
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ /// <summary>A constructor that initializes the object from the data stored in the unarchiver object.</summary>
+ /// <param name="coder">The unarchiver object.</param>
+ /// <remarks>
+ /// <para>This constructor is provided to allow the class to be initialized from an unarchiver (for example, during NIB deserialization). This is part of the <see cref="Foundation.NSCoding" /> protocol.</para>
+ /// <para>If developers want to create a subclass of this object and continue to support deserialization from an archive, they should implement a constructor with an identical signature: taking a single parameter of type <see cref="Foundation.NSCoder" /> and decorate it with the <c>[Export("initWithCoder:"]</c> attribute.</para>
+ /// <para>The state of this object can also be serialized by using the <see cref="Foundation.INSCoding.EncodeTo" /> companion method.</para>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [DesignatedInitializer]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("initWithCoder:")]
+ public SRSleepSession (NSCoder coder) : base (NSObjectFlag.Empty)
+ {
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("initWithCoder:"), coder.Handle), "initWithCoder:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_IntPtr (this.SuperHandle, Selector.GetHandle ("initWithCoder:"), coder.Handle), "initWithCoder:");
+ }
+ GC.KeepAlive (coder);
+ }
+
+ /// <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ /// <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="Foundation.NSObject" />.
+ /// This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ /// When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ /// The actual initialization of the object is up to the developer.
+ /// </para>
+ /// <para>
+ /// This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ /// Once the allocation has taken place, the constructor has to initialize the object.
+ /// With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ /// </para>
+ /// <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ /// <para>
+ /// In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ /// If this is not the case, developers should instead chain to the proper constructor in their class.
+ /// </para>
+ /// <para>
+ /// The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="Foundation.NSObject" /> allocation and runtime type registration.
+ /// Typically the chaining would look like this:
+ /// </para>
+ /// <example>
+ /// <code lang="csharp lang-csharp"><![CDATA[
+ /// //
+ /// // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ /// // No actual initXxx method is invoked, that is done later in the constructor
+ /// //
+ /// // This is taken from the iOS SDK's source code for the UIView class:
+ /// //
+ /// [Export ("initWithFrame:")]
+ /// public UIView (CGRect frame) : base (NSObjectFlag.Empty)
+ /// {
+ /// // Invoke the init method now.
+ /// var initWithFrame = new Selector ("initWithFrame:").Handle;
+ /// if (IsDirectBinding) {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ /// } else {
+ /// Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ /// }
+ /// }
+ /// ]]></code>
+ /// </example>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected SRSleepSession (NSObjectFlag t) : base (t)
+ {
+ }
+
+ /// <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ /// <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ /// <remarks>
+ /// <para>
+ /// This constructor is invoked by the runtime infrastructure (<see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ /// Developers should not invoke this method directly, instead they should call <see cref="ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ /// </para>
+ /// </remarks>
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal SRSleepSession (NativeHandle handle) : base (handle)
+ {
+ }
+
+ /// <param name="zone">Developers should pass <see langword="null" />. Memory zones are no longer used.</param><summary>Performs a copy of the underlying Objective-C object.</summary><returns>The newly-allocated object.</returns><remarks><para>This method performs a "shallow copy" of <see langword="this" />. If this object contains references to external objects, the new object will contain references to the same object.</para></remarks>
+ [Export ("copyWithZone:")]
+ [return: ReleaseAttribute ()]
+ [SupportedOSPlatform ("ios26.0")]
+ [SupportedOSPlatform ("maccatalyst26.0")]
+ [UnsupportedOSPlatform ("macos")]
+ [UnsupportedOSPlatform ("tvos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual NSObject Copy (NSZone? zone)
+ {
+ var zone__handle__ = zone.GetHandle ();
+ NSObject? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("copyWithZone:"), zone__handle__), true)!;
+ } else {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("copyWithZone:"), zone__handle__), true)!;
+ }
+ GC.KeepAlive (zone);
+ return ret!;
+ }
+ /// <summary>Encodes the state of the object using the provided encoder.</summary><param name="encoder">The encoder object where the state of the object will be stored</param><remarks><para>This method is part of the <see cref="T:Foundation.INSCoding" /> protocol and is used by applications to preserve the state of the object into an archive.</para><para>Developers will typically create an <see cref="T:Foundation.NSKeyedArchiver" /> and then invoke the <see cref="M:Foundation.NSKeyedArchiver.ArchiveRootObjectToFile(Foundation.NSObject,System.String)" /> method which will call into this method.</para><para>If developers want to allow their object to be archived, they should override this method and store their state in using the provided <paramref name="encoder" /> parameter. In addition, developers should also implement a constructor that takes an NSCoder argument and is exported with <c>[Export ("initWithCoder:")]</c>.</para><example><code lang="csharp lang-csharp"><![CDATA[public void override EncodeTo (NSCoder coder) {
+ /// coder.Encode (1, key: "version");
+ /// coder.Encode (userName, key: "userName");
+ /// coder.Encode (hostName, key: "hostName");]]></code></example></remarks>
+ [Export ("encodeWithCoder:")]
+ [SupportedOSPlatform ("ios26.0")]
+ [SupportedOSPlatform ("maccatalyst26.0")]
+ [UnsupportedOSPlatform ("macos")]
+ [UnsupportedOSPlatform ("tvos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void EncodeTo (NSCoder encoder)
+ {
+ var encoder__handle__ = encoder!.GetNonNullHandle (nameof (encoder));
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("encodeWithCoder:"), encoder__handle__);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("encodeWithCoder:"), encoder__handle__);
+ }
+ GC.KeepAlive (encoder);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual double Duration {
+ [Export ("duration")]
+ get {
+ double ret;
+ if (IsDirectBinding) {
+ ret = global::ObjCRuntime.Messaging.Double_objc_msgSend (this.Handle, Selector.GetHandle ("duration"));
+ } else {
+ ret = global::ObjCRuntime.Messaging.Double_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("duration"));
+ }
+ return ret;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual string Identifier {
+ [Export ("identifier")]
+ get {
+ string ret;
+ if (IsDirectBinding) {
+ ret = CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("identifier")), false)!;
+ } else {
+ ret = CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("identifier")), false)!;
+ }
+ return ret;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual NSDate StartDate {
+ [Export ("startDate", ArgumentSemantic.Retain)]
+ get {
+ NSDate? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<NSDate> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("startDate")), false)!;
+ } else {
+ ret = Runtime.GetNSObject<NSDate> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("startDate")), false)!;
+ }
+ return ret!;
+ }
+ }
+ } /* class SRSleepSession */
+}
diff --git a/old/dotnet/maccatalyst/ref/Microsoft.MacCatalyst.xml b/new/dotnet/maccatalyst/ref/Microsoft.MacCatalyst.xml
index 317e2f9..bd6125e 100644
--- a/old/dotnet/maccatalyst/ref/Microsoft.MacCatalyst.xml
+++ b/new/dotnet/maccatalyst/ref/Microsoft.MacCatalyst.xml
@@ -530146,6 +530146,426 @@ Console.WriteLine ("The password for the account is: {0}", password);
<summary>Converts an array of <see cref="T:Foundation.NSString" /> values into an array of their corresponding enum values.</summary>
<param name="values">The array if <see cref="T:Foundation.NSString" /> values to convert.</param>
</member>
+ <member name="P:SensorKit.SRAcousticSettings.ClassHandle">
+ <summary>The Objective-C class handle for this class.</summary>
+ <value>The pointer to the Objective-C class.</value>
+ <remarks>
+ Each managed class mirrors an unmanaged Objective-C class.
+ This value contains the pointer to the Objective-C class.
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ </remarks>
+ </member>
+ <member name="M:SensorKit.SRAcousticSettings.#ctor(Foundation.NSCoder)">
+ <summary>A constructor that initializes the object from the data stored in the unarchiver object.</summary>
+ <param name="coder">The unarchiver object.</param>
+ <remarks>
+ <para>This constructor is provided to allow the class to be initialized from an unarchiver (for example, during NIB deserialization). This is part of the <see cref="T:Foundation.NSCoding" /> protocol.</para>
+ <para>If developers want to create a subclass of this object and continue to support deserialization from an archive, they should implement a constructor with an identical signature: taking a single parameter of type <see cref="T:Foundation.NSCoder" /> and decorate it with the <c>[Export("initWithCoder:"]</c> attribute.</para>
+ <para>The state of this object can also be serialized by using the <see cref="M:Foundation.INSCoding.EncodeTo(Foundation.NSCoder)" /> companion method.</para>
+ </remarks>
+ </member>
+ <member name="M:SensorKit.SRAcousticSettings.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (CGRect frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:SensorKit.SRAcousticSettings.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
+ <member name="M:SensorKit.SRAcousticSettings.Copy(Foundation.NSZone)">
+ <param name="zone">Developers should pass <see langword="null" />. Memory zones are no longer used.</param><summary>Performs a copy of the underlying Objective-C object.</summary><returns>The newly-allocated object.</returns><remarks><para>This method performs a "shallow copy" of <see langword="this" />. If this object contains references to external objects, the new object will contain references to the same object.</para></remarks>
+ </member>
+ <member name="M:SensorKit.SRAcousticSettings.EncodeTo(Foundation.NSCoder)">
+ <summary>Encodes the state of the object using the provided encoder.</summary><param name="encoder">The encoder object where the state of the object will be stored</param><remarks><para>This method is part of the <see cref="T:Foundation.INSCoding" /> protocol and is used by applications to preserve the state of the object into an archive.</para><para>Developers will typically create an <see cref="T:Foundation.NSKeyedArchiver" /> and then invoke the <see cref="M:Foundation.NSKeyedArchiver.ArchiveRootObjectToFile(Foundation.NSObject,System.String)" /> method which will call into this method.</para><para>If developers want to allow their object to be archived, they should override this method and store their state in using the provided <paramref name="encoder" /> parameter. In addition, developers should also implement a constructor that takes an NSCoder argument and is exported with <c>[Export ("initWithCoder:")]</c>.</para><example><code lang="csharp lang-csharp"><![CDATA[public void override EncodeTo (NSCoder coder) {
+ coder.Encode (1, key: "version");
+ coder.Encode (userName, key: "userName");
+ coder.Encode (hostName, key: "hostName");]]></code></example></remarks>
+ </member>
+ <member name="P:SensorKit.SRAcousticSettingsAccessibility.ClassHandle">
+ <summary>The Objective-C class handle for this class.</summary>
+ <value>The pointer to the Objective-C class.</value>
+ <remarks>
+ Each managed class mirrors an unmanaged Objective-C class.
+ This value contains the pointer to the Objective-C class.
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ </remarks>
+ </member>
+ <member name="M:SensorKit.SRAcousticSettingsAccessibility.#ctor(Foundation.NSCoder)">
+ <summary>A constructor that initializes the object from the data stored in the unarchiver object.</summary>
+ <param name="coder">The unarchiver object.</param>
+ <remarks>
+ <para>This constructor is provided to allow the class to be initialized from an unarchiver (for example, during NIB deserialization). This is part of the <see cref="T:Foundation.NSCoding" /> protocol.</para>
+ <para>If developers want to create a subclass of this object and continue to support deserialization from an archive, they should implement a constructor with an identical signature: taking a single parameter of type <see cref="T:Foundation.NSCoder" /> and decorate it with the <c>[Export("initWithCoder:"]</c> attribute.</para>
+ <para>The state of this object can also be serialized by using the <see cref="M:Foundation.INSCoding.EncodeTo(Foundation.NSCoder)" /> companion method.</para>
+ </remarks>
+ </member>
+ <member name="M:SensorKit.SRAcousticSettingsAccessibility.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (CGRect frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:SensorKit.SRAcousticSettingsAccessibility.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
+ <member name="M:SensorKit.SRAcousticSettingsAccessibility.Copy(Foundation.NSZone)">
+ <param name="zone">Developers should pass <see langword="null" />. Memory zones are no longer used.</param><summary>Performs a copy of the underlying Objective-C object.</summary><returns>The newly-allocated object.</returns><remarks><para>This method performs a "shallow copy" of <see langword="this" />. If this object contains references to external objects, the new object will contain references to the same object.</para></remarks>
+ </member>
+ <member name="M:SensorKit.SRAcousticSettingsAccessibility.EncodeTo(Foundation.NSCoder)">
+ <summary>Encodes the state of the object using the provided encoder.</summary><param name="encoder">The encoder object where the state of the object will be stored</param><remarks><para>This method is part of the <see cref="T:Foundation.INSCoding" /> protocol and is used by applications to preserve the state of the object into an archive.</para><para>Developers will typically create an <see cref="T:Foundation.NSKeyedArchiver" /> and then invoke the <see cref="M:Foundation.NSKeyedArchiver.ArchiveRootObjectToFile(Foundation.NSObject,System.String)" /> method which will call into this method.</para><para>If developers want to allow their object to be archived, they should override this method and store their state in using the provided <paramref name="encoder" /> parameter. In addition, developers should also implement a constructor that takes an NSCoder argument and is exported with <c>[Export ("initWithCoder:")]</c>.</para><example><code lang="csharp lang-csharp"><![CDATA[public void override EncodeTo (NSCoder coder) {
+ coder.Encode (1, key: "version");
+ coder.Encode (userName, key: "userName");
+ coder.Encode (hostName, key: "hostName");]]></code></example></remarks>
+ </member>
+ <member name="P:SensorKit.SRAcousticSettingsAccessibilityBackgroundSounds.ClassHandle">
+ <summary>The Objective-C class handle for this class.</summary>
+ <value>The pointer to the Objective-C class.</value>
+ <remarks>
+ Each managed class mirrors an unmanaged Objective-C class.
+ This value contains the pointer to the Objective-C class.
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ </remarks>
+ </member>
+ <member name="M:SensorKit.SRAcousticSettingsAccessibilityBackgroundSounds.#ctor(Foundation.NSCoder)">
+ <summary>A constructor that initializes the object from the data stored in the unarchiver object.</summary>
+ <param name="coder">The unarchiver object.</param>
+ <remarks>
+ <para>This constructor is provided to allow the class to be initialized from an unarchiver (for example, during NIB deserialization). This is part of the <see cref="T:Foundation.NSCoding" /> protocol.</para>
+ <para>If developers want to create a subclass of this object and continue to support deserialization from an archive, they should implement a constructor with an identical signature: taking a single parameter of type <see cref="T:Foundation.NSCoder" /> and decorate it with the <c>[Export("initWithCoder:"]</c> attribute.</para>
+ <para>The state of this object can also be serialized by using the <see cref="M:Foundation.INSCoding.EncodeTo(Foundation.NSCoder)" /> companion method.</para>
+ </remarks>
+ </member>
+ <member name="M:SensorKit.SRAcousticSettingsAccessibilityBackgroundSounds.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (CGRect frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:SensorKit.SRAcousticSettingsAccessibilityBackgroundSounds.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
+ <member name="M:SensorKit.SRAcousticSettingsAccessibilityBackgroundSounds.Copy(Foundation.NSZone)">
+ <param name="zone">Developers should pass <see langword="null" />. Memory zones are no longer used.</param><summary>Performs a copy of the underlying Objective-C object.</summary><returns>The newly-allocated object.</returns><remarks><para>This method performs a "shallow copy" of <see langword="this" />. If this object contains references to external objects, the new object will contain references to the same object.</para></remarks>
+ </member>
+ <member name="M:SensorKit.SRAcousticSettingsAccessibilityBackgroundSounds.EncodeTo(Foundation.NSCoder)">
+ <summary>Encodes the state of the object using the provided encoder.</summary><param name="encoder">The encoder object where the state of the object will be stored</param><remarks><para>This method is part of the <see cref="T:Foundation.INSCoding" /> protocol and is used by applications to preserve the state of the object into an archive.</para><para>Developers will typically create an <see cref="T:Foundation.NSKeyedArchiver" /> and then invoke the <see cref="M:Foundation.NSKeyedArchiver.ArchiveRootObjectToFile(Foundation.NSObject,System.String)" /> method which will call into this method.</para><para>If developers want to allow their object to be archived, they should override this method and store their state in using the provided <paramref name="encoder" /> parameter. In addition, developers should also implement a constructor that takes an NSCoder argument and is exported with <c>[Export ("initWithCoder:")]</c>.</para><example><code lang="csharp lang-csharp"><![CDATA[public void override EncodeTo (NSCoder coder) {
+ coder.Encode (1, key: "version");
+ coder.Encode (userName, key: "userName");
+ coder.Encode (hostName, key: "hostName");]]></code></example></remarks>
+ </member>
+ <member name="P:SensorKit.SRAcousticSettingsAccessibilityHeadphoneAccommodations.ClassHandle">
+ <summary>The Objective-C class handle for this class.</summary>
+ <value>The pointer to the Objective-C class.</value>
+ <remarks>
+ Each managed class mirrors an unmanaged Objective-C class.
+ This value contains the pointer to the Objective-C class.
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ </remarks>
+ </member>
+ <member name="M:SensorKit.SRAcousticSettingsAccessibilityHeadphoneAccommodations.#ctor(Foundation.NSCoder)">
+ <summary>A constructor that initializes the object from the data stored in the unarchiver object.</summary>
+ <param name="coder">The unarchiver object.</param>
+ <remarks>
+ <para>This constructor is provided to allow the class to be initialized from an unarchiver (for example, during NIB deserialization). This is part of the <see cref="T:Foundation.NSCoding" /> protocol.</para>
+ <para>If developers want to create a subclass of this object and continue to support deserialization from an archive, they should implement a constructor with an identical signature: taking a single parameter of type <see cref="T:Foundation.NSCoder" /> and decorate it with the <c>[Export("initWithCoder:"]</c> attribute.</para>
+ <para>The state of this object can also be serialized by using the <see cref="M:Foundation.INSCoding.EncodeTo(Foundation.NSCoder)" /> companion method.</para>
+ </remarks>
+ </member>
+ <member name="M:SensorKit.SRAcousticSettingsAccessibilityHeadphoneAccommodations.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (CGRect frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:SensorKit.SRAcousticSettingsAccessibilityHeadphoneAccommodations.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
+ <member name="M:SensorKit.SRAcousticSettingsAccessibilityHeadphoneAccommodations.Copy(Foundation.NSZone)">
+ <param name="zone">Developers should pass <see langword="null" />. Memory zones are no longer used.</param><summary>Performs a copy of the underlying Objective-C object.</summary><returns>The newly-allocated object.</returns><remarks><para>This method performs a "shallow copy" of <see langword="this" />. If this object contains references to external objects, the new object will contain references to the same object.</para></remarks>
+ </member>
+ <member name="M:SensorKit.SRAcousticSettingsAccessibilityHeadphoneAccommodations.EncodeTo(Foundation.NSCoder)">
+ <summary>Encodes the state of the object using the provided encoder.</summary><param name="encoder">The encoder object where the state of the object will be stored</param><remarks><para>This method is part of the <see cref="T:Foundation.INSCoding" /> protocol and is used by applications to preserve the state of the object into an archive.</para><para>Developers will typically create an <see cref="T:Foundation.NSKeyedArchiver" /> and then invoke the <see cref="M:Foundation.NSKeyedArchiver.ArchiveRootObjectToFile(Foundation.NSObject,System.String)" /> method which will call into this method.</para><para>If developers want to allow their object to be archived, they should override this method and store their state in using the provided <paramref name="encoder" /> parameter. In addition, developers should also implement a constructor that takes an NSCoder argument and is exported with <c>[Export ("initWithCoder:")]</c>.</para><example><code lang="csharp lang-csharp"><![CDATA[public void override EncodeTo (NSCoder coder) {
+ coder.Encode (1, key: "version");
+ coder.Encode (userName, key: "userName");
+ coder.Encode (hostName, key: "hostName");]]></code></example></remarks>
+ </member>
+ <member name="P:SensorKit.SRAcousticSettingsMusicEQ.ClassHandle">
+ <summary>The Objective-C class handle for this class.</summary>
+ <value>The pointer to the Objective-C class.</value>
+ <remarks>
+ Each managed class mirrors an unmanaged Objective-C class.
+ This value contains the pointer to the Objective-C class.
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ </remarks>
+ </member>
+ <member name="M:SensorKit.SRAcousticSettingsMusicEQ.#ctor(Foundation.NSCoder)">
+ <summary>A constructor that initializes the object from the data stored in the unarchiver object.</summary>
+ <param name="coder">The unarchiver object.</param>
+ <remarks>
+ <para>This constructor is provided to allow the class to be initialized from an unarchiver (for example, during NIB deserialization). This is part of the <see cref="T:Foundation.NSCoding" /> protocol.</para>
+ <para>If developers want to create a subclass of this object and continue to support deserialization from an archive, they should implement a constructor with an identical signature: taking a single parameter of type <see cref="T:Foundation.NSCoder" /> and decorate it with the <c>[Export("initWithCoder:"]</c> attribute.</para>
+ <para>The state of this object can also be serialized by using the <see cref="M:Foundation.INSCoding.EncodeTo(Foundation.NSCoder)" /> companion method.</para>
+ </remarks>
+ </member>
+ <member name="M:SensorKit.SRAcousticSettingsMusicEQ.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (CGRect frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:SensorKit.SRAcousticSettingsMusicEQ.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
+ <member name="M:SensorKit.SRAcousticSettingsMusicEQ.Copy(Foundation.NSZone)">
+ <param name="zone">Developers should pass <see langword="null" />. Memory zones are no longer used.</param><summary>Performs a copy of the underlying Objective-C object.</summary><returns>The newly-allocated object.</returns><remarks><para>This method performs a "shallow copy" of <see langword="this" />. If this object contains references to external objects, the new object will contain references to the same object.</para></remarks>
+ </member>
+ <member name="M:SensorKit.SRAcousticSettingsMusicEQ.EncodeTo(Foundation.NSCoder)">
+ <summary>Encodes the state of the object using the provided encoder.</summary><param name="encoder">The encoder object where the state of the object will be stored</param><remarks><para>This method is part of the <see cref="T:Foundation.INSCoding" /> protocol and is used by applications to preserve the state of the object into an archive.</para><para>Developers will typically create an <see cref="T:Foundation.NSKeyedArchiver" /> and then invoke the <see cref="M:Foundation.NSKeyedArchiver.ArchiveRootObjectToFile(Foundation.NSObject,System.String)" /> method which will call into this method.</para><para>If developers want to allow their object to be archived, they should override this method and store their state in using the provided <paramref name="encoder" /> parameter. In addition, developers should also implement a constructor that takes an NSCoder argument and is exported with <c>[Export ("initWithCoder:")]</c>.</para><example><code lang="csharp lang-csharp"><![CDATA[public void override EncodeTo (NSCoder coder) {
+ coder.Encode (1, key: "version");
+ coder.Encode (userName, key: "userName");
+ coder.Encode (hostName, key: "hostName");]]></code></example></remarks>
+ </member>
<member name="P:SensorKit.SRAmbientLightSample.ClassHandle">
<summary>The Objective-C class handle for this class.</summary>
<value>The pointer to the Objective-C class.</value>
@@ -530885,6 +531305,90 @@ Console.WriteLine ("The password for the account is: {0}", password);
<para>See the <see cref="T:Foundation.NSError" /> for information on how to use the error domains when reporting errors.</para>
</remarks>
</member>
+ <member name="P:SensorKit.SRFaceMetrics.ClassHandle">
+ <summary>The Objective-C class handle for this class.</summary>
+ <value>The pointer to the Objective-C class.</value>
+ <remarks>
+ Each managed class mirrors an unmanaged Objective-C class.
+ This value contains the pointer to the Objective-C class.
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ </remarks>
+ </member>
+ <member name="M:SensorKit.SRFaceMetrics.#ctor(Foundation.NSCoder)">
+ <summary>A constructor that initializes the object from the data stored in the unarchiver object.</summary>
+ <param name="coder">The unarchiver object.</param>
+ <remarks>
+ <para>This constructor is provided to allow the class to be initialized from an unarchiver (for example, during NIB deserialization). This is part of the <see cref="T:Foundation.NSCoding" /> protocol.</para>
+ <para>If developers want to create a subclass of this object and continue to support deserialization from an archive, they should implement a constructor with an identical signature: taking a single parameter of type <see cref="T:Foundation.NSCoder" /> and decorate it with the <c>[Export("initWithCoder:"]</c> attribute.</para>
+ <para>The state of this object can also be serialized by using the <see cref="M:Foundation.INSCoding.EncodeTo(Foundation.NSCoder)" /> companion method.</para>
+ </remarks>
+ </member>
+ <member name="M:SensorKit.SRFaceMetrics.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (CGRect frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:SensorKit.SRFaceMetrics.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
+ <member name="M:SensorKit.SRFaceMetrics.Copy(Foundation.NSZone)">
+ <param name="zone">Developers should pass <see langword="null" />. Memory zones are no longer used.</param><summary>Performs a copy of the underlying Objective-C object.</summary><returns>The newly-allocated object.</returns><remarks><para>This method performs a "shallow copy" of <see langword="this" />. If this object contains references to external objects, the new object will contain references to the same object.</para></remarks>
+ </member>
+ <member name="M:SensorKit.SRFaceMetrics.EncodeTo(Foundation.NSCoder)">
+ <summary>Encodes the state of the object using the provided encoder.</summary><param name="encoder">The encoder object where the state of the object will be stored</param><remarks><para>This method is part of the <see cref="T:Foundation.INSCoding" /> protocol and is used by applications to preserve the state of the object into an archive.</para><para>Developers will typically create an <see cref="T:Foundation.NSKeyedArchiver" /> and then invoke the <see cref="M:Foundation.NSKeyedArchiver.ArchiveRootObjectToFile(Foundation.NSObject,System.String)" /> method which will call into this method.</para><para>If developers want to allow their object to be archived, they should override this method and store their state in using the provided <paramref name="encoder" /> parameter. In addition, developers should also implement a constructor that takes an NSCoder argument and is exported with <c>[Export ("initWithCoder:")]</c>.</para><example><code lang="csharp lang-csharp"><![CDATA[public void override EncodeTo (NSCoder coder) {
+ coder.Encode (1, key: "version");
+ coder.Encode (userName, key: "userName");
+ coder.Encode (hostName, key: "hostName");]]></code></example></remarks>
+ </member>
<member name="P:SensorKit.SRFaceMetricsExpression.ClassHandle">
<summary>The Objective-C class handle for this class.</summary>
<value>The pointer to the Objective-C class.</value>
@@ -531976,6 +532480,90 @@ Console.WriteLine ("The password for the account is: {0}", password);
</para>
</remarks>
</member>
+ <member name="P:SensorKit.SRSleepSession.ClassHandle">
+ <summary>The Objective-C class handle for this class.</summary>
+ <value>The pointer to the Objective-C class.</value>
+ <remarks>
+ Each managed class mirrors an unmanaged Objective-C class.
+ This value contains the pointer to the Objective-C class.
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name.
+ </remarks>
+ </member>
+ <member name="M:SensorKit.SRSleepSession.#ctor(Foundation.NSCoder)">
+ <summary>A constructor that initializes the object from the data stored in the unarchiver object.</summary>
+ <param name="coder">The unarchiver object.</param>
+ <remarks>
+ <para>This constructor is provided to allow the class to be initialized from an unarchiver (for example, during NIB deserialization). This is part of the <see cref="T:Foundation.NSCoding" /> protocol.</para>
+ <para>If developers want to create a subclass of this object and continue to support deserialization from an archive, they should implement a constructor with an identical signature: taking a single parameter of type <see cref="T:Foundation.NSCoder" /> and decorate it with the <c>[Export("initWithCoder:"]</c> attribute.</para>
+ <para>The state of this object can also be serialized by using the <see cref="M:Foundation.INSCoding.EncodeTo(Foundation.NSCoder)" /> companion method.</para>
+ </remarks>
+ </member>
+ <member name="M:SensorKit.SRSleepSession.#ctor(Foundation.NSObjectFlag)">
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
+ <remarks>
+ <para>
+ This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the <see cref="T:Foundation.NSObject" />.
+ This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object.
+ When developers invoke this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.NSObject" /> to merely allocate the object's memory and bind the Objective-C and C# objects together.
+ The actual initialization of the object is up to the developer.
+ </para>
+ <para>
+ This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place.
+ Once the allocation has taken place, the constructor has to initialize the object.
+ With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.
+ </para>
+ <para>It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.</para>
+ <para>
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method.
+ If this is not the case, developers should instead chain to the proper constructor in their class.
+ </para>
+ <para>
+ The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic <see cref="T:Foundation.NSObject" /> allocation and runtime type registration.
+ Typically the chaining would look like this:
+ </para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ //
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
+ // No actual initXxx method is invoked, that is done later in the constructor
+ //
+ // This is taken from the iOS SDK's source code for the UIView class:
+ //
+ [Export ("initWithFrame:")]
+ public UIView (CGRect frame) : base (NSObjectFlag.Empty)
+ {
+ // Invoke the init method now.
+ var initWithFrame = new Selector ("initWithFrame:").Handle;
+ if (IsDirectBinding) {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
+ } else {
+ Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
+ }
+ }
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:SensorKit.SRSleepSession.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
+ <member name="M:SensorKit.SRSleepSession.Copy(Foundation.NSZone)">
+ <param name="zone">Developers should pass <see langword="null" />. Memory zones are no longer used.</param><summary>Performs a copy of the underlying Objective-C object.</summary><returns>The newly-allocated object.</returns><remarks><para>This method performs a "shallow copy" of <see langword="this" />. If this object contains references to external objects, the new object will contain references to the same object.</para></remarks>
+ </member>
+ <member name="M:SensorKit.SRSleepSession.EncodeTo(Foundation.NSCoder)">
+ <summary>Encodes the state of the object using the provided encoder.</summary><param name="encoder">The encoder object where the state of the object will be stored</param><remarks><para>This method is part of the <see cref="T:Foundation.INSCoding" /> protocol and is used by applications to preserve the state of the object into an archive.</para><para>Developers will typically create an <see cref="T:Foundation.NSKeyedArchiver" /> and then invoke the <see cref="M:Foundation.NSKeyedArchiver.ArchiveRootObjectToFile(Foundation.NSObject,System.String)" /> method which will call into this method.</para><para>If developers want to allow their object to be archived, they should override this method and store their state in using the provided <paramref name="encoder" /> parameter. In addition, developers should also implement a constructor that takes an NSCoder argument and is exported with <c>[Export ("initWithCoder:")]</c>.</para><example><code lang="csharp lang-csharp"><![CDATA[public void override EncodeTo (NSCoder coder) {
+ coder.Encode (1, key: "version");
+ coder.Encode (userName, key: "userName");
+ coder.Encode (hostName, key: "hostName");]]></code></example></remarks>
+ </member>
<member name="P:SensorKit.SRSpeechExpression.ClassHandle">
<summary>The Objective-C class handle for this class.</summary>
<value>The pointer to the Objective-C class.</value>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment