-
-
Save vs-mobiletools-engineering-service2/bc746ba3ebe4e9286fcab00551e13a34 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 c080b47..0649de5 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+515d0ce8f7e1a72ea00f875f442d032d3f0e3969")] | |
+[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+d6bfe29d467d65b92260b302ccdc2e7a063aab55")] | |
[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 6a5432a..7792f72 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/4/a/change-detection/tmp/src/xamarin-macios/*":"https://raw.githubusercontent.com/xamarin/xamarin-macios/515d0ce8f7e1a72ea00f875f442d032d3f0e3969/*","/Users/builder/azdo/_work/4/a/change-detection/tmp/src/xamarin-macios/external/api-tools/*":"https://raw.githubusercontent.com/xamarin/api-tools/1fbbe003a141231439c08b23989d3dc910bd6182/*","/Users/builder/azdo/_work/4/a/change-detection/tmp/src/xamarin-macios/external/macios-binaries/*":"https://raw.githubusercontent.com/xamarin/macios-binaries/7813391e75d7373ee073ef2d5716e3c607c8636a/*","/Users/builder/azdo/_work/4/a/change-detection/tmp/src/xamarin-macios/external/MonoTouch.Dialog/*":"https://raw.githubusercontent.com/xamarin/MonoTouch.Dialog/77b3337dbbc9e3e2f1b06dab3d37d2822488b0b3/*","/Users/builder/azdo/_work/4/a/change-detection/tmp/src/xamarin-macios/external/opentk/*":"https://raw.githubusercontent.com/mono/opentk/396bc90c7ac2e7ce442840a5e8bd91e5e79b381e/*","/Users/builder/azdo/_work/4/a/change-detection/tmp/src/xamarin-macios/external/Touch.Unit/*":"https://raw.githubusercontent.com/xamarin/Touch.Unit/92a072683b69b2f61f235a7a249c2c7f261236d4/*","/Users/builder/azdo/_work/4/a/change-detection/tmp/src/xamarin-macios/external/Xamarin.MacDev/*":"https://raw.githubusercontent.com/xamarin/Xamarin.MacDev/bd3d13362bfda48a34fa0cc419744c4a1f4dc45a/*"}} | |
\ No newline at end of file | |
+{"documents":{"/Users/builder/azdo/_work/4/s/xamarin-macios/*":"https://raw.githubusercontent.com/xamarin/xamarin-macios/d6bfe29d467d65b92260b302ccdc2e7a063aab55/*","/Users/builder/azdo/_work/4/s/xamarin-macios/external/api-tools/*":"https://raw.githubusercontent.com/xamarin/api-tools/1fbbe003a141231439c08b23989d3dc910bd6182/*","/Users/builder/azdo/_work/4/s/xamarin-macios/external/macios-binaries/*":"https://raw.githubusercontent.com/xamarin/macios-binaries/7813391e75d7373ee073ef2d5716e3c607c8636a/*","/Users/builder/azdo/_work/4/s/xamarin-macios/external/MonoTouch.Dialog/*":"https://raw.githubusercontent.com/xamarin/MonoTouch.Dialog/77b3337dbbc9e3e2f1b06dab3d37d2822488b0b3/*","/Users/builder/azdo/_work/4/s/xamarin-macios/external/opentk/*":"https://raw.githubusercontent.com/mono/opentk/396bc90c7ac2e7ce442840a5e8bd91e5e79b381e/*","/Users/builder/azdo/_work/4/s/xamarin-macios/external/Touch.Unit/*":"https://raw.githubusercontent.com/xamarin/Touch.Unit/92a072683b69b2f61f235a7a249c2c7f261236d4/*","/Users/builder/azdo/_work/4/s/xamarin-macios/external/Xamarin.MacDev/*":"https://raw.githubusercontent.com/xamarin/Xamarin.MacDev/bd3d13362bfda48a34fa0cc419744c4a1f4dc45a/*"}} | |
\ No newline at end of file | |
diff --git a/old/dotnet/ios/SourceLink.json b/new/dotnet/ios/SourceLink.json | |
index bcad111..3d1c350 100644 | |
--- a/old/dotnet/ios/SourceLink.json | |
+++ b/new/dotnet/ios/SourceLink.json | |
@@ -1,5 +1,5 @@ | |
{ | |
"documents": { | |
- "/Users/builder/azdo/_work/4/a/change-detection/tmp/src/xamarin-macios/src*": "https://raw.githubusercontent.com/xamarin/xamarin-macios/515d0ce8f7e1a72ea00f875f442d032d3f0e3969/src*" | |
+ "/Users/builder/azdo/_work/4/s/xamarin-macios/src*": "https://raw.githubusercontent.com/xamarin/xamarin-macios/d6bfe29d467d65b92260b302ccdc2e7a063aab55/src*" | |
} | |
} | |
diff --git a/old/dotnet/ios/doc/Microsoft.iOS.xml b/new/dotnet/ios/doc/Microsoft.iOS.xml | |
index 9209387..38158af 100644 | |
--- a/old/dotnet/ios/doc/Microsoft.iOS.xml | |
+++ b/new/dotnet/ios/doc/Microsoft.iOS.xml | |
@@ -320343,6 +320343,72 @@ | |
<member name="T:Vision.VNBarcodeSymbology"> | |
<summary>Enumerated supported barcode standards.</summary> | |
</member> | |
+ <member name="P:Vision.VNCalculateImageAestheticsScoresRequest.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:Vision.VNCalculateImageAestheticsScoresRequest.#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 (System.Drawing.RectangleF 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:Vision.VNCalculateImageAestheticsScoresRequest.#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="T:Vision.VNClassificationObservation"> | |
<summary>Subclass of <see cref="T:Vision.VNObservation" /> for CoreML models that predict a single feature.</summary> | |
<appledoc>https://developer.apple.com/documentation/vision/vnclassificationobservation</appledoc> | |
@@ -323436,6 +323502,81 @@ | |
</para> | |
</remarks> | |
</member> | |
+ <member name="P:Vision.VNImageAestheticsScoresObservation.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:Vision.VNImageAestheticsScoresObservation.#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:Vision.VNImageAestheticsScoresObservation.#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 (System.Drawing.RectangleF 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:Vision.VNImageAestheticsScoresObservation.#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="T:Vision.VNImageAlignmentObservation"> | |
<summary>Abstract base class of <see cref="T:Vision.VNObservation" /> that hold information about aligning images.</summary> | |
<appledoc>https://developer.apple.com/documentation/vision/vnimagealignmentobservation</appledoc> | |
@@ -400939,6 +401080,9 @@ | |
<member name="T:Vision.VNAnimalBodyPoseObservation"> | |
<appledoc>https://developer.apple.com/documentation/vision/vnanimalbodyposeobservation</appledoc> | |
</member> | |
+ <member name="T:Vision.VNCalculateImageAestheticsScoresRequest"> | |
+ <appledoc>https://developer.apple.com/documentation/vision/vncalculateimageaestheticsscoresrequest</appledoc> | |
+ </member> | |
<member name="T:Vision.VNClassifyImageRequest"> | |
<appledoc>https://developer.apple.com/documentation/vision/vnclassifyimagerequest</appledoc> | |
</member> | |
@@ -401014,6 +401158,9 @@ | |
<member name="T:Vision.VNHumanObservation"> | |
<appledoc>https://developer.apple.com/documentation/vision/vnhumanobservation</appledoc> | |
</member> | |
+ <member name="T:Vision.VNImageAestheticsScoresObservation"> | |
+ <appledoc>https://developer.apple.com/documentation/vision/vnimageaestheticsscoresobservation</appledoc> | |
+ </member> | |
<member name="T:Vision.VNInstanceMaskObservation"> | |
<appledoc>https://developer.apple.com/documentation/vision/vninstancemaskobservation</appledoc> | |
</member> | |
diff --git a/new/dotnet/ios/generated-sources/Vision/VNCalculateImageAestheticsScoresRequest.g.cs b/new/dotnet/ios/generated-sources/Vision/VNCalculateImageAestheticsScoresRequest.g.cs | |
new file mode 100644 | |
index 0000000..c105827 | |
--- /dev/null | |
+++ b/new/dotnet/ios/generated-sources/Vision/VNCalculateImageAestheticsScoresRequest.g.cs | |
@@ -0,0 +1,177 @@ | |
+// | |
+// Auto-generated from generator.cs, do not edit | |
+// | |
+// We keep references to objects, so warning 414 is expected | |
+#pragma warning disable 414 | |
+using System; | |
+using System.Drawing; | |
+using System.Diagnostics; | |
+using System.ComponentModel; | |
+using System.Threading.Tasks; | |
+using System.Runtime.Versioning; | |
+using System.Runtime.InteropServices; | |
+using System.Diagnostics.CodeAnalysis; | |
+using UIKit; | |
+using GLKit; | |
+using Metal; | |
+using CoreML; | |
+using MapKit; | |
+using Photos; | |
+using ModelIO; | |
+using Network; | |
+using SceneKit; | |
+using Contacts; | |
+using Security; | |
+using Messages; | |
+using AudioUnit; | |
+using CoreVideo; | |
+using CoreMedia; | |
+using QuickLook; | |
+using CoreImage; | |
+using SpriteKit; | |
+using Foundation; | |
+using CoreMotion; | |
+using ObjCRuntime; | |
+using AddressBook; | |
+using MediaPlayer; | |
+using GameplayKit; | |
+using CoreGraphics; | |
+using CoreLocation; | |
+using AVFoundation; | |
+using NewsstandKit; | |
+using FileProvider; | |
+using CoreAnimation; | |
+using CoreFoundation; | |
+using NetworkExtension; | |
+using MetalPerformanceShadersGraph; | |
+#nullable enable | |
+#if !NET | |
+using NativeHandle = System.IntPtr; | |
+#endif | |
+namespace Vision { | |
+ [Register("VNCalculateImageAestheticsScoresRequest", true)] | |
+ [SupportedOSPlatform ("tvos18.0")] | |
+ [SupportedOSPlatform ("macos15.0")] | |
+ [SupportedOSPlatform ("ios18.0")] | |
+ [SupportedOSPlatform ("maccatalyst18.0")] | |
+ public unsafe partial class VNCalculateImageAestheticsScoresRequest : VNImageBasedRequest { | |
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
+ #if ARCH_32 | |
+ #pragma warning disable 649 | |
+ static readonly NativeHandle class_ptr; | |
+ #pragma warning restore 649 | |
+ #else | |
+ static readonly NativeHandle class_ptr = Class.GetHandle ("VNCalculateImageAestheticsScoresRequest"); | |
+ #endif | |
+ /// <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>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 (System.Drawing.RectangleF 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 VNCalculateImageAestheticsScoresRequest (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 VNCalculateImageAestheticsScoresRequest (NativeHandle handle) : base (handle) | |
+ { | |
+ } | |
+ | |
+ [Export ("initWithCompletionHandler:")] | |
+ [DesignatedInitializer] | |
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
+ public unsafe VNCalculateImageAestheticsScoresRequest ([BlockProxy (typeof (ObjCRuntime.Trampolines.NIDVNRequestCompletionHandler))]VNRequestCompletionHandler? completionHandler) | |
+ : base (NSObjectFlag.Empty) | |
+ { | |
+ #if ARCH_32 | |
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
+ #else | |
+ using var block_completionHandler = Trampolines.SDVNRequestCompletionHandler.CreateNullableBlock (completionHandler); | |
+ BlockLiteral *block_ptr_completionHandler = null; | |
+ if (completionHandler is not null) | |
+ block_ptr_completionHandler = &block_completionHandler; | |
+ if (IsDirectBinding) { | |
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("initWithCompletionHandler:"), (IntPtr) block_ptr_completionHandler), "initWithCompletionHandler:"); | |
+ } else { | |
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("initWithCompletionHandler:"), (IntPtr) block_ptr_completionHandler), "initWithCompletionHandler:"); | |
+ } | |
+ #endif | |
+ } | |
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
+ public virtual VNImageAestheticsScoresObservation[]? Results { | |
+ [Export ("results", ArgumentSemantic.Copy)] | |
+ get { | |
+ #if ARCH_32 | |
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
+ #else | |
+ VNImageAestheticsScoresObservation[]? ret; | |
+ if (IsDirectBinding) { | |
+ ret = CFArray.ArrayFromHandle<VNImageAestheticsScoresObservation>(global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("results")))!; | |
+ } else { | |
+ ret = CFArray.ArrayFromHandle<VNImageAestheticsScoresObservation>(global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("results")))!; | |
+ } | |
+ return ret!; | |
+ #endif | |
+ } | |
+ } | |
+ } /* class VNCalculateImageAestheticsScoresRequest */ | |
+} | |
diff --git a/new/dotnet/ios/generated-sources/Vision/VNCalculateImageAestheticsScoresRequestRevision.g.cs b/new/dotnet/ios/generated-sources/Vision/VNCalculateImageAestheticsScoresRequestRevision.g.cs | |
new file mode 100644 | |
index 0000000..4580ab4 | |
--- /dev/null | |
+++ b/new/dotnet/ios/generated-sources/Vision/VNCalculateImageAestheticsScoresRequestRevision.g.cs | |
@@ -0,0 +1,60 @@ | |
+// | |
+// Auto-generated from generator.cs, do not edit | |
+// | |
+// We keep references to objects, so warning 414 is expected | |
+#pragma warning disable 414 | |
+using System; | |
+using System.Drawing; | |
+using System.Diagnostics; | |
+using System.ComponentModel; | |
+using System.Threading.Tasks; | |
+using System.Runtime.Versioning; | |
+using System.Runtime.InteropServices; | |
+using System.Diagnostics.CodeAnalysis; | |
+using UIKit; | |
+using GLKit; | |
+using Metal; | |
+using CoreML; | |
+using MapKit; | |
+using Photos; | |
+using ModelIO; | |
+using Network; | |
+using SceneKit; | |
+using Contacts; | |
+using Security; | |
+using Messages; | |
+using AudioUnit; | |
+using CoreVideo; | |
+using CoreMedia; | |
+using QuickLook; | |
+using CoreImage; | |
+using SpriteKit; | |
+using Foundation; | |
+using CoreMotion; | |
+using ObjCRuntime; | |
+using AddressBook; | |
+using MediaPlayer; | |
+using GameplayKit; | |
+using CoreGraphics; | |
+using CoreLocation; | |
+using AVFoundation; | |
+using NewsstandKit; | |
+using FileProvider; | |
+using CoreAnimation; | |
+using CoreFoundation; | |
+using NetworkExtension; | |
+using MetalPerformanceShadersGraph; | |
+#nullable enable | |
+#if !NET | |
+using NativeHandle = System.IntPtr; | |
+#endif | |
+namespace Vision { | |
+ [SupportedOSPlatform ("tvos18.0")] | |
+ [SupportedOSPlatform ("macos15.0")] | |
+ [SupportedOSPlatform ("ios18.0")] | |
+ [SupportedOSPlatform ("maccatalyst18.0")] | |
+ [Native] | |
+ public enum VNCalculateImageAestheticsScoresRequestRevision : ulong { | |
+ One = 1, | |
+ } | |
+} | |
diff --git a/old/dotnet/ios/generated-sources/Vision/VNDetectBarcodesRequestRevision.g.cs b/new/dotnet/ios/generated-sources/Vision/VNDetectBarcodesRequestRevision.g.cs | |
index 7353a48..94e33ad 100644 | |
--- a/old/dotnet/ios/generated-sources/Vision/VNDetectBarcodesRequestRevision.g.cs | |
+++ b/new/dotnet/ios/generated-sources/Vision/VNDetectBarcodesRequestRevision.g.cs | |
@@ -56,11 +56,23 @@ namespace Vision { | |
[Native] | |
public enum VNDetectBarcodesRequestRevision : ulong { | |
Unspecified = 0, | |
+ [ObsoletedOSPlatform ("macos14.0", "Use 'Three' instead.")] | |
+ [ObsoletedOSPlatform ("ios17.0", "Use 'Three' instead.")] | |
+ [ObsoletedOSPlatform ("tvos17.0", "Use 'Three' instead.")] | |
+ [ObsoletedOSPlatform ("maccatalyst17.0", "Use 'Three' instead.")] | |
+ [SupportedOSPlatform ("ios12.0")] | |
+ [SupportedOSPlatform ("macos")] | |
+ [SupportedOSPlatform ("tvos12.0")] | |
+ [SupportedOSPlatform ("maccatalyst15.0")] | |
One = 1, | |
[SupportedOSPlatform ("tvos15.0")] | |
[SupportedOSPlatform ("macos12.0")] | |
[SupportedOSPlatform ("ios15.0")] | |
[SupportedOSPlatform ("maccatalyst15.0")] | |
+ [ObsoletedOSPlatform ("macos15.0", "Use 'Three' instead.")] | |
+ [ObsoletedOSPlatform ("ios18.0", "Use 'Three' instead.")] | |
+ [ObsoletedOSPlatform ("tvos18.0", "Use 'Three' instead.")] | |
+ [ObsoletedOSPlatform ("maccatalyst18.0", "Use 'Three' instead.")] | |
Two = 2, | |
[SupportedOSPlatform ("tvos16.0")] | |
[SupportedOSPlatform ("macos13.0")] | |
diff --git a/old/dotnet/ios/generated-sources/Vision/VNGeneratePersonSegmentationRequest.g.cs b/new/dotnet/ios/generated-sources/Vision/VNGeneratePersonSegmentationRequest.g.cs | |
index ad2a916..730d981 100644 | |
--- a/old/dotnet/ios/generated-sources/Vision/VNGeneratePersonSegmentationRequest.g.cs | |
+++ b/new/dotnet/ios/generated-sources/Vision/VNGeneratePersonSegmentationRequest.g.cs | |
@@ -206,6 +206,39 @@ namespace Vision { | |
return ret!; | |
#endif | |
} | |
+ [Export ("supportedOutputPixelFormatsAndReturnError:")] | |
+ [SupportedOSPlatform ("tvos18.0")] | |
+ [SupportedOSPlatform ("macos15.0")] | |
+ [SupportedOSPlatform ("ios18.0")] | |
+ [SupportedOSPlatform ("maccatalyst18.0")] | |
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
+ [return: BindAs (typeof (global::CoreVideo.CVPixelFormatType[]), OriginalType = typeof (NSNumber[]))] | |
+ public unsafe virtual global::CoreVideo.CVPixelFormatType[]? GetSupportedOutputPixelFormats (out NSError error) | |
+ { | |
+ #if ARCH_32 | |
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
+ #else | |
+ NativeHandle errorValue = IntPtr.Zero; | |
+ global::CoreVideo.CVPixelFormatType[] ret; | |
+ if (IsDirectBinding) { | |
+ NativeHandle retvalarrtmp; | |
+ ret = ((retvalarrtmp = global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_ref_NativeHandle (this.Handle, Selector.GetHandle ("supportedOutputPixelFormatsAndReturnError:"), &errorValue)) == IntPtr.Zero ? null! : (NSArray.ArrayFromHandleFunc <global::CoreVideo.CVPixelFormatType> (retvalarrtmp, ptr => { | |
+ using (var num = Runtime.GetNSObject<NSNumber> (ptr)!) { | |
+ return (global::CoreVideo.CVPixelFormatType) num.Int32Value; | |
+ } | |
+ }))); | |
+ } else { | |
+ NativeHandle retvalarrtmp; | |
+ ret = ((retvalarrtmp = global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_ref_NativeHandle (this.SuperHandle, Selector.GetHandle ("supportedOutputPixelFormatsAndReturnError:"), &errorValue)) == IntPtr.Zero ? null! : (NSArray.ArrayFromHandleFunc <global::CoreVideo.CVPixelFormatType> (retvalarrtmp, ptr => { | |
+ using (var num = Runtime.GetNSObject<NSNumber> (ptr)!) { | |
+ return (global::CoreVideo.CVPixelFormatType) num.Int32Value; | |
+ } | |
+ }))); | |
+ } | |
+ error = Runtime.GetNSObject<NSError> (errorValue)!; | |
+ return ret!; | |
+ #endif | |
+ } | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
public virtual uint OutputPixelFormat { | |
[Export ("outputPixelFormat")] | |
diff --git a/new/dotnet/ios/generated-sources/Vision/VNImageAestheticsScoresObservation.g.cs b/new/dotnet/ios/generated-sources/Vision/VNImageAestheticsScoresObservation.g.cs | |
new file mode 100644 | |
index 0000000..6ea0702 | |
--- /dev/null | |
+++ b/new/dotnet/ios/generated-sources/Vision/VNImageAestheticsScoresObservation.g.cs | |
@@ -0,0 +1,196 @@ | |
+// | |
+// Auto-generated from generator.cs, do not edit | |
+// | |
+// We keep references to objects, so warning 414 is expected | |
+#pragma warning disable 414 | |
+using System; | |
+using System.Drawing; | |
+using System.Diagnostics; | |
+using System.ComponentModel; | |
+using System.Threading.Tasks; | |
+using System.Runtime.Versioning; | |
+using System.Runtime.InteropServices; | |
+using System.Diagnostics.CodeAnalysis; | |
+using UIKit; | |
+using GLKit; | |
+using Metal; | |
+using CoreML; | |
+using MapKit; | |
+using Photos; | |
+using ModelIO; | |
+using Network; | |
+using SceneKit; | |
+using Contacts; | |
+using Security; | |
+using Messages; | |
+using AudioUnit; | |
+using CoreVideo; | |
+using CoreMedia; | |
+using QuickLook; | |
+using CoreImage; | |
+using SpriteKit; | |
+using Foundation; | |
+using CoreMotion; | |
+using ObjCRuntime; | |
+using AddressBook; | |
+using MediaPlayer; | |
+using GameplayKit; | |
+using CoreGraphics; | |
+using CoreLocation; | |
+using AVFoundation; | |
+using NewsstandKit; | |
+using FileProvider; | |
+using CoreAnimation; | |
+using CoreFoundation; | |
+using NetworkExtension; | |
+using MetalPerformanceShadersGraph; | |
+#nullable enable | |
+#if !NET | |
+using NativeHandle = System.IntPtr; | |
+#endif | |
+namespace Vision { | |
+ [Register("VNImageAestheticsScoresObservation", true)] | |
+ [SupportedOSPlatform ("tvos18.0")] | |
+ [SupportedOSPlatform ("macos15.0")] | |
+ [SupportedOSPlatform ("ios18.0")] | |
+ [SupportedOSPlatform ("maccatalyst18.0")] | |
+ public unsafe partial class VNImageAestheticsScoresObservation : VNObservation { | |
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
+ #if ARCH_32 | |
+ #pragma warning disable 649 | |
+ static readonly NativeHandle class_ptr; | |
+ #pragma warning restore 649 | |
+ #else | |
+ static readonly NativeHandle class_ptr = Class.GetHandle ("VNImageAestheticsScoresObservation"); | |
+ #endif | |
+ /// <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 VNImageAestheticsScoresObservation (NSCoder coder) : base (NSObjectFlag.Empty) | |
+ { | |
+ #if ARCH_32 | |
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
+ #else | |
+ 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:"); | |
+ } | |
+ #endif | |
+ } | |
+ | |
+ /// <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 (System.Drawing.RectangleF 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 VNImageAestheticsScoresObservation (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 VNImageAestheticsScoresObservation (NativeHandle handle) : base (handle) | |
+ { | |
+ } | |
+ | |
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
+ public virtual bool IsUtility { | |
+ [Export ("isUtility")] | |
+ get { | |
+ #if ARCH_32 | |
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
+ #else | |
+ byte ret; | |
+ if (IsDirectBinding) { | |
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend (this.Handle, Selector.GetHandle ("isUtility")); | |
+ } else { | |
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("isUtility")); | |
+ } | |
+ return ret != 0; | |
+ #endif | |
+ } | |
+ } | |
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
+ public virtual float OverallScore { | |
+ [Export ("overallScore")] | |
+ get { | |
+ #if ARCH_32 | |
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
+ #else | |
+ if (IsDirectBinding) { | |
+ return global::ObjCRuntime.Messaging.float_objc_msgSend (this.Handle, Selector.GetHandle ("overallScore")); | |
+ } else { | |
+ return global::ObjCRuntime.Messaging.float_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("overallScore")); | |
+ } | |
+ #endif | |
+ } | |
+ } | |
+ } /* class VNImageAestheticsScoresObservation */ | |
+} | |
diff --git a/old/dotnet/ios/generated-sources/Vision/VNRecognizeTextRequestRevision.g.cs b/new/dotnet/ios/generated-sources/Vision/VNRecognizeTextRequestRevision.g.cs | |
index 0a44243..a766667 100644 | |
--- a/old/dotnet/ios/generated-sources/Vision/VNRecognizeTextRequestRevision.g.cs | |
+++ b/new/dotnet/ios/generated-sources/Vision/VNRecognizeTextRequestRevision.g.cs | |
@@ -56,11 +56,24 @@ namespace Vision { | |
[Native] | |
public enum VNRecognizeTextRequestRevision : ulong { | |
Unspecified = 0, | |
+ [ObsoletedOSPlatform ("macos15.0", "Use 'Two' or 'Three' instead.")] | |
+ [ObsoletedOSPlatform ("ios18.0", "Use 'Two' or 'Three' instead.")] | |
+ [ObsoletedOSPlatform ("tvos18.0", "Use 'Two' or 'Three' instead.")] | |
+ [ObsoletedOSPlatform ("maccatalyst18.0", "Use 'Two' or 'Three' instead.")] | |
+ [SupportedOSPlatform ("ios13.0")] | |
+ [SupportedOSPlatform ("macos")] | |
+ [SupportedOSPlatform ("tvos13.0")] | |
+ [SupportedOSPlatform ("maccatalyst")] | |
One = 1, | |
[SupportedOSPlatform ("tvos14.0")] | |
[SupportedOSPlatform ("macos11.0")] | |
[SupportedOSPlatform ("ios14.0")] | |
[SupportedOSPlatform ("maccatalyst14.0")] | |
Two = 2, | |
+ [SupportedOSPlatform ("tvos16.0")] | |
+ [SupportedOSPlatform ("macos13.0")] | |
+ [SupportedOSPlatform ("ios16.0")] | |
+ [SupportedOSPlatform ("maccatalyst16.0")] | |
+ Three = 3, | |
} | |
} | |
diff --git a/old/dotnet/ios/ref/Microsoft.iOS.xml b/new/dotnet/ios/ref/Microsoft.iOS.xml | |
index 6c4fd9d..efed1a1 100644 | |
--- a/old/dotnet/ios/ref/Microsoft.iOS.xml | |
+++ b/new/dotnet/ios/ref/Microsoft.iOS.xml | |
@@ -314085,6 +314085,72 @@ | |
<member name="T:Vision.VNBarcodeSymbology"> | |
<summary>Enumerated supported barcode standards.</summary> | |
</member> | |
+ <member name="P:Vision.VNCalculateImageAestheticsScoresRequest.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:Vision.VNCalculateImageAestheticsScoresRequest.#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 (System.Drawing.RectangleF 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:Vision.VNCalculateImageAestheticsScoresRequest.#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="T:Vision.VNClassificationObservation"> | |
<summary>Subclass of <see cref="T:Vision.VNObservation" /> for CoreML models that predict a single feature.</summary> | |
</member> | |
@@ -317156,6 +317222,81 @@ | |
</para> | |
</remarks> | |
</member> | |
+ <member name="P:Vision.VNImageAestheticsScoresObservation.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:Vision.VNImageAestheticsScoresObservation.#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:Vision.VNImageAestheticsScoresObservation.#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 (System.Drawing.RectangleF 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:Vision.VNImageAestheticsScoresObservation.#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="T:Vision.VNImageAlignmentObservation"> | |
<summary>Abstract base class of <see cref="T:Vision.VNObservation" /> that hold information about aligning images.</summary> | |
</member> | |
diff --git a/old/dotnet/maccatalyst/SourceLink.json b/new/dotnet/maccatalyst/SourceLink.json | |
index bcad111..3d1c350 100644 | |
--- a/old/dotnet/maccatalyst/SourceLink.json | |
+++ b/new/dotnet/maccatalyst/SourceLink.json | |
@@ -1,5 +1,5 @@ | |
{ | |
"documents": { | |
- "/Users/builder/azdo/_work/4/a/change-detection/tmp/src/xamarin-macios/src*": "https://raw.githubusercontent.com/xamarin/xamarin-macios/515d0ce8f7e1a72ea00f875f442d032d3f0e3969/src*" | |
+ "/Users/builder/azdo/_work/4/s/xamarin-macios/src*": "https://raw.githubusercontent.com/xamarin/xamarin-macios/d6bfe29d467d65b92260b302ccdc2e7a063aab55/src*" | |
} | |
} | |
diff --git a/old/dotnet/maccatalyst/doc/Microsoft.MacCatalyst.xml b/new/dotnet/maccatalyst/doc/Microsoft.MacCatalyst.xml | |
index c1d5d29..ec66dd2 100644 | |
--- a/old/dotnet/maccatalyst/doc/Microsoft.MacCatalyst.xml | |
+++ b/new/dotnet/maccatalyst/doc/Microsoft.MacCatalyst.xml | |
@@ -303819,6 +303819,72 @@ | |
<member name="T:Vision.VNBarcodeSymbology"> | |
<summary>Enumerated supported barcode standards.</summary> | |
</member> | |
+ <member name="P:Vision.VNCalculateImageAestheticsScoresRequest.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:Vision.VNCalculateImageAestheticsScoresRequest.#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 (System.Drawing.RectangleF 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:Vision.VNCalculateImageAestheticsScoresRequest.#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="T:Vision.VNClassificationObservation"> | |
<summary>Subclass of <see cref="T:Vision.VNObservation" /> for CoreML models that predict a single feature.</summary> | |
<appledoc>https://developer.apple.com/documentation/vision/vnclassificationobservation</appledoc> | |
@@ -306912,6 +306978,81 @@ | |
</para> | |
</remarks> | |
</member> | |
+ <member name="P:Vision.VNImageAestheticsScoresObservation.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:Vision.VNImageAestheticsScoresObservation.#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:Vision.VNImageAestheticsScoresObservation.#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 (System.Drawing.RectangleF 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:Vision.VNImageAestheticsScoresObservation.#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="T:Vision.VNImageAlignmentObservation"> | |
<summary>Abstract base class of <see cref="T:Vision.VNObservation" /> that hold information about aligning images.</summary> | |
<appledoc>https://developer.apple.com/documentation/vision/vnimagealignmentobservation</appledoc> | |
@@ -381757,6 +381898,9 @@ | |
<member name="T:Vision.VNAnimalBodyPoseObservation"> | |
<appledoc>https://developer.apple.com/documentation/vision/vnanimalbodyposeobservation</appledoc> | |
</member> | |
+ <member name="T:Vision.VNCalculateImageAestheticsScoresRequest"> | |
+ <appledoc>https://developer.apple.com/documentation/vision/vncalculateimageaestheticsscoresrequest</appledoc> | |
+ </member> | |
<member name="T:Vision.VNClassifyImageRequest"> | |
<appledoc>https://developer.apple.com/documentation/vision/vnclassifyimagerequest</appledoc> | |
</member> | |
@@ -381832,6 +381976,9 @@ | |
<member name="T:Vision.VNHumanObservation"> | |
<appledoc>https://developer.apple.com/documentation/vision/vnhumanobservation</appledoc> | |
</member> | |
+ <member name="T:Vision.VNImageAestheticsScoresObservation"> | |
+ <appledoc>https://developer.apple.com/documentation/vision/vnimageaestheticsscoresobservation</appledoc> | |
+ </member> | |
<member name="T:Vision.VNInstanceMaskObservation"> | |
<appledoc>https://developer.apple.com/documentation/vision/vninstancemaskobservation</appledoc> | |
</member> | |
diff --git a/new/dotnet/maccatalyst/generated-sources/Vision/VNCalculateImageAestheticsScoresRequest.g.cs b/new/dotnet/maccatalyst/generated-sources/Vision/VNCalculateImageAestheticsScoresRequest.g.cs | |
new file mode 100644 | |
index 0000000..4fff6fe | |
--- /dev/null | |
+++ b/new/dotnet/maccatalyst/generated-sources/Vision/VNCalculateImageAestheticsScoresRequest.g.cs | |
@@ -0,0 +1,163 @@ | |
+// | |
+// Auto-generated from generator.cs, do not edit | |
+// | |
+// We keep references to objects, so warning 414 is expected | |
+#pragma warning disable 414 | |
+using System; | |
+using System.Drawing; | |
+using System.Diagnostics; | |
+using System.ComponentModel; | |
+using System.Threading.Tasks; | |
+using System.Runtime.Versioning; | |
+using System.Runtime.InteropServices; | |
+using System.Diagnostics.CodeAnalysis; | |
+using UIKit; | |
+using Metal; | |
+using CoreML; | |
+using AppKit; | |
+using MapKit; | |
+using Photos; | |
+using ModelIO; | |
+using Network; | |
+using SceneKit; | |
+using Contacts; | |
+using Security; | |
+using CloudKit; | |
+using Messages; | |
+using AudioUnit; | |
+using CoreVideo; | |
+using CoreMedia; | |
+using QuickLook; | |
+using CoreImage; | |
+using SpriteKit; | |
+using Foundation; | |
+using CoreMotion; | |
+using ObjCRuntime; | |
+using AddressBook; | |
+using MediaPlayer; | |
+using GameplayKit; | |
+using CoreGraphics; | |
+using CoreLocation; | |
+using AVFoundation; | |
+using FileProvider; | |
+using CoreAnimation; | |
+using CoreFoundation; | |
+using NetworkExtension; | |
+using MetalPerformanceShadersGraph; | |
+#nullable enable | |
+#if !NET | |
+using NativeHandle = System.IntPtr; | |
+#endif | |
+namespace Vision { | |
+ [Register("VNCalculateImageAestheticsScoresRequest", true)] | |
+ [SupportedOSPlatform ("tvos18.0")] | |
+ [SupportedOSPlatform ("macos15.0")] | |
+ [SupportedOSPlatform ("ios18.0")] | |
+ [SupportedOSPlatform ("maccatalyst18.0")] | |
+ public unsafe partial class VNCalculateImageAestheticsScoresRequest : VNImageBasedRequest { | |
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
+ static readonly NativeHandle class_ptr = Class.GetHandle ("VNCalculateImageAestheticsScoresRequest"); | |
+ /// <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>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 (System.Drawing.RectangleF 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 VNCalculateImageAestheticsScoresRequest (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 VNCalculateImageAestheticsScoresRequest (NativeHandle handle) : base (handle) | |
+ { | |
+ } | |
+ | |
+ [Export ("initWithCompletionHandler:")] | |
+ [DesignatedInitializer] | |
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
+ public unsafe VNCalculateImageAestheticsScoresRequest ([BlockProxy (typeof (ObjCRuntime.Trampolines.NIDVNRequestCompletionHandler))]VNRequestCompletionHandler? completionHandler) | |
+ : base (NSObjectFlag.Empty) | |
+ { | |
+ using var block_completionHandler = Trampolines.SDVNRequestCompletionHandler.CreateNullableBlock (completionHandler); | |
+ BlockLiteral *block_ptr_completionHandler = null; | |
+ if (completionHandler is not null) | |
+ block_ptr_completionHandler = &block_completionHandler; | |
+ if (IsDirectBinding) { | |
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("initWithCompletionHandler:"), (IntPtr) block_ptr_completionHandler), "initWithCompletionHandler:"); | |
+ } else { | |
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("initWithCompletionHandler:"), (IntPtr) block_ptr_completionHandler), "initWithCompletionHandler:"); | |
+ } | |
+ } | |
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
+ public virtual VNImageAestheticsScoresObservation[]? Results { | |
+ [Export ("results", ArgumentSemantic.Copy)] | |
+ get { | |
+ VNImageAestheticsScoresObservation[]? ret; | |
+ if (IsDirectBinding) { | |
+ ret = CFArray.ArrayFromHandle<VNImageAestheticsScoresObservation>(global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("results")))!; | |
+ } else { | |
+ ret = CFArray.ArrayFromHandle<VNImageAestheticsScoresObservation>(global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("results")))!; | |
+ } | |
+ return ret!; | |
+ } | |
+ } | |
+ } /* class VNCalculateImageAestheticsScoresRequest */ | |
+} | |
diff --git a/new/dotnet/maccatalyst/generated-sources/Vision/VNCalculateImageAestheticsScoresRequestRevision.g.cs b/new/dotnet/maccatalyst/generated-sources/Vision/VNCalculateImageAestheticsScoresRequestRevision.g.cs | |
new file mode 100644 | |
index 0000000..4661190 | |
--- /dev/null | |
+++ b/new/dotnet/maccatalyst/generated-sources/Vision/VNCalculateImageAestheticsScoresRequestRevision.g.cs | |
@@ -0,0 +1,60 @@ | |
+// | |
+// Auto-generated from generator.cs, do not edit | |
+// | |
+// We keep references to objects, so warning 414 is expected | |
+#pragma warning disable 414 | |
+using System; | |
+using System.Drawing; | |
+using System.Diagnostics; | |
+using System.ComponentModel; | |
+using System.Threading.Tasks; | |
+using System.Runtime.Versioning; | |
+using System.Runtime.InteropServices; | |
+using System.Diagnostics.CodeAnalysis; | |
+using UIKit; | |
+using Metal; | |
+using CoreML; | |
+using AppKit; | |
+using MapKit; | |
+using Photos; | |
+using ModelIO; | |
+using Network; | |
+using SceneKit; | |
+using Contacts; | |
+using Security; | |
+using CloudKit; | |
+using Messages; | |
+using AudioUnit; | |
+using CoreVideo; | |
+using CoreMedia; | |
+using QuickLook; | |
+using CoreImage; | |
+using SpriteKit; | |
+using Foundation; | |
+using CoreMotion; | |
+using ObjCRuntime; | |
+using AddressBook; | |
+using MediaPlayer; | |
+using GameplayKit; | |
+using CoreGraphics; | |
+using CoreLocation; | |
+using AVFoundation; | |
+using FileProvider; | |
+using CoreAnimation; | |
+using CoreFoundation; | |
+using NetworkExtension; | |
+using MetalPerformanceShadersGraph; | |
+#nullable enable | |
+#if !NET | |
+using NativeHandle = System.IntPtr; | |
+#endif | |
+namespace Vision { | |
+ [SupportedOSPlatform ("tvos18.0")] | |
+ [SupportedOSPlatform ("macos15.0")] | |
+ [SupportedOSPlatform ("ios18.0")] | |
+ [SupportedOSPlatform ("maccatalyst18.0")] | |
+ [Native] | |
+ public enum VNCalculateImageAestheticsScoresRequestRevision : ulong { | |
+ One = 1, | |
+ } | |
+} | |
diff --git a/old/dotnet/maccatalyst/generated-sources/Vision/VNDetectBarcodesRequestRevision.g.cs b/new/dotnet/maccatalyst/generated-sources/Vision/VNDetectBarcodesRequestRevision.g.cs | |
index e41ce3a..fe91ae7 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/Vision/VNDetectBarcodesRequestRevision.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/Vision/VNDetectBarcodesRequestRevision.g.cs | |
@@ -56,11 +56,23 @@ namespace Vision { | |
[Native] | |
public enum VNDetectBarcodesRequestRevision : ulong { | |
Unspecified = 0, | |
+ [ObsoletedOSPlatform ("macos14.0", "Use 'Three' instead.")] | |
+ [ObsoletedOSPlatform ("ios17.0", "Use 'Three' instead.")] | |
+ [ObsoletedOSPlatform ("tvos17.0", "Use 'Three' instead.")] | |
+ [ObsoletedOSPlatform ("maccatalyst17.0", "Use 'Three' instead.")] | |
+ [SupportedOSPlatform ("ios12.0")] | |
+ [SupportedOSPlatform ("macos")] | |
+ [SupportedOSPlatform ("tvos12.0")] | |
+ [SupportedOSPlatform ("maccatalyst15.0")] | |
One = 1, | |
[SupportedOSPlatform ("tvos15.0")] | |
[SupportedOSPlatform ("macos12.0")] | |
[SupportedOSPlatform ("ios15.0")] | |
[SupportedOSPlatform ("maccatalyst15.0")] | |
+ [ObsoletedOSPlatform ("macos15.0", "Use 'Three' instead.")] | |
+ [ObsoletedOSPlatform ("ios18.0", "Use 'Three' instead.")] | |
+ [ObsoletedOSPlatform ("tvos18.0", "Use 'Three' instead.")] | |
+ [ObsoletedOSPlatform ("maccatalyst18.0", "Use 'Three' instead.")] | |
Two = 2, | |
[SupportedOSPlatform ("tvos16.0")] | |
[SupportedOSPlatform ("macos13.0")] | |
diff --git a/old/dotnet/maccatalyst/generated-sources/Vision/VNGeneratePersonSegmentationRequest.g.cs b/new/dotnet/maccatalyst/generated-sources/Vision/VNGeneratePersonSegmentationRequest.g.cs | |
index af69323..5d8a3ae 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/Vision/VNGeneratePersonSegmentationRequest.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/Vision/VNGeneratePersonSegmentationRequest.g.cs | |
@@ -184,6 +184,35 @@ namespace Vision { | |
global::ObjCRuntime.Messaging.void_objc_msgSend (ret.Handle, Selector.GetHandle ("release")); | |
return ret!; | |
} | |
+ [Export ("supportedOutputPixelFormatsAndReturnError:")] | |
+ [SupportedOSPlatform ("tvos18.0")] | |
+ [SupportedOSPlatform ("macos15.0")] | |
+ [SupportedOSPlatform ("ios18.0")] | |
+ [SupportedOSPlatform ("maccatalyst18.0")] | |
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
+ [return: BindAs (typeof (global::CoreVideo.CVPixelFormatType[]), OriginalType = typeof (NSNumber[]))] | |
+ public unsafe virtual global::CoreVideo.CVPixelFormatType[]? GetSupportedOutputPixelFormats (out NSError error) | |
+ { | |
+ NativeHandle errorValue = IntPtr.Zero; | |
+ global::CoreVideo.CVPixelFormatType[] ret; | |
+ if (IsDirectBinding) { | |
+ NativeHandle retvalarrtmp; | |
+ ret = ((retvalarrtmp = global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_ref_NativeHandle (this.Handle, Selector.GetHandle ("supportedOutputPixelFormatsAndReturnError:"), &errorValue)) == IntPtr.Zero ? null! : (NSArray.ArrayFromHandleFunc <global::CoreVideo.CVPixelFormatType> (retvalarrtmp, ptr => { | |
+ using (var num = Runtime.GetNSObject<NSNumber> (ptr)!) { | |
+ return (global::CoreVideo.CVPixelFormatType) num.Int32Value; | |
+ } | |
+ }))); | |
+ } else { | |
+ NativeHandle retvalarrtmp; | |
+ ret = ((retvalarrtmp = global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_ref_NativeHandle (this.SuperHandle, Selector.GetHandle ("supportedOutputPixelFormatsAndReturnError:"), &errorValue)) == IntPtr.Zero ? null! : (NSArray.ArrayFromHandleFunc <global::CoreVideo.CVPixelFormatType> (retvalarrtmp, ptr => { | |
+ using (var num = Runtime.GetNSObject<NSNumber> (ptr)!) { | |
+ return (global::CoreVideo.CVPixelFormatType) num.Int32Value; | |
+ } | |
+ }))); | |
+ } | |
+ error = Runtime.GetNSObject<NSError> (errorValue)!; | |
+ return ret!; | |
+ } | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
public virtual uint OutputPixelFormat { | |
[Export ("outputPixelFormat")] | |
diff --git a/new/dotnet/maccatalyst/generated-sources/Vision/VNImageAestheticsScoresObservation.g.cs b/new/dotnet/maccatalyst/generated-sources/Vision/VNImageAestheticsScoresObservation.g.cs | |
new file mode 100644 | |
index 0000000..aa040e1 | |
--- /dev/null | |
+++ b/new/dotnet/maccatalyst/generated-sources/Vision/VNImageAestheticsScoresObservation.g.cs | |
@@ -0,0 +1,178 @@ | |
+// | |
+// Auto-generated from generator.cs, do not edit | |
+// | |
+// We keep references to objects, so warning 414 is expected | |
+#pragma warning disable 414 | |
+using System; | |
+using System.Drawing; | |
+using System.Diagnostics; | |
+using System.ComponentModel; | |
+using System.Threading.Tasks; | |
+using System.Runtime.Versioning; | |
+using System.Runtime.InteropServices; | |
+using System.Diagnostics.CodeAnalysis; | |
+using UIKit; | |
+using Metal; | |
+using CoreML; | |
+using AppKit; | |
+using MapKit; | |
+using Photos; | |
+using ModelIO; | |
+using Network; | |
+using SceneKit; | |
+using Contacts; | |
+using Security; | |
+using CloudKit; | |
+using Messages; | |
+using AudioUnit; | |
+using CoreVideo; | |
+using CoreMedia; | |
+using QuickLook; | |
+using CoreImage; | |
+using SpriteKit; | |
+using Foundation; | |
+using CoreMotion; | |
+using ObjCRuntime; | |
+using AddressBook; | |
+using MediaPlayer; | |
+using GameplayKit; | |
+using CoreGraphics; | |
+using CoreLocation; | |
+using AVFoundation; | |
+using FileProvider; | |
+using CoreAnimation; | |
+using CoreFoundation; | |
+using NetworkExtension; | |
+using MetalPerformanceShadersGraph; | |
+#nullable enable | |
+#if !NET | |
+using NativeHandle = System.IntPtr; | |
+#endif | |
+namespace Vision { | |
+ [Register("VNImageAestheticsScoresObservation", true)] | |
+ [SupportedOSPlatform ("tvos18.0")] | |
+ [SupportedOSPlatform ("macos15.0")] | |
+ [SupportedOSPlatform ("ios18.0")] | |
+ [SupportedOSPlatform ("maccatalyst18.0")] | |
+ public unsafe partial class VNImageAestheticsScoresObservation : VNObservation { | |
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
+ static readonly NativeHandle class_ptr = Class.GetHandle ("VNImageAestheticsScoresObservation"); | |
+ /// <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 VNImageAestheticsScoresObservation (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:"); | |
+ } | |
+ } | |
+ | |
+ /// <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 (System.Drawing.RectangleF 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 VNImageAestheticsScoresObservation (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 VNImageAestheticsScoresObservation (NativeHandle handle) : base (handle) | |
+ { | |
+ } | |
+ | |
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
+ public virtual bool IsUtility { | |
+ [Export ("isUtility")] | |
+ get { | |
+ byte ret; | |
+ if (IsDirectBinding) { | |
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend (this.Handle, Selector.GetHandle ("isUtility")); | |
+ } else { | |
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("isUtility")); | |
+ } | |
+ return ret != 0; | |
+ } | |
+ } | |
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
+ public virtual float OverallScore { | |
+ [Export ("overallScore")] | |
+ get { | |
+ if (IsDirectBinding) { | |
+ return global::ObjCRuntime.Messaging.float_objc_msgSend (this.Handle, Selector.GetHandle ("overallScore")); | |
+ } else { | |
+ return global::ObjCRuntime.Messaging.float_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("overallScore")); | |
+ } | |
+ } | |
+ } | |
+ } /* class VNImageAestheticsScoresObservation */ | |
+} | |
diff --git a/old/dotnet/maccatalyst/generated-sources/Vision/VNRecognizeTextRequestRevision.g.cs b/new/dotnet/maccatalyst/generated-sources/Vision/VNRecognizeTextRequestRevision.g.cs | |
index 0332436..df66b87 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/Vision/VNRecognizeTextRequestRevision.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/Vision/VNRecognizeTextRequestRevision.g.cs | |
@@ -56,11 +56,24 @@ namespace Vision { | |
[Native] | |
public enum VNRecognizeTextRequestRevision : ulong { | |
Unspecified = 0, | |
+ [ObsoletedOSPlatform ("macos15.0", "Use 'Two' or 'Three' instead.")] | |
+ [ObsoletedOSPlatform ("ios18.0", "Use 'Two' or 'Three' instead.")] | |
+ [ObsoletedOSPlatform ("tvos18.0", "Use 'Two' or 'Three' instead.")] | |
+ [ObsoletedOSPlatform ("maccatalyst18.0", "Use 'Two' or 'Three' instead.")] | |
+ [SupportedOSPlatform ("ios13.0")] | |
+ [SupportedOSPlatform ("macos")] | |
+ [SupportedOSPlatform ("tvos13.0")] | |
+ [SupportedOSPlatform ("maccatalyst")] | |
One = 1, | |
[SupportedOSPlatform ("tvos14.0")] | |
[SupportedOSPlatform ("macos11.0")] | |
[SupportedOSPlatform ("ios14.0")] | |
[SupportedOSPlatform ("maccatalyst14.0")] | |
Two = 2, | |
+ [SupportedOSPlatform ("tvos16.0")] | |
+ [SupportedOSPlatform ("macos13.0")] | |
+ [SupportedOSPlatform ("ios16.0")] | |
+ [SupportedOSPlatform ("maccatalyst16.0")] | |
+ Three = 3, | |
} | |
} | |
diff --git a/old/dotnet/maccatalyst/ref/Microsoft.MacCatalyst.xml b/new/dotnet/maccatalyst/ref/Microsoft.MacCatalyst.xml | |
index d6f2a0d..bbb0ddb 100644 | |
--- a/old/dotnet/maccatalyst/ref/Microsoft.MacCatalyst.xml | |
+++ b/new/dotnet/maccatalyst/ref/Microsoft.MacCatalyst.xml | |
@@ -297952,6 +297952,72 @@ | |
<member name="T:Vision.VNBarcodeSymbology"> | |
<summary>Enumerated supported barcode standards.</summary> | |
</member> | |
+ <member name="P:Vision.VNCalculateImageAestheticsScoresRequest.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:Vision.VNCalculateImageAestheticsScoresRequest.#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 (System.Drawing.RectangleF 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:Vision.VNCalculateImageAestheticsScoresRequest.#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="T:Vision.VNClassificationObservation"> | |
<summary>Subclass of <see cref="T:Vision.VNObservation" /> for CoreML models that predict a single feature.</summary> | |
</member> | |
@@ -301023,6 +301089,81 @@ | |
</para> | |
</remarks> | |
</member> | |
+ <member name="P:Vision.VNImageAestheticsScoresObservation.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:Vision.VNImageAestheticsScoresObservation.#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:Vision.VNImageAestheticsScoresObservation.#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 (System.Drawing.RectangleF 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:Vision.VNImageAestheticsScoresObservation.#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="T:Vision.VNImageAlignmentObservation"> | |
<summary>Abstract base class of <see cref="T:Vision.VNObservation" /> that hold information about aligning images.</summary> | |
</member> | |
diff --git a/old/dotnet/macos/SourceLink.json b/new/dotnet/macos/SourceLink.json | |
index bcad111..3d1c350 100644 | |
--- a/old/dotnet/macos/SourceLink.json | |
+++ b/new/dotnet/macos/SourceLink.json | |
@@ -1,5 +1,5 @@ | |
{ | |
"documents": { | |
- "/Users/builder/azdo/_work/4/a/change-detection/tmp/src/xamarin-macios/src*": "https://raw.githubusercontent.com/xamarin/xamarin-macios/515d0ce8f7e1a72ea00f875f442d032d3f0e3969/src*" | |
+ "/Users/builder/azdo/_work/4/s/xamarin-macios/src*": "https://raw.githubusercontent.com/xamarin/xamarin-macios/d6bfe29d467d65b92260b302ccdc2e7a063aab55/src*" | |
} | |
} | |
diff --git a/old/dotnet/macos/doc/Microsoft.macOS.xml b/new/dotnet/macos/doc/Microsoft.macOS.xml | |
index 7b5ba3e..757bd25 100644 | |
--- a/old/dotnet/macos/doc/Microsoft.macOS.xml | |
+++ b/new/dotnet/macos/doc/Microsoft.macOS.xml | |
@@ -271735,6 +271735,72 @@ | |
<member name="T:Vision.VNBarcodeSymbology"> | |
<summary>Enumerated supported barcode standards.</summary> | |
</member> | |
+ <member name="P:Vision.VNCalculateImageAestheticsScoresRequest.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:Vision.VNCalculateImageAestheticsScoresRequest.#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 (System.Drawing.RectangleF 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:Vision.VNCalculateImageAestheticsScoresRequest.#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="T:Vision.VNClassificationObservation"> | |
<summary>Subclass of <see cref="T:Vision.VNObservation" /> for CoreML models that predict a single feature.</summary> | |
<appledoc>https://developer.apple.com/documentation/vision/vnclassificationobservation</appledoc> | |
@@ -274828,6 +274894,81 @@ | |
</para> | |
</remarks> | |
</member> | |
+ <member name="P:Vision.VNImageAestheticsScoresObservation.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:Vision.VNImageAestheticsScoresObservation.#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:Vision.VNImageAestheticsScoresObservation.#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 (System.Drawing.RectangleF 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:Vision.VNImageAestheticsScoresObservation.#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="T:Vision.VNImageAlignmentObservation"> | |
<summary>Abstract base class of <see cref="T:Vision.VNObservation" /> that hold information about aligning images.</summary> | |
<appledoc>https://developer.apple.com/documentation/vision/vnimagealignmentobservation</appledoc> | |
@@ -346719,6 +346860,9 @@ | |
<member name="T:Vision.VNAnimalBodyPoseObservation"> | |
<appledoc>https://developer.apple.com/documentation/vision/vnanimalbodyposeobservation</appledoc> | |
</member> | |
+ <member name="T:Vision.VNCalculateImageAestheticsScoresRequest"> | |
+ <appledoc>https://developer.apple.com/documentation/vision/vncalculateimageaestheticsscoresrequest</appledoc> | |
+ </member> | |
<member name="T:Vision.VNClassifyImageRequest"> | |
<appledoc>https://developer.apple.com/documentation/vision/vnclassifyimagerequest</appledoc> | |
</member> | |
@@ -346794,6 +346938,9 @@ | |
<member name="T:Vision.VNHumanObservation"> | |
<appledoc>https://developer.apple.com/documentation/vision/vnhumanobservation</appledoc> | |
</member> | |
+ <member name="T:Vision.VNImageAestheticsScoresObservation"> | |
+ <appledoc>https://developer.apple.com/documentation/vision/vnimageaestheticsscoresobservation</appledoc> | |
+ </member> | |
<member name="T:Vision.VNInstanceMaskObservation"> | |
<appledoc>https://developer.apple.com/documentation/vision/vninstancemaskobservation</appledoc> | |
</member> | |
diff --git a/new/dotnet/macos/generated-sources/Vision/VNCalculateImageAestheticsScoresRequest.g.cs b/new/dotnet/macos/generated-sources/Vision/VNCalculateImageAestheticsScoresRequest.g.cs | |
new file mode 100644 | |
index 0000000..b23dfa6 | |
--- /dev/null | |
+++ b/new/dotnet/macos/generated-sources/Vision/VNCalculateImageAestheticsScoresRequest.g.cs | |
@@ -0,0 +1,164 @@ | |
+// | |
+// Auto-generated from generator.cs, do not edit | |
+// | |
+// We keep references to objects, so warning 414 is expected | |
+#pragma warning disable 414 | |
+using System; | |
+using System.Drawing; | |
+using System.Diagnostics; | |
+using System.ComponentModel; | |
+using System.Threading.Tasks; | |
+using System.Runtime.Versioning; | |
+using System.Runtime.InteropServices; | |
+using System.Diagnostics.CodeAnalysis; | |
+using Metal; | |
+using CoreML; | |
+using OpenGL; | |
+using AppKit; | |
+using Photos; | |
+using ModelIO; | |
+using Network; | |
+using SceneKit; | |
+using Contacts; | |
+using Security; | |
+using CloudKit; | |
+using AudioUnit; | |
+using CoreVideo; | |
+using CoreMedia; | |
+using CoreImage; | |
+using SpriteKit; | |
+using Foundation; | |
+using ObjCRuntime; | |
+using MediaPlayer; | |
+using GameplayKit; | |
+using CoreGraphics; | |
+using CoreLocation; | |
+using AVFoundation; | |
+using FileProvider; | |
+using CoreAnimation; | |
+using CoreFoundation; | |
+using NetworkExtension; | |
+using MetalPerformanceShadersGraph; | |
+#nullable enable | |
+#if !NET | |
+using NativeHandle = System.IntPtr; | |
+#endif | |
+namespace Vision { | |
+ [Register("VNCalculateImageAestheticsScoresRequest", true)] | |
+ [SupportedOSPlatform ("tvos18.0")] | |
+ [SupportedOSPlatform ("macos15.0")] | |
+ [SupportedOSPlatform ("ios18.0")] | |
+ [SupportedOSPlatform ("maccatalyst18.0")] | |
+ public unsafe partial class VNCalculateImageAestheticsScoresRequest : VNImageBasedRequest { | |
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
+ const string selInitWithCompletionHandler_X = "initWithCompletionHandler:"; | |
+ static readonly NativeHandle selInitWithCompletionHandler_XHandle = Selector.GetHandle ("initWithCompletionHandler:"); | |
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
+ const string selResultsX = "results"; | |
+ static readonly NativeHandle selResultsXHandle = Selector.GetHandle ("results"); | |
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
+ static readonly NativeHandle class_ptr = Class.GetHandle ("VNCalculateImageAestheticsScoresRequest"); | |
+ /// <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>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 (System.Drawing.RectangleF 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 VNCalculateImageAestheticsScoresRequest (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 VNCalculateImageAestheticsScoresRequest (NativeHandle handle) : base (handle) | |
+ { | |
+ } | |
+ | |
+ [Export ("initWithCompletionHandler:")] | |
+ [DesignatedInitializer] | |
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
+ public unsafe VNCalculateImageAestheticsScoresRequest ([BlockProxy (typeof (ObjCRuntime.Trampolines.NIDVNRequestCompletionHandler))]VNRequestCompletionHandler? completionHandler) | |
+ : base (NSObjectFlag.Empty) | |
+ { | |
+ using var block_completionHandler = Trampolines.SDVNRequestCompletionHandler.CreateNullableBlock (completionHandler); | |
+ BlockLiteral *block_ptr_completionHandler = null; | |
+ if (completionHandler is not null) | |
+ block_ptr_completionHandler = &block_completionHandler; | |
+ if (IsDirectBinding) { | |
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (this.Handle, selInitWithCompletionHandler_XHandle, (IntPtr) block_ptr_completionHandler), "initWithCompletionHandler:"); | |
+ } else { | |
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle (this.SuperHandle, selInitWithCompletionHandler_XHandle, (IntPtr) block_ptr_completionHandler), "initWithCompletionHandler:"); | |
+ } | |
+ } | |
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
+ public virtual VNImageAestheticsScoresObservation[]? Results { | |
+ [Export ("results", ArgumentSemantic.Copy)] | |
+ get { | |
+ VNImageAestheticsScoresObservation[]? ret; | |
+ if (IsDirectBinding) { | |
+ ret = CFArray.ArrayFromHandle<VNImageAestheticsScoresObservation>(global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, selResultsXHandle))!; | |
+ } else { | |
+ ret = CFArray.ArrayFromHandle<VNImageAestheticsScoresObservation>(global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, selResultsXHandle))!; | |
+ } | |
+ return ret!; | |
+ } | |
+ } | |
+ } /* class VNCalculateImageAestheticsScoresRequest */ | |
+} | |
diff --git a/new/dotnet/macos/generated-sources/Vision/VNCalculateImageAestheticsScoresRequestRevision.g.cs b/new/dotnet/macos/generated-sources/Vision/VNCalculateImageAestheticsScoresRequestRevision.g.cs | |
new file mode 100644 | |
index 0000000..e9892b0 | |
--- /dev/null | |
+++ b/new/dotnet/macos/generated-sources/Vision/VNCalculateImageAestheticsScoresRequestRevision.g.cs | |
@@ -0,0 +1,55 @@ | |
+// | |
+// Auto-generated from generator.cs, do not edit | |
+// | |
+// We keep references to objects, so warning 414 is expected | |
+#pragma warning disable 414 | |
+using System; | |
+using System.Drawing; | |
+using System.Diagnostics; | |
+using System.ComponentModel; | |
+using System.Threading.Tasks; | |
+using System.Runtime.Versioning; | |
+using System.Runtime.InteropServices; | |
+using System.Diagnostics.CodeAnalysis; | |
+using Metal; | |
+using CoreML; | |
+using OpenGL; | |
+using AppKit; | |
+using Photos; | |
+using ModelIO; | |
+using Network; | |
+using SceneKit; | |
+using Contacts; | |
+using Security; | |
+using CloudKit; | |
+using AudioUnit; | |
+using CoreVideo; | |
+using CoreMedia; | |
+using CoreImage; | |
+using SpriteKit; | |
+using Foundation; | |
+using ObjCRuntime; | |
+using MediaPlayer; | |
+using GameplayKit; | |
+using CoreGraphics; | |
+using CoreLocation; | |
+using AVFoundation; | |
+using FileProvider; | |
+using CoreAnimation; | |
+using CoreFoundation; | |
+using NetworkExtension; | |
+using MetalPerformanceShadersGraph; | |
+#nullable enable | |
+#if !NET | |
+using NativeHandle = System.IntPtr; | |
+#endif | |
+namespace Vision { | |
+ [SupportedOSPlatform ("tvos18.0")] | |
+ [SupportedOSPlatform ("macos15.0")] | |
+ [SupportedOSPlatform ("ios18.0")] | |
+ [SupportedOSPlatform ("maccatalyst18.0")] | |
+ [Native] | |
+ public enum VNCalculateImageAestheticsScoresRequestRevision : ulong { | |
+ One = 1, | |
+ } | |
+} | |
diff --git a/old/dotnet/macos/generated-sources/Vision/VNDetectBarcodesRequestRevision.g.cs b/new/dotnet/macos/generated-sources/Vision/VNDetectBarcodesRequestRevision.g.cs | |
index de7ce0b..1c38d4b 100644 | |
--- a/old/dotnet/macos/generated-sources/Vision/VNDetectBarcodesRequestRevision.g.cs | |
+++ b/new/dotnet/macos/generated-sources/Vision/VNDetectBarcodesRequestRevision.g.cs | |
@@ -51,11 +51,23 @@ namespace Vision { | |
[Native] | |
public enum VNDetectBarcodesRequestRevision : ulong { | |
Unspecified = 0, | |
+ [ObsoletedOSPlatform ("macos14.0", "Use 'Three' instead.")] | |
+ [ObsoletedOSPlatform ("ios17.0", "Use 'Three' instead.")] | |
+ [ObsoletedOSPlatform ("tvos17.0", "Use 'Three' instead.")] | |
+ [ObsoletedOSPlatform ("maccatalyst17.0", "Use 'Three' instead.")] | |
+ [SupportedOSPlatform ("ios12.0")] | |
+ [SupportedOSPlatform ("macos")] | |
+ [SupportedOSPlatform ("tvos12.0")] | |
+ [SupportedOSPlatform ("maccatalyst15.0")] | |
One = 1, | |
[SupportedOSPlatform ("tvos15.0")] | |
[SupportedOSPlatform ("macos12.0")] | |
[SupportedOSPlatform ("ios15.0")] | |
[SupportedOSPlatform ("maccatalyst15.0")] | |
+ [ObsoletedOSPlatform ("macos15.0", "Use 'Three' instead.")] | |
+ [ObsoletedOSPlatform ("ios18.0", "Use 'Three' instead.")] | |
+ [ObsoletedOSPlatform ("tvos18.0", "Use 'Three' instead.")] | |
+ [ObsoletedOSPlatform ("maccatalyst18.0", "Use 'Three' instead.")] | |
Two = 2, | |
[SupportedOSPlatform ("tvos16.0")] | |
[SupportedOSPlatform ("macos13.0")] | |
diff --git a/old/dotnet/macos/generated-sources/Vision/VNGeneratePersonSegmentationRequest.g.cs b/new/dotnet/macos/generated-sources/Vision/VNGeneratePersonSegmentationRequest.g.cs | |
index 31415f4..c49ad06 100644 | |
--- a/old/dotnet/macos/generated-sources/Vision/VNGeneratePersonSegmentationRequest.g.cs | |
+++ b/new/dotnet/macos/generated-sources/Vision/VNGeneratePersonSegmentationRequest.g.cs | |
@@ -75,6 +75,9 @@ namespace Vision { | |
const string selSetQualityLevel_X = "setQualityLevel:"; | |
static readonly NativeHandle selSetQualityLevel_XHandle = Selector.GetHandle ("setQualityLevel:"); | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
+ const string selSupportedOutputPixelFormatsAndReturnError_X = "supportedOutputPixelFormatsAndReturnError:"; | |
+ static readonly NativeHandle selSupportedOutputPixelFormatsAndReturnError_XHandle = Selector.GetHandle ("supportedOutputPixelFormatsAndReturnError:"); | |
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
static readonly NativeHandle class_ptr = Class.GetHandle ("VNGeneratePersonSegmentationRequest"); | |
/// <summary>The Objective-C class handle for this class.</summary> | |
/// <value>The pointer to the Objective-C class.</value> | |
@@ -203,6 +206,35 @@ namespace Vision { | |
global::ObjCRuntime.Messaging.void_objc_msgSend (ret.Handle, Selector.GetHandle ("release")); | |
return ret!; | |
} | |
+ [Export ("supportedOutputPixelFormatsAndReturnError:")] | |
+ [SupportedOSPlatform ("tvos18.0")] | |
+ [SupportedOSPlatform ("macos15.0")] | |
+ [SupportedOSPlatform ("ios18.0")] | |
+ [SupportedOSPlatform ("maccatalyst18.0")] | |
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
+ [return: BindAs (typeof (global::CoreVideo.CVPixelFormatType[]), OriginalType = typeof (NSNumber[]))] | |
+ public unsafe virtual global::CoreVideo.CVPixelFormatType[]? GetSupportedOutputPixelFormats (out NSError error) | |
+ { | |
+ NativeHandle errorValue = IntPtr.Zero; | |
+ global::CoreVideo.CVPixelFormatType[] ret; | |
+ if (IsDirectBinding) { | |
+ NativeHandle retvalarrtmp; | |
+ ret = ((retvalarrtmp = global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_ref_NativeHandle (this.Handle, selSupportedOutputPixelFormatsAndReturnError_XHandle, &errorValue)) == IntPtr.Zero ? null! : (NSArray.ArrayFromHandleFunc <global::CoreVideo.CVPixelFormatType> (retvalarrtmp, ptr => { | |
+ using (var num = Runtime.GetNSObject<NSNumber> (ptr)!) { | |
+ return (global::CoreVideo.CVPixelFormatType) num.Int32Value; | |
+ } | |
+ }))); | |
+ } else { | |
+ NativeHandle retvalarrtmp; | |
+ ret = ((retvalarrtmp = global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_ref_NativeHandle (this.SuperHandle, selSupportedOutputPixelFormatsAndReturnError_XHandle, &errorValue)) == IntPtr.Zero ? null! : (NSArray.ArrayFromHandleFunc <global::CoreVideo.CVPixelFormatType> (retvalarrtmp, ptr => { | |
+ using (var num = Runtime.GetNSObject<NSNumber> (ptr)!) { | |
+ return (global::CoreVideo.CVPixelFormatType) num.Int32Value; | |
+ } | |
+ }))); | |
+ } | |
+ error = Runtime.GetNSObject<NSError> (errorValue)!; | |
+ return ret!; | |
+ } | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
public virtual uint OutputPixelFormat { | |
[Export ("outputPixelFormat")] | |
diff --git a/new/dotnet/macos/generated-sources/Vision/VNImageAestheticsScoresObservation.g.cs b/new/dotnet/macos/generated-sources/Vision/VNImageAestheticsScoresObservation.g.cs | |
new file mode 100644 | |
index 0000000..457b573 | |
--- /dev/null | |
+++ b/new/dotnet/macos/generated-sources/Vision/VNImageAestheticsScoresObservation.g.cs | |
@@ -0,0 +1,179 @@ | |
+// | |
+// Auto-generated from generator.cs, do not edit | |
+// | |
+// We keep references to objects, so warning 414 is expected | |
+#pragma warning disable 414 | |
+using System; | |
+using System.Drawing; | |
+using System.Diagnostics; | |
+using System.ComponentModel; | |
+using System.Threading.Tasks; | |
+using System.Runtime.Versioning; | |
+using System.Runtime.InteropServices; | |
+using System.Diagnostics.CodeAnalysis; | |
+using Metal; | |
+using CoreML; | |
+using OpenGL; | |
+using AppKit; | |
+using Photos; | |
+using ModelIO; | |
+using Network; | |
+using SceneKit; | |
+using Contacts; | |
+using Security; | |
+using CloudKit; | |
+using AudioUnit; | |
+using CoreVideo; | |
+using CoreMedia; | |
+using CoreImage; | |
+using SpriteKit; | |
+using Foundation; | |
+using ObjCRuntime; | |
+using MediaPlayer; | |
+using GameplayKit; | |
+using CoreGraphics; | |
+using CoreLocation; | |
+using AVFoundation; | |
+using FileProvider; | |
+using CoreAnimation; | |
+using CoreFoundation; | |
+using NetworkExtension; | |
+using MetalPerformanceShadersGraph; | |
+#nullable enable | |
+#if !NET | |
+using NativeHandle = System.IntPtr; | |
+#endif | |
+namespace Vision { | |
+ [Register("VNImageAestheticsScoresObservation", true)] | |
+ [SupportedOSPlatform ("tvos18.0")] | |
+ [SupportedOSPlatform ("macos15.0")] | |
+ [SupportedOSPlatform ("ios18.0")] | |
+ [SupportedOSPlatform ("maccatalyst18.0")] | |
+ public unsafe partial class VNImageAestheticsScoresObservation : VNObservation { | |
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
+ const string selIsUtilityX = "isUtility"; | |
+ static readonly NativeHandle selIsUtilityXHandle = Selector.GetHandle ("isUtility"); | |
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
+ const string selOverallScoreX = "overallScore"; | |
+ static readonly NativeHandle selOverallScoreXHandle = Selector.GetHandle ("overallScore"); | |
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
+ static readonly NativeHandle class_ptr = Class.GetHandle ("VNImageAestheticsScoresObservation"); | |
+ /// <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 VNImageAestheticsScoresObservation (NSCoder coder) : base (NSObjectFlag.Empty) | |
+ { | |
+ if (IsDirectBinding) { | |
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend_IntPtr (this.Handle, Selector.InitWithCoder, coder.Handle), "initWithCoder:"); | |
+ } else { | |
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_IntPtr (this.SuperHandle, Selector.InitWithCoder, coder.Handle), "initWithCoder:"); | |
+ } | |
+ } | |
+ | |
+ /// <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 (System.Drawing.RectangleF 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 VNImageAestheticsScoresObservation (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 VNImageAestheticsScoresObservation (NativeHandle handle) : base (handle) | |
+ { | |
+ } | |
+ | |
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
+ public virtual bool IsUtility { | |
+ [Export ("isUtility")] | |
+ get { | |
+ byte ret; | |
+ if (IsDirectBinding) { | |
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend (this.Handle, selIsUtilityXHandle); | |
+ } else { | |
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSendSuper (this.SuperHandle, selIsUtilityXHandle); | |
+ } | |
+ return ret != 0; | |
+ } | |
+ } | |
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
+ public virtual float OverallScore { | |
+ [Export ("overallScore")] | |
+ get { | |
+ if (IsDirectBinding) { | |
+ return global::ObjCRuntime.Messaging.float_objc_msgSend (this.Handle, selOverallScoreXHandle); | |
+ } else { | |
+ return global::ObjCRuntime.Messaging.float_objc_msgSendSuper (this.SuperHandle, selOverallScoreXHandle); | |
+ } | |
+ } | |
+ } | |
+ } /* class VNImageAestheticsScoresObservation */ | |
+} | |
diff --git a/old/dotnet/macos/generated-sources/Vision/VNRecognizeTextRequestRevision.g.cs b/new/dotnet/macos/generated-sources/Vision/VNRecognizeTextRequestRevision.g.cs | |
index c1f229d..82f41c1 100644 | |
--- a/old/dotnet/macos/generated-sources/Vision/VNRecognizeTextRequestRevision.g.cs | |
+++ b/new/dotnet/macos/generated-sources/Vision/VNRecognizeTextRequestRevision.g.cs | |
@@ -51,11 +51,24 @@ namespace Vision { | |
[Native] | |
public enum VNRecognizeTextRequestRevision : ulong { | |
Unspecified = 0, | |
+ [ObsoletedOSPlatform ("macos15.0", "Use 'Two' or 'Three' instead.")] | |
+ [ObsoletedOSPlatform ("ios18.0", "Use 'Two' or 'Three' instead.")] | |
+ [ObsoletedOSPlatform ("tvos18.0", "Use 'Two' or 'Three' instead.")] | |
+ [ObsoletedOSPlatform ("maccatalyst18.0", "Use 'Two' or 'Three' instead.")] | |
+ [SupportedOSPlatform ("ios13.0")] | |
+ [SupportedOSPlatform ("macos")] | |
+ [SupportedOSPlatform ("tvos13.0")] | |
+ [SupportedOSPlatform ("maccatalyst")] | |
One = 1, | |
[SupportedOSPlatform ("tvos14.0")] | |
[SupportedOSPlatform ("macos11.0")] | |
[SupportedOSPlatform ("ios14.0")] | |
[SupportedOSPlatform ("maccatalyst14.0")] | |
Two = 2, | |
+ [SupportedOSPlatform ("tvos16.0")] | |
+ [SupportedOSPlatform ("macos13.0")] | |
+ [SupportedOSPlatform ("ios16.0")] | |
+ [SupportedOSPlatform ("maccatalyst16.0")] | |
+ Three = 3, | |
} | |
} | |
diff --git a/old/dotnet/macos/ref/Microsoft.macOS.xml b/new/dotnet/macos/ref/Microsoft.macOS.xml | |
index 4e57172..894f5fb 100644 | |
--- a/old/dotnet/macos/ref/Microsoft.macOS.xml | |
+++ b/new/dotnet/macos/ref/Microsoft.macOS.xml | |
@@ -267224,6 +267224,72 @@ | |
<member name="T:Vision.VNBarcodeSymbology"> | |
<summary>Enumerated supported barcode standards.</summary> | |
</member> | |
+ <member name="P:Vision.VNCalculateImageAestheticsScoresRequest.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:Vision.VNCalculateImageAestheticsScoresRequest.#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 (System.Drawing.RectangleF 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:Vision.VNCalculateImageAestheticsScoresRequest.#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="T:Vision.VNClassificationObservation"> | |
<summary>Subclass of <see cref="T:Vision.VNObservation" /> for CoreML models that predict a single feature.</summary> | |
</member> | |
@@ -270295,6 +270361,81 @@ | |
</para> | |
</remarks> | |
</member> | |
+ <member name="P:Vision.VNImageAestheticsScoresObservation.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:Vision.VNImageAestheticsScoresObservation.#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:Vision.VNImageAestheticsScoresObservation.#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 (System.Drawing.RectangleF 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:Vision.VNImageAestheticsScoresObservation.#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="T:Vision.VNImageAlignmentObservation"> | |
<summary>Abstract base class of <see cref="T:Vision.VNObservation" /> that hold information about aligning images.</summary> | |
</member> | |
diff --git a/old/dotnet/tvos/SourceLink.json b/new/dotnet/tvos/SourceLink.json | |
index bcad111..3d1c350 100644 | |
--- a/old/dotnet/tvos/SourceLink.json | |
+++ b/new/dotnet/tvos/SourceLink.json | |
@@ -1,5 +1,5 @@ | |
{ | |
"documents": { | |
- "/Users/builder/azdo/_work/4/a/change-detection/tmp/src/xamarin-macios/src*": "https://raw.githubusercontent.com/xamarin/xamarin-macios/515d0ce8f7e1a72ea00f875f442d032d3f0e3969/src*" | |
+ "/Users/builder/azdo/_work/4/s/xamarin-macios/src*": "https://raw.githubusercontent.com/xamarin/xamarin-macios/d6bfe29d467d65b92260b302ccdc2e7a063aab55/src*" | |
} | |
} | |
diff --git a/old/dotnet/tvos/doc/Microsoft.tvOS.xml b/new/dotnet/tvos/doc/Microsoft.tvOS.xml | |
index 47c2b2e..4f2d3d5 100644 | |
--- a/old/dotnet/tvos/doc/Microsoft.tvOS.xml | |
+++ b/new/dotnet/tvos/doc/Microsoft.tvOS.xml | |
@@ -202004,6 +202004,72 @@ | |
<member name="T:Vision.VNBarcodeSymbology"> | |
<summary>Enumerated supported barcode standards.</summary> | |
</member> | |
+ <member name="P:Vision.VNCalculateImageAestheticsScoresRequest.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:Vision.VNCalculateImageAestheticsScoresRequest.#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 (System.Drawing.RectangleF 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:Vision.VNCalculateImageAestheticsScoresRequest.#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="T:Vision.VNClassificationObservation"> | |
<summary>Subclass of <see cref="T:Vision.VNObservation" /> for CoreML models that predict a single feature.</summary> | |
<appledoc>https://developer.apple.com/documentation/vision/vnclassificationobservation</appledoc> | |
@@ -205097,6 +205163,81 @@ | |
</para> | |
</remarks> | |
</member> | |
+ <member name="P:Vision.VNImageAestheticsScoresObservation.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:Vision.VNImageAestheticsScoresObservation.#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:Vision.VNImageAestheticsScoresObservation.#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 (System.Drawing.RectangleF 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:Vision.VNImageAestheticsScoresObservation.#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="T:Vision.VNImageAlignmentObservation"> | |
<summary>Abstract base class of <see cref="T:Vision.VNObservation" /> that hold information about aligning images.</summary> | |
<appledoc>https://developer.apple.com/documentation/vision/vnimagealignmentobservation</appledoc> | |
@@ -257286,6 +257427,9 @@ | |
<member name="T:Vision.VNAnimalBodyPoseObservation"> | |
<appledoc>https://developer.apple.com/documentation/vision/vnanimalbodyposeobservation</appledoc> | |
</member> | |
+ <member name="T:Vision.VNCalculateImageAestheticsScoresRequest"> | |
+ <appledoc>https://developer.apple.com/documentation/vision/vncalculateimageaestheticsscoresrequest</appledoc> | |
+ </member> | |
<member name="T:Vision.VNClassifyImageRequest"> | |
<appledoc>https://developer.apple.com/documentation/vision/vnclassifyimagerequest</appledoc> | |
</member> | |
@@ -257361,6 +257505,9 @@ | |
<member name="T:Vision.VNHumanObservation"> | |
<appledoc>https://developer.apple.com/documentation/vision/vnhumanobservation</appledoc> | |
</member> | |
+ <member name="T:Vision.VNImageAestheticsScoresObservation"> | |
+ <appledoc>https://developer.apple.com/documentation/vision/vnimageaestheticsscoresobservation</appledoc> | |
+ </member> | |
<member name="T:Vision.VNInstanceMaskObservation"> | |
<appledoc>https://developer.apple.com/documentation/vision/vninstancemaskobservation</appledoc> | |
</member> | |
diff --git a/new/dotnet/tvos/generated-sources/Vision/VNCalculateImageAestheticsScoresRequest.g.cs b/new/dotnet/tvos/generated-sources/Vision/VNCalculateImageAestheticsScoresRequest.g.cs | |
new file mode 100644 | |
index 0000000..ac29a60 | |
--- /dev/null | |
+++ b/new/dotnet/tvos/generated-sources/Vision/VNCalculateImageAestheticsScoresRequest.g.cs | |
@@ -0,0 +1,155 @@ | |
+// | |
+// 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 Vision { | |
+ [Register("VNCalculateImageAestheticsScoresRequest", true)] | |
+ [SupportedOSPlatform ("tvos18.0")] | |
+ [SupportedOSPlatform ("macos15.0")] | |
+ [SupportedOSPlatform ("ios18.0")] | |
+ [SupportedOSPlatform ("maccatalyst18.0")] | |
+ public unsafe partial class VNCalculateImageAestheticsScoresRequest : VNImageBasedRequest { | |
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
+ static readonly NativeHandle class_ptr = Class.GetHandle ("VNCalculateImageAestheticsScoresRequest"); | |
+ /// <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>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 (System.Drawing.RectangleF 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 VNCalculateImageAestheticsScoresRequest (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 VNCalculateImageAestheticsScoresRequest (NativeHandle handle) : base (handle) | |
+ { | |
+ } | |
+ | |
+ [Export ("initWithCompletionHandler:")] | |
+ [DesignatedInitializer] | |
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
+ public unsafe VNCalculateImageAestheticsScoresRequest ([BlockProxy (typeof (ObjCRuntime.Trampolines.NIDVNRequestCompletionHandler))]VNRequestCompletionHandler? completionHandler) | |
+ : base (NSObjectFlag.Empty) | |
+ { | |
+ using var block_completionHandler = Trampolines.SDVNRequestCompletionHandler.CreateNullableBlock (completionHandler); | |
+ BlockLiteral *block_ptr_completionHandler = null; | |
+ if (completionHandler is not null) | |
+ block_ptr_completionHandler = &block_completionHandler; | |
+ if (IsDirectBinding) { | |
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("initWithCompletionHandler:"), (IntPtr) block_ptr_completionHandler), "initWithCompletionHandler:"); | |
+ } else { | |
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("initWithCompletionHandler:"), (IntPtr) block_ptr_completionHandler), "initWithCompletionHandler:"); | |
+ } | |
+ } | |
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
+ public virtual VNImageAestheticsScoresObservation[]? Results { | |
+ [Export ("results", ArgumentSemantic.Copy)] | |
+ get { | |
+ VNImageAestheticsScoresObservation[]? ret; | |
+ if (IsDirectBinding) { | |
+ ret = CFArray.ArrayFromHandle<VNImageAestheticsScoresObservation>(global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("results")))!; | |
+ } else { | |
+ ret = CFArray.ArrayFromHandle<VNImageAestheticsScoresObservation>(global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("results")))!; | |
+ } | |
+ return ret!; | |
+ } | |
+ } | |
+ } /* class VNCalculateImageAestheticsScoresRequest */ | |
+} | |
diff --git a/new/dotnet/tvos/generated-sources/Vision/VNCalculateImageAestheticsScoresRequestRevision.g.cs b/new/dotnet/tvos/generated-sources/Vision/VNCalculateImageAestheticsScoresRequestRevision.g.cs | |
new file mode 100644 | |
index 0000000..e3bc083 | |
--- /dev/null | |
+++ b/new/dotnet/tvos/generated-sources/Vision/VNCalculateImageAestheticsScoresRequestRevision.g.cs | |
@@ -0,0 +1,52 @@ | |
+// | |
+// 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 Vision { | |
+ [SupportedOSPlatform ("tvos18.0")] | |
+ [SupportedOSPlatform ("macos15.0")] | |
+ [SupportedOSPlatform ("ios18.0")] | |
+ [SupportedOSPlatform ("maccatalyst18.0")] | |
+ [Native] | |
+ public enum VNCalculateImageAestheticsScoresRequestRevision : ulong { | |
+ One = 1, | |
+ } | |
+} | |
diff --git a/old/dotnet/tvos/generated-sources/Vision/VNDetectBarcodesRequestRevision.g.cs b/new/dotnet/tvos/generated-sources/Vision/VNDetectBarcodesRequestRevision.g.cs | |
index 0326862..1f8044f 100644 | |
--- a/old/dotnet/tvos/generated-sources/Vision/VNDetectBarcodesRequestRevision.g.cs | |
+++ b/new/dotnet/tvos/generated-sources/Vision/VNDetectBarcodesRequestRevision.g.cs | |
@@ -48,11 +48,23 @@ namespace Vision { | |
[Native] | |
public enum VNDetectBarcodesRequestRevision : ulong { | |
Unspecified = 0, | |
+ [ObsoletedOSPlatform ("macos14.0", "Use 'Three' instead.")] | |
+ [ObsoletedOSPlatform ("ios17.0", "Use 'Three' instead.")] | |
+ [ObsoletedOSPlatform ("tvos17.0", "Use 'Three' instead.")] | |
+ [ObsoletedOSPlatform ("maccatalyst17.0", "Use 'Three' instead.")] | |
+ [SupportedOSPlatform ("ios12.0")] | |
+ [SupportedOSPlatform ("macos")] | |
+ [SupportedOSPlatform ("tvos12.0")] | |
+ [SupportedOSPlatform ("maccatalyst15.0")] | |
One = 1, | |
[SupportedOSPlatform ("tvos15.0")] | |
[SupportedOSPlatform ("macos12.0")] | |
[SupportedOSPlatform ("ios15.0")] | |
[SupportedOSPlatform ("maccatalyst15.0")] | |
+ [ObsoletedOSPlatform ("macos15.0", "Use 'Three' instead.")] | |
+ [ObsoletedOSPlatform ("ios18.0", "Use 'Three' instead.")] | |
+ [ObsoletedOSPlatform ("tvos18.0", "Use 'Three' instead.")] | |
+ [ObsoletedOSPlatform ("maccatalyst18.0", "Use 'Three' instead.")] | |
Two = 2, | |
[SupportedOSPlatform ("tvos16.0")] | |
[SupportedOSPlatform ("macos13.0")] | |
diff --git a/old/dotnet/tvos/generated-sources/Vision/VNGeneratePersonSegmentationRequest.g.cs b/new/dotnet/tvos/generated-sources/Vision/VNGeneratePersonSegmentationRequest.g.cs | |
index bc1843a..ec245a6 100644 | |
--- a/old/dotnet/tvos/generated-sources/Vision/VNGeneratePersonSegmentationRequest.g.cs | |
+++ b/new/dotnet/tvos/generated-sources/Vision/VNGeneratePersonSegmentationRequest.g.cs | |
@@ -176,6 +176,35 @@ namespace Vision { | |
global::ObjCRuntime.Messaging.void_objc_msgSend (ret.Handle, Selector.GetHandle ("release")); | |
return ret!; | |
} | |
+ [Export ("supportedOutputPixelFormatsAndReturnError:")] | |
+ [SupportedOSPlatform ("tvos18.0")] | |
+ [SupportedOSPlatform ("macos15.0")] | |
+ [SupportedOSPlatform ("ios18.0")] | |
+ [SupportedOSPlatform ("maccatalyst18.0")] | |
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
+ [return: BindAs (typeof (global::CoreVideo.CVPixelFormatType[]), OriginalType = typeof (NSNumber[]))] | |
+ public unsafe virtual global::CoreVideo.CVPixelFormatType[]? GetSupportedOutputPixelFormats (out NSError error) | |
+ { | |
+ NativeHandle errorValue = IntPtr.Zero; | |
+ global::CoreVideo.CVPixelFormatType[] ret; | |
+ if (IsDirectBinding) { | |
+ NativeHandle retvalarrtmp; | |
+ ret = ((retvalarrtmp = global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_ref_NativeHandle (this.Handle, Selector.GetHandle ("supportedOutputPixelFormatsAndReturnError:"), &errorValue)) == IntPtr.Zero ? null! : (NSArray.ArrayFromHandleFunc <global::CoreVideo.CVPixelFormatType> (retvalarrtmp, ptr => { | |
+ using (var num = Runtime.GetNSObject<NSNumber> (ptr)!) { | |
+ return (global::CoreVideo.CVPixelFormatType) num.Int32Value; | |
+ } | |
+ }))); | |
+ } else { | |
+ NativeHandle retvalarrtmp; | |
+ ret = ((retvalarrtmp = global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_ref_NativeHandle (this.SuperHandle, Selector.GetHandle ("supportedOutputPixelFormatsAndReturnError:"), &errorValue)) == IntPtr.Zero ? null! : (NSArray.ArrayFromHandleFunc <global::CoreVideo.CVPixelFormatType> (retvalarrtmp, ptr => { | |
+ using (var num = Runtime.GetNSObject<NSNumber> (ptr)!) { | |
+ return (global::CoreVideo.CVPixelFormatType) num.Int32Value; | |
+ } | |
+ }))); | |
+ } | |
+ error = Runtime.GetNSObject<NSError> (errorValue)!; | |
+ return ret!; | |
+ } | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
public virtual uint OutputPixelFormat { | |
[Export ("outputPixelFormat")] | |
diff --git a/new/dotnet/tvos/generated-sources/Vision/VNImageAestheticsScoresObservation.g.cs b/new/dotnet/tvos/generated-sources/Vision/VNImageAestheticsScoresObservation.g.cs | |
new file mode 100644 | |
index 0000000..406ab91 | |
--- /dev/null | |
+++ b/new/dotnet/tvos/generated-sources/Vision/VNImageAestheticsScoresObservation.g.cs | |
@@ -0,0 +1,170 @@ | |
+// | |
+// 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 Vision { | |
+ [Register("VNImageAestheticsScoresObservation", true)] | |
+ [SupportedOSPlatform ("tvos18.0")] | |
+ [SupportedOSPlatform ("macos15.0")] | |
+ [SupportedOSPlatform ("ios18.0")] | |
+ [SupportedOSPlatform ("maccatalyst18.0")] | |
+ public unsafe partial class VNImageAestheticsScoresObservation : VNObservation { | |
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
+ static readonly NativeHandle class_ptr = Class.GetHandle ("VNImageAestheticsScoresObservation"); | |
+ /// <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 VNImageAestheticsScoresObservation (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:"); | |
+ } | |
+ } | |
+ | |
+ /// <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 (System.Drawing.RectangleF 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 VNImageAestheticsScoresObservation (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 VNImageAestheticsScoresObservation (NativeHandle handle) : base (handle) | |
+ { | |
+ } | |
+ | |
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
+ public virtual bool IsUtility { | |
+ [Export ("isUtility")] | |
+ get { | |
+ byte ret; | |
+ if (IsDirectBinding) { | |
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend (this.Handle, Selector.GetHandle ("isUtility")); | |
+ } else { | |
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("isUtility")); | |
+ } | |
+ return ret != 0; | |
+ } | |
+ } | |
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
+ public virtual float OverallScore { | |
+ [Export ("overallScore")] | |
+ get { | |
+ if (IsDirectBinding) { | |
+ return global::ObjCRuntime.Messaging.float_objc_msgSend (this.Handle, Selector.GetHandle ("overallScore")); | |
+ } else { | |
+ return global::ObjCRuntime.Messaging.float_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("overallScore")); | |
+ } | |
+ } | |
+ } | |
+ } /* class VNImageAestheticsScoresObservation */ | |
+} | |
diff --git a/old/dotnet/tvos/generated-sources/Vision/VNRecognizeTextRequestRevision.g.cs b/new/dotnet/tvos/generated-sources/Vision/VNRecognizeTextRequestRevision.g.cs | |
index c3deb5d..06f1daf 100644 | |
--- a/old/dotnet/tvos/generated-sources/Vision/VNRecognizeTextRequestRevision.g.cs | |
+++ b/new/dotnet/tvos/generated-sources/Vision/VNRecognizeTextRequestRevision.g.cs | |
@@ -48,11 +48,24 @@ namespace Vision { | |
[Native] | |
public enum VNRecognizeTextRequestRevision : ulong { | |
Unspecified = 0, | |
+ [ObsoletedOSPlatform ("macos15.0", "Use 'Two' or 'Three' instead.")] | |
+ [ObsoletedOSPlatform ("ios18.0", "Use 'Two' or 'Three' instead.")] | |
+ [ObsoletedOSPlatform ("tvos18.0", "Use 'Two' or 'Three' instead.")] | |
+ [ObsoletedOSPlatform ("maccatalyst18.0", "Use 'Two' or 'Three' instead.")] | |
+ [SupportedOSPlatform ("ios13.0")] | |
+ [SupportedOSPlatform ("macos")] | |
+ [SupportedOSPlatform ("tvos13.0")] | |
+ [SupportedOSPlatform ("maccatalyst")] | |
One = 1, | |
[SupportedOSPlatform ("tvos14.0")] | |
[SupportedOSPlatform ("macos11.0")] | |
[SupportedOSPlatform ("ios14.0")] | |
[SupportedOSPlatform ("maccatalyst14.0")] | |
Two = 2, | |
+ [SupportedOSPlatform ("tvos16.0")] | |
+ [SupportedOSPlatform ("macos13.0")] | |
+ [SupportedOSPlatform ("ios16.0")] | |
+ [SupportedOSPlatform ("maccatalyst16.0")] | |
+ Three = 3, | |
} | |
} | |
diff --git a/old/dotnet/tvos/ref/Microsoft.tvOS.xml b/new/dotnet/tvos/ref/Microsoft.tvOS.xml | |
index 73424e0..6bce0c6 100644 | |
--- a/old/dotnet/tvos/ref/Microsoft.tvOS.xml | |
+++ b/new/dotnet/tvos/ref/Microsoft.tvOS.xml | |
@@ -198149,6 +198149,72 @@ | |
<member name="T:Vision.VNBarcodeSymbology"> | |
<summary>Enumerated supported barcode standards.</summary> | |
</member> | |
+ <member name="P:Vision.VNCalculateImageAestheticsScoresRequest.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:Vision.VNCalculateImageAestheticsScoresRequest.#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 (System.Drawing.RectangleF 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:Vision.VNCalculateImageAestheticsScoresRequest.#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="T:Vision.VNClassificationObservation"> | |
<summary>Subclass of <see cref="T:Vision.VNObservation" /> for CoreML models that predict a single feature.</summary> | |
</member> | |
@@ -201220,6 +201286,81 @@ | |
</para> | |
</remarks> | |
</member> | |
+ <member name="P:Vision.VNImageAestheticsScoresObservation.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:Vision.VNImageAestheticsScoresObservation.#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:Vision.VNImageAestheticsScoresObservation.#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 (System.Drawing.RectangleF 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:Vision.VNImageAestheticsScoresObservation.#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="T:Vision.VNImageAlignmentObservation"> | |
<summary>Abstract base class of <see cref="T:Vision.VNObservation" /> that hold information about aligning images.</summary> | |
</member> | |
diff --git a/new/ios/native/Vision/VNCalculateImageAestheticsScoresRequest.g.cs b/new/ios/native/Vision/VNCalculateImageAestheticsScoresRequest.g.cs | |
new file mode 100644 | |
index 0000000..6ff2797 | |
--- /dev/null | |
+++ b/new/ios/native/Vision/VNCalculateImageAestheticsScoresRequest.g.cs | |
@@ -0,0 +1,176 @@ | |
+// | |
+// 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.InteropServices; | |
+using System.Diagnostics.CodeAnalysis; | |
+using UIKit; | |
+using GLKit; | |
+using Metal; | |
+using CoreML; | |
+using MapKit; | |
+using Photos; | |
+using ModelIO; | |
+using Network; | |
+using SceneKit; | |
+using Contacts; | |
+using Security; | |
+using Messages; | |
+using AudioUnit; | |
+using CoreVideo; | |
+using CoreMedia; | |
+using QuickLook; | |
+using CoreImage; | |
+using SpriteKit; | |
+using Foundation; | |
+using CoreMotion; | |
+using ObjCRuntime; | |
+using AddressBook; | |
+using MediaPlayer; | |
+using GameplayKit; | |
+using CoreGraphics; | |
+using CoreLocation; | |
+using AVFoundation; | |
+using NewsstandKit; | |
+using FileProvider; | |
+using CoreAnimation; | |
+using CoreFoundation; | |
+using NetworkExtension; | |
+using MetalPerformanceShadersGraph; | |
+#nullable enable | |
+#if !NET | |
+using NativeHandle = System.IntPtr; | |
+#endif | |
+namespace Vision { | |
+ [Register("VNCalculateImageAestheticsScoresRequest", true)] | |
+ [Introduced (PlatformName.TvOS, 18,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.MacOSX, 15,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.iOS, 18,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.MacCatalyst, 18,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ public unsafe partial class VNCalculateImageAestheticsScoresRequest : VNImageBasedRequest { | |
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
+ #if ARCH_32 | |
+ #pragma warning disable 649 | |
+ static readonly IntPtr class_ptr; | |
+ #pragma warning restore 649 | |
+ #else | |
+ static readonly IntPtr class_ptr = Class.GetHandle ("VNCalculateImageAestheticsScoresRequest"); | |
+ #endif | |
+ /// <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 IntPtr ClassHandle { get { return class_ptr; } } | |
+ /// <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 (System.Drawing.RectangleF 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 VNCalculateImageAestheticsScoresRequest (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 VNCalculateImageAestheticsScoresRequest (IntPtr handle) : base (handle) | |
+ { | |
+ } | |
+ | |
+ [Export ("initWithCompletionHandler:")] | |
+ [DesignatedInitializer] | |
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
+ public unsafe VNCalculateImageAestheticsScoresRequest ([BlockProxy (typeof (ObjCRuntime.Trampolines.NIDVNRequestCompletionHandler))]VNRequestCompletionHandler? completionHandler) | |
+ : base (NSObjectFlag.Empty) | |
+ { | |
+ #if ARCH_32 | |
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
+ #else | |
+ using var block_completionHandler = Trampolines.SDVNRequestCompletionHandler.CreateNullableBlock (completionHandler); | |
+ BlockLiteral *block_ptr_completionHandler = null; | |
+ if (completionHandler is not null) | |
+ block_ptr_completionHandler = &block_completionHandler; | |
+ if (IsDirectBinding) { | |
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("initWithCompletionHandler:"), (IntPtr) block_ptr_completionHandler), "initWithCompletionHandler:"); | |
+ } else { | |
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_IntPtr (this.SuperHandle, Selector.GetHandle ("initWithCompletionHandler:"), (IntPtr) block_ptr_completionHandler), "initWithCompletionHandler:"); | |
+ } | |
+ #endif | |
+ } | |
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
+ public virtual VNImageAestheticsScoresObservation[]? Results { | |
+ [Export ("results", ArgumentSemantic.Copy)] | |
+ get { | |
+ #if ARCH_32 | |
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
+ #else | |
+ VNImageAestheticsScoresObservation[]? ret; | |
+ if (IsDirectBinding) { | |
+ ret = CFArray.ArrayFromHandle<VNImageAestheticsScoresObservation>(global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("results")))!; | |
+ } else { | |
+ ret = CFArray.ArrayFromHandle<VNImageAestheticsScoresObservation>(global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("results")))!; | |
+ } | |
+ return ret!; | |
+ #endif | |
+ } | |
+ } | |
+ } /* class VNCalculateImageAestheticsScoresRequest */ | |
+} | |
diff --git a/new/ios/native/Vision/VNCalculateImageAestheticsScoresRequestRevision.g.cs b/new/ios/native/Vision/VNCalculateImageAestheticsScoresRequestRevision.g.cs | |
new file mode 100644 | |
index 0000000..ba0f84c | |
--- /dev/null | |
+++ b/new/ios/native/Vision/VNCalculateImageAestheticsScoresRequestRevision.g.cs | |
@@ -0,0 +1,59 @@ | |
+// | |
+// 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.InteropServices; | |
+using System.Diagnostics.CodeAnalysis; | |
+using UIKit; | |
+using GLKit; | |
+using Metal; | |
+using CoreML; | |
+using MapKit; | |
+using Photos; | |
+using ModelIO; | |
+using Network; | |
+using SceneKit; | |
+using Contacts; | |
+using Security; | |
+using Messages; | |
+using AudioUnit; | |
+using CoreVideo; | |
+using CoreMedia; | |
+using QuickLook; | |
+using CoreImage; | |
+using SpriteKit; | |
+using Foundation; | |
+using CoreMotion; | |
+using ObjCRuntime; | |
+using AddressBook; | |
+using MediaPlayer; | |
+using GameplayKit; | |
+using CoreGraphics; | |
+using CoreLocation; | |
+using AVFoundation; | |
+using NewsstandKit; | |
+using FileProvider; | |
+using CoreAnimation; | |
+using CoreFoundation; | |
+using NetworkExtension; | |
+using MetalPerformanceShadersGraph; | |
+#nullable enable | |
+#if !NET | |
+using NativeHandle = System.IntPtr; | |
+#endif | |
+namespace Vision { | |
+ [Introduced (PlatformName.TvOS, 18,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.MacOSX, 15,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.iOS, 18,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.MacCatalyst, 18,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Native] | |
+ public enum VNCalculateImageAestheticsScoresRequestRevision : ulong { | |
+ One = 1, | |
+ } | |
+} | |
diff --git a/old/ios/native/Vision/VNDetectBarcodesRequestRevision.g.cs b/new/ios/native/Vision/VNDetectBarcodesRequestRevision.g.cs | |
index d562441..3adfdb7 100644 | |
--- a/old/ios/native/Vision/VNDetectBarcodesRequestRevision.g.cs | |
+++ b/new/ios/native/Vision/VNDetectBarcodesRequestRevision.g.cs | |
@@ -54,10 +54,18 @@ namespace Vision { | |
[Native] | |
public enum VNDetectBarcodesRequestRevision : ulong { | |
Unspecified = 0, | |
+ [Deprecated (PlatformName.MacOSX, 14,0, message: "Use 'Three' instead.")] | |
+ [Deprecated (PlatformName.iOS, 17,0, message: "Use 'Three' instead.")] | |
+ [Deprecated (PlatformName.TvOS, 17,0, message: "Use 'Three' instead.")] | |
+ [Deprecated (PlatformName.MacCatalyst, 17,0, message: "Use 'Three' instead.")] | |
One = 1, | |
[Introduced (PlatformName.TvOS, 15,0, ObjCRuntime.PlatformArchitecture.All)] | |
[Introduced (PlatformName.MacOSX, 12,0, ObjCRuntime.PlatformArchitecture.All)] | |
[Introduced (PlatformName.iOS, 15,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Deprecated (PlatformName.MacOSX, 15,0, message: "Use 'Three' instead.")] | |
+ [Deprecated (PlatformName.iOS, 18,0, message: "Use 'Three' instead.")] | |
+ [Deprecated (PlatformName.TvOS, 18,0, message: "Use 'Three' instead.")] | |
+ [Deprecated (PlatformName.MacCatalyst, 18,0, message: "Use 'Three' instead.")] | |
Two = 2, | |
[Introduced (PlatformName.TvOS, 16,0, ObjCRuntime.PlatformArchitecture.All)] | |
[Introduced (PlatformName.MacOSX, 13,0, ObjCRuntime.PlatformArchitecture.All)] | |
diff --git a/old/ios/native/Vision/VNGeneratePersonSegmentationRequest.g.cs b/new/ios/native/Vision/VNGeneratePersonSegmentationRequest.g.cs | |
index d3f26b6..6c93f41 100644 | |
--- a/old/ios/native/Vision/VNGeneratePersonSegmentationRequest.g.cs | |
+++ b/new/ios/native/Vision/VNGeneratePersonSegmentationRequest.g.cs | |
@@ -205,6 +205,39 @@ namespace Vision { | |
return ret!; | |
#endif | |
} | |
+ [Export ("supportedOutputPixelFormatsAndReturnError:")] | |
+ [Introduced (PlatformName.TvOS, 18,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.MacOSX, 15,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.iOS, 18,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.MacCatalyst, 18,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
+ [return: BindAs (typeof (global::CoreVideo.CVPixelFormatType[]), OriginalType = typeof (NSNumber[]))] | |
+ public unsafe virtual global::CoreVideo.CVPixelFormatType[]? GetSupportedOutputPixelFormats (out NSError error) | |
+ { | |
+ #if ARCH_32 | |
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
+ #else | |
+ IntPtr errorValue = IntPtr.Zero; | |
+ global::CoreVideo.CVPixelFormatType[] ret; | |
+ if (IsDirectBinding) { | |
+ IntPtr retvalarrtmp; | |
+ ret = ((retvalarrtmp = global::ObjCRuntime.Messaging.IntPtr_objc_msgSend_ref_IntPtr (this.Handle, Selector.GetHandle ("supportedOutputPixelFormatsAndReturnError:"), &errorValue)) == IntPtr.Zero ? null! : (NSArray.ArrayFromHandleFunc <global::CoreVideo.CVPixelFormatType> (retvalarrtmp, ptr => { | |
+ using (var num = Runtime.GetNSObject<NSNumber> (ptr)!) { | |
+ return (global::CoreVideo.CVPixelFormatType) num.Int32Value; | |
+ } | |
+ }))); | |
+ } else { | |
+ IntPtr retvalarrtmp; | |
+ ret = ((retvalarrtmp = global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_ref_IntPtr (this.SuperHandle, Selector.GetHandle ("supportedOutputPixelFormatsAndReturnError:"), &errorValue)) == IntPtr.Zero ? null! : (NSArray.ArrayFromHandleFunc <global::CoreVideo.CVPixelFormatType> (retvalarrtmp, ptr => { | |
+ using (var num = Runtime.GetNSObject<NSNumber> (ptr)!) { | |
+ return (global::CoreVideo.CVPixelFormatType) num.Int32Value; | |
+ } | |
+ }))); | |
+ } | |
+ error = Runtime.GetNSObject<NSError> (errorValue)!; | |
+ return ret!; | |
+ #endif | |
+ } | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
public virtual uint OutputPixelFormat { | |
[Export ("outputPixelFormat")] | |
diff --git a/new/ios/native/Vision/VNImageAestheticsScoresObservation.g.cs b/new/ios/native/Vision/VNImageAestheticsScoresObservation.g.cs | |
new file mode 100644 | |
index 0000000..d08ca4d | |
--- /dev/null | |
+++ b/new/ios/native/Vision/VNImageAestheticsScoresObservation.g.cs | |
@@ -0,0 +1,195 @@ | |
+// | |
+// 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.InteropServices; | |
+using System.Diagnostics.CodeAnalysis; | |
+using UIKit; | |
+using GLKit; | |
+using Metal; | |
+using CoreML; | |
+using MapKit; | |
+using Photos; | |
+using ModelIO; | |
+using Network; | |
+using SceneKit; | |
+using Contacts; | |
+using Security; | |
+using Messages; | |
+using AudioUnit; | |
+using CoreVideo; | |
+using CoreMedia; | |
+using QuickLook; | |
+using CoreImage; | |
+using SpriteKit; | |
+using Foundation; | |
+using CoreMotion; | |
+using ObjCRuntime; | |
+using AddressBook; | |
+using MediaPlayer; | |
+using GameplayKit; | |
+using CoreGraphics; | |
+using CoreLocation; | |
+using AVFoundation; | |
+using NewsstandKit; | |
+using FileProvider; | |
+using CoreAnimation; | |
+using CoreFoundation; | |
+using NetworkExtension; | |
+using MetalPerformanceShadersGraph; | |
+#nullable enable | |
+#if !NET | |
+using NativeHandle = System.IntPtr; | |
+#endif | |
+namespace Vision { | |
+ [Register("VNImageAestheticsScoresObservation", true)] | |
+ [Introduced (PlatformName.TvOS, 18,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.MacOSX, 15,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.iOS, 18,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.MacCatalyst, 18,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ public unsafe partial class VNImageAestheticsScoresObservation : VNObservation { | |
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
+ #if ARCH_32 | |
+ #pragma warning disable 649 | |
+ static readonly IntPtr class_ptr; | |
+ #pragma warning restore 649 | |
+ #else | |
+ static readonly IntPtr class_ptr = Class.GetHandle ("VNImageAestheticsScoresObservation"); | |
+ #endif | |
+ /// <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 IntPtr 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 VNImageAestheticsScoresObservation (NSCoder coder) : base (NSObjectFlag.Empty) | |
+ { | |
+ #if ARCH_32 | |
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
+ #else | |
+ 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:"); | |
+ } | |
+ #endif | |
+ } | |
+ | |
+ /// <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 (System.Drawing.RectangleF 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 VNImageAestheticsScoresObservation (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 VNImageAestheticsScoresObservation (IntPtr handle) : base (handle) | |
+ { | |
+ } | |
+ | |
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
+ public virtual bool IsUtility { | |
+ [Export ("isUtility")] | |
+ get { | |
+ #if ARCH_32 | |
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
+ #else | |
+ byte ret; | |
+ if (IsDirectBinding) { | |
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend (this.Handle, Selector.GetHandle ("isUtility")); | |
+ } else { | |
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("isUtility")); | |
+ } | |
+ return ret != 0; | |
+ #endif | |
+ } | |
+ } | |
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
+ public virtual float OverallScore { | |
+ [Export ("overallScore")] | |
+ get { | |
+ #if ARCH_32 | |
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
+ #else | |
+ if (IsDirectBinding) { | |
+ return global::ObjCRuntime.Messaging.float_objc_msgSend (this.Handle, Selector.GetHandle ("overallScore")); | |
+ } else { | |
+ return global::ObjCRuntime.Messaging.float_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("overallScore")); | |
+ } | |
+ #endif | |
+ } | |
+ } | |
+ } /* class VNImageAestheticsScoresObservation */ | |
+} | |
diff --git a/old/ios/native/Vision/VNRecognizeTextRequestRevision.g.cs b/new/ios/native/Vision/VNRecognizeTextRequestRevision.g.cs | |
index d169509..beb7679 100644 | |
--- a/old/ios/native/Vision/VNRecognizeTextRequestRevision.g.cs | |
+++ b/new/ios/native/Vision/VNRecognizeTextRequestRevision.g.cs | |
@@ -53,11 +53,20 @@ namespace Vision { | |
[Native] | |
public enum VNRecognizeTextRequestRevision : ulong { | |
Unspecified = 0, | |
+ [Deprecated (PlatformName.MacOSX, 15,0, message: "Use 'Two' or 'Three' instead.")] | |
+ [Deprecated (PlatformName.iOS, 18,0, message: "Use 'Two' or 'Three' instead.")] | |
+ [Deprecated (PlatformName.TvOS, 18,0, message: "Use 'Two' or 'Three' instead.")] | |
+ [Deprecated (PlatformName.MacCatalyst, 18,0, message: "Use 'Two' or 'Three' instead.")] | |
One = 1, | |
[Introduced (PlatformName.TvOS, 14,0, ObjCRuntime.PlatformArchitecture.All)] | |
[Introduced (PlatformName.MacOSX, 11,0, ObjCRuntime.PlatformArchitecture.All)] | |
[Introduced (PlatformName.iOS, 14,0, ObjCRuntime.PlatformArchitecture.All)] | |
[Introduced (PlatformName.MacCatalyst, 14,0, ObjCRuntime.PlatformArchitecture.All)] | |
Two = 2, | |
+ [Introduced (PlatformName.TvOS, 16,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.MacOSX, 13,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.iOS, 16,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.MacCatalyst, 16,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ Three = 3, | |
} | |
} | |
diff --git a/new/mac/full/Vision/VNCalculateImageAestheticsScoresRequest.g.cs b/new/mac/full/Vision/VNCalculateImageAestheticsScoresRequest.g.cs | |
new file mode 100644 | |
index 0000000..f9f5f87 | |
--- /dev/null | |
+++ b/new/mac/full/Vision/VNCalculateImageAestheticsScoresRequest.g.cs | |
@@ -0,0 +1,163 @@ | |
+// | |
+// 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.Diagnostics; | |
+using System.ComponentModel; | |
+using System.Threading.Tasks; | |
+using System.Runtime.InteropServices; | |
+using System.Diagnostics.CodeAnalysis; | |
+using QTKit; | |
+using Metal; | |
+using CoreML; | |
+using OpenGL; | |
+using AppKit; | |
+using Photos; | |
+using ModelIO; | |
+using Network; | |
+using SceneKit; | |
+using Contacts; | |
+using Security; | |
+using CloudKit; | |
+using AudioUnit; | |
+using CoreVideo; | |
+using CoreMedia; | |
+using CoreImage; | |
+using SpriteKit; | |
+using Foundation; | |
+using ObjCRuntime; | |
+using MediaPlayer; | |
+using GameplayKit; | |
+using CoreGraphics; | |
+using CoreLocation; | |
+using AVFoundation; | |
+using FileProvider; | |
+using CoreAnimation; | |
+using CoreFoundation; | |
+using NetworkExtension; | |
+using MetalPerformanceShadersGraph; | |
+#nullable enable | |
+#if !NET | |
+using NativeHandle = System.IntPtr; | |
+#endif | |
+namespace Vision { | |
+ [Register("VNCalculateImageAestheticsScoresRequest", true)] | |
+ [Introduced (PlatformName.TvOS, 18,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.MacOSX, 15,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.iOS, 18,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.MacCatalyst, 18,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ public unsafe partial class VNCalculateImageAestheticsScoresRequest : VNImageBasedRequest { | |
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
+ const string selInitWithCompletionHandler_X = "initWithCompletionHandler:"; | |
+ static readonly IntPtr selInitWithCompletionHandler_XHandle = Selector.GetHandle ("initWithCompletionHandler:"); | |
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
+ const string selResultsX = "results"; | |
+ static readonly IntPtr selResultsXHandle = Selector.GetHandle ("results"); | |
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
+ static readonly IntPtr class_ptr = Class.GetHandle ("VNCalculateImageAestheticsScoresRequest"); | |
+ /// <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 IntPtr ClassHandle { get { return class_ptr; } } | |
+ /// <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 (System.Drawing.RectangleF 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 VNCalculateImageAestheticsScoresRequest (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 VNCalculateImageAestheticsScoresRequest (IntPtr handle) : base (handle) | |
+ { | |
+ } | |
+ | |
+ [Export ("initWithCompletionHandler:")] | |
+ [DesignatedInitializer] | |
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
+ public unsafe VNCalculateImageAestheticsScoresRequest ([BlockProxy (typeof (ObjCRuntime.Trampolines.NIDVNRequestCompletionHandler))]VNRequestCompletionHandler? completionHandler) | |
+ : base (NSObjectFlag.Empty) | |
+ { | |
+ using var block_completionHandler = Trampolines.SDVNRequestCompletionHandler.CreateNullableBlock (completionHandler); | |
+ BlockLiteral *block_ptr_completionHandler = null; | |
+ if (completionHandler is not null) | |
+ block_ptr_completionHandler = &block_completionHandler; | |
+ if (IsDirectBinding) { | |
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend_IntPtr (this.Handle, selInitWithCompletionHandler_XHandle, (IntPtr) block_ptr_completionHandler), "initWithCompletionHandler:"); | |
+ } else { | |
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_IntPtr (this.SuperHandle, selInitWithCompletionHandler_XHandle, (IntPtr) block_ptr_completionHandler), "initWithCompletionHandler:"); | |
+ } | |
+ } | |
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
+ public virtual VNImageAestheticsScoresObservation[]? Results { | |
+ [Export ("results", ArgumentSemantic.Copy)] | |
+ get { | |
+ VNImageAestheticsScoresObservation[]? ret; | |
+ if (IsDirectBinding) { | |
+ ret = CFArray.ArrayFromHandle<VNImageAestheticsScoresObservation>(global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, selResultsXHandle))!; | |
+ } else { | |
+ ret = CFArray.ArrayFromHandle<VNImageAestheticsScoresObservation>(global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, selResultsXHandle))!; | |
+ } | |
+ return ret!; | |
+ } | |
+ } | |
+ } /* class VNCalculateImageAestheticsScoresRequest */ | |
+} | |
diff --git a/new/mac/full/Vision/VNCalculateImageAestheticsScoresRequestRevision.g.cs b/new/mac/full/Vision/VNCalculateImageAestheticsScoresRequestRevision.g.cs | |
new file mode 100644 | |
index 0000000..8d98efc | |
--- /dev/null | |
+++ b/new/mac/full/Vision/VNCalculateImageAestheticsScoresRequestRevision.g.cs | |
@@ -0,0 +1,54 @@ | |
+// | |
+// 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.Diagnostics; | |
+using System.ComponentModel; | |
+using System.Threading.Tasks; | |
+using System.Runtime.InteropServices; | |
+using System.Diagnostics.CodeAnalysis; | |
+using QTKit; | |
+using Metal; | |
+using CoreML; | |
+using OpenGL; | |
+using AppKit; | |
+using Photos; | |
+using ModelIO; | |
+using Network; | |
+using SceneKit; | |
+using Contacts; | |
+using Security; | |
+using CloudKit; | |
+using AudioUnit; | |
+using CoreVideo; | |
+using CoreMedia; | |
+using CoreImage; | |
+using SpriteKit; | |
+using Foundation; | |
+using ObjCRuntime; | |
+using MediaPlayer; | |
+using GameplayKit; | |
+using CoreGraphics; | |
+using CoreLocation; | |
+using AVFoundation; | |
+using FileProvider; | |
+using CoreAnimation; | |
+using CoreFoundation; | |
+using NetworkExtension; | |
+using MetalPerformanceShadersGraph; | |
+#nullable enable | |
+#if !NET | |
+using NativeHandle = System.IntPtr; | |
+#endif | |
+namespace Vision { | |
+ [Introduced (PlatformName.TvOS, 18,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.MacOSX, 15,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.iOS, 18,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.MacCatalyst, 18,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Native] | |
+ public enum VNCalculateImageAestheticsScoresRequestRevision : ulong { | |
+ One = 1, | |
+ } | |
+} | |
diff --git a/old/mac/full/Vision/VNDetectBarcodesRequestRevision.g.cs b/new/mac/full/Vision/VNDetectBarcodesRequestRevision.g.cs | |
index 2fc42e4..c93ebf1 100644 | |
--- a/old/mac/full/Vision/VNDetectBarcodesRequestRevision.g.cs | |
+++ b/new/mac/full/Vision/VNDetectBarcodesRequestRevision.g.cs | |
@@ -49,10 +49,18 @@ namespace Vision { | |
[Native] | |
public enum VNDetectBarcodesRequestRevision : ulong { | |
Unspecified = 0, | |
+ [Deprecated (PlatformName.MacOSX, 14,0, message: "Use 'Three' instead.")] | |
+ [Deprecated (PlatformName.iOS, 17,0, message: "Use 'Three' instead.")] | |
+ [Deprecated (PlatformName.TvOS, 17,0, message: "Use 'Three' instead.")] | |
+ [Deprecated (PlatformName.MacCatalyst, 17,0, message: "Use 'Three' instead.")] | |
One = 1, | |
[Introduced (PlatformName.TvOS, 15,0, ObjCRuntime.PlatformArchitecture.All)] | |
[Introduced (PlatformName.MacOSX, 12,0, ObjCRuntime.PlatformArchitecture.All)] | |
[Introduced (PlatformName.iOS, 15,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Deprecated (PlatformName.MacOSX, 15,0, message: "Use 'Three' instead.")] | |
+ [Deprecated (PlatformName.iOS, 18,0, message: "Use 'Three' instead.")] | |
+ [Deprecated (PlatformName.TvOS, 18,0, message: "Use 'Three' instead.")] | |
+ [Deprecated (PlatformName.MacCatalyst, 18,0, message: "Use 'Three' instead.")] | |
Two = 2, | |
[Introduced (PlatformName.TvOS, 16,0, ObjCRuntime.PlatformArchitecture.All)] | |
[Introduced (PlatformName.MacOSX, 13,0, ObjCRuntime.PlatformArchitecture.All)] | |
diff --git a/old/mac/full/Vision/VNGeneratePersonSegmentationRequest.g.cs b/new/mac/full/Vision/VNGeneratePersonSegmentationRequest.g.cs | |
index d294640..e48cf5e 100644 | |
--- a/old/mac/full/Vision/VNGeneratePersonSegmentationRequest.g.cs | |
+++ b/new/mac/full/Vision/VNGeneratePersonSegmentationRequest.g.cs | |
@@ -74,6 +74,9 @@ namespace Vision { | |
const string selSetQualityLevel_X = "setQualityLevel:"; | |
static readonly IntPtr selSetQualityLevel_XHandle = Selector.GetHandle ("setQualityLevel:"); | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
+ const string selSupportedOutputPixelFormatsAndReturnError_X = "supportedOutputPixelFormatsAndReturnError:"; | |
+ static readonly IntPtr selSupportedOutputPixelFormatsAndReturnError_XHandle = Selector.GetHandle ("supportedOutputPixelFormatsAndReturnError:"); | |
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
static readonly IntPtr class_ptr = Class.GetHandle ("VNGeneratePersonSegmentationRequest"); | |
/// <summary>The Objective-C class handle for this class.</summary> | |
/// <value>The pointer to the Objective-C class.</value> | |
@@ -202,6 +205,35 @@ namespace Vision { | |
global::ObjCRuntime.Messaging.void_objc_msgSend (ret.Handle, Selector.GetHandle ("release")); | |
return ret!; | |
} | |
+ [Export ("supportedOutputPixelFormatsAndReturnError:")] | |
+ [Introduced (PlatformName.TvOS, 18,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.MacOSX, 15,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.iOS, 18,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.MacCatalyst, 18,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
+ [return: BindAs (typeof (global::CoreVideo.CVPixelFormatType[]), OriginalType = typeof (NSNumber[]))] | |
+ public unsafe virtual global::CoreVideo.CVPixelFormatType[]? GetSupportedOutputPixelFormats (out NSError error) | |
+ { | |
+ IntPtr errorValue = IntPtr.Zero; | |
+ global::CoreVideo.CVPixelFormatType[] ret; | |
+ if (IsDirectBinding) { | |
+ IntPtr retvalarrtmp; | |
+ ret = ((retvalarrtmp = global::ObjCRuntime.Messaging.IntPtr_objc_msgSend_ref_IntPtr (this.Handle, selSupportedOutputPixelFormatsAndReturnError_XHandle, &errorValue)) == IntPtr.Zero ? null! : (NSArray.ArrayFromHandleFunc <global::CoreVideo.CVPixelFormatType> (retvalarrtmp, ptr => { | |
+ using (var num = Runtime.GetNSObject<NSNumber> (ptr)!) { | |
+ return (global::CoreVideo.CVPixelFormatType) num.Int32Value; | |
+ } | |
+ }))); | |
+ } else { | |
+ IntPtr retvalarrtmp; | |
+ ret = ((retvalarrtmp = global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_ref_IntPtr (this.SuperHandle, selSupportedOutputPixelFormatsAndReturnError_XHandle, &errorValue)) == IntPtr.Zero ? null! : (NSArray.ArrayFromHandleFunc <global::CoreVideo.CVPixelFormatType> (retvalarrtmp, ptr => { | |
+ using (var num = Runtime.GetNSObject<NSNumber> (ptr)!) { | |
+ return (global::CoreVideo.CVPixelFormatType) num.Int32Value; | |
+ } | |
+ }))); | |
+ } | |
+ error = Runtime.GetNSObject<NSError> (errorValue)!; | |
+ return ret!; | |
+ } | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
public virtual uint OutputPixelFormat { | |
[Export ("outputPixelFormat")] | |
diff --git a/new/mac/full/Vision/VNImageAestheticsScoresObservation.g.cs b/new/mac/full/Vision/VNImageAestheticsScoresObservation.g.cs | |
new file mode 100644 | |
index 0000000..91b925d | |
--- /dev/null | |
+++ b/new/mac/full/Vision/VNImageAestheticsScoresObservation.g.cs | |
@@ -0,0 +1,178 @@ | |
+// | |
+// 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.Diagnostics; | |
+using System.ComponentModel; | |
+using System.Threading.Tasks; | |
+using System.Runtime.InteropServices; | |
+using System.Diagnostics.CodeAnalysis; | |
+using QTKit; | |
+using Metal; | |
+using CoreML; | |
+using OpenGL; | |
+using AppKit; | |
+using Photos; | |
+using ModelIO; | |
+using Network; | |
+using SceneKit; | |
+using Contacts; | |
+using Security; | |
+using CloudKit; | |
+using AudioUnit; | |
+using CoreVideo; | |
+using CoreMedia; | |
+using CoreImage; | |
+using SpriteKit; | |
+using Foundation; | |
+using ObjCRuntime; | |
+using MediaPlayer; | |
+using GameplayKit; | |
+using CoreGraphics; | |
+using CoreLocation; | |
+using AVFoundation; | |
+using FileProvider; | |
+using CoreAnimation; | |
+using CoreFoundation; | |
+using NetworkExtension; | |
+using MetalPerformanceShadersGraph; | |
+#nullable enable | |
+#if !NET | |
+using NativeHandle = System.IntPtr; | |
+#endif | |
+namespace Vision { | |
+ [Register("VNImageAestheticsScoresObservation", true)] | |
+ [Introduced (PlatformName.TvOS, 18,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.MacOSX, 15,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.iOS, 18,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.MacCatalyst, 18,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ public unsafe partial class VNImageAestheticsScoresObservation : VNObservation { | |
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
+ const string selIsUtilityX = "isUtility"; | |
+ static readonly IntPtr selIsUtilityXHandle = Selector.GetHandle ("isUtility"); | |
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
+ const string selOverallScoreX = "overallScore"; | |
+ static readonly IntPtr selOverallScoreXHandle = Selector.GetHandle ("overallScore"); | |
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
+ static readonly IntPtr class_ptr = Class.GetHandle ("VNImageAestheticsScoresObservation"); | |
+ /// <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 IntPtr 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 VNImageAestheticsScoresObservation (NSCoder coder) : base (NSObjectFlag.Empty) | |
+ { | |
+ if (IsDirectBinding) { | |
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend_IntPtr (this.Handle, Selector.InitWithCoder, coder.Handle), "initWithCoder:"); | |
+ } else { | |
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_IntPtr (this.SuperHandle, Selector.InitWithCoder, coder.Handle), "initWithCoder:"); | |
+ } | |
+ } | |
+ | |
+ /// <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 (System.Drawing.RectangleF 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 VNImageAestheticsScoresObservation (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 VNImageAestheticsScoresObservation (IntPtr handle) : base (handle) | |
+ { | |
+ } | |
+ | |
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
+ public virtual bool IsUtility { | |
+ [Export ("isUtility")] | |
+ get { | |
+ byte ret; | |
+ if (IsDirectBinding) { | |
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend (this.Handle, selIsUtilityXHandle); | |
+ } else { | |
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSendSuper (this.SuperHandle, selIsUtilityXHandle); | |
+ } | |
+ return ret != 0; | |
+ } | |
+ } | |
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
+ public virtual float OverallScore { | |
+ [Export ("overallScore")] | |
+ get { | |
+ if (IsDirectBinding) { | |
+ return global::ObjCRuntime.Messaging.float_objc_msgSend (this.Handle, selOverallScoreXHandle); | |
+ } else { | |
+ return global::ObjCRuntime.Messaging.float_objc_msgSendSuper (this.SuperHandle, selOverallScoreXHandle); | |
+ } | |
+ } | |
+ } | |
+ } /* class VNImageAestheticsScoresObservation */ | |
+} | |
diff --git a/old/mac/full/Vision/VNRecognizeTextRequestRevision.g.cs b/new/mac/full/Vision/VNRecognizeTextRequestRevision.g.cs | |
index 14335a7..3ffb98d 100644 | |
--- a/old/mac/full/Vision/VNRecognizeTextRequestRevision.g.cs | |
+++ b/new/mac/full/Vision/VNRecognizeTextRequestRevision.g.cs | |
@@ -48,11 +48,20 @@ namespace Vision { | |
[Native] | |
public enum VNRecognizeTextRequestRevision : ulong { | |
Unspecified = 0, | |
+ [Deprecated (PlatformName.MacOSX, 15,0, message: "Use 'Two' or 'Three' instead.")] | |
+ [Deprecated (PlatformName.iOS, 18,0, message: "Use 'Two' or 'Three' instead.")] | |
+ [Deprecated (PlatformName.TvOS, 18,0, message: "Use 'Two' or 'Three' instead.")] | |
+ [Deprecated (PlatformName.MacCatalyst, 18,0, message: "Use 'Two' or 'Three' instead.")] | |
One = 1, | |
[Introduced (PlatformName.TvOS, 14,0, ObjCRuntime.PlatformArchitecture.All)] | |
[Introduced (PlatformName.MacOSX, 11,0, ObjCRuntime.PlatformArchitecture.All)] | |
[Introduced (PlatformName.iOS, 14,0, ObjCRuntime.PlatformArchitecture.All)] | |
[Introduced (PlatformName.MacCatalyst, 14,0, ObjCRuntime.PlatformArchitecture.All)] | |
Two = 2, | |
+ [Introduced (PlatformName.TvOS, 16,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.MacOSX, 13,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.iOS, 16,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.MacCatalyst, 16,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ Three = 3, | |
} | |
} | |
diff --git a/new/mac/mobile/Vision/VNCalculateImageAestheticsScoresRequest.g.cs b/new/mac/mobile/Vision/VNCalculateImageAestheticsScoresRequest.g.cs | |
new file mode 100644 | |
index 0000000..f9f5f87 | |
--- /dev/null | |
+++ b/new/mac/mobile/Vision/VNCalculateImageAestheticsScoresRequest.g.cs | |
@@ -0,0 +1,163 @@ | |
+// | |
+// 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.Diagnostics; | |
+using System.ComponentModel; | |
+using System.Threading.Tasks; | |
+using System.Runtime.InteropServices; | |
+using System.Diagnostics.CodeAnalysis; | |
+using QTKit; | |
+using Metal; | |
+using CoreML; | |
+using OpenGL; | |
+using AppKit; | |
+using Photos; | |
+using ModelIO; | |
+using Network; | |
+using SceneKit; | |
+using Contacts; | |
+using Security; | |
+using CloudKit; | |
+using AudioUnit; | |
+using CoreVideo; | |
+using CoreMedia; | |
+using CoreImage; | |
+using SpriteKit; | |
+using Foundation; | |
+using ObjCRuntime; | |
+using MediaPlayer; | |
+using GameplayKit; | |
+using CoreGraphics; | |
+using CoreLocation; | |
+using AVFoundation; | |
+using FileProvider; | |
+using CoreAnimation; | |
+using CoreFoundation; | |
+using NetworkExtension; | |
+using MetalPerformanceShadersGraph; | |
+#nullable enable | |
+#if !NET | |
+using NativeHandle = System.IntPtr; | |
+#endif | |
+namespace Vision { | |
+ [Register("VNCalculateImageAestheticsScoresRequest", true)] | |
+ [Introduced (PlatformName.TvOS, 18,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.MacOSX, 15,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.iOS, 18,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.MacCatalyst, 18,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ public unsafe partial class VNCalculateImageAestheticsScoresRequest : VNImageBasedRequest { | |
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
+ const string selInitWithCompletionHandler_X = "initWithCompletionHandler:"; | |
+ static readonly IntPtr selInitWithCompletionHandler_XHandle = Selector.GetHandle ("initWithCompletionHandler:"); | |
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
+ const string selResultsX = "results"; | |
+ static readonly IntPtr selResultsXHandle = Selector.GetHandle ("results"); | |
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
+ static readonly IntPtr class_ptr = Class.GetHandle ("VNCalculateImageAestheticsScoresRequest"); | |
+ /// <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 IntPtr ClassHandle { get { return class_ptr; } } | |
+ /// <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 (System.Drawing.RectangleF 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 VNCalculateImageAestheticsScoresRequest (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 VNCalculateImageAestheticsScoresRequest (IntPtr handle) : base (handle) | |
+ { | |
+ } | |
+ | |
+ [Export ("initWithCompletionHandler:")] | |
+ [DesignatedInitializer] | |
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
+ public unsafe VNCalculateImageAestheticsScoresRequest ([BlockProxy (typeof (ObjCRuntime.Trampolines.NIDVNRequestCompletionHandler))]VNRequestCompletionHandler? completionHandler) | |
+ : base (NSObjectFlag.Empty) | |
+ { | |
+ using var block_completionHandler = Trampolines.SDVNRequestCompletionHandler.CreateNullableBlock (completionHandler); | |
+ BlockLiteral *block_ptr_completionHandler = null; | |
+ if (completionHandler is not null) | |
+ block_ptr_completionHandler = &block_completionHandler; | |
+ if (IsDirectBinding) { | |
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend_IntPtr (this.Handle, selInitWithCompletionHandler_XHandle, (IntPtr) block_ptr_completionHandler), "initWithCompletionHandler:"); | |
+ } else { | |
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_IntPtr (this.SuperHandle, selInitWithCompletionHandler_XHandle, (IntPtr) block_ptr_completionHandler), "initWithCompletionHandler:"); | |
+ } | |
+ } | |
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
+ public virtual VNImageAestheticsScoresObservation[]? Results { | |
+ [Export ("results", ArgumentSemantic.Copy)] | |
+ get { | |
+ VNImageAestheticsScoresObservation[]? ret; | |
+ if (IsDirectBinding) { | |
+ ret = CFArray.ArrayFromHandle<VNImageAestheticsScoresObservation>(global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, selResultsXHandle))!; | |
+ } else { | |
+ ret = CFArray.ArrayFromHandle<VNImageAestheticsScoresObservation>(global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, selResultsXHandle))!; | |
+ } | |
+ return ret!; | |
+ } | |
+ } | |
+ } /* class VNCalculateImageAestheticsScoresRequest */ | |
+} | |
diff --git a/new/mac/mobile/Vision/VNCalculateImageAestheticsScoresRequestRevision.g.cs b/new/mac/mobile/Vision/VNCalculateImageAestheticsScoresRequestRevision.g.cs | |
new file mode 100644 | |
index 0000000..8d98efc | |
--- /dev/null | |
+++ b/new/mac/mobile/Vision/VNCalculateImageAestheticsScoresRequestRevision.g.cs | |
@@ -0,0 +1,54 @@ | |
+// | |
+// 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.Diagnostics; | |
+using System.ComponentModel; | |
+using System.Threading.Tasks; | |
+using System.Runtime.InteropServices; | |
+using System.Diagnostics.CodeAnalysis; | |
+using QTKit; | |
+using Metal; | |
+using CoreML; | |
+using OpenGL; | |
+using AppKit; | |
+using Photos; | |
+using ModelIO; | |
+using Network; | |
+using SceneKit; | |
+using Contacts; | |
+using Security; | |
+using CloudKit; | |
+using AudioUnit; | |
+using CoreVideo; | |
+using CoreMedia; | |
+using CoreImage; | |
+using SpriteKit; | |
+using Foundation; | |
+using ObjCRuntime; | |
+using MediaPlayer; | |
+using GameplayKit; | |
+using CoreGraphics; | |
+using CoreLocation; | |
+using AVFoundation; | |
+using FileProvider; | |
+using CoreAnimation; | |
+using CoreFoundation; | |
+using NetworkExtension; | |
+using MetalPerformanceShadersGraph; | |
+#nullable enable | |
+#if !NET | |
+using NativeHandle = System.IntPtr; | |
+#endif | |
+namespace Vision { | |
+ [Introduced (PlatformName.TvOS, 18,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.MacOSX, 15,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.iOS, 18,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.MacCatalyst, 18,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Native] | |
+ public enum VNCalculateImageAestheticsScoresRequestRevision : ulong { | |
+ One = 1, | |
+ } | |
+} | |
diff --git a/old/mac/mobile/Vision/VNDetectBarcodesRequestRevision.g.cs b/new/mac/mobile/Vision/VNDetectBarcodesRequestRevision.g.cs | |
index 2fc42e4..c93ebf1 100644 | |
--- a/old/mac/mobile/Vision/VNDetectBarcodesRequestRevision.g.cs | |
+++ b/new/mac/mobile/Vision/VNDetectBarcodesRequestRevision.g.cs | |
@@ -49,10 +49,18 @@ namespace Vision { | |
[Native] | |
public enum VNDetectBarcodesRequestRevision : ulong { | |
Unspecified = 0, | |
+ [Deprecated (PlatformName.MacOSX, 14,0, message: "Use 'Three' instead.")] | |
+ [Deprecated (PlatformName.iOS, 17,0, message: "Use 'Three' instead.")] | |
+ [Deprecated (PlatformName.TvOS, 17,0, message: "Use 'Three' instead.")] | |
+ [Deprecated (PlatformName.MacCatalyst, 17,0, message: "Use 'Three' instead.")] | |
One = 1, | |
[Introduced (PlatformName.TvOS, 15,0, ObjCRuntime.PlatformArchitecture.All)] | |
[Introduced (PlatformName.MacOSX, 12,0, ObjCRuntime.PlatformArchitecture.All)] | |
[Introduced (PlatformName.iOS, 15,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Deprecated (PlatformName.MacOSX, 15,0, message: "Use 'Three' instead.")] | |
+ [Deprecated (PlatformName.iOS, 18,0, message: "Use 'Three' instead.")] | |
+ [Deprecated (PlatformName.TvOS, 18,0, message: "Use 'Three' instead.")] | |
+ [Deprecated (PlatformName.MacCatalyst, 18,0, message: "Use 'Three' instead.")] | |
Two = 2, | |
[Introduced (PlatformName.TvOS, 16,0, ObjCRuntime.PlatformArchitecture.All)] | |
[Introduced (PlatformName.MacOSX, 13,0, ObjCRuntime.PlatformArchitecture.All)] | |
diff --git a/old/mac/mobile/Vision/VNGeneratePersonSegmentationRequest.g.cs b/new/mac/mobile/Vision/VNGeneratePersonSegmentationRequest.g.cs | |
index d294640..e48cf5e 100644 | |
--- a/old/mac/mobile/Vision/VNGeneratePersonSegmentationRequest.g.cs | |
+++ b/new/mac/mobile/Vision/VNGeneratePersonSegmentationRequest.g.cs | |
@@ -74,6 +74,9 @@ namespace Vision { | |
const string selSetQualityLevel_X = "setQualityLevel:"; | |
static readonly IntPtr selSetQualityLevel_XHandle = Selector.GetHandle ("setQualityLevel:"); | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
+ const string selSupportedOutputPixelFormatsAndReturnError_X = "supportedOutputPixelFormatsAndReturnError:"; | |
+ static readonly IntPtr selSupportedOutputPixelFormatsAndReturnError_XHandle = Selector.GetHandle ("supportedOutputPixelFormatsAndReturnError:"); | |
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
static readonly IntPtr class_ptr = Class.GetHandle ("VNGeneratePersonSegmentationRequest"); | |
/// <summary>The Objective-C class handle for this class.</summary> | |
/// <value>The pointer to the Objective-C class.</value> | |
@@ -202,6 +205,35 @@ namespace Vision { | |
global::ObjCRuntime.Messaging.void_objc_msgSend (ret.Handle, Selector.GetHandle ("release")); | |
return ret!; | |
} | |
+ [Export ("supportedOutputPixelFormatsAndReturnError:")] | |
+ [Introduced (PlatformName.TvOS, 18,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.MacOSX, 15,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.iOS, 18,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.MacCatalyst, 18,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
+ [return: BindAs (typeof (global::CoreVideo.CVPixelFormatType[]), OriginalType = typeof (NSNumber[]))] | |
+ public unsafe virtual global::CoreVideo.CVPixelFormatType[]? GetSupportedOutputPixelFormats (out NSError error) | |
+ { | |
+ IntPtr errorValue = IntPtr.Zero; | |
+ global::CoreVideo.CVPixelFormatType[] ret; | |
+ if (IsDirectBinding) { | |
+ IntPtr retvalarrtmp; | |
+ ret = ((retvalarrtmp = global::ObjCRuntime.Messaging.IntPtr_objc_msgSend_ref_IntPtr (this.Handle, selSupportedOutputPixelFormatsAndReturnError_XHandle, &errorValue)) == IntPtr.Zero ? null! : (NSArray.ArrayFromHandleFunc <global::CoreVideo.CVPixelFormatType> (retvalarrtmp, ptr => { | |
+ using (var num = Runtime.GetNSObject<NSNumber> (ptr)!) { | |
+ return (global::CoreVideo.CVPixelFormatType) num.Int32Value; | |
+ } | |
+ }))); | |
+ } else { | |
+ IntPtr retvalarrtmp; | |
+ ret = ((retvalarrtmp = global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_ref_IntPtr (this.SuperHandle, selSupportedOutputPixelFormatsAndReturnError_XHandle, &errorValue)) == IntPtr.Zero ? null! : (NSArray.ArrayFromHandleFunc <global::CoreVideo.CVPixelFormatType> (retvalarrtmp, ptr => { | |
+ using (var num = Runtime.GetNSObject<NSNumber> (ptr)!) { | |
+ return (global::CoreVideo.CVPixelFormatType) num.Int32Value; | |
+ } | |
+ }))); | |
+ } | |
+ error = Runtime.GetNSObject<NSError> (errorValue)!; | |
+ return ret!; | |
+ } | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
public virtual uint OutputPixelFormat { | |
[Export ("outputPixelFormat")] | |
diff --git a/new/mac/mobile/Vision/VNImageAestheticsScoresObservation.g.cs b/new/mac/mobile/Vision/VNImageAestheticsScoresObservation.g.cs | |
new file mode 100644 | |
index 0000000..91b925d | |
--- /dev/null | |
+++ b/new/mac/mobile/Vision/VNImageAestheticsScoresObservation.g.cs | |
@@ -0,0 +1,178 @@ | |
+// | |
+// 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.Diagnostics; | |
+using System.ComponentModel; | |
+using System.Threading.Tasks; | |
+using System.Runtime.InteropServices; | |
+using System.Diagnostics.CodeAnalysis; | |
+using QTKit; | |
+using Metal; | |
+using CoreML; | |
+using OpenGL; | |
+using AppKit; | |
+using Photos; | |
+using ModelIO; | |
+using Network; | |
+using SceneKit; | |
+using Contacts; | |
+using Security; | |
+using CloudKit; | |
+using AudioUnit; | |
+using CoreVideo; | |
+using CoreMedia; | |
+using CoreImage; | |
+using SpriteKit; | |
+using Foundation; | |
+using ObjCRuntime; | |
+using MediaPlayer; | |
+using GameplayKit; | |
+using CoreGraphics; | |
+using CoreLocation; | |
+using AVFoundation; | |
+using FileProvider; | |
+using CoreAnimation; | |
+using CoreFoundation; | |
+using NetworkExtension; | |
+using MetalPerformanceShadersGraph; | |
+#nullable enable | |
+#if !NET | |
+using NativeHandle = System.IntPtr; | |
+#endif | |
+namespace Vision { | |
+ [Register("VNImageAestheticsScoresObservation", true)] | |
+ [Introduced (PlatformName.TvOS, 18,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.MacOSX, 15,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.iOS, 18,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.MacCatalyst, 18,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ public unsafe partial class VNImageAestheticsScoresObservation : VNObservation { | |
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
+ const string selIsUtilityX = "isUtility"; | |
+ static readonly IntPtr selIsUtilityXHandle = Selector.GetHandle ("isUtility"); | |
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
+ const string selOverallScoreX = "overallScore"; | |
+ static readonly IntPtr selOverallScoreXHandle = Selector.GetHandle ("overallScore"); | |
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
+ static readonly IntPtr class_ptr = Class.GetHandle ("VNImageAestheticsScoresObservation"); | |
+ /// <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 IntPtr 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 VNImageAestheticsScoresObservation (NSCoder coder) : base (NSObjectFlag.Empty) | |
+ { | |
+ if (IsDirectBinding) { | |
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend_IntPtr (this.Handle, Selector.InitWithCoder, coder.Handle), "initWithCoder:"); | |
+ } else { | |
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_IntPtr (this.SuperHandle, Selector.InitWithCoder, coder.Handle), "initWithCoder:"); | |
+ } | |
+ } | |
+ | |
+ /// <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 (System.Drawing.RectangleF 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 VNImageAestheticsScoresObservation (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 VNImageAestheticsScoresObservation (IntPtr handle) : base (handle) | |
+ { | |
+ } | |
+ | |
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
+ public virtual bool IsUtility { | |
+ [Export ("isUtility")] | |
+ get { | |
+ byte ret; | |
+ if (IsDirectBinding) { | |
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend (this.Handle, selIsUtilityXHandle); | |
+ } else { | |
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSendSuper (this.SuperHandle, selIsUtilityXHandle); | |
+ } | |
+ return ret != 0; | |
+ } | |
+ } | |
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
+ public virtual float OverallScore { | |
+ [Export ("overallScore")] | |
+ get { | |
+ if (IsDirectBinding) { | |
+ return global::ObjCRuntime.Messaging.float_objc_msgSend (this.Handle, selOverallScoreXHandle); | |
+ } else { | |
+ return global::ObjCRuntime.Messaging.float_objc_msgSendSuper (this.SuperHandle, selOverallScoreXHandle); | |
+ } | |
+ } | |
+ } | |
+ } /* class VNImageAestheticsScoresObservation */ | |
+} | |
diff --git a/old/mac/mobile/Vision/VNRecognizeTextRequestRevision.g.cs b/new/mac/mobile/Vision/VNRecognizeTextRequestRevision.g.cs | |
index 14335a7..3ffb98d 100644 | |
--- a/old/mac/mobile/Vision/VNRecognizeTextRequestRevision.g.cs | |
+++ b/new/mac/mobile/Vision/VNRecognizeTextRequestRevision.g.cs | |
@@ -48,11 +48,20 @@ namespace Vision { | |
[Native] | |
public enum VNRecognizeTextRequestRevision : ulong { | |
Unspecified = 0, | |
+ [Deprecated (PlatformName.MacOSX, 15,0, message: "Use 'Two' or 'Three' instead.")] | |
+ [Deprecated (PlatformName.iOS, 18,0, message: "Use 'Two' or 'Three' instead.")] | |
+ [Deprecated (PlatformName.TvOS, 18,0, message: "Use 'Two' or 'Three' instead.")] | |
+ [Deprecated (PlatformName.MacCatalyst, 18,0, message: "Use 'Two' or 'Three' instead.")] | |
One = 1, | |
[Introduced (PlatformName.TvOS, 14,0, ObjCRuntime.PlatformArchitecture.All)] | |
[Introduced (PlatformName.MacOSX, 11,0, ObjCRuntime.PlatformArchitecture.All)] | |
[Introduced (PlatformName.iOS, 14,0, ObjCRuntime.PlatformArchitecture.All)] | |
[Introduced (PlatformName.MacCatalyst, 14,0, ObjCRuntime.PlatformArchitecture.All)] | |
Two = 2, | |
+ [Introduced (PlatformName.TvOS, 16,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.MacOSX, 13,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.iOS, 16,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.MacCatalyst, 16,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ Three = 3, | |
} | |
} | |
diff --git a/new/tvos/tvos/Vision/VNCalculateImageAestheticsScoresRequest.g.cs b/new/tvos/tvos/Vision/VNCalculateImageAestheticsScoresRequest.g.cs | |
new file mode 100644 | |
index 0000000..b5b1034 | |
--- /dev/null | |
+++ b/new/tvos/tvos/Vision/VNCalculateImageAestheticsScoresRequest.g.cs | |
@@ -0,0 +1,154 @@ | |
+// | |
+// 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.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 Vision { | |
+ [Register("VNCalculateImageAestheticsScoresRequest", true)] | |
+ [Introduced (PlatformName.TvOS, 18,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.MacOSX, 15,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.iOS, 18,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.MacCatalyst, 18,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ public unsafe partial class VNCalculateImageAestheticsScoresRequest : VNImageBasedRequest { | |
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
+ static readonly IntPtr class_ptr = Class.GetHandle ("VNCalculateImageAestheticsScoresRequest"); | |
+ /// <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 IntPtr ClassHandle { get { return class_ptr; } } | |
+ /// <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 (System.Drawing.RectangleF 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 VNCalculateImageAestheticsScoresRequest (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 VNCalculateImageAestheticsScoresRequest (IntPtr handle) : base (handle) | |
+ { | |
+ } | |
+ | |
+ [Export ("initWithCompletionHandler:")] | |
+ [DesignatedInitializer] | |
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
+ public unsafe VNCalculateImageAestheticsScoresRequest ([BlockProxy (typeof (ObjCRuntime.Trampolines.NIDVNRequestCompletionHandler))]VNRequestCompletionHandler? completionHandler) | |
+ : base (NSObjectFlag.Empty) | |
+ { | |
+ using var block_completionHandler = Trampolines.SDVNRequestCompletionHandler.CreateNullableBlock (completionHandler); | |
+ BlockLiteral *block_ptr_completionHandler = null; | |
+ if (completionHandler is not null) | |
+ block_ptr_completionHandler = &block_completionHandler; | |
+ if (IsDirectBinding) { | |
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("initWithCompletionHandler:"), (IntPtr) block_ptr_completionHandler), "initWithCompletionHandler:"); | |
+ } else { | |
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_IntPtr (this.SuperHandle, Selector.GetHandle ("initWithCompletionHandler:"), (IntPtr) block_ptr_completionHandler), "initWithCompletionHandler:"); | |
+ } | |
+ } | |
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
+ public virtual VNImageAestheticsScoresObservation[]? Results { | |
+ [Export ("results", ArgumentSemantic.Copy)] | |
+ get { | |
+ VNImageAestheticsScoresObservation[]? ret; | |
+ if (IsDirectBinding) { | |
+ ret = CFArray.ArrayFromHandle<VNImageAestheticsScoresObservation>(global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("results")))!; | |
+ } else { | |
+ ret = CFArray.ArrayFromHandle<VNImageAestheticsScoresObservation>(global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("results")))!; | |
+ } | |
+ return ret!; | |
+ } | |
+ } | |
+ } /* class VNCalculateImageAestheticsScoresRequest */ | |
+} | |
diff --git a/new/tvos/tvos/Vision/VNCalculateImageAestheticsScoresRequestRevision.g.cs b/new/tvos/tvos/Vision/VNCalculateImageAestheticsScoresRequestRevision.g.cs | |
new file mode 100644 | |
index 0000000..cb56e83 | |
--- /dev/null | |
+++ b/new/tvos/tvos/Vision/VNCalculateImageAestheticsScoresRequestRevision.g.cs | |
@@ -0,0 +1,51 @@ | |
+// | |
+// 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.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 Vision { | |
+ [Introduced (PlatformName.TvOS, 18,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.MacOSX, 15,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.iOS, 18,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.MacCatalyst, 18,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Native] | |
+ public enum VNCalculateImageAestheticsScoresRequestRevision : ulong { | |
+ One = 1, | |
+ } | |
+} | |
diff --git a/old/tvos/tvos/Vision/VNDetectBarcodesRequestRevision.g.cs b/new/tvos/tvos/Vision/VNDetectBarcodesRequestRevision.g.cs | |
index 39b8a99..63b9492 100644 | |
--- a/old/tvos/tvos/Vision/VNDetectBarcodesRequestRevision.g.cs | |
+++ b/new/tvos/tvos/Vision/VNDetectBarcodesRequestRevision.g.cs | |
@@ -46,10 +46,18 @@ namespace Vision { | |
[Native] | |
public enum VNDetectBarcodesRequestRevision : ulong { | |
Unspecified = 0, | |
+ [Deprecated (PlatformName.MacOSX, 14,0, message: "Use 'Three' instead.")] | |
+ [Deprecated (PlatformName.iOS, 17,0, message: "Use 'Three' instead.")] | |
+ [Deprecated (PlatformName.TvOS, 17,0, message: "Use 'Three' instead.")] | |
+ [Deprecated (PlatformName.MacCatalyst, 17,0, message: "Use 'Three' instead.")] | |
One = 1, | |
[Introduced (PlatformName.TvOS, 15,0, ObjCRuntime.PlatformArchitecture.All)] | |
[Introduced (PlatformName.MacOSX, 12,0, ObjCRuntime.PlatformArchitecture.All)] | |
[Introduced (PlatformName.iOS, 15,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Deprecated (PlatformName.MacOSX, 15,0, message: "Use 'Three' instead.")] | |
+ [Deprecated (PlatformName.iOS, 18,0, message: "Use 'Three' instead.")] | |
+ [Deprecated (PlatformName.TvOS, 18,0, message: "Use 'Three' instead.")] | |
+ [Deprecated (PlatformName.MacCatalyst, 18,0, message: "Use 'Three' instead.")] | |
Two = 2, | |
[Introduced (PlatformName.TvOS, 16,0, ObjCRuntime.PlatformArchitecture.All)] | |
[Introduced (PlatformName.MacOSX, 13,0, ObjCRuntime.PlatformArchitecture.All)] | |
diff --git a/old/tvos/tvos/Vision/VNGeneratePersonSegmentationRequest.g.cs b/new/tvos/tvos/Vision/VNGeneratePersonSegmentationRequest.g.cs | |
index 508809d..69c4898 100644 | |
--- a/old/tvos/tvos/Vision/VNGeneratePersonSegmentationRequest.g.cs | |
+++ b/new/tvos/tvos/Vision/VNGeneratePersonSegmentationRequest.g.cs | |
@@ -175,6 +175,35 @@ namespace Vision { | |
global::ObjCRuntime.Messaging.void_objc_msgSend (ret.Handle, Selector.GetHandle ("release")); | |
return ret!; | |
} | |
+ [Export ("supportedOutputPixelFormatsAndReturnError:")] | |
+ [Introduced (PlatformName.TvOS, 18,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.MacOSX, 15,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.iOS, 18,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.MacCatalyst, 18,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
+ [return: BindAs (typeof (global::CoreVideo.CVPixelFormatType[]), OriginalType = typeof (NSNumber[]))] | |
+ public unsafe virtual global::CoreVideo.CVPixelFormatType[]? GetSupportedOutputPixelFormats (out NSError error) | |
+ { | |
+ IntPtr errorValue = IntPtr.Zero; | |
+ global::CoreVideo.CVPixelFormatType[] ret; | |
+ if (IsDirectBinding) { | |
+ IntPtr retvalarrtmp; | |
+ ret = ((retvalarrtmp = global::ObjCRuntime.Messaging.IntPtr_objc_msgSend_ref_IntPtr (this.Handle, Selector.GetHandle ("supportedOutputPixelFormatsAndReturnError:"), &errorValue)) == IntPtr.Zero ? null! : (NSArray.ArrayFromHandleFunc <global::CoreVideo.CVPixelFormatType> (retvalarrtmp, ptr => { | |
+ using (var num = Runtime.GetNSObject<NSNumber> (ptr)!) { | |
+ return (global::CoreVideo.CVPixelFormatType) num.Int32Value; | |
+ } | |
+ }))); | |
+ } else { | |
+ IntPtr retvalarrtmp; | |
+ ret = ((retvalarrtmp = global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_ref_IntPtr (this.SuperHandle, Selector.GetHandle ("supportedOutputPixelFormatsAndReturnError:"), &errorValue)) == IntPtr.Zero ? null! : (NSArray.ArrayFromHandleFunc <global::CoreVideo.CVPixelFormatType> (retvalarrtmp, ptr => { | |
+ using (var num = Runtime.GetNSObject<NSNumber> (ptr)!) { | |
+ return (global::CoreVideo.CVPixelFormatType) num.Int32Value; | |
+ } | |
+ }))); | |
+ } | |
+ error = Runtime.GetNSObject<NSError> (errorValue)!; | |
+ return ret!; | |
+ } | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
public virtual uint OutputPixelFormat { | |
[Export ("outputPixelFormat")] | |
diff --git a/new/tvos/tvos/Vision/VNImageAestheticsScoresObservation.g.cs b/new/tvos/tvos/Vision/VNImageAestheticsScoresObservation.g.cs | |
new file mode 100644 | |
index 0000000..b52d15a | |
--- /dev/null | |
+++ b/new/tvos/tvos/Vision/VNImageAestheticsScoresObservation.g.cs | |
@@ -0,0 +1,169 @@ | |
+// | |
+// 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.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 Vision { | |
+ [Register("VNImageAestheticsScoresObservation", true)] | |
+ [Introduced (PlatformName.TvOS, 18,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.MacOSX, 15,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.iOS, 18,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.MacCatalyst, 18,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ public unsafe partial class VNImageAestheticsScoresObservation : VNObservation { | |
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
+ static readonly IntPtr class_ptr = Class.GetHandle ("VNImageAestheticsScoresObservation"); | |
+ /// <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 IntPtr 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 VNImageAestheticsScoresObservation (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:"); | |
+ } | |
+ } | |
+ | |
+ /// <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 (System.Drawing.RectangleF 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 VNImageAestheticsScoresObservation (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 VNImageAestheticsScoresObservation (IntPtr handle) : base (handle) | |
+ { | |
+ } | |
+ | |
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
+ public virtual bool IsUtility { | |
+ [Export ("isUtility")] | |
+ get { | |
+ byte ret; | |
+ if (IsDirectBinding) { | |
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend (this.Handle, Selector.GetHandle ("isUtility")); | |
+ } else { | |
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("isUtility")); | |
+ } | |
+ return ret != 0; | |
+ } | |
+ } | |
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
+ public virtual float OverallScore { | |
+ [Export ("overallScore")] | |
+ get { | |
+ if (IsDirectBinding) { | |
+ return global::ObjCRuntime.Messaging.float_objc_msgSend (this.Handle, Selector.GetHandle ("overallScore")); | |
+ } else { | |
+ return global::ObjCRuntime.Messaging.float_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("overallScore")); | |
+ } | |
+ } | |
+ } | |
+ } /* class VNImageAestheticsScoresObservation */ | |
+} | |
diff --git a/old/tvos/tvos/Vision/VNRecognizeTextRequestRevision.g.cs b/new/tvos/tvos/Vision/VNRecognizeTextRequestRevision.g.cs | |
index 59d25a3..067ffdf 100644 | |
--- a/old/tvos/tvos/Vision/VNRecognizeTextRequestRevision.g.cs | |
+++ b/new/tvos/tvos/Vision/VNRecognizeTextRequestRevision.g.cs | |
@@ -45,11 +45,20 @@ namespace Vision { | |
[Native] | |
public enum VNRecognizeTextRequestRevision : ulong { | |
Unspecified = 0, | |
+ [Deprecated (PlatformName.MacOSX, 15,0, message: "Use 'Two' or 'Three' instead.")] | |
+ [Deprecated (PlatformName.iOS, 18,0, message: "Use 'Two' or 'Three' instead.")] | |
+ [Deprecated (PlatformName.TvOS, 18,0, message: "Use 'Two' or 'Three' instead.")] | |
+ [Deprecated (PlatformName.MacCatalyst, 18,0, message: "Use 'Two' or 'Three' instead.")] | |
One = 1, | |
[Introduced (PlatformName.TvOS, 14,0, ObjCRuntime.PlatformArchitecture.All)] | |
[Introduced (PlatformName.MacOSX, 11,0, ObjCRuntime.PlatformArchitecture.All)] | |
[Introduced (PlatformName.iOS, 14,0, ObjCRuntime.PlatformArchitecture.All)] | |
[Introduced (PlatformName.MacCatalyst, 14,0, ObjCRuntime.PlatformArchitecture.All)] | |
Two = 2, | |
+ [Introduced (PlatformName.TvOS, 16,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.MacOSX, 13,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.iOS, 16,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.MacCatalyst, 16,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ Three = 3, | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment