-
-
Save vs-mobiletools-engineering-service2/cc428195cacc3b2ae51cde7025a20621 to your computer and use it in GitHub Desktop.
generator-diff/generator.diff
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/old/dotnet/IDE/obj/common/bgen/bgen.AssemblyInfo.cs b/new/dotnet/IDE/obj/common/bgen/bgen.AssemblyInfo.cs | |
index 8c0246b..e27ebbb 100644 | |
--- a/old/dotnet/IDE/obj/common/bgen/bgen.AssemblyInfo.cs | |
+++ b/new/dotnet/IDE/obj/common/bgen/bgen.AssemblyInfo.cs | |
@@ -13,7 +13,7 @@ using System.Reflection; | |
[assembly: System.Reflection.AssemblyCompanyAttribute("bgen")] | |
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] | |
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] | |
-[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+10531aac9875ee23ba7bac728653e7f99627beb9")] | |
+[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+3c83e65de78e3ec58b6b7c22362658fa83939572")] | |
[assembly: System.Reflection.AssemblyProductAttribute("bgen")] | |
[assembly: System.Reflection.AssemblyTitleAttribute("bgen")] | |
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] | |
diff --git a/old/dotnet/IDE/obj/common/bgen/bgen.sourcelink.json b/new/dotnet/IDE/obj/common/bgen/bgen.sourcelink.json | |
index a40980e..22878af 100644 | |
--- a/old/dotnet/IDE/obj/common/bgen/bgen.sourcelink.json | |
+++ b/new/dotnet/IDE/obj/common/bgen/bgen.sourcelink.json | |
@@ -1 +1 @@ | |
-{"documents":{"/Users/builder/azdo/_work/3/a/change-detection/tmp/src/xamarin-macios/*":"https://raw.githubusercontent.com/xamarin/xamarin-macios/10531aac9875ee23ba7bac728653e7f99627beb9/*","/Users/builder/azdo/_work/3/a/change-detection/tmp/src/xamarin-macios/external/api-tools/*":"https://raw.githubusercontent.com/xamarin/api-tools/1fbbe003a141231439c08b23989d3dc910bd6182/*","/Users/builder/azdo/_work/3/a/change-detection/tmp/src/xamarin-macios/external/macios-binaries/*":"https://raw.githubusercontent.com/xamarin/macios-binaries/7813391e75d7373ee073ef2d5716e3c607c8636a/*","/Users/builder/azdo/_work/3/a/change-detection/tmp/src/xamarin-macios/external/MonoTouch.Dialog/*":"https://raw.githubusercontent.com/xamarin/MonoTouch.Dialog/77b3337dbbc9e3e2f1b06dab3d37d2822488b0b3/*","/Users/builder/azdo/_work/3/a/change-detection/tmp/src/xamarin-macios/external/opentk/*":"https://raw.githubusercontent.com/mono/opentk/396bc90c7ac2e7ce442840a5e8bd91e5e79b381e/*","/Users/builder/azdo/_work/3/a/change-detection/tmp/src/xamarin-macios/external/Touch.Unit/*":"https://raw.githubusercontent.com/xamarin/Touch.Unit/92a072683b69b2f61f235a7a249c2c7f261236d4/*","/Users/builder/azdo/_work/3/a/change-detection/tmp/src/xamarin-macios/external/Xamarin.MacDev/*":"https://raw.githubusercontent.com/xamarin/Xamarin.MacDev/4cb9dc263251f8c8eac41b95a857f37025974599/*"}} | |
\ No newline at end of file | |
+{"documents":{"/Users/builder/azdo/_work/3/s/xamarin-macios/*":"https://raw.githubusercontent.com/xamarin/xamarin-macios/3c83e65de78e3ec58b6b7c22362658fa83939572/*","/Users/builder/azdo/_work/3/s/xamarin-macios/external/api-tools/*":"https://raw.githubusercontent.com/xamarin/api-tools/1fbbe003a141231439c08b23989d3dc910bd6182/*","/Users/builder/azdo/_work/3/s/xamarin-macios/external/macios-binaries/*":"https://raw.githubusercontent.com/xamarin/macios-binaries/7813391e75d7373ee073ef2d5716e3c607c8636a/*","/Users/builder/azdo/_work/3/s/xamarin-macios/external/MonoTouch.Dialog/*":"https://raw.githubusercontent.com/xamarin/MonoTouch.Dialog/77b3337dbbc9e3e2f1b06dab3d37d2822488b0b3/*","/Users/builder/azdo/_work/3/s/xamarin-macios/external/opentk/*":"https://raw.githubusercontent.com/mono/opentk/396bc90c7ac2e7ce442840a5e8bd91e5e79b381e/*","/Users/builder/azdo/_work/3/s/xamarin-macios/external/Touch.Unit/*":"https://raw.githubusercontent.com/xamarin/Touch.Unit/92a072683b69b2f61f235a7a249c2c7f261236d4/*","/Users/builder/azdo/_work/3/s/xamarin-macios/external/Xamarin.MacDev/*":"https://raw.githubusercontent.com/xamarin/Xamarin.MacDev/4cb9dc263251f8c8eac41b95a857f37025974599/*"}} | |
\ No newline at end of file | |
diff --git a/old/dotnet/ios/SourceLink.json b/new/dotnet/ios/SourceLink.json | |
index ae1b4be..15c6b6a 100644 | |
--- a/old/dotnet/ios/SourceLink.json | |
+++ b/new/dotnet/ios/SourceLink.json | |
@@ -1,5 +1,5 @@ | |
{ | |
"documents": { | |
- "/Users/builder/azdo/_work/3/a/change-detection/tmp/src/xamarin-macios/src*": "https://raw.githubusercontent.com/xamarin/xamarin-macios/10531aac9875ee23ba7bac728653e7f99627beb9/src*" | |
+ "/Users/builder/azdo/_work/3/s/xamarin-macios/src*": "https://raw.githubusercontent.com/xamarin/xamarin-macios/3c83e65de78e3ec58b6b7c22362658fa83939572/src*" | |
} | |
} | |
diff --git a/old/dotnet/ios/generated-sources/AVFoundation/AVCaptureDeviceType.g.cs b/new/dotnet/ios/generated-sources/AVFoundation/AVCaptureDeviceType.g.cs | |
index 8444d2f..42e8da6 100644 | |
--- a/old/dotnet/ios/generated-sources/AVFoundation/AVCaptureDeviceType.g.cs | |
+++ b/new/dotnet/ios/generated-sources/AVFoundation/AVCaptureDeviceType.g.cs | |
@@ -51,68 +51,81 @@ using NativeHandle = System.IntPtr; | |
namespace AVFoundation { | |
/// <summary>Enumerates the types of device that can capture audiovisual data.</summary> | |
[SupportedOSPlatform ("maccatalyst")] | |
- [UnsupportedOSPlatform ("tvos")] | |
+ [SupportedOSPlatform ("tvos17.0")] | |
[SupportedOSPlatform ("ios")] | |
[SupportedOSPlatform ("macos")] | |
public enum AVCaptureDeviceType : int { | |
+ [UnsupportedOSPlatform ("tvos")] | |
+ [SupportedOSPlatform ("ios")] | |
+ [SupportedOSPlatform ("macos")] | |
+ [SupportedOSPlatform ("maccatalyst")] | |
BuiltInMicrophone = 0, | |
BuiltInWideAngleCamera = 1, | |
[UnsupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("maccatalyst")] | |
- [UnsupportedOSPlatform ("tvos")] | |
[SupportedOSPlatform ("ios")] | |
+ [SupportedOSPlatform ("tvos17.0")] | |
BuiltInTelephotoCamera = 2, | |
+ [UnsupportedOSPlatform ("tvos")] | |
[UnsupportedOSPlatform ("macos")] | |
[ObsoletedOSPlatform ("ios10.2", "Use 'BuiltInDualCamera' instead.")] | |
[SupportedOSPlatform ("maccatalyst")] | |
[ObsoletedOSPlatform ("maccatalyst13.1", "Use 'BuiltInDualCamera' instead.")] | |
- [UnsupportedOSPlatform ("tvos")] | |
[SupportedOSPlatform ("ios")] | |
BuiltInDuoCamera = 3, | |
[UnsupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("maccatalyst")] | |
- [UnsupportedOSPlatform ("tvos")] | |
[SupportedOSPlatform ("ios")] | |
+ [SupportedOSPlatform ("tvos17.0")] | |
BuiltInDualCamera = 4, | |
[UnsupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("maccatalyst")] | |
- [UnsupportedOSPlatform ("tvos")] | |
[SupportedOSPlatform ("ios")] | |
+ [SupportedOSPlatform ("tvos17.0")] | |
BuiltInTrueDepthCamera = 5, | |
[UnsupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("ios13.0")] | |
[SupportedOSPlatform ("maccatalyst")] | |
- [UnsupportedOSPlatform ("tvos")] | |
+ [SupportedOSPlatform ("tvos17.0")] | |
BuiltInUltraWideCamera = 6, | |
[UnsupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("ios13.0")] | |
[SupportedOSPlatform ("maccatalyst")] | |
- [UnsupportedOSPlatform ("tvos")] | |
+ [SupportedOSPlatform ("tvos17.0")] | |
BuiltInTripleCamera = 7, | |
[UnsupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("ios13.0")] | |
[SupportedOSPlatform ("maccatalyst")] | |
- [UnsupportedOSPlatform ("tvos")] | |
+ [SupportedOSPlatform ("tvos17.0")] | |
BuiltInDualWideCamera = 8, | |
[UnsupportedOSPlatform ("tvos")] | |
[UnsupportedOSPlatform ("ios")] | |
[UnsupportedOSPlatform ("maccatalyst")] | |
[SupportedOSPlatform ("macos")] | |
ExternalUnknown = 9, | |
- [UnsupportedOSPlatform ("tvos")] | |
+ [SupportedOSPlatform ("tvos17.0")] | |
[UnsupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("maccatalyst15.4")] | |
[SupportedOSPlatform ("ios15.4")] | |
BuiltInLiDarDepthCamera = 10, | |
+ [SupportedOSPlatform ("ios17.0")] | |
+ [SupportedOSPlatform ("maccatalyst17.0")] | |
+ [SupportedOSPlatform ("tvos17.0")] | |
+ [SupportedOSPlatform ("macos14.0")] | |
+ External = 11, | |
} | |
/// <summary>Extension methods for the <see cref="global::AVFoundation.AVCaptureDeviceType" /> enumeration.</summary> | |
[SupportedOSPlatform ("maccatalyst")] | |
- [UnsupportedOSPlatform ("tvos")] | |
+ [SupportedOSPlatform ("tvos17.0")] | |
[SupportedOSPlatform ("ios")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
static public partial class AVCaptureDeviceTypeExtensions { | |
- static IntPtr[] values = new IntPtr [10]; | |
+ static IntPtr[] values = new IntPtr [11]; | |
+ [UnsupportedOSPlatform ("tvos")] | |
+ [SupportedOSPlatform ("ios")] | |
+ [SupportedOSPlatform ("macos")] | |
+ [SupportedOSPlatform ("maccatalyst")] | |
[Field ("AVCaptureDeviceTypeBuiltInMicrophone", "AVFoundation")] | |
internal unsafe static IntPtr AVCaptureDeviceTypeBuiltInMicrophone { | |
get { | |
@@ -129,8 +142,8 @@ namespace AVFoundation { | |
} | |
[UnsupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("maccatalyst")] | |
- [UnsupportedOSPlatform ("tvos")] | |
[SupportedOSPlatform ("ios")] | |
+ [SupportedOSPlatform ("tvos17.0")] | |
[Field ("AVCaptureDeviceTypeBuiltInTelephotoCamera", "AVFoundation")] | |
internal unsafe static IntPtr AVCaptureDeviceTypeBuiltInTelephotoCamera { | |
get { | |
@@ -138,11 +151,11 @@ namespace AVFoundation { | |
return Dlfcn.CachePointer (Libraries.AVFoundation.Handle, "AVCaptureDeviceTypeBuiltInTelephotoCamera", storage); | |
} | |
} | |
+ [UnsupportedOSPlatform ("tvos")] | |
[UnsupportedOSPlatform ("macos")] | |
[ObsoletedOSPlatform ("ios10.2", "Use 'BuiltInDualCamera' instead.")] | |
[SupportedOSPlatform ("maccatalyst")] | |
[ObsoletedOSPlatform ("maccatalyst13.1", "Use 'BuiltInDualCamera' instead.")] | |
- [UnsupportedOSPlatform ("tvos")] | |
[SupportedOSPlatform ("ios")] | |
[Field ("AVCaptureDeviceTypeBuiltInDuoCamera", "AVFoundation")] | |
internal unsafe static IntPtr AVCaptureDeviceTypeBuiltInDuoCamera { | |
@@ -153,8 +166,8 @@ namespace AVFoundation { | |
} | |
[UnsupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("maccatalyst")] | |
- [UnsupportedOSPlatform ("tvos")] | |
[SupportedOSPlatform ("ios")] | |
+ [SupportedOSPlatform ("tvos17.0")] | |
[Field ("AVCaptureDeviceTypeBuiltInDualCamera", "AVFoundation")] | |
internal unsafe static IntPtr AVCaptureDeviceTypeBuiltInDualCamera { | |
get { | |
@@ -164,8 +177,8 @@ namespace AVFoundation { | |
} | |
[UnsupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("maccatalyst")] | |
- [UnsupportedOSPlatform ("tvos")] | |
[SupportedOSPlatform ("ios")] | |
+ [SupportedOSPlatform ("tvos17.0")] | |
[Field ("AVCaptureDeviceTypeBuiltInTrueDepthCamera", "AVFoundation")] | |
internal unsafe static IntPtr AVCaptureDeviceTypeBuiltInTrueDepthCamera { | |
get { | |
@@ -176,7 +189,7 @@ namespace AVFoundation { | |
[UnsupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("ios13.0")] | |
[SupportedOSPlatform ("maccatalyst")] | |
- [UnsupportedOSPlatform ("tvos")] | |
+ [SupportedOSPlatform ("tvos17.0")] | |
[Field ("AVCaptureDeviceTypeBuiltInUltraWideCamera", "AVFoundation")] | |
internal unsafe static IntPtr AVCaptureDeviceTypeBuiltInUltraWideCamera { | |
get { | |
@@ -187,7 +200,7 @@ namespace AVFoundation { | |
[UnsupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("ios13.0")] | |
[SupportedOSPlatform ("maccatalyst")] | |
- [UnsupportedOSPlatform ("tvos")] | |
+ [SupportedOSPlatform ("tvos17.0")] | |
[Field ("AVCaptureDeviceTypeBuiltInTripleCamera", "AVFoundation")] | |
internal unsafe static IntPtr AVCaptureDeviceTypeBuiltInTripleCamera { | |
get { | |
@@ -198,7 +211,7 @@ namespace AVFoundation { | |
[UnsupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("ios13.0")] | |
[SupportedOSPlatform ("maccatalyst")] | |
- [UnsupportedOSPlatform ("tvos")] | |
+ [SupportedOSPlatform ("tvos17.0")] | |
[Field ("AVCaptureDeviceTypeBuiltInDualWideCamera", "AVFoundation")] | |
internal unsafe static IntPtr AVCaptureDeviceTypeBuiltInDualWideCamera { | |
get { | |
@@ -206,7 +219,7 @@ namespace AVFoundation { | |
return Dlfcn.CachePointer (Libraries.AVFoundation.Handle, "AVCaptureDeviceTypeBuiltInDualWideCamera", storage); | |
} | |
} | |
- [UnsupportedOSPlatform ("tvos")] | |
+ [SupportedOSPlatform ("tvos17.0")] | |
[UnsupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("maccatalyst15.4")] | |
[SupportedOSPlatform ("ios15.4")] | |
@@ -217,6 +230,17 @@ namespace AVFoundation { | |
return Dlfcn.CachePointer (Libraries.AVFoundation.Handle, "AVCaptureDeviceTypeBuiltInLiDARDepthCamera", storage); | |
} | |
} | |
+ [SupportedOSPlatform ("ios17.0")] | |
+ [SupportedOSPlatform ("maccatalyst17.0")] | |
+ [SupportedOSPlatform ("tvos17.0")] | |
+ [SupportedOSPlatform ("macos14.0")] | |
+ [Field ("AVCaptureDeviceTypeExternal", "AVFoundation")] | |
+ internal unsafe static IntPtr AVCaptureDeviceTypeExternal { | |
+ get { | |
+ fixed (IntPtr *storage = &values [10]) | |
+ return Dlfcn.CachePointer (Libraries.AVFoundation.Handle, "AVCaptureDeviceTypeExternal", 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 AVCaptureDeviceType self) | |
@@ -253,6 +277,9 @@ namespace AVFoundation { | |
case 10: // AVCaptureDeviceType.BuiltInLiDarDepthCamera | |
ptr = AVCaptureDeviceTypeBuiltInLiDARDepthCamera; | |
break; | |
+ case 11: // AVCaptureDeviceType.External | |
+ ptr = AVCaptureDeviceTypeExternal; | |
+ break; | |
} | |
return (NSString?) Runtime.GetNSObject (ptr); | |
} | |
@@ -282,6 +309,8 @@ namespace AVFoundation { | |
return AVCaptureDeviceType.BuiltInDualWideCamera; | |
if (constant.IsEqualTo (AVCaptureDeviceTypeBuiltInLiDARDepthCamera)) | |
return AVCaptureDeviceType.BuiltInLiDarDepthCamera; | |
+ if (constant.IsEqualTo (AVCaptureDeviceTypeExternal)) | |
+ return AVCaptureDeviceType.External; | |
throw new NotSupportedException ($"{constant} has no associated enum value on this platform."); | |
} | |
/// <summary>Converts an array of <see cref="global::AVFoundation.AVCaptureDeviceType" /> enum values into an array of their corresponding constants.</summary> | |
diff --git a/old/dotnet/ios/generated-sources/SupportDelegates.g.cs b/new/dotnet/ios/generated-sources/SupportDelegates.g.cs | |
index eab9469..fae7b72 100644 | |
--- a/old/dotnet/ios/generated-sources/SupportDelegates.g.cs | |
+++ b/new/dotnet/ios/generated-sources/SupportDelegates.g.cs | |
@@ -560,7 +560,7 @@ namespace NaturalLanguage { | |
} | |
namespace NetworkExtension { | |
#nullable enable | |
- public delegate void NEDatagramRead (NSData[] datagrams, NWEndpoint[] remoteEndpoints, NSError error); | |
+ public delegate void NEDatagramRead (NSData[] datagrams, global::NetworkExtension.NWEndpoint[] remoteEndpoints, NSError error); | |
/// <summary>A command handler block for a Hotspot Helper.</summary> | |
public delegate void NEHotspotHelperHandler (NEHotspotHelperCommand cmd); | |
} | |
diff --git a/old/dotnet/maccatalyst/SourceLink.json b/new/dotnet/maccatalyst/SourceLink.json | |
index ae1b4be..15c6b6a 100644 | |
--- a/old/dotnet/maccatalyst/SourceLink.json | |
+++ b/new/dotnet/maccatalyst/SourceLink.json | |
@@ -1,5 +1,5 @@ | |
{ | |
"documents": { | |
- "/Users/builder/azdo/_work/3/a/change-detection/tmp/src/xamarin-macios/src*": "https://raw.githubusercontent.com/xamarin/xamarin-macios/10531aac9875ee23ba7bac728653e7f99627beb9/src*" | |
+ "/Users/builder/azdo/_work/3/s/xamarin-macios/src*": "https://raw.githubusercontent.com/xamarin/xamarin-macios/3c83e65de78e3ec58b6b7c22362658fa83939572/src*" | |
} | |
} | |
diff --git a/old/dotnet/maccatalyst/generated-sources/AVFoundation/AVCaptureDeviceType.g.cs b/new/dotnet/maccatalyst/generated-sources/AVFoundation/AVCaptureDeviceType.g.cs | |
index b754f6e..38b58a7 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/AVFoundation/AVCaptureDeviceType.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/AVFoundation/AVCaptureDeviceType.g.cs | |
@@ -51,68 +51,81 @@ using NativeHandle = System.IntPtr; | |
namespace AVFoundation { | |
/// <summary>Enumerates the types of device that can capture audiovisual data.</summary> | |
[SupportedOSPlatform ("maccatalyst")] | |
- [UnsupportedOSPlatform ("tvos")] | |
+ [SupportedOSPlatform ("tvos17.0")] | |
[SupportedOSPlatform ("ios")] | |
[SupportedOSPlatform ("macos")] | |
public enum AVCaptureDeviceType : int { | |
+ [UnsupportedOSPlatform ("tvos")] | |
+ [SupportedOSPlatform ("ios")] | |
+ [SupportedOSPlatform ("macos")] | |
+ [SupportedOSPlatform ("maccatalyst")] | |
BuiltInMicrophone = 0, | |
BuiltInWideAngleCamera = 1, | |
[UnsupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("maccatalyst")] | |
- [UnsupportedOSPlatform ("tvos")] | |
[SupportedOSPlatform ("ios")] | |
+ [SupportedOSPlatform ("tvos17.0")] | |
BuiltInTelephotoCamera = 2, | |
+ [UnsupportedOSPlatform ("tvos")] | |
[UnsupportedOSPlatform ("macos")] | |
[ObsoletedOSPlatform ("ios10.2", "Use 'BuiltInDualCamera' instead.")] | |
[SupportedOSPlatform ("maccatalyst")] | |
[ObsoletedOSPlatform ("maccatalyst13.1", "Use 'BuiltInDualCamera' instead.")] | |
- [UnsupportedOSPlatform ("tvos")] | |
[SupportedOSPlatform ("ios")] | |
BuiltInDuoCamera = 3, | |
[UnsupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("maccatalyst")] | |
- [UnsupportedOSPlatform ("tvos")] | |
[SupportedOSPlatform ("ios")] | |
+ [SupportedOSPlatform ("tvos17.0")] | |
BuiltInDualCamera = 4, | |
[UnsupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("maccatalyst")] | |
- [UnsupportedOSPlatform ("tvos")] | |
[SupportedOSPlatform ("ios")] | |
+ [SupportedOSPlatform ("tvos17.0")] | |
BuiltInTrueDepthCamera = 5, | |
[UnsupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("ios13.0")] | |
[SupportedOSPlatform ("maccatalyst")] | |
- [UnsupportedOSPlatform ("tvos")] | |
+ [SupportedOSPlatform ("tvos17.0")] | |
BuiltInUltraWideCamera = 6, | |
[UnsupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("ios13.0")] | |
[SupportedOSPlatform ("maccatalyst")] | |
- [UnsupportedOSPlatform ("tvos")] | |
+ [SupportedOSPlatform ("tvos17.0")] | |
BuiltInTripleCamera = 7, | |
[UnsupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("ios13.0")] | |
[SupportedOSPlatform ("maccatalyst")] | |
- [UnsupportedOSPlatform ("tvos")] | |
+ [SupportedOSPlatform ("tvos17.0")] | |
BuiltInDualWideCamera = 8, | |
[UnsupportedOSPlatform ("tvos")] | |
[UnsupportedOSPlatform ("ios")] | |
[UnsupportedOSPlatform ("maccatalyst")] | |
[SupportedOSPlatform ("macos")] | |
ExternalUnknown = 9, | |
- [UnsupportedOSPlatform ("tvos")] | |
+ [SupportedOSPlatform ("tvos17.0")] | |
[UnsupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("maccatalyst15.4")] | |
[SupportedOSPlatform ("ios15.4")] | |
BuiltInLiDarDepthCamera = 10, | |
+ [SupportedOSPlatform ("ios17.0")] | |
+ [SupportedOSPlatform ("maccatalyst17.0")] | |
+ [SupportedOSPlatform ("tvos17.0")] | |
+ [SupportedOSPlatform ("macos14.0")] | |
+ External = 11, | |
} | |
/// <summary>Extension methods for the <see cref="global::AVFoundation.AVCaptureDeviceType" /> enumeration.</summary> | |
[SupportedOSPlatform ("maccatalyst")] | |
- [UnsupportedOSPlatform ("tvos")] | |
+ [SupportedOSPlatform ("tvos17.0")] | |
[SupportedOSPlatform ("ios")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
static public partial class AVCaptureDeviceTypeExtensions { | |
- static IntPtr[] values = new IntPtr [10]; | |
+ static IntPtr[] values = new IntPtr [11]; | |
+ [UnsupportedOSPlatform ("tvos")] | |
+ [SupportedOSPlatform ("ios")] | |
+ [SupportedOSPlatform ("macos")] | |
+ [SupportedOSPlatform ("maccatalyst")] | |
[Field ("AVCaptureDeviceTypeBuiltInMicrophone", "AVFoundation")] | |
internal unsafe static IntPtr AVCaptureDeviceTypeBuiltInMicrophone { | |
get { | |
@@ -129,8 +142,8 @@ namespace AVFoundation { | |
} | |
[UnsupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("maccatalyst")] | |
- [UnsupportedOSPlatform ("tvos")] | |
[SupportedOSPlatform ("ios")] | |
+ [SupportedOSPlatform ("tvos17.0")] | |
[Field ("AVCaptureDeviceTypeBuiltInTelephotoCamera", "AVFoundation")] | |
internal unsafe static IntPtr AVCaptureDeviceTypeBuiltInTelephotoCamera { | |
get { | |
@@ -138,11 +151,11 @@ namespace AVFoundation { | |
return Dlfcn.CachePointer (Libraries.AVFoundation.Handle, "AVCaptureDeviceTypeBuiltInTelephotoCamera", storage); | |
} | |
} | |
+ [UnsupportedOSPlatform ("tvos")] | |
[UnsupportedOSPlatform ("macos")] | |
[ObsoletedOSPlatform ("ios10.2", "Use 'BuiltInDualCamera' instead.")] | |
[SupportedOSPlatform ("maccatalyst")] | |
[ObsoletedOSPlatform ("maccatalyst13.1", "Use 'BuiltInDualCamera' instead.")] | |
- [UnsupportedOSPlatform ("tvos")] | |
[SupportedOSPlatform ("ios")] | |
[Field ("AVCaptureDeviceTypeBuiltInDuoCamera", "AVFoundation")] | |
internal unsafe static IntPtr AVCaptureDeviceTypeBuiltInDuoCamera { | |
@@ -153,8 +166,8 @@ namespace AVFoundation { | |
} | |
[UnsupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("maccatalyst")] | |
- [UnsupportedOSPlatform ("tvos")] | |
[SupportedOSPlatform ("ios")] | |
+ [SupportedOSPlatform ("tvos17.0")] | |
[Field ("AVCaptureDeviceTypeBuiltInDualCamera", "AVFoundation")] | |
internal unsafe static IntPtr AVCaptureDeviceTypeBuiltInDualCamera { | |
get { | |
@@ -164,8 +177,8 @@ namespace AVFoundation { | |
} | |
[UnsupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("maccatalyst")] | |
- [UnsupportedOSPlatform ("tvos")] | |
[SupportedOSPlatform ("ios")] | |
+ [SupportedOSPlatform ("tvos17.0")] | |
[Field ("AVCaptureDeviceTypeBuiltInTrueDepthCamera", "AVFoundation")] | |
internal unsafe static IntPtr AVCaptureDeviceTypeBuiltInTrueDepthCamera { | |
get { | |
@@ -176,7 +189,7 @@ namespace AVFoundation { | |
[UnsupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("ios13.0")] | |
[SupportedOSPlatform ("maccatalyst")] | |
- [UnsupportedOSPlatform ("tvos")] | |
+ [SupportedOSPlatform ("tvos17.0")] | |
[Field ("AVCaptureDeviceTypeBuiltInUltraWideCamera", "AVFoundation")] | |
internal unsafe static IntPtr AVCaptureDeviceTypeBuiltInUltraWideCamera { | |
get { | |
@@ -187,7 +200,7 @@ namespace AVFoundation { | |
[UnsupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("ios13.0")] | |
[SupportedOSPlatform ("maccatalyst")] | |
- [UnsupportedOSPlatform ("tvos")] | |
+ [SupportedOSPlatform ("tvos17.0")] | |
[Field ("AVCaptureDeviceTypeBuiltInTripleCamera", "AVFoundation")] | |
internal unsafe static IntPtr AVCaptureDeviceTypeBuiltInTripleCamera { | |
get { | |
@@ -198,7 +211,7 @@ namespace AVFoundation { | |
[UnsupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("ios13.0")] | |
[SupportedOSPlatform ("maccatalyst")] | |
- [UnsupportedOSPlatform ("tvos")] | |
+ [SupportedOSPlatform ("tvos17.0")] | |
[Field ("AVCaptureDeviceTypeBuiltInDualWideCamera", "AVFoundation")] | |
internal unsafe static IntPtr AVCaptureDeviceTypeBuiltInDualWideCamera { | |
get { | |
@@ -206,7 +219,7 @@ namespace AVFoundation { | |
return Dlfcn.CachePointer (Libraries.AVFoundation.Handle, "AVCaptureDeviceTypeBuiltInDualWideCamera", storage); | |
} | |
} | |
- [UnsupportedOSPlatform ("tvos")] | |
+ [SupportedOSPlatform ("tvos17.0")] | |
[UnsupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("maccatalyst15.4")] | |
[SupportedOSPlatform ("ios15.4")] | |
@@ -217,6 +230,17 @@ namespace AVFoundation { | |
return Dlfcn.CachePointer (Libraries.AVFoundation.Handle, "AVCaptureDeviceTypeBuiltInLiDARDepthCamera", storage); | |
} | |
} | |
+ [SupportedOSPlatform ("ios17.0")] | |
+ [SupportedOSPlatform ("maccatalyst17.0")] | |
+ [SupportedOSPlatform ("tvos17.0")] | |
+ [SupportedOSPlatform ("macos14.0")] | |
+ [Field ("AVCaptureDeviceTypeExternal", "AVFoundation")] | |
+ internal unsafe static IntPtr AVCaptureDeviceTypeExternal { | |
+ get { | |
+ fixed (IntPtr *storage = &values [10]) | |
+ return Dlfcn.CachePointer (Libraries.AVFoundation.Handle, "AVCaptureDeviceTypeExternal", 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 AVCaptureDeviceType self) | |
@@ -253,6 +277,9 @@ namespace AVFoundation { | |
case 10: // AVCaptureDeviceType.BuiltInLiDarDepthCamera | |
ptr = AVCaptureDeviceTypeBuiltInLiDARDepthCamera; | |
break; | |
+ case 11: // AVCaptureDeviceType.External | |
+ ptr = AVCaptureDeviceTypeExternal; | |
+ break; | |
} | |
return (NSString?) Runtime.GetNSObject (ptr); | |
} | |
@@ -282,6 +309,8 @@ namespace AVFoundation { | |
return AVCaptureDeviceType.BuiltInDualWideCamera; | |
if (constant.IsEqualTo (AVCaptureDeviceTypeBuiltInLiDARDepthCamera)) | |
return AVCaptureDeviceType.BuiltInLiDarDepthCamera; | |
+ if (constant.IsEqualTo (AVCaptureDeviceTypeExternal)) | |
+ return AVCaptureDeviceType.External; | |
throw new NotSupportedException ($"{constant} has no associated enum value on this platform."); | |
} | |
/// <summary>Converts an array of <see cref="global::AVFoundation.AVCaptureDeviceType" /> enum values into an array of their corresponding constants.</summary> | |
diff --git a/old/dotnet/maccatalyst/generated-sources/SupportDelegates.g.cs b/new/dotnet/maccatalyst/generated-sources/SupportDelegates.g.cs | |
index a6e1841..e0bf45b 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/SupportDelegates.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/SupportDelegates.g.cs | |
@@ -544,7 +544,7 @@ namespace NaturalLanguage { | |
} | |
namespace NetworkExtension { | |
#nullable enable | |
- public delegate void NEDatagramRead (NSData[] datagrams, NWEndpoint[] remoteEndpoints, NSError error); | |
+ public delegate void NEDatagramRead (NSData[] datagrams, global::NetworkExtension.NWEndpoint[] remoteEndpoints, NSError error); | |
/// <summary>A command handler block for a Hotspot Helper.</summary> | |
public delegate void NEHotspotHelperHandler (NEHotspotHelperCommand cmd); | |
} | |
diff --git a/old/dotnet/macos/SourceLink.json b/new/dotnet/macos/SourceLink.json | |
index ae1b4be..15c6b6a 100644 | |
--- a/old/dotnet/macos/SourceLink.json | |
+++ b/new/dotnet/macos/SourceLink.json | |
@@ -1,5 +1,5 @@ | |
{ | |
"documents": { | |
- "/Users/builder/azdo/_work/3/a/change-detection/tmp/src/xamarin-macios/src*": "https://raw.githubusercontent.com/xamarin/xamarin-macios/10531aac9875ee23ba7bac728653e7f99627beb9/src*" | |
+ "/Users/builder/azdo/_work/3/s/xamarin-macios/src*": "https://raw.githubusercontent.com/xamarin/xamarin-macios/3c83e65de78e3ec58b6b7c22362658fa83939572/src*" | |
} | |
} | |
diff --git a/old/dotnet/macos/generated-sources/AVFoundation/AVCaptureDeviceType.g.cs b/new/dotnet/macos/generated-sources/AVFoundation/AVCaptureDeviceType.g.cs | |
index a61b243..f0dc4e3 100644 | |
--- a/old/dotnet/macos/generated-sources/AVFoundation/AVCaptureDeviceType.g.cs | |
+++ b/new/dotnet/macos/generated-sources/AVFoundation/AVCaptureDeviceType.g.cs | |
@@ -46,68 +46,81 @@ using NativeHandle = System.IntPtr; | |
namespace AVFoundation { | |
/// <summary>Enumerates the types of device that can capture audiovisual data.</summary> | |
[SupportedOSPlatform ("maccatalyst")] | |
- [UnsupportedOSPlatform ("tvos")] | |
+ [SupportedOSPlatform ("tvos17.0")] | |
[SupportedOSPlatform ("ios")] | |
[SupportedOSPlatform ("macos")] | |
public enum AVCaptureDeviceType : int { | |
+ [UnsupportedOSPlatform ("tvos")] | |
+ [SupportedOSPlatform ("ios")] | |
+ [SupportedOSPlatform ("macos")] | |
+ [SupportedOSPlatform ("maccatalyst")] | |
BuiltInMicrophone = 0, | |
BuiltInWideAngleCamera = 1, | |
[UnsupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("maccatalyst")] | |
- [UnsupportedOSPlatform ("tvos")] | |
[SupportedOSPlatform ("ios")] | |
+ [SupportedOSPlatform ("tvos17.0")] | |
BuiltInTelephotoCamera = 2, | |
+ [UnsupportedOSPlatform ("tvos")] | |
[UnsupportedOSPlatform ("macos")] | |
[ObsoletedOSPlatform ("ios10.2", "Use 'BuiltInDualCamera' instead.")] | |
[SupportedOSPlatform ("maccatalyst")] | |
[ObsoletedOSPlatform ("maccatalyst13.1", "Use 'BuiltInDualCamera' instead.")] | |
- [UnsupportedOSPlatform ("tvos")] | |
[SupportedOSPlatform ("ios")] | |
BuiltInDuoCamera = 3, | |
[UnsupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("maccatalyst")] | |
- [UnsupportedOSPlatform ("tvos")] | |
[SupportedOSPlatform ("ios")] | |
+ [SupportedOSPlatform ("tvos17.0")] | |
BuiltInDualCamera = 4, | |
[UnsupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("maccatalyst")] | |
- [UnsupportedOSPlatform ("tvos")] | |
[SupportedOSPlatform ("ios")] | |
+ [SupportedOSPlatform ("tvos17.0")] | |
BuiltInTrueDepthCamera = 5, | |
[UnsupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("ios13.0")] | |
[SupportedOSPlatform ("maccatalyst")] | |
- [UnsupportedOSPlatform ("tvos")] | |
+ [SupportedOSPlatform ("tvos17.0")] | |
BuiltInUltraWideCamera = 6, | |
[UnsupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("ios13.0")] | |
[SupportedOSPlatform ("maccatalyst")] | |
- [UnsupportedOSPlatform ("tvos")] | |
+ [SupportedOSPlatform ("tvos17.0")] | |
BuiltInTripleCamera = 7, | |
[UnsupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("ios13.0")] | |
[SupportedOSPlatform ("maccatalyst")] | |
- [UnsupportedOSPlatform ("tvos")] | |
+ [SupportedOSPlatform ("tvos17.0")] | |
BuiltInDualWideCamera = 8, | |
[UnsupportedOSPlatform ("tvos")] | |
[UnsupportedOSPlatform ("ios")] | |
[UnsupportedOSPlatform ("maccatalyst")] | |
[SupportedOSPlatform ("macos")] | |
ExternalUnknown = 9, | |
- [UnsupportedOSPlatform ("tvos")] | |
+ [SupportedOSPlatform ("tvos17.0")] | |
[UnsupportedOSPlatform ("macos")] | |
[SupportedOSPlatform ("maccatalyst15.4")] | |
[SupportedOSPlatform ("ios15.4")] | |
BuiltInLiDarDepthCamera = 10, | |
+ [SupportedOSPlatform ("ios17.0")] | |
+ [SupportedOSPlatform ("maccatalyst17.0")] | |
+ [SupportedOSPlatform ("tvos17.0")] | |
+ [SupportedOSPlatform ("macos14.0")] | |
+ External = 11, | |
} | |
/// <summary>Extension methods for the <see cref="global::AVFoundation.AVCaptureDeviceType" /> enumeration.</summary> | |
[SupportedOSPlatform ("maccatalyst")] | |
- [UnsupportedOSPlatform ("tvos")] | |
+ [SupportedOSPlatform ("tvos17.0")] | |
[SupportedOSPlatform ("ios")] | |
[SupportedOSPlatform ("macos")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
static public partial class AVCaptureDeviceTypeExtensions { | |
- static IntPtr[] values = new IntPtr [3]; | |
+ static IntPtr[] values = new IntPtr [4]; | |
+ [UnsupportedOSPlatform ("tvos")] | |
+ [SupportedOSPlatform ("ios")] | |
+ [SupportedOSPlatform ("macos")] | |
+ [SupportedOSPlatform ("maccatalyst")] | |
[Field ("AVCaptureDeviceTypeBuiltInMicrophone", "AVFoundation")] | |
internal unsafe static IntPtr AVCaptureDeviceTypeBuiltInMicrophone { | |
get { | |
@@ -133,6 +146,17 @@ namespace AVFoundation { | |
return Dlfcn.CachePointer (Libraries.AVFoundation.Handle, "AVCaptureDeviceTypeExternalUnknown", storage); | |
} | |
} | |
+ [SupportedOSPlatform ("ios17.0")] | |
+ [SupportedOSPlatform ("maccatalyst17.0")] | |
+ [SupportedOSPlatform ("tvos17.0")] | |
+ [SupportedOSPlatform ("macos14.0")] | |
+ [Field ("AVCaptureDeviceTypeExternal", "AVFoundation")] | |
+ internal unsafe static IntPtr AVCaptureDeviceTypeExternal { | |
+ get { | |
+ fixed (IntPtr *storage = &values [3]) | |
+ return Dlfcn.CachePointer (Libraries.AVFoundation.Handle, "AVCaptureDeviceTypeExternal", 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 AVCaptureDeviceType self) | |
@@ -148,6 +172,9 @@ namespace AVFoundation { | |
case 9: // AVCaptureDeviceType.ExternalUnknown | |
ptr = AVCaptureDeviceTypeExternalUnknown; | |
break; | |
+ case 11: // AVCaptureDeviceType.External | |
+ ptr = AVCaptureDeviceTypeExternal; | |
+ break; | |
} | |
return (NSString?) Runtime.GetNSObject (ptr); | |
} | |
@@ -163,6 +190,8 @@ namespace AVFoundation { | |
return AVCaptureDeviceType.BuiltInWideAngleCamera; | |
if (constant.IsEqualTo (AVCaptureDeviceTypeExternalUnknown)) | |
return AVCaptureDeviceType.ExternalUnknown; | |
+ if (constant.IsEqualTo (AVCaptureDeviceTypeExternal)) | |
+ return AVCaptureDeviceType.External; | |
throw new NotSupportedException ($"{constant} has no associated enum value on this platform."); | |
} | |
/// <summary>Converts an array of <see cref="global::AVFoundation.AVCaptureDeviceType" /> enum values into an array of their corresponding constants.</summary> | |
diff --git a/old/dotnet/macos/generated-sources/SupportDelegates.g.cs b/new/dotnet/macos/generated-sources/SupportDelegates.g.cs | |
index ba3ce6b..9cdaef2 100644 | |
--- a/old/dotnet/macos/generated-sources/SupportDelegates.g.cs | |
+++ b/new/dotnet/macos/generated-sources/SupportDelegates.g.cs | |
@@ -626,7 +626,7 @@ namespace NaturalLanguage { | |
} | |
namespace NetworkExtension { | |
#nullable enable | |
- public delegate void NEDatagramRead (NSData[] datagrams, NWEndpoint[] remoteEndpoints, NSError error); | |
+ public delegate void NEDatagramRead (NSData[] datagrams, global::NetworkExtension.NWEndpoint[] remoteEndpoints, NSError error); | |
public delegate NEFilterPacketProviderVerdict NEFilterPacketHandler (NEFilterPacketContext context, IntPtr @interface, NETrafficDirection directiom, IntPtr packetBytes, UIntPtr packetLength); | |
} | |
namespace NotificationCenter { | |
diff --git a/old/dotnet/tvos/SourceLink.json b/new/dotnet/tvos/SourceLink.json | |
index ae1b4be..15c6b6a 100644 | |
--- a/old/dotnet/tvos/SourceLink.json | |
+++ b/new/dotnet/tvos/SourceLink.json | |
@@ -1,5 +1,5 @@ | |
{ | |
"documents": { | |
- "/Users/builder/azdo/_work/3/a/change-detection/tmp/src/xamarin-macios/src*": "https://raw.githubusercontent.com/xamarin/xamarin-macios/10531aac9875ee23ba7bac728653e7f99627beb9/src*" | |
+ "/Users/builder/azdo/_work/3/s/xamarin-macios/src*": "https://raw.githubusercontent.com/xamarin/xamarin-macios/3c83e65de78e3ec58b6b7c22362658fa83939572/src*" | |
} | |
} | |
diff --git a/old/dotnet/tvos/doc/Microsoft.tvOS.xml b/new/dotnet/tvos/doc/Microsoft.tvOS.xml | |
index 50812f6..6c04f72 100644 | |
--- a/old/dotnet/tvos/doc/Microsoft.tvOS.xml | |
+++ b/new/dotnet/tvos/doc/Microsoft.tvOS.xml | |
@@ -8165,6 +8165,28 @@ | |
</para> | |
</remarks> | |
</member> | |
+ <member name="T:AVFoundation.AVCaptureDeviceType"> | |
+ <summary>Enumerates the types of device that can capture audiovisual data.</summary> | |
+ </member> | |
+ <member name="T:AVFoundation.AVCaptureDeviceTypeExtensions"> | |
+ <summary>Extension methods for the <see cref="T:AVFoundation.AVCaptureDeviceType" /> enumeration.</summary> | |
+ </member> | |
+ <member name="M:AVFoundation.AVCaptureDeviceTypeExtensions.GetConstant(AVFoundation.AVCaptureDeviceType)"> | |
+ <summary>Retrieves the <see cref="T:Foundation.NSString" /> constant that describes <paramref name="self" />.</summary> | |
+ <param name="self">The instance on which this method operates.</param> | |
+ </member> | |
+ <member name="M:AVFoundation.AVCaptureDeviceTypeExtensions.GetValue(Foundation.NSString)"> | |
+ <summary>Retrieves the <see cref="T:AVFoundation.AVCaptureDeviceType" /> value named by <paramref name="constant" />.</summary> | |
+ <param name="constant">The name of the constant to retrieve.</param> | |
+ </member> | |
+ <member name="M:AVFoundation.AVCaptureDeviceTypeExtensions.ToConstantArray(AVFoundation.AVCaptureDeviceType[])"> | |
+ <summary>Converts an array of <see cref="T:AVFoundation.AVCaptureDeviceType" /> enum values into an array of their corresponding constants.</summary> | |
+ <param name="values">The array of enum values to convert.</param> | |
+ </member> | |
+ <member name="M:AVFoundation.AVCaptureDeviceTypeExtensions.ToEnumArray(Foundation.NSString[])"> | |
+ <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:AVFoundation.AVComposition.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/tvos/generated-sources/AVFoundation/AVCaptureDeviceType.g.cs b/new/dotnet/tvos/generated-sources/AVFoundation/AVCaptureDeviceType.g.cs | |
new file mode 100644 | |
index 0000000..bf4117c | |
--- /dev/null | |
+++ b/new/dotnet/tvos/generated-sources/AVFoundation/AVCaptureDeviceType.g.cs | |
@@ -0,0 +1,301 @@ | |
+// | |
+// 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 Photos; | |
+using ModelIO; | |
+using Network; | |
+using SceneKit; | |
+using Security; | |
+using AudioUnit; | |
+using CoreVideo; | |
+using CoreMedia; | |
+using CoreImage; | |
+using SpriteKit; | |
+using Foundation; | |
+using ObjCRuntime; | |
+using MediaPlayer; | |
+using GameplayKit; | |
+using CoreGraphics; | |
+using CoreLocation; | |
+using AVFoundation; | |
+using CoreAnimation; | |
+using CoreFoundation; | |
+using NetworkExtension; | |
+using MetalPerformanceShadersGraph; | |
+#nullable enable | |
+#if !NET | |
+using NativeHandle = System.IntPtr; | |
+#endif | |
+namespace AVFoundation { | |
+ /// <summary>Enumerates the types of device that can capture audiovisual data.</summary> | |
+ [SupportedOSPlatform ("maccatalyst")] | |
+ [SupportedOSPlatform ("tvos17.0")] | |
+ [SupportedOSPlatform ("ios")] | |
+ [SupportedOSPlatform ("macos")] | |
+ public enum AVCaptureDeviceType : int { | |
+ [UnsupportedOSPlatform ("tvos")] | |
+ [SupportedOSPlatform ("ios")] | |
+ [SupportedOSPlatform ("macos")] | |
+ [SupportedOSPlatform ("maccatalyst")] | |
+ BuiltInMicrophone = 0, | |
+ BuiltInWideAngleCamera = 1, | |
+ [UnsupportedOSPlatform ("macos")] | |
+ [SupportedOSPlatform ("maccatalyst")] | |
+ [SupportedOSPlatform ("ios")] | |
+ [SupportedOSPlatform ("tvos17.0")] | |
+ BuiltInTelephotoCamera = 2, | |
+ [UnsupportedOSPlatform ("tvos")] | |
+ [UnsupportedOSPlatform ("macos")] | |
+ [ObsoletedOSPlatform ("ios10.2", "Use 'BuiltInDualCamera' instead.")] | |
+ [SupportedOSPlatform ("maccatalyst")] | |
+ [ObsoletedOSPlatform ("maccatalyst13.1", "Use 'BuiltInDualCamera' instead.")] | |
+ [SupportedOSPlatform ("ios")] | |
+ BuiltInDuoCamera = 3, | |
+ [UnsupportedOSPlatform ("macos")] | |
+ [SupportedOSPlatform ("maccatalyst")] | |
+ [SupportedOSPlatform ("ios")] | |
+ [SupportedOSPlatform ("tvos17.0")] | |
+ BuiltInDualCamera = 4, | |
+ [UnsupportedOSPlatform ("macos")] | |
+ [SupportedOSPlatform ("maccatalyst")] | |
+ [SupportedOSPlatform ("ios")] | |
+ [SupportedOSPlatform ("tvos17.0")] | |
+ BuiltInTrueDepthCamera = 5, | |
+ [UnsupportedOSPlatform ("macos")] | |
+ [SupportedOSPlatform ("ios13.0")] | |
+ [SupportedOSPlatform ("maccatalyst")] | |
+ [SupportedOSPlatform ("tvos17.0")] | |
+ BuiltInUltraWideCamera = 6, | |
+ [UnsupportedOSPlatform ("macos")] | |
+ [SupportedOSPlatform ("ios13.0")] | |
+ [SupportedOSPlatform ("maccatalyst")] | |
+ [SupportedOSPlatform ("tvos17.0")] | |
+ BuiltInTripleCamera = 7, | |
+ [UnsupportedOSPlatform ("macos")] | |
+ [SupportedOSPlatform ("ios13.0")] | |
+ [SupportedOSPlatform ("maccatalyst")] | |
+ [SupportedOSPlatform ("tvos17.0")] | |
+ BuiltInDualWideCamera = 8, | |
+ [UnsupportedOSPlatform ("tvos")] | |
+ [UnsupportedOSPlatform ("ios")] | |
+ [UnsupportedOSPlatform ("maccatalyst")] | |
+ [SupportedOSPlatform ("macos")] | |
+ ExternalUnknown = 9, | |
+ [SupportedOSPlatform ("tvos17.0")] | |
+ [UnsupportedOSPlatform ("macos")] | |
+ [SupportedOSPlatform ("maccatalyst15.4")] | |
+ [SupportedOSPlatform ("ios15.4")] | |
+ BuiltInLiDarDepthCamera = 10, | |
+ [SupportedOSPlatform ("ios17.0")] | |
+ [SupportedOSPlatform ("maccatalyst17.0")] | |
+ [SupportedOSPlatform ("tvos17.0")] | |
+ [SupportedOSPlatform ("macos14.0")] | |
+ External = 11, | |
+ } | |
+ /// <summary>Extension methods for the <see cref="global::AVFoundation.AVCaptureDeviceType" /> enumeration.</summary> | |
+ [SupportedOSPlatform ("maccatalyst")] | |
+ [SupportedOSPlatform ("tvos17.0")] | |
+ [SupportedOSPlatform ("ios")] | |
+ [SupportedOSPlatform ("macos")] | |
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
+ static public partial class AVCaptureDeviceTypeExtensions { | |
+ static IntPtr[] values = new IntPtr [9]; | |
+ [Field ("AVCaptureDeviceTypeBuiltInWideAngleCamera", "AVFoundation")] | |
+ internal unsafe static IntPtr AVCaptureDeviceTypeBuiltInWideAngleCamera { | |
+ get { | |
+ fixed (IntPtr *storage = &values [0]) | |
+ return Dlfcn.CachePointer (Libraries.AVFoundation.Handle, "AVCaptureDeviceTypeBuiltInWideAngleCamera", storage); | |
+ } | |
+ } | |
+ [UnsupportedOSPlatform ("macos")] | |
+ [SupportedOSPlatform ("maccatalyst")] | |
+ [SupportedOSPlatform ("ios")] | |
+ [SupportedOSPlatform ("tvos17.0")] | |
+ [Field ("AVCaptureDeviceTypeBuiltInTelephotoCamera", "AVFoundation")] | |
+ internal unsafe static IntPtr AVCaptureDeviceTypeBuiltInTelephotoCamera { | |
+ get { | |
+ fixed (IntPtr *storage = &values [1]) | |
+ return Dlfcn.CachePointer (Libraries.AVFoundation.Handle, "AVCaptureDeviceTypeBuiltInTelephotoCamera", storage); | |
+ } | |
+ } | |
+ [UnsupportedOSPlatform ("macos")] | |
+ [SupportedOSPlatform ("maccatalyst")] | |
+ [SupportedOSPlatform ("ios")] | |
+ [SupportedOSPlatform ("tvos17.0")] | |
+ [Field ("AVCaptureDeviceTypeBuiltInDualCamera", "AVFoundation")] | |
+ internal unsafe static IntPtr AVCaptureDeviceTypeBuiltInDualCamera { | |
+ get { | |
+ fixed (IntPtr *storage = &values [2]) | |
+ return Dlfcn.CachePointer (Libraries.AVFoundation.Handle, "AVCaptureDeviceTypeBuiltInDualCamera", storage); | |
+ } | |
+ } | |
+ [UnsupportedOSPlatform ("macos")] | |
+ [SupportedOSPlatform ("maccatalyst")] | |
+ [SupportedOSPlatform ("ios")] | |
+ [SupportedOSPlatform ("tvos17.0")] | |
+ [Field ("AVCaptureDeviceTypeBuiltInTrueDepthCamera", "AVFoundation")] | |
+ internal unsafe static IntPtr AVCaptureDeviceTypeBuiltInTrueDepthCamera { | |
+ get { | |
+ fixed (IntPtr *storage = &values [3]) | |
+ return Dlfcn.CachePointer (Libraries.AVFoundation.Handle, "AVCaptureDeviceTypeBuiltInTrueDepthCamera", storage); | |
+ } | |
+ } | |
+ [UnsupportedOSPlatform ("macos")] | |
+ [SupportedOSPlatform ("ios13.0")] | |
+ [SupportedOSPlatform ("maccatalyst")] | |
+ [SupportedOSPlatform ("tvos17.0")] | |
+ [Field ("AVCaptureDeviceTypeBuiltInUltraWideCamera", "AVFoundation")] | |
+ internal unsafe static IntPtr AVCaptureDeviceTypeBuiltInUltraWideCamera { | |
+ get { | |
+ fixed (IntPtr *storage = &values [4]) | |
+ return Dlfcn.CachePointer (Libraries.AVFoundation.Handle, "AVCaptureDeviceTypeBuiltInUltraWideCamera", storage); | |
+ } | |
+ } | |
+ [UnsupportedOSPlatform ("macos")] | |
+ [SupportedOSPlatform ("ios13.0")] | |
+ [SupportedOSPlatform ("maccatalyst")] | |
+ [SupportedOSPlatform ("tvos17.0")] | |
+ [Field ("AVCaptureDeviceTypeBuiltInTripleCamera", "AVFoundation")] | |
+ internal unsafe static IntPtr AVCaptureDeviceTypeBuiltInTripleCamera { | |
+ get { | |
+ fixed (IntPtr *storage = &values [5]) | |
+ return Dlfcn.CachePointer (Libraries.AVFoundation.Handle, "AVCaptureDeviceTypeBuiltInTripleCamera", storage); | |
+ } | |
+ } | |
+ [UnsupportedOSPlatform ("macos")] | |
+ [SupportedOSPlatform ("ios13.0")] | |
+ [SupportedOSPlatform ("maccatalyst")] | |
+ [SupportedOSPlatform ("tvos17.0")] | |
+ [Field ("AVCaptureDeviceTypeBuiltInDualWideCamera", "AVFoundation")] | |
+ internal unsafe static IntPtr AVCaptureDeviceTypeBuiltInDualWideCamera { | |
+ get { | |
+ fixed (IntPtr *storage = &values [6]) | |
+ return Dlfcn.CachePointer (Libraries.AVFoundation.Handle, "AVCaptureDeviceTypeBuiltInDualWideCamera", storage); | |
+ } | |
+ } | |
+ [SupportedOSPlatform ("tvos17.0")] | |
+ [UnsupportedOSPlatform ("macos")] | |
+ [SupportedOSPlatform ("maccatalyst15.4")] | |
+ [SupportedOSPlatform ("ios15.4")] | |
+ [Field ("AVCaptureDeviceTypeBuiltInLiDARDepthCamera", "AVFoundation")] | |
+ internal unsafe static IntPtr AVCaptureDeviceTypeBuiltInLiDARDepthCamera { | |
+ get { | |
+ fixed (IntPtr *storage = &values [7]) | |
+ return Dlfcn.CachePointer (Libraries.AVFoundation.Handle, "AVCaptureDeviceTypeBuiltInLiDARDepthCamera", storage); | |
+ } | |
+ } | |
+ [SupportedOSPlatform ("ios17.0")] | |
+ [SupportedOSPlatform ("maccatalyst17.0")] | |
+ [SupportedOSPlatform ("tvos17.0")] | |
+ [SupportedOSPlatform ("macos14.0")] | |
+ [Field ("AVCaptureDeviceTypeExternal", "AVFoundation")] | |
+ internal unsafe static IntPtr AVCaptureDeviceTypeExternal { | |
+ get { | |
+ fixed (IntPtr *storage = &values [8]) | |
+ return Dlfcn.CachePointer (Libraries.AVFoundation.Handle, "AVCaptureDeviceTypeExternal", 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 AVCaptureDeviceType self) | |
+ { | |
+ IntPtr ptr = IntPtr.Zero; | |
+ switch ((int) self) { | |
+ case 1: // AVCaptureDeviceType.BuiltInWideAngleCamera | |
+ ptr = AVCaptureDeviceTypeBuiltInWideAngleCamera; | |
+ break; | |
+ case 2: // AVCaptureDeviceType.BuiltInTelephotoCamera | |
+ ptr = AVCaptureDeviceTypeBuiltInTelephotoCamera; | |
+ break; | |
+ case 4: // AVCaptureDeviceType.BuiltInDualCamera | |
+ ptr = AVCaptureDeviceTypeBuiltInDualCamera; | |
+ break; | |
+ case 5: // AVCaptureDeviceType.BuiltInTrueDepthCamera | |
+ ptr = AVCaptureDeviceTypeBuiltInTrueDepthCamera; | |
+ break; | |
+ case 6: // AVCaptureDeviceType.BuiltInUltraWideCamera | |
+ ptr = AVCaptureDeviceTypeBuiltInUltraWideCamera; | |
+ break; | |
+ case 7: // AVCaptureDeviceType.BuiltInTripleCamera | |
+ ptr = AVCaptureDeviceTypeBuiltInTripleCamera; | |
+ break; | |
+ case 8: // AVCaptureDeviceType.BuiltInDualWideCamera | |
+ ptr = AVCaptureDeviceTypeBuiltInDualWideCamera; | |
+ break; | |
+ case 10: // AVCaptureDeviceType.BuiltInLiDarDepthCamera | |
+ ptr = AVCaptureDeviceTypeBuiltInLiDARDepthCamera; | |
+ break; | |
+ case 11: // AVCaptureDeviceType.External | |
+ ptr = AVCaptureDeviceTypeExternal; | |
+ break; | |
+ } | |
+ return (NSString?) Runtime.GetNSObject (ptr); | |
+ } | |
+ /// <summary>Retrieves the <see cref="global::AVFoundation.AVCaptureDeviceType" /> value named by <paramref name="constant" />.</summary> | |
+ /// <param name="constant">The name of the constant to retrieve.</param> | |
+ public static AVCaptureDeviceType GetValue (NSString constant) | |
+ { | |
+ if (constant is null) | |
+ throw new ArgumentNullException (nameof (constant)); | |
+ if (constant.IsEqualTo (AVCaptureDeviceTypeBuiltInWideAngleCamera)) | |
+ return AVCaptureDeviceType.BuiltInWideAngleCamera; | |
+ if (constant.IsEqualTo (AVCaptureDeviceTypeBuiltInTelephotoCamera)) | |
+ return AVCaptureDeviceType.BuiltInTelephotoCamera; | |
+ if (constant.IsEqualTo (AVCaptureDeviceTypeBuiltInDualCamera)) | |
+ return AVCaptureDeviceType.BuiltInDualCamera; | |
+ if (constant.IsEqualTo (AVCaptureDeviceTypeBuiltInTrueDepthCamera)) | |
+ return AVCaptureDeviceType.BuiltInTrueDepthCamera; | |
+ if (constant.IsEqualTo (AVCaptureDeviceTypeBuiltInUltraWideCamera)) | |
+ return AVCaptureDeviceType.BuiltInUltraWideCamera; | |
+ if (constant.IsEqualTo (AVCaptureDeviceTypeBuiltInTripleCamera)) | |
+ return AVCaptureDeviceType.BuiltInTripleCamera; | |
+ if (constant.IsEqualTo (AVCaptureDeviceTypeBuiltInDualWideCamera)) | |
+ return AVCaptureDeviceType.BuiltInDualWideCamera; | |
+ if (constant.IsEqualTo (AVCaptureDeviceTypeBuiltInLiDARDepthCamera)) | |
+ return AVCaptureDeviceType.BuiltInLiDarDepthCamera; | |
+ if (constant.IsEqualTo (AVCaptureDeviceTypeExternal)) | |
+ return AVCaptureDeviceType.External; | |
+ throw new NotSupportedException ($"{constant} has no associated enum value on this platform."); | |
+ } | |
+ /// <summary>Converts an array of <see cref="global::AVFoundation.AVCaptureDeviceType" /> enum values into an array of their corresponding constants.</summary> | |
+ /// <param name="values">The array of enum values to convert.</param> | |
+ internal static NSString?[]? ToConstantArray (this AVCaptureDeviceType[]? values) | |
+ { | |
+ if (values is null) | |
+ return null; | |
+ var rv = new global::System.Collections.Generic.List<NSString?> (); | |
+ for (var i = 0; i < values.Length; i++) { | |
+ var value = values [i]; | |
+ rv.Add (value.GetConstant ()); | |
+ } | |
+ return rv.ToArray (); | |
+ } | |
+ /// <summary>Converts an array of <see cref="NSString" /> values into an array of their corresponding enum values.</summary> | |
+ /// <param name="values">The array if <see cref="NSString" /> values to convert.</param> | |
+ internal static AVCaptureDeviceType[]? ToEnumArray (this NSString[]? values) | |
+ { | |
+ if (values is null) | |
+ return null; | |
+ var rv = new global::System.Collections.Generic.List<AVCaptureDeviceType> (); | |
+ for (var i = 0; i < values.Length; i++) { | |
+ var value = values [i]; | |
+ rv.Add (GetValue (value)); | |
+ } | |
+ return rv.ToArray (); | |
+ } | |
+ } | |
+} | |
diff --git a/old/dotnet/tvos/ref/Microsoft.tvOS.xml b/new/dotnet/tvos/ref/Microsoft.tvOS.xml | |
index 7dbdf88..750fcea 100644 | |
--- a/old/dotnet/tvos/ref/Microsoft.tvOS.xml | |
+++ b/new/dotnet/tvos/ref/Microsoft.tvOS.xml | |
@@ -8162,6 +8162,28 @@ | |
</para> | |
</remarks> | |
</member> | |
+ <member name="T:AVFoundation.AVCaptureDeviceType"> | |
+ <summary>Enumerates the types of device that can capture audiovisual data.</summary> | |
+ </member> | |
+ <member name="T:AVFoundation.AVCaptureDeviceTypeExtensions"> | |
+ <summary>Extension methods for the <see cref="T:AVFoundation.AVCaptureDeviceType" /> enumeration.</summary> | |
+ </member> | |
+ <member name="M:AVFoundation.AVCaptureDeviceTypeExtensions.GetConstant(AVFoundation.AVCaptureDeviceType)"> | |
+ <summary>Retrieves the <see cref="T:Foundation.NSString" /> constant that describes <paramref name="self" />.</summary> | |
+ <param name="self">The instance on which this method operates.</param> | |
+ </member> | |
+ <member name="M:AVFoundation.AVCaptureDeviceTypeExtensions.GetValue(Foundation.NSString)"> | |
+ <summary>Retrieves the <see cref="T:AVFoundation.AVCaptureDeviceType" /> value named by <paramref name="constant" />.</summary> | |
+ <param name="constant">The name of the constant to retrieve.</param> | |
+ </member> | |
+ <member name="M:AVFoundation.AVCaptureDeviceTypeExtensions.ToConstantArray(AVFoundation.AVCaptureDeviceType[])"> | |
+ <summary>Converts an array of <see cref="T:AVFoundation.AVCaptureDeviceType" /> enum values into an array of their corresponding constants.</summary> | |
+ <param name="values">The array of enum values to convert.</param> | |
+ </member> | |
+ <member name="M:AVFoundation.AVCaptureDeviceTypeExtensions.ToEnumArray(Foundation.NSString[])"> | |
+ <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:AVFoundation.AVComposition.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