Skip to content

Instantly share code, notes, and snippets.

@vs-mobiletools-engineering-service2
Created June 4, 2024 15:26
Show Gist options
  • Save vs-mobiletools-engineering-service2/71619a284480bbd7b134e6643e7acb49 to your computer and use it in GitHub Desktop.
Save vs-mobiletools-engineering-service2/71619a284480bbd7b134e6643e7acb49 to your computer and use it in GitHub Desktop.
generator-diff/generator.diff
This file has been truncated, but you can view the full file.
diff --git a/old/IDE/obj/common/bgen.Resources.resources b/new/IDE/obj/common/bgen.Resources.resources
index ee6f58d..3e9f1ee 100644
Binary files a/old/IDE/obj/common/bgen.Resources.resources and b/new/IDE/obj/common/bgen.Resources.resources differ
diff --git a/old/dotnet/IDE/obj/common/bgen/bgen.AssemblyInfo.cs b/new/dotnet/IDE/obj/common/bgen/bgen.AssemblyInfo.cs
index 1f904c0..773b1a0 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+aa25b1e191662a4da1db649c39e26a92ef11b5bd")]
+[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+4e8df9caec6ed74687af348eda8f4f2af321bbb4")]
[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.Resources.resources b/new/dotnet/IDE/obj/common/bgen/bgen.Resources.resources
index ee6f58d..3e9f1ee 100644
Binary files a/old/dotnet/IDE/obj/common/bgen/bgen.Resources.resources and b/new/dotnet/IDE/obj/common/bgen/bgen.Resources.resources differ
diff --git a/old/dotnet/IDE/obj/common/bgen/bgen.sourcelink.json b/new/dotnet/IDE/obj/common/bgen/bgen.sourcelink.json
index bbb0c2d..dcd9074 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/aa25b1e191662a4da1db649c39e26a92ef11b5bd/*","/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/4cb9dc263251f8c8eac41b95a857f37025974599/*"}}
\ No newline at end of file
+{"documents":{"/Users/builder/azdo/_work/4/s/xamarin-macios/*":"https://raw.githubusercontent.com/xamarin/xamarin-macios/4e8df9caec6ed74687af348eda8f4f2af321bbb4/*","/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/4cb9dc263251f8c8eac41b95a857f37025974599/*"}}
\ No newline at end of file
diff --git a/old/dotnet/ios/SourceLink.json b/new/dotnet/ios/SourceLink.json
index 011c124..67be649 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/aa25b1e191662a4da1db649c39e26a92ef11b5bd/src*"
+ "/Users/builder/azdo/_work/4/s/xamarin-macios/src*": "https://raw.githubusercontent.com/xamarin/xamarin-macios/4e8df9caec6ed74687af348eda8f4f2af321bbb4/src*"
}
}
diff --git a/old/dotnet/ios/doc/Microsoft.iOS.xml b/new/dotnet/ios/doc/Microsoft.iOS.xml
index fe236cd..776d202 100644
--- a/old/dotnet/ios/doc/Microsoft.iOS.xml
+++ b/new/dotnet/ios/doc/Microsoft.iOS.xml
@@ -37852,151 +37852,7 @@
<param name="action">The selector to call on the current object.</param>
<returns>A token that can be used to unregister the callback by calling <see cref="M:UnregisterForTraitChanges" />.</returns>
</member>
- <member name="M:UIKit.IUITraitChangeObservable.RegisterForTraitChanges(ObjCRuntime.Class[],System.Action{UIKit.IUITraitEnvironment,UIKit.UITraitCollection})">
- <summary>
- Registers a selector that will be called on the specified object when any of the specified traits changes.
- </summary>
- <param name="traits">The traits to observe.</param>
- <param name="handler">The callback to execute when any of the specified traits changes.</param>
- <returns>A token that can be used to unregister the callback by calling <see cref="M:UnregisterForTraitChanges" />.</returns>
- </member>
- <member name="M:UIKit.IUITraitChangeObservable.RegisterForTraitChanges(ObjCRuntime.Class[],Foundation.NSObject,ObjCRuntime.Selector)">
- <summary>
- Registers a selector that will be called on the specified object when any of the specified traits changes.
- </summary>
- <param name="traits">The traits to observe.</param>
- <param name="target">The object whose specified selector will be called.</param>
- <param name="action">The selector to call on the specified object.</param>
- <returns>A token that can be used to unregister the callback by calling <see cref="M:UnregisterForTraitChanges" />.</returns>
- </member>
- <member name="M:UIKit.IUITraitChangeObservable.RegisterForTraitChanges(ObjCRuntime.Class[],ObjCRuntime.Selector)">
- <summary>
- Registers a selector that will be called on the specified object when any of the specified traits changes.
- </summary>
- <param name="traits">The traits to observe.</param>
- <param name="action">The selector to call on the current object.</param>
- <returns>A token that can be used to unregister the callback by calling <see cref="M:UnregisterForTraitChanges" />.</returns>
- </member>
- <member name="P:UIKit.UITraitCollection.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:UIKit.UITraitCollection.#ctor">
- <summary>Creates a new <see cref="T:UIKit.UITraitCollection" /> with default values.</summary>
- <appledoc>https://developer.apple.com/documentation/uikit/uitraitcollection/1623517-init</appledoc>
- </member>
- <member name="M:UIKit.UITraitCollection.#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>
- <appledoc>https://developer.apple.com/documentation/uikit/uitraitcollection/1623504-initwithcoder</appledoc>
- </member>
- <member name="M:UIKit.UITraitCollection.#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:UIKit.UITraitCollection.#ctor(ObjCRuntime.NativeHandle)">
- <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
- <param name="handle">Pointer (handle) to the unmanaged object.</param>
- <remarks>
- <para>
- This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
- Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
- </para>
- </remarks>
- </member>
- <member name="M:UIKit.IUITraitOverrides.ContainsTrait``1">
- <summary>
- Check whether the specified trait is overridden.
- </summary>
- <typeparam name="T">The trait to check for.</typeparam>
- <returns>True if the specified trait is overridden.</returns>
- </member>
- <member name="M:UIKit.IUITraitOverrides.RemoveTrait``1">
- <summary>
- Removes the specified trait override.
- </summary>
- <typeparam name="T">The trait to remove.</typeparam>
- </member>
- <member name="M:UIKit.IUITraitOverrides.ContainsTrait(System.Type)">
- <summary>
- Check whether the specified trait is overridden.
- </summary>
- <param name="trait">The trait to check for.</param>
- <returns>True if the specified trait is overridden.</returns>
- </member>
- <member name="M:UIKit.IUITraitOverrides.RemoveTrait(System.Type)">
- <summary>
- Removes the specified trait override.
- </summary>
- <param name="trait">The trait to remove.</param>
- </member>
- <member name="M:UIKit.IUITraitOverrides.ContainsTrait(ObjCRuntime.Class)">
- <summary>
- Check whether the specified trait is overridden.
- </summary>
- <param name="trait">The trait to check for.</param>
- <returns>True if the specified trait is overridden.</returns>
- </member>
- <member name="M:UIKit.IUITraitOverrides.RemoveTrait(ObjCRuntime.Class)">
- <summary>
- Removes the specified trait override.
- </summary>
- <param name="trait">The trait to remove.</param>
- </member>
- <member name="P:UIKit.UIVibrancyEffect.ClassHandle">
+ <member name="P:UIKit.UIPresentationController.ClassHandle">
<summary>The Objective-C class handle for this class.</summary>
<value>The pointer to the Objective-C class.</value>
<remarks>
@@ -38005,19 +37861,7 @@
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:UIKit.UIVibrancyEffect.#ctor">
- <summary>Creates a new <see cref="T:UIKit.UIVibrancyEffect" /> with default values.</summary>
- </member>
- <member name="M:UIKit.UIVibrancyEffect.#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:UIKit.UIVibrancyEffect.#ctor(Foundation.NSObjectFlag)">
+ <member name="M:UIKit.UIPresentationController.#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>
@@ -38064,7 +37908,7 @@
</example>
</remarks>
</member>
- <member name="M:UIKit.UIVibrancyEffect.#ctor(ObjCRuntime.NativeHandle)">
+ <member name="M:UIKit.UIPresentationController.#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>
@@ -39306,7 +39150,7 @@
</example>
</remarks>
</member>
- <member name="P:UIKit.UIViewController.ClassHandle">
+ <member name="P:UIKit.UIWindowScene.ClassHandle">
<summary>The Objective-C class handle for this class.</summary>
<value>The pointer to the Objective-C class.</value>
<remarks>
@@ -39315,20 +39159,7 @@
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:UIKit.UIViewController.#ctor">
- <summary>Creates a new <see cref="T:UIKit.UIViewController" /> with default values.</summary>
- </member>
- <member name="M:UIKit.UIViewController.#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>
- <appledoc>https://developer.apple.com/documentation/uikit/uiviewcontroller/1621403-initwithcoder</appledoc>
- </member>
- <member name="M:UIKit.UIViewController.#ctor(Foundation.NSObjectFlag)">
+ <member name="M:UIKit.UIWindowScene.#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>
@@ -39375,7 +39206,7 @@
</example>
</remarks>
</member>
- <member name="M:UIKit.UIViewController.#ctor(ObjCRuntime.NativeHandle)">
+ <member name="M:UIKit.UIWindowScene.#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>
@@ -39385,53 +39216,132 @@
</para>
</remarks>
</member>
- <member name="T:UIKit.UIViewController.Notifications">
- <summary>Notifications posted by the <see cref="T:UIKit.UIViewController" /> class.</summary>
+ <member name="T:UIKit.UITraitChangeObservable_Extensions">
+ <summary>Extension methods to the <see cref="T:UIKit.IUITraitChangeObservable" /> interface to support all the methods from the UITraitChangeObservable protocol.</summary>
<remarks>
- <para>This class contains various helper methods that allow developers to observe events posted in the notification hub (<see cref="T:Foundation.NSNotificationCenter" />).</para>
- <para>The methods defined in this class post events that invoke the provided method or lambda with a <see cref="T:Foundation.NSNotificationEventArgs" /> parameter, which contains strongly typed properties for the notification arguments.</para>
+ <para>The extension methods for <see cref="T:UIKit.IUITraitChangeObservable" /> interface allow developers to treat instances of the interface as having all the optional methods of the original UITraitChangeObservable protocol. Since the interface only contains the required members, these extension methods allow developers to call the optional members of the protocol.</para>
</remarks>
</member>
- <member name="M:UIKit.UIViewController.Notifications.ObserveShowDetailTargetDidChange(System.EventHandler{Foundation.NSNotificationEventArgs})">
- <summary>Strongly typed notification for the <see cref="P:UIKit.UIViewController.ShowDetailTargetDidChangeNotification" /> constant.</summary>
- <param name="handler">The handler that responds to the notification when it occurs.</param>
- <returns>Token object that can be used to stop receiving notifications by either disposing it or passing it to <see cref="M:Foundation.NSNotificationCenter.RemoveObservers(System.Collections.Generic.IEnumerable{Foundation.NSObject})" />.</returns>
+ <member name="P:UIKit.UITraitCollection.ClassHandle">
+ <summary>The Objective-C class handle for this class.</summary>
+ <value>The pointer to the Objective-C class.</value>
<remarks>
- <para>This method can be used to subscribe to <see cref="P:UIKit.UIViewController.ShowDetailTargetDidChangeNotification" /> notifications.</para>
- <example>
- <code lang="csharp lang-csharp"><![CDATA[
- // Listen to all notifications posted for any object
- var token = UIViewController.Notifications.ObserveShowDetailTargetDidChange ((notification) => {
- Console.WriteLine ("Observed ShowDetailTargetDidChangeNotification!");
- };
-
- // Stop listening for notifications
- token.Dispose ();
- ]]></code>
- </example>
+ 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:UIKit.UITraitCollection.#ctor">
+ <summary>Creates a new <see cref="T:UIKit.UITraitCollection" /> with default values.</summary>
+ <appledoc>https://developer.apple.com/documentation/uikit/uitraitcollection/1623517-init</appledoc>
+ </member>
+ <member name="M:UIKit.UITraitCollection.#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>
+ <appledoc>https://developer.apple.com/documentation/uikit/uitraitcollection/1623504-initwithcoder</appledoc>
</member>
- <member name="M:UIKit.UIViewController.Notifications.ObserveShowDetailTargetDidChange(Foundation.NSObject,System.EventHandler{Foundation.NSNotificationEventArgs})">
- <summary>Strongly typed notification for the <see cref="P:UIKit.UIViewController.ShowDetailTargetDidChangeNotification" /> constant.</summary>
- <param name="objectToObserve">The specific object to observe.</param>
- <param name="handler">The handler that responds to the notification when it occurs.</param>
- <returns>Token object that can be used to stop receiving notifications by either disposing it or passing it to <see cref="M:Foundation.NSNotificationCenter.RemoveObservers(System.Collections.Generic.IEnumerable{Foundation.NSObject})" />.</returns>
+ <member name="M:UIKit.UITraitCollection.#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 method can be used to subscribe to <see cref="P:UIKit.UIViewController.ShowDetailTargetDidChangeNotification" /> notifications.</para>
+ <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[
- // Listen to all notifications posted for a single object
- var token = UIViewController.Notifications.ObserveShowDetailTargetDidChange (objectToObserve, (notification) => {
- Console.WriteLine ($"Observed ShowDetailTargetDidChangeNotification for {nameof (objectToObserve)}!");
- };
-
- // Stop listening for notifications
- token.Dispose ();
+ //
+ // 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="P:UIKit.UIWindow.ClassHandle">
+ <member name="M:UIKit.UITraitCollection.#ctor(ObjCRuntime.NativeHandle)">
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary>
+ <param name="handle">Pointer (handle) to the unmanaged object.</param>
+ <remarks>
+ <para>
+ This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object.
+ Developers should not invoke this method directly, instead they should call <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object.
+ </para>
+ </remarks>
+ </member>
+ <member name="M:UIKit.IUITraitOverrides.ContainsTrait``1">
+ <summary>
+ Check whether the specified trait is overridden.
+ </summary>
+ <typeparam name="T">The trait to check for.</typeparam>
+ <returns>True if the specified trait is overridden.</returns>
+ </member>
+ <member name="M:UIKit.IUITraitOverrides.RemoveTrait``1">
+ <summary>
+ Removes the specified trait override.
+ </summary>
+ <typeparam name="T">The trait to remove.</typeparam>
+ </member>
+ <member name="M:UIKit.IUITraitOverrides.ContainsTrait(System.Type)">
+ <summary>
+ Check whether the specified trait is overridden.
+ </summary>
+ <param name="trait">The trait to check for.</param>
+ <returns>True if the specified trait is overridden.</returns>
+ </member>
+ <member name="M:UIKit.IUITraitOverrides.RemoveTrait(System.Type)">
+ <summary>
+ Removes the specified trait override.
+ </summary>
+ <param name="trait">The trait to remove.</param>
+ </member>
+ <member name="M:UIKit.IUITraitOverrides.ContainsTrait(ObjCRuntime.Class)">
+ <summary>
+ Check whether the specified trait is overridden.
+ </summary>
+ <param name="trait">The trait to check for.</param>
+ <returns>True if the specified trait is overridden.</returns>
+ </member>
+ <member name="M:UIKit.IUITraitOverrides.RemoveTrait(ObjCRuntime.Class)">
+ <summary>
+ Removes the specified trait override.
+ </summary>
+ <param name="trait">The trait to remove.</param>
+ </member>
+ <member name="P:UIKit.UIVibrancyEffect.ClassHandle">
<summary>The Objective-C class handle for this class.</summary>
<value>The pointer to the Objective-C class.</value>
<remarks>
@@ -39440,10 +39350,10 @@
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:UIKit.UIWindow.#ctor">
- <summary>Creates a new <see cref="T:UIKit.UIWindow" /> with default values.</summary>
+ <member name="M:UIKit.UIVibrancyEffect.#ctor">
+ <summary>Creates a new <see cref="T:UIKit.UIVibrancyEffect" /> with default values.</summary>
</member>
- <member name="M:UIKit.UIWindow.#ctor(Foundation.NSCoder)">
+ <member name="M:UIKit.UIVibrancyEffect.#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>
@@ -39452,7 +39362,210 @@
<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:UIKit.UIWindow.#ctor(Foundation.NSObjectFlag)">
+ <member name="M:UIKit.UIVibrancyEffect.#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:UIKit.UIVibrancyEffect.#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="P:UIKit.UIViewController.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:UIKit.UIViewController.#ctor">
+ <summary>Creates a new <see cref="T:UIKit.UIViewController" /> with default values.</summary>
+ </member>
+ <member name="M:UIKit.UIViewController.#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>
+ <appledoc>https://developer.apple.com/documentation/uikit/uiviewcontroller/1621403-initwithcoder</appledoc>
+ </member>
+ <member name="M:UIKit.UIViewController.#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:UIKit.UIViewController.#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:UIKit.UIViewController.Notifications">
+ <summary>Notifications posted by the <see cref="T:UIKit.UIViewController" /> class.</summary>
+ <remarks>
+ <para>This class contains various helper methods that allow developers to observe events posted in the notification hub (<see cref="T:Foundation.NSNotificationCenter" />).</para>
+ <para>The methods defined in this class post events that invoke the provided method or lambda with a <see cref="T:Foundation.NSNotificationEventArgs" /> parameter, which contains strongly typed properties for the notification arguments.</para>
+ </remarks>
+ </member>
+ <member name="M:UIKit.UIViewController.Notifications.ObserveShowDetailTargetDidChange(System.EventHandler{Foundation.NSNotificationEventArgs})">
+ <summary>Strongly typed notification for the <see cref="P:UIKit.UIViewController.ShowDetailTargetDidChangeNotification" /> constant.</summary>
+ <param name="handler">The handler that responds to the notification when it occurs.</param>
+ <returns>Token object that can be used to stop receiving notifications by either disposing it or passing it to <see cref="M:Foundation.NSNotificationCenter.RemoveObservers(System.Collections.Generic.IEnumerable{Foundation.NSObject})" />.</returns>
+ <remarks>
+ <para>This method can be used to subscribe to <see cref="P:UIKit.UIViewController.ShowDetailTargetDidChangeNotification" /> notifications.</para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ // Listen to all notifications posted for any object
+ var token = UIViewController.Notifications.ObserveShowDetailTargetDidChange ((notification) => {
+ Console.WriteLine ("Observed ShowDetailTargetDidChangeNotification!");
+ };
+
+ // Stop listening for notifications
+ token.Dispose ();
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="M:UIKit.UIViewController.Notifications.ObserveShowDetailTargetDidChange(Foundation.NSObject,System.EventHandler{Foundation.NSNotificationEventArgs})">
+ <summary>Strongly typed notification for the <see cref="P:UIKit.UIViewController.ShowDetailTargetDidChangeNotification" /> constant.</summary>
+ <param name="objectToObserve">The specific object to observe.</param>
+ <param name="handler">The handler that responds to the notification when it occurs.</param>
+ <returns>Token object that can be used to stop receiving notifications by either disposing it or passing it to <see cref="M:Foundation.NSNotificationCenter.RemoveObservers(System.Collections.Generic.IEnumerable{Foundation.NSObject})" />.</returns>
+ <remarks>
+ <para>This method can be used to subscribe to <see cref="P:UIKit.UIViewController.ShowDetailTargetDidChangeNotification" /> notifications.</para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ // Listen to all notifications posted for a single object
+ var token = UIViewController.Notifications.ObserveShowDetailTargetDidChange (objectToObserve, (notification) => {
+ Console.WriteLine ($"Observed ShowDetailTargetDidChangeNotification for {nameof (objectToObserve)}!");
+ };
+
+ // Stop listening for notifications
+ token.Dispose ();
+ ]]></code>
+ </example>
+ </remarks>
+ </member>
+ <member name="P:UIKit.UIWindow.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:UIKit.UIWindow.#ctor">
+ <summary>Creates a new <see cref="T:UIKit.UIWindow" /> with default values.</summary>
+ </member>
+ <member name="M:UIKit.UIWindow.#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:UIKit.UIWindow.#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>
@@ -64264,7 +64377,7 @@
<para>The extension methods for <see cref="T:UIKit.IUIPopoverPresentationControllerSourceItem" /> interface allow developers to treat instances of the interface as having all the optional methods of the original UIPopoverPresentationControllerSourceItem protocol. Since the interface only contains the required members, these extension methods allow developers to call the optional members of the protocol.</para>
</remarks>
</member>
- <member name="P:UIKit.UIPresentationController.ClassHandle">
+ <member name="P:UIKit.UIPress.ClassHandle">
<summary>The Objective-C class handle for this class.</summary>
<value>The pointer to the Objective-C class.</value>
<remarks>
@@ -64273,7 +64386,10 @@
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:UIKit.UIPresentationController.#ctor(Foundation.NSObjectFlag)">
+ <member name="M:UIKit.UIPress.#ctor">
+ <summary>Creates a new <see cref="T:UIKit.UIPress" /> with default values.</summary>
+ </member>
+ <member name="M:UIKit.UIPress.#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>
@@ -64320,7 +64436,7 @@
</example>
</remarks>
</member>
- <member name="M:UIKit.UIPresentationController.#ctor(ObjCRuntime.NativeHandle)">
+ <member name="M:UIKit.UIPress.#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>
@@ -64330,7 +64446,7 @@
</para>
</remarks>
</member>
- <member name="P:UIKit.UIPress.ClassHandle">
+ <member name="P:UIKit.UIPressesEvent.ClassHandle">
<summary>The Objective-C class handle for this class.</summary>
<value>The pointer to the Objective-C class.</value>
<remarks>
@@ -64339,10 +64455,10 @@
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:UIKit.UIPress.#ctor">
- <summary>Creates a new <see cref="T:UIKit.UIPress" /> with default values.</summary>
+ <member name="M:UIKit.UIPressesEvent.#ctor">
+ <summary>Creates a new <see cref="T:UIKit.UIPressesEvent" /> with default values.</summary>
</member>
- <member name="M:UIKit.UIPress.#ctor(Foundation.NSObjectFlag)">
+ <member name="M:UIKit.UIPressesEvent.#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>
@@ -64389,7 +64505,7 @@
</example>
</remarks>
</member>
- <member name="M:UIKit.UIPress.#ctor(ObjCRuntime.NativeHandle)">
+ <member name="M:UIKit.UIPressesEvent.#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>
@@ -64399,7 +64515,7 @@
</para>
</remarks>
</member>
- <member name="P:UIKit.UIPressesEvent.ClassHandle">
+ <member name="P:UIKit.UIPreviewAction.ClassHandle">
<summary>The Objective-C class handle for this class.</summary>
<value>The pointer to the Objective-C class.</value>
<remarks>
@@ -64408,10 +64524,10 @@
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:UIKit.UIPressesEvent.#ctor">
- <summary>Creates a new <see cref="T:UIKit.UIPressesEvent" /> with default values.</summary>
+ <member name="M:UIKit.UIPreviewAction.#ctor">
+ <summary>Creates a new <see cref="T:UIKit.UIPreviewAction" /> with default values.</summary>
</member>
- <member name="M:UIKit.UIPressesEvent.#ctor(Foundation.NSObjectFlag)">
+ <member name="M:UIKit.UIPreviewAction.#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>
@@ -64458,7 +64574,7 @@
</example>
</remarks>
</member>
- <member name="M:UIKit.UIPressesEvent.#ctor(ObjCRuntime.NativeHandle)">
+ <member name="M:UIKit.UIPreviewAction.#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>
@@ -64468,7 +64584,7 @@
</para>
</remarks>
</member>
- <member name="P:UIKit.UIPreviewAction.ClassHandle">
+ <member name="P:UIKit.UIPreviewActionGroup.ClassHandle">
<summary>The Objective-C class handle for this class.</summary>
<value>The pointer to the Objective-C class.</value>
<remarks>
@@ -64477,10 +64593,10 @@
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:UIKit.UIPreviewAction.#ctor">
- <summary>Creates a new <see cref="T:UIKit.UIPreviewAction" /> with default values.</summary>
+ <member name="M:UIKit.UIPreviewActionGroup.#ctor">
+ <summary>Creates a new <see cref="T:UIKit.UIPreviewActionGroup" /> with default values.</summary>
</member>
- <member name="M:UIKit.UIPreviewAction.#ctor(Foundation.NSObjectFlag)">
+ <member name="M:UIKit.UIPreviewActionGroup.#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>
@@ -64527,7 +64643,7 @@
</example>
</remarks>
</member>
- <member name="M:UIKit.UIPreviewAction.#ctor(ObjCRuntime.NativeHandle)">
+ <member name="M:UIKit.UIPreviewActionGroup.#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>
@@ -64537,7 +64653,7 @@
</para>
</remarks>
</member>
- <member name="P:UIKit.UIPreviewActionGroup.ClassHandle">
+ <member name="P:UIKit.UIPreviewInteraction.ClassHandle">
<summary>The Objective-C class handle for this class.</summary>
<value>The pointer to the Objective-C class.</value>
<remarks>
@@ -64546,10 +64662,7 @@
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:UIKit.UIPreviewActionGroup.#ctor">
- <summary>Creates a new <see cref="T:UIKit.UIPreviewActionGroup" /> with default values.</summary>
- </member>
- <member name="M:UIKit.UIPreviewActionGroup.#ctor(Foundation.NSObjectFlag)">
+ <member name="M:UIKit.UIPreviewInteraction.#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>
@@ -64596,7 +64709,7 @@
</example>
</remarks>
</member>
- <member name="M:UIKit.UIPreviewActionGroup.#ctor(ObjCRuntime.NativeHandle)">
+ <member name="M:UIKit.UIPreviewInteraction.#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>
@@ -64606,16 +64719,16 @@
</para>
</remarks>
</member>
- <member name="P:UIKit.UIPreviewInteraction.ClassHandle">
- <summary>The Objective-C class handle for this class.</summary>
- <value>The pointer to the Objective-C class.</value>
+ <member name="T:UIKit.UIPreviewInteractionDelegate_Extensions">
+ <summary>Extension methods to the <see cref="T:UIKit.IUIPreviewInteractionDelegate" /> interface to support all the methods from the UIPreviewInteractionDelegate protocol.</summary>
<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>
+ <para>The extension methods for <see cref="T:UIKit.IUIPreviewInteractionDelegate" /> interface allow developers to treat instances of the interface as having all the optional methods of the original UIPreviewInteractionDelegate protocol. Since the interface only contains the required members, these extension methods allow developers to call the optional members of the protocol.</para>
+ </remarks>
</member>
- <member name="M:UIKit.UIPreviewInteraction.#ctor(Foundation.NSObjectFlag)">
+ <member name="M:UIKit.UIPreviewInteractionDelegate.#ctor">
+ <summary>Creates a new <see cref="T:UIKit.UIPreviewInteractionDelegate" /> with default values.</summary>
+ </member>
+ <member name="M:UIKit.UIPreviewInteractionDelegate.#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>
@@ -64662,7 +64775,7 @@
</example>
</remarks>
</member>
- <member name="M:UIKit.UIPreviewInteraction.#ctor(ObjCRuntime.NativeHandle)">
+ <member name="M:UIKit.UIPreviewInteractionDelegate.#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>
@@ -64672,16 +64785,20 @@
</para>
</remarks>
</member>
- <member name="T:UIKit.UIPreviewInteractionDelegate_Extensions">
- <summary>Extension methods to the <see cref="T:UIKit.IUIPreviewInteractionDelegate" /> interface to support all the methods from the UIPreviewInteractionDelegate protocol.</summary>
+ <member name="P:UIKit.UIPreviewParameters.ClassHandle">
+ <summary>The Objective-C class handle for this class.</summary>
+ <value>The pointer to the Objective-C class.</value>
<remarks>
- <para>The extension methods for <see cref="T:UIKit.IUIPreviewInteractionDelegate" /> interface allow developers to treat instances of the interface as having all the optional methods of the original UIPreviewInteractionDelegate protocol. Since the interface only contains the required members, these extension methods allow developers to call the optional members of the protocol.</para>
- </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:UIKit.UIPreviewInteractionDelegate.#ctor">
- <summary>Creates a new <see cref="T:UIKit.UIPreviewInteractionDelegate" /> with default values.</summary>
+ <member name="M:UIKit.UIPreviewParameters.#ctor">
+ <summary>Creates a new <see cref="T:UIKit.UIPreviewParameters" /> with default values.</summary>
+ <appledoc>https://developer.apple.com/documentation/uikit/uipreviewparameters/3295951-init</appledoc>
</member>
- <member name="M:UIKit.UIPreviewInteractionDelegate.#ctor(Foundation.NSObjectFlag)">
+ <member name="M:UIKit.UIPreviewParameters.#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>
@@ -64728,7 +64845,7 @@
</example>
</remarks>
</member>
- <member name="M:UIKit.UIPreviewInteractionDelegate.#ctor(ObjCRuntime.NativeHandle)">
+ <member name="M:UIKit.UIPreviewParameters.#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>
@@ -64738,7 +64855,7 @@
</para>
</remarks>
</member>
- <member name="P:UIKit.UIPreviewParameters.ClassHandle">
+ <member name="P:UIKit.UIPreviewTarget.ClassHandle">
<summary>The Objective-C class handle for this class.</summary>
<value>The pointer to the Objective-C class.</value>
<remarks>
@@ -64747,11 +64864,7 @@
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:UIKit.UIPreviewParameters.#ctor">
- <summary>Creates a new <see cref="T:UIKit.UIPreviewParameters" /> with default values.</summary>
- <appledoc>https://developer.apple.com/documentation/uikit/uipreviewparameters/3295951-init</appledoc>
- </member>
- <member name="M:UIKit.UIPreviewParameters.#ctor(Foundation.NSObjectFlag)">
+ <member name="M:UIKit.UIPreviewTarget.#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>
@@ -64798,7 +64911,7 @@
</example>
</remarks>
</member>
- <member name="M:UIKit.UIPreviewParameters.#ctor(ObjCRuntime.NativeHandle)">
+ <member name="M:UIKit.UIPreviewTarget.#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>
@@ -64808,7 +64921,7 @@
</para>
</remarks>
</member>
- <member name="P:UIKit.UIPreviewTarget.ClassHandle">
+ <member name="P:UIKit.UIPrinter.ClassHandle">
<summary>The Objective-C class handle for this class.</summary>
<value>The pointer to the Objective-C class.</value>
<remarks>
@@ -64817,7 +64930,7 @@
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:UIKit.UIPreviewTarget.#ctor(Foundation.NSObjectFlag)">
+ <member name="M:UIKit.UIPrinter.#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>
@@ -64864,7 +64977,7 @@
</example>
</remarks>
</member>
- <member name="M:UIKit.UIPreviewTarget.#ctor(ObjCRuntime.NativeHandle)">
+ <member name="M:UIKit.UIPrinter.#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>
@@ -64874,7 +64987,7 @@
</para>
</remarks>
</member>
- <member name="P:UIKit.UIPrinter.ClassHandle">
+ <member name="P:UIKit.UIPrinterDestination.ClassHandle">
<summary>The Objective-C class handle for this class.</summary>
<value>The pointer to the Objective-C class.</value>
<remarks>
@@ -64883,7 +64996,16 @@
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:UIKit.UIPrinter.#ctor(Foundation.NSObjectFlag)">
+ <member name="M:UIKit.UIPrinterDestination.#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:UIKit.UIPrinterDestination.#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>
@@ -64930,7 +65052,7 @@
</example>
</remarks>
</member>
- <member name="M:UIKit.UIPrinter.#ctor(ObjCRuntime.NativeHandle)">
+ <member name="M:UIKit.UIPrinterDestination.#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>
@@ -64940,7 +65062,7 @@
</para>
</remarks>
</member>
- <member name="P:UIKit.UIPrinterDestination.ClassHandle">
+ <member name="P:UIKit.UIPrinterPickerController.ClassHandle">
<summary>The Objective-C class handle for this class.</summary>
<value>The pointer to the Objective-C class.</value>
<remarks>
@@ -64949,16 +65071,73 @@
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:UIKit.UIPrinterDestination.#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>
+ <member name="M:UIKit.UIPrinterPickerController.#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 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>
+ <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:UIKit.UIPrinterDestination.#ctor(Foundation.NSObjectFlag)">
+ <member name="M:UIKit.UIPrinterPickerController.#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:UIKit.UIPrinterPickerControllerDelegate_Extensions">
+ <summary>Extension methods to the <see cref="T:UIKit.IUIPrinterPickerControllerDelegate" /> interface to support all the methods from the UIPrinterPickerControllerDelegate protocol.</summary>
+ <remarks>
+ <para>The extension methods for <see cref="T:UIKit.IUIPrinterPickerControllerDelegate" /> interface allow developers to treat instances of the interface as having all the optional methods of the original UIPrinterPickerControllerDelegate protocol. Since the interface only contains the required members, these extension methods allow developers to call the optional members of the protocol.</para>
+ </remarks>
+ </member>
+ <member name="M:UIKit.UIPrinterPickerControllerDelegate.#ctor">
+ <summary>Creates a new <see cref="T:UIKit.UIPrinterPickerControllerDelegate" /> with default values.</summary>
+ </member>
+ <member name="M:UIKit.UIPrinterPickerControllerDelegate.#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>
@@ -65005,7 +65184,7 @@
</example>
</remarks>
</member>
- <member name="M:UIKit.UIPrinterDestination.#ctor(ObjCRuntime.NativeHandle)">
+ <member name="M:UIKit.UIPrinterPickerControllerDelegate.#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>
@@ -65015,7 +65194,20 @@
</para>
</remarks>
</member>
- <member name="P:UIKit.UIPrinterPickerController.ClassHandle">
+ <member name="T:UIKit.UIPrintErrorExtensions">
+ <summary>Extension methods for the <see cref="T:UIKit.UIPrintError" /> enumeration.</summary>
+ <remarks>
+ <para>The extension method for the <see cref="T:UIKit.UIPrintError" /> enumeration can be used to fetch the error domain associated with these error codes.</para>
+ </remarks>
+ </member>
+ <member name="M:UIKit.UIPrintErrorExtensions.GetDomain(UIKit.UIPrintError)">
+ <summary>Returns the error domain associated with the UIKit.UIPrintError value</summary>
+ <param name="self">The enumeration value</param>
+ <remarks>
+ <para>See the <see cref="T:Foundation.NSError" /> for information on how to use the error domains when reporting errors.</para>
+ </remarks>
+ </member>
+ <member name="P:UIKit.UIPrintFormatter.ClassHandle">
<summary>The Objective-C class handle for this class.</summary>
<value>The pointer to the Objective-C class.</value>
<remarks>
@@ -65024,7 +65216,10 @@
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:UIKit.UIPrinterPickerController.#ctor(Foundation.NSObjectFlag)">
+ <member name="M:UIKit.UIPrintFormatter.#ctor">
+ <summary>Creates a new <see cref="T:UIKit.UIPrintFormatter" /> with default values.</summary>
+ </member>
+ <member name="M:UIKit.UIPrintFormatter.#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>
@@ -65071,7 +65266,7 @@
</example>
</remarks>
</member>
- <member name="M:UIKit.UIPrinterPickerController.#ctor(ObjCRuntime.NativeHandle)">
+ <member name="M:UIKit.UIPrintFormatter.#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>
@@ -65081,16 +65276,26 @@
</para>
</remarks>
</member>
- <member name="T:UIKit.UIPrinterPickerControllerDelegate_Extensions">
- <summary>Extension methods to the <see cref="T:UIKit.IUIPrinterPickerControllerDelegate" /> interface to support all the methods from the UIPrinterPickerControllerDelegate protocol.</summary>
+ <member name="P:UIKit.UIPrintInfo.ClassHandle">
+ <summary>The Objective-C class handle for this class.</summary>
+ <value>The pointer to the Objective-C class.</value>
<remarks>
- <para>The extension methods for <see cref="T:UIKit.IUIPrinterPickerControllerDelegate" /> interface allow developers to treat instances of the interface as having all the optional methods of the original UIPrinterPickerControllerDelegate protocol. Since the interface only contains the required members, these extension methods allow developers to call the optional members of the protocol.</para>
- </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:UIKit.UIPrinterPickerControllerDelegate.#ctor">
- <summary>Creates a new <see cref="T:UIKit.UIPrinterPickerControllerDelegate" /> with default values.</summary>
+ <member name="M:UIKit.UIPrintInfo.#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>
+ <appledoc>https://developer.apple.com/documentation/uikit/uiprintinfo/1623546-initwithcoder</appledoc>
</member>
- <member name="M:UIKit.UIPrinterPickerControllerDelegate.#ctor(Foundation.NSObjectFlag)">
+ <member name="M:UIKit.UIPrintInfo.#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>
@@ -65137,7 +65342,7 @@
</example>
</remarks>
</member>
- <member name="M:UIKit.UIPrinterPickerControllerDelegate.#ctor(ObjCRuntime.NativeHandle)">
+ <member name="M:UIKit.UIPrintInfo.#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>
@@ -65147,20 +65352,7 @@
</para>
</remarks>
</member>
- <member name="T:UIKit.UIPrintErrorExtensions">
- <summary>Extension methods for the <see cref="T:UIKit.UIPrintError" /> enumeration.</summary>
- <remarks>
- <para>The extension method for the <see cref="T:UIKit.UIPrintError" /> enumeration can be used to fetch the error domain associated with these error codes.</para>
- </remarks>
- </member>
- <member name="M:UIKit.UIPrintErrorExtensions.GetDomain(UIKit.UIPrintError)">
- <summary>Returns the error domain associated with the UIKit.UIPrintError value</summary>
- <param name="self">The enumeration value</param>
- <remarks>
- <para>See the <see cref="T:Foundation.NSError" /> for information on how to use the error domains when reporting errors.</para>
- </remarks>
- </member>
- <member name="P:UIKit.UIPrintFormatter.ClassHandle">
+ <member name="P:UIKit.UIPrintInteractionController.ClassHandle">
<summary>The Objective-C class handle for this class.</summary>
<value>The pointer to the Objective-C class.</value>
<remarks>
@@ -65169,218 +65361,73 @@
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:UIKit.UIPrintFormatter.#ctor">
- <summary>Creates a new <see cref="T:UIKit.UIPrintFormatter" /> with default values.</summary>
+ <member name="M:UIKit.UIPrintInteractionController.#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:UIKit.UIPrintFormatter.#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:UIKit.UIPrintFormatter.#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="P:UIKit.UIPrintInfo.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:UIKit.UIPrintInfo.#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>
- <appledoc>https://developer.apple.com/documentation/uikit/uiprintinfo/1623546-initwithcoder</appledoc>
- </member>
- <member name="M:UIKit.UIPrintInfo.#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:UIKit.UIPrintInfo.#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="P:UIKit.UIPrintInteractionController.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:UIKit.UIPrintInteractionController.#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:UIKit.UIPrintInteractionController.#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:UIKit.UIPrintInteractionControllerDelegate_Extensions">
- <summary>Extension methods to the <see cref="T:UIKit.IUIPrintInteractionControllerDelegate" /> interface to support all the methods from the UIPrintInteractionControllerDelegate protocol.</summary>
- <remarks>
- <para>The extension methods for <see cref="T:UIKit.IUIPrintInteractionControllerDelegate" /> interface allow developers to treat instances of the interface as having all the optional methods of the original UIPrintInteractionControllerDelegate protocol. Since the interface only contains the required members, these extension methods allow developers to call the optional members of the protocol.</para>
- </remarks>
- </member>
- <member name="M:UIKit.UIPrintInteractionControllerDelegate.#ctor">
- <summary>Creates a new <see cref="T:UIKit.UIPrintInteractionControllerDelegate" /> with default values.</summary>
- </member>
- <member name="M:UIKit.UIPrintInteractionControllerDelegate.#ctor(Foundation.NSObjectFlag)">
+ <member name="M:UIKit.UIPrintInteractionController.#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:UIKit.UIPrintInteractionControllerDelegate_Extensions">
+ <summary>Extension methods to the <see cref="T:UIKit.IUIPrintInteractionControllerDelegate" /> interface to support all the methods from the UIPrintInteractionControllerDelegate protocol.</summary>
+ <remarks>
+ <para>The extension methods for <see cref="T:UIKit.IUIPrintInteractionControllerDelegate" /> interface allow developers to treat instances of the interface as having all the optional methods of the original UIPrintInteractionControllerDelegate protocol. Since the interface only contains the required members, these extension methods allow developers to call the optional members of the protocol.</para>
+ </remarks>
+ </member>
+ <member name="M:UIKit.UIPrintInteractionControllerDelegate.#ctor">
+ <summary>Creates a new <see cref="T:UIKit.UIPrintInteractionControllerDelegate" /> with default values.</summary>
+ </member>
+ <member name="M:UIKit.UIPrintInteractionControllerDelegate.#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>
@@ -75995,12 +76042,6 @@
</para>
</remarks>
</member>
- <member name="T:UIKit.UITraitChangeObservable_Extensions">
- <summary>Extension methods to the <see cref="T:UIKit.IUITraitChangeObservable" /> interface to support all the methods from the UITraitChangeObservable protocol.</summary>
- <remarks>
- <para>The extension methods for <see cref="T:UIKit.IUITraitChangeObservable" /> interface allow developers to treat instances of the interface as having all the optional methods of the original UITraitChangeObservable protocol. Since the interface only contains the required members, these extension methods allow developers to call the optional members of the protocol.</para>
- </remarks>
- </member>
<member name="P:UIKit.UITraitDisplayGamut.ClassHandle">
<summary>The Objective-C class handle for this class.</summary>
<value>The pointer to the Objective-C class.</value>
@@ -78582,7 +78623,7 @@
</para>
</remarks>
</member>
- <member name="P:UIKit.UIWindowScene.ClassHandle">
+ <member name="P:UIKit.UIWindowSceneActivationAction.ClassHandle">
<summary>The Objective-C class handle for this class.</summary>
<value>The pointer to the Objective-C class.</value>
<remarks>
@@ -78591,7 +78632,16 @@
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:UIKit.UIWindowScene.#ctor(Foundation.NSObjectFlag)">
+ <member name="M:UIKit.UIWindowSceneActivationAction.#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:UIKit.UIWindowSceneActivationAction.#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>
@@ -78638,7 +78688,7 @@
</example>
</remarks>
</member>
- <member name="M:UIKit.UIWindowScene.#ctor(ObjCRuntime.NativeHandle)">
+ <member name="M:UIKit.UIWindowSceneActivationAction.#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>
@@ -78648,7 +78698,7 @@
</para>
</remarks>
</member>
- <member name="P:UIKit.UIWindowSceneActivationAction.ClassHandle">
+ <member name="P:UIKit.UIWindowSceneActivationConfiguration.ClassHandle">
<summary>The Objective-C class handle for this class.</summary>
<value>The pointer to the Objective-C class.</value>
<remarks>
@@ -78657,16 +78707,7 @@
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:UIKit.UIWindowSceneActivationAction.#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:UIKit.UIWindowSceneActivationAction.#ctor(Foundation.NSObjectFlag)">
+ <member name="M:UIKit.UIWindowSceneActivationConfiguration.#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>
@@ -78713,7 +78754,7 @@
</example>
</remarks>
</member>
- <member name="M:UIKit.UIWindowSceneActivationAction.#ctor(ObjCRuntime.NativeHandle)">
+ <member name="M:UIKit.UIWindowSceneActivationConfiguration.#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>
@@ -78723,7 +78764,7 @@
</para>
</remarks>
</member>
- <member name="P:UIKit.UIWindowSceneActivationConfiguration.ClassHandle">
+ <member name="P:UIKit.UIWindowSceneActivationInteraction.ClassHandle">
<summary>The Objective-C class handle for this class.</summary>
<value>The pointer to the Objective-C class.</value>
<remarks>
@@ -78732,7 +78773,7 @@
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:UIKit.UIWindowSceneActivationConfiguration.#ctor(Foundation.NSObjectFlag)">
+ <member name="M:UIKit.UIWindowSceneActivationInteraction.#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>
@@ -78779,7 +78820,7 @@
</example>
</remarks>
</member>
- <member name="M:UIKit.UIWindowSceneActivationConfiguration.#ctor(ObjCRuntime.NativeHandle)">
+ <member name="M:UIKit.UIWindowSceneActivationInteraction.#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>
@@ -78789,7 +78830,7 @@
</para>
</remarks>
</member>
- <member name="P:UIKit.UIWindowSceneActivationInteraction.ClassHandle">
+ <member name="P:UIKit.UIWindowSceneActivationRequestOptions.ClassHandle">
<summary>The Objective-C class handle for this class.</summary>
<value>The pointer to the Objective-C class.</value>
<remarks>
@@ -78798,7 +78839,10 @@
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:UIKit.UIWindowSceneActivationInteraction.#ctor(Foundation.NSObjectFlag)">
+ <member name="M:UIKit.UIWindowSceneActivationRequestOptions.#ctor">
+ <summary>Creates a new <see cref="T:UIKit.UIWindowSceneActivationRequestOptions" /> with default values.</summary>
+ </member>
+ <member name="M:UIKit.UIWindowSceneActivationRequestOptions.#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>
@@ -78845,7 +78889,7 @@
</example>
</remarks>
</member>
- <member name="M:UIKit.UIWindowSceneActivationInteraction.#ctor(ObjCRuntime.NativeHandle)">
+ <member name="M:UIKit.UIWindowSceneActivationRequestOptions.#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>
@@ -78855,7 +78899,73 @@
</para>
</remarks>
</member>
- <member name="P:UIKit.UIWindowSceneActivationRequestOptions.ClassHandle">
+ <member name="T:UIKit.UIWindowSceneDelegate_Extensions">
+ <summary>Extension methods to the <see cref="T:UIKit.IUIWindowSceneDelegate" /> interface to support all the methods from the UIWindowSceneDelegate protocol.</summary>
+ <remarks>
+ <para>The extension methods for <see cref="T:UIKit.IUIWindowSceneDelegate" /> interface allow developers to treat instances of the interface as having all the optional methods of the original UIWindowSceneDelegate protocol. Since the interface only contains the required members, these extension methods allow developers to call the optional members of the protocol.</para>
+ </remarks>
+ </member>
+ <member name="M:UIKit.UIWindowSceneDelegate.#ctor">
+ <summary>Creates a new <see cref="T:UIKit.UIWindowSceneDelegate" /> with default values.</summary>
+ </member>
+ <member name="M:UIKit.UIWindowSceneDelegate.#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:UIKit.UIWindowSceneDelegate.#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="P:UIKit.UIWindowSceneDestructionRequestOptions.ClassHandle">
<summary>The Objective-C class handle for this class.</summary>
<value>The pointer to the Objective-C class.</value>
<remarks>
@@ -78864,10 +78974,10 @@
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:UIKit.UIWindowSceneActivationRequestOptions.#ctor">
- <summary>Creates a new <see cref="T:UIKit.UIWindowSceneActivationRequestOptions" /> with default values.</summary>
+ <member name="M:UIKit.UIWindowSceneDestructionRequestOptions.#ctor">
+ <summary>Creates a new <see cref="T:UIKit.UIWindowSceneDestructionRequestOptions" /> with default values.</summary>
</member>
- <member name="M:UIKit.UIWindowSceneActivationRequestOptions.#ctor(Foundation.NSObjectFlag)">
+ <member name="M:UIKit.UIWindowSceneDestructionRequestOptions.#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>
@@ -78914,7 +79024,7 @@
</example>
</remarks>
</member>
- <member name="M:UIKit.UIWindowSceneActivationRequestOptions.#ctor(ObjCRuntime.NativeHandle)">
+ <member name="M:UIKit.UIWindowSceneDestructionRequestOptions.#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>
@@ -78924,16 +79034,19 @@
</para>
</remarks>
</member>
- <member name="T:UIKit.UIWindowSceneDelegate_Extensions">
- <summary>Extension methods to the <see cref="T:UIKit.IUIWindowSceneDelegate" /> interface to support all the methods from the UIWindowSceneDelegate protocol.</summary>
+ <member name="P:UIKit.UIWindowSceneDragInteraction.ClassHandle">
+ <summary>The Objective-C class handle for this class.</summary>
+ <value>The pointer to the Objective-C class.</value>
<remarks>
- <para>The extension methods for <see cref="T:UIKit.IUIWindowSceneDelegate" /> interface allow developers to treat instances of the interface as having all the optional methods of the original UIWindowSceneDelegate protocol. Since the interface only contains the required members, these extension methods allow developers to call the optional members of the protocol.</para>
- </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:UIKit.UIWindowSceneDelegate.#ctor">
- <summary>Creates a new <see cref="T:UIKit.UIWindowSceneDelegate" /> with default values.</summary>
+ <member name="M:UIKit.UIWindowSceneDragInteraction.#ctor">
+ <summary>Creates a new <see cref="T:UIKit.UIWindowSceneDragInteraction" /> with default values.</summary>
</member>
- <member name="M:UIKit.UIWindowSceneDelegate.#ctor(Foundation.NSObjectFlag)">
+ <member name="M:UIKit.UIWindowSceneDragInteraction.#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>
@@ -78980,7 +79093,7 @@
</example>
</remarks>
</member>
- <member name="M:UIKit.UIWindowSceneDelegate.#ctor(ObjCRuntime.NativeHandle)">
+ <member name="M:UIKit.UIWindowSceneDragInteraction.#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>
@@ -78990,7 +79103,7 @@
</para>
</remarks>
</member>
- <member name="P:UIKit.UIWindowSceneDestructionRequestOptions.ClassHandle">
+ <member name="P:UIKit.UIWindowSceneGeometry.ClassHandle">
<summary>The Objective-C class handle for this class.</summary>
<value>The pointer to the Objective-C class.</value>
<remarks>
@@ -78999,10 +79112,7 @@
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:UIKit.UIWindowSceneDestructionRequestOptions.#ctor">
- <summary>Creates a new <see cref="T:UIKit.UIWindowSceneDestructionRequestOptions" /> with default values.</summary>
- </member>
- <member name="M:UIKit.UIWindowSceneDestructionRequestOptions.#ctor(Foundation.NSObjectFlag)">
+ <member name="M:UIKit.UIWindowSceneGeometry.#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>
@@ -79049,7 +79159,7 @@
</example>
</remarks>
</member>
- <member name="M:UIKit.UIWindowSceneDestructionRequestOptions.#ctor(ObjCRuntime.NativeHandle)">
+ <member name="M:UIKit.UIWindowSceneGeometry.#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>
@@ -79059,7 +79169,7 @@
</para>
</remarks>
</member>
- <member name="P:UIKit.UIWindowSceneDragInteraction.ClassHandle">
+ <member name="P:UIKit.UIWindowSceneGeometryPreferences.ClassHandle">
<summary>The Objective-C class handle for this class.</summary>
<value>The pointer to the Objective-C class.</value>
<remarks>
@@ -79068,10 +79178,10 @@
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:UIKit.UIWindowSceneDragInteraction.#ctor">
- <summary>Creates a new <see cref="T:UIKit.UIWindowSceneDragInteraction" /> with default values.</summary>
+ <member name="M:UIKit.UIWindowSceneGeometryPreferences.#ctor">
+ <summary>Creates a new <see cref="T:UIKit.UIWindowSceneGeometryPreferences" /> with default values.</summary>
</member>
- <member name="M:UIKit.UIWindowSceneDragInteraction.#ctor(Foundation.NSObjectFlag)">
+ <member name="M:UIKit.UIWindowSceneGeometryPreferences.#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>
@@ -79118,7 +79228,7 @@
</example>
</remarks>
</member>
- <member name="M:UIKit.UIWindowSceneDragInteraction.#ctor(ObjCRuntime.NativeHandle)">
+ <member name="M:UIKit.UIWindowSceneGeometryPreferences.#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>
@@ -79128,7 +79238,7 @@
</para>
</remarks>
</member>
- <member name="P:UIKit.UIWindowSceneGeometry.ClassHandle">
+ <member name="P:UIKit.UIWindowSceneGeometryPreferencesIOS.ClassHandle">
<summary>The Objective-C class handle for this class.</summary>
<value>The pointer to the Objective-C class.</value>
<remarks>
@@ -79137,7 +79247,7 @@
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:UIKit.UIWindowSceneGeometry.#ctor(Foundation.NSObjectFlag)">
+ <member name="M:UIKit.UIWindowSceneGeometryPreferencesIOS.#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>
@@ -79184,7 +79294,7 @@
</example>
</remarks>
</member>
- <member name="M:UIKit.UIWindowSceneGeometry.#ctor(ObjCRuntime.NativeHandle)">
+ <member name="M:UIKit.UIWindowSceneGeometryPreferencesIOS.#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>
@@ -79194,7 +79304,7 @@
</para>
</remarks>
</member>
- <member name="P:UIKit.UIWindowSceneGeometryPreferences.ClassHandle">
+ <member name="P:UIKit.UIWindowSceneGeometryPreferencesMac.ClassHandle">
<summary>The Objective-C class handle for this class.</summary>
<value>The pointer to the Objective-C class.</value>
<remarks>
@@ -79203,10 +79313,7 @@
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:UIKit.UIWindowSceneGeometryPreferences.#ctor">
- <summary>Creates a new <see cref="T:UIKit.UIWindowSceneGeometryPreferences" /> with default values.</summary>
- </member>
- <member name="M:UIKit.UIWindowSceneGeometryPreferences.#ctor(Foundation.NSObjectFlag)">
+ <member name="M:UIKit.UIWindowSceneGeometryPreferencesMac.#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>
@@ -79253,7 +79360,7 @@
</example>
</remarks>
</member>
- <member name="M:UIKit.UIWindowSceneGeometryPreferences.#ctor(ObjCRuntime.NativeHandle)">
+ <member name="M:UIKit.UIWindowSceneGeometryPreferencesMac.#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>
@@ -79263,7 +79370,7 @@
</para>
</remarks>
</member>
- <member name="P:UIKit.UIWindowSceneGeometryPreferencesIOS.ClassHandle">
+ <member name="P:UIKit.UIWindowScenePlacement.ClassHandle">
<summary>The Objective-C class handle for this class.</summary>
<value>The pointer to the Objective-C class.</value>
<remarks>
@@ -79272,7 +79379,10 @@
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:UIKit.UIWindowSceneGeometryPreferencesIOS.#ctor(Foundation.NSObjectFlag)">
+ <member name="M:UIKit.UIWindowScenePlacement.#ctor">
+ <summary>Creates a new <see cref="T:UIKit.UIWindowScenePlacement" /> with default values.</summary>
+ </member>
+ <member name="M:UIKit.UIWindowScenePlacement.#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>
@@ -79319,7 +79429,7 @@
</example>
</remarks>
</member>
- <member name="M:UIKit.UIWindowSceneGeometryPreferencesIOS.#ctor(ObjCRuntime.NativeHandle)">
+ <member name="M:UIKit.UIWindowScenePlacement.#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>
@@ -79329,7 +79439,7 @@
</para>
</remarks>
</member>
- <member name="P:UIKit.UIWindowSceneGeometryPreferencesMac.ClassHandle">
+ <member name="P:UIKit.UIWindowSceneProminentPlacement.ClassHandle">
<summary>The Objective-C class handle for this class.</summary>
<value>The pointer to the Objective-C class.</value>
<remarks>
@@ -79338,7 +79448,10 @@
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:UIKit.UIWindowSceneGeometryPreferencesMac.#ctor(Foundation.NSObjectFlag)">
+ <member name="M:UIKit.UIWindowSceneProminentPlacement.#ctor">
+ <summary>Creates a new <see cref="T:UIKit.UIWindowSceneProminentPlacement" /> with default values.</summary>
+ </member>
+ <member name="M:UIKit.UIWindowSceneProminentPlacement.#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>
@@ -79385,7 +79498,7 @@
</example>
</remarks>
</member>
- <member name="M:UIKit.UIWindowSceneGeometryPreferencesMac.#ctor(ObjCRuntime.NativeHandle)">
+ <member name="M:UIKit.UIWindowSceneProminentPlacement.#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>
@@ -79395,7 +79508,18 @@
</para>
</remarks>
</member>
- <member name="P:UIKit.UIWindowScenePlacement.ClassHandle">
+ <member name="T:UIKit.UIWindowSceneSessionRoleExtensions">
+ <summary>Extension methods for the <see cref="T:UIKit.UIWindowSceneSessionRole" /> enumeration.</summary>
+ </member>
+ <member name="M:UIKit.UIWindowSceneSessionRoleExtensions.GetConstant(UIKit.UIWindowSceneSessionRole)">
+ <summary>Retrieves the <see cref="T:Foundation.NSString" /> constant that describes <paramref name="self" />.</summary>
+ <param name="self">The instance on which this method operates.</param>
+ </member>
+ <member name="M:UIKit.UIWindowSceneSessionRoleExtensions.GetValue(Foundation.NSString)">
+ <summary>Retrieves the <see cref="T:UIKit.UIWindowSceneSessionRole" /> value named by <paramref name="constant" />.</summary>
+ <param name="constant">The name of the constant to retrieve.</param>
+ </member>
+ <member name="P:UIKit.UIWindowSceneStandardPlacement.ClassHandle">
<summary>The Objective-C class handle for this class.</summary>
<value>The pointer to the Objective-C class.</value>
<remarks>
@@ -79404,10 +79528,10 @@
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:UIKit.UIWindowScenePlacement.#ctor">
- <summary>Creates a new <see cref="T:UIKit.UIWindowScenePlacement" /> with default values.</summary>
+ <member name="M:UIKit.UIWindowSceneStandardPlacement.#ctor">
+ <summary>Creates a new <see cref="T:UIKit.UIWindowSceneStandardPlacement" /> with default values.</summary>
</member>
- <member name="M:UIKit.UIWindowScenePlacement.#ctor(Foundation.NSObjectFlag)">
+ <member name="M:UIKit.UIWindowSceneStandardPlacement.#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>
@@ -79454,7 +79578,7 @@
</example>
</remarks>
</member>
- <member name="M:UIKit.UIWindowScenePlacement.#ctor(ObjCRuntime.NativeHandle)">
+ <member name="M:UIKit.UIWindowSceneStandardPlacement.#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>
@@ -79464,7 +79588,7 @@
</para>
</remarks>
</member>
- <member name="P:UIKit.UIWindowSceneProminentPlacement.ClassHandle">
+ <member name="P:AssetsLibrary.ALAsset.ClassHandle">
<summary>The Objective-C class handle for this class.</summary>
<value>The pointer to the Objective-C class.</value>
<remarks>
@@ -79473,10 +79597,10 @@
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:UIKit.UIWindowSceneProminentPlacement.#ctor">
- <summary>Creates a new <see cref="T:UIKit.UIWindowSceneProminentPlacement" /> with default values.</summary>
+ <member name="M:AssetsLibrary.ALAsset.#ctor">
+ <summary>Creates a new <see cref="T:AssetsLibrary.ALAsset" /> with default values.</summary>
</member>
- <member name="M:UIKit.UIWindowSceneProminentPlacement.#ctor(Foundation.NSObjectFlag)">
+ <member name="M:AssetsLibrary.ALAsset.#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>
@@ -79523,7 +79647,7 @@
</example>
</remarks>
</member>
- <member name="M:UIKit.UIWindowSceneProminentPlacement.#ctor(ObjCRuntime.NativeHandle)">
+ <member name="M:AssetsLibrary.ALAsset.#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>
@@ -79533,18 +79657,76 @@
</para>
</remarks>
</member>
- <member name="T:UIKit.UIWindowSceneSessionRoleExtensions">
- <summary>Extension methods for the <see cref="T:UIKit.UIWindowSceneSessionRole" /> enumeration.</summary>
+ <member name="P:AssetsLibrary.ALAssetsGroup.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:UIKit.UIWindowSceneSessionRoleExtensions.GetConstant(UIKit.UIWindowSceneSessionRole)">
- <summary>Retrieves the <see cref="T:Foundation.NSString" /> constant that describes <paramref name="self" />.</summary>
- <param name="self">The instance on which this method operates.</param>
+ <member name="M:AssetsLibrary.ALAssetsGroup.#ctor">
+ <summary>Creates a new <see cref="T:AssetsLibrary.ALAssetsGroup" /> with default values.</summary>
</member>
- <member name="M:UIKit.UIWindowSceneSessionRoleExtensions.GetValue(Foundation.NSString)">
- <summary>Retrieves the <see cref="T:UIKit.UIWindowSceneSessionRole" /> value named by <paramref name="constant" />.</summary>
- <param name="constant">The name of the constant to retrieve.</param>
+ <member name="M:AssetsLibrary.ALAssetsGroup.#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="P:UIKit.UIWindowSceneStandardPlacement.ClassHandle">
+ <member name="M:AssetsLibrary.ALAssetsGroup.#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="P:AssetsLibrary.ALAssetRepresentation.ClassHandle">
<summary>The Objective-C class handle for this class.</summary>
<value>The pointer to the Objective-C class.</value>
<remarks>
@@ -79553,10 +79735,10 @@
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:UIKit.UIWindowSceneStandardPlacement.#ctor">
- <summary>Creates a new <see cref="T:UIKit.UIWindowSceneStandardPlacement" /> with default values.</summary>
+ <member name="M:AssetsLibrary.ALAssetRepresentation.#ctor">
+ <summary>Creates a new <see cref="T:AssetsLibrary.ALAssetRepresentation" /> with default values.</summary>
</member>
- <member name="M:UIKit.UIWindowSceneStandardPlacement.#ctor(Foundation.NSObjectFlag)">
+ <member name="M:AssetsLibrary.ALAssetRepresentation.#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>
@@ -79603,7 +79785,7 @@
</example>
</remarks>
</member>
- <member name="M:UIKit.UIWindowSceneStandardPlacement.#ctor(ObjCRuntime.NativeHandle)">
+ <member name="M:AssetsLibrary.ALAssetRepresentation.#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>
@@ -79613,7 +79795,20 @@
</para>
</remarks>
</member>
- <member name="P:AssetsLibrary.ALAsset.ClassHandle">
+ <member name="T:AssetsLibrary.ALAssetsErrorExtensions">
+ <summary>Extension methods for the <see cref="T:AssetsLibrary.ALAssetsError" /> enumeration.</summary>
+ <remarks>
+ <para>The extension method for the <see cref="T:AssetsLibrary.ALAssetsError" /> enumeration can be used to fetch the error domain associated with these error codes.</para>
+ </remarks>
+ </member>
+ <member name="M:AssetsLibrary.ALAssetsErrorExtensions.GetDomain(AssetsLibrary.ALAssetsError)">
+ <summary>Returns the error domain associated with the AssetsLibrary.ALAssetsError value</summary>
+ <param name="self">The enumeration value</param>
+ <remarks>
+ <para>See the <see cref="T:Foundation.NSError" /> for information on how to use the error domains when reporting errors.</para>
+ </remarks>
+ </member>
+ <member name="P:AssetsLibrary.ALAssetsFilter.ClassHandle">
<summary>The Objective-C class handle for this class.</summary>
<value>The pointer to the Objective-C class.</value>
<remarks>
@@ -79622,10 +79817,10 @@
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:AssetsLibrary.ALAsset.#ctor">
- <summary>Creates a new <see cref="T:AssetsLibrary.ALAsset" /> with default values.</summary>
+ <member name="M:AssetsLibrary.ALAssetsFilter.#ctor">
+ <summary>Creates a new <see cref="T:AssetsLibrary.ALAssetsFilter" /> with default values.</summary>
</member>
- <member name="M:AssetsLibrary.ALAsset.#ctor(Foundation.NSObjectFlag)">
+ <member name="M:AssetsLibrary.ALAssetsFilter.#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>
@@ -79672,7 +79867,7 @@
</example>
</remarks>
</member>
- <member name="M:AssetsLibrary.ALAsset.#ctor(ObjCRuntime.NativeHandle)">
+ <member name="M:AssetsLibrary.ALAssetsFilter.#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>
@@ -79682,7 +79877,7 @@
</para>
</remarks>
</member>
- <member name="P:AssetsLibrary.ALAssetsGroup.ClassHandle">
+ <member name="P:AssetsLibrary.ALAssetsLibrary.ClassHandle">
<summary>The Objective-C class handle for this class.</summary>
<value>The pointer to the Objective-C class.</value>
<remarks>
@@ -79691,10 +79886,10 @@
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:AssetsLibrary.ALAssetsGroup.#ctor">
- <summary>Creates a new <see cref="T:AssetsLibrary.ALAssetsGroup" /> with default values.</summary>
+ <member name="M:AssetsLibrary.ALAssetsLibrary.#ctor">
+ <summary>Creates a new <see cref="T:AssetsLibrary.ALAssetsLibrary" /> with default values.</summary>
</member>
- <member name="M:AssetsLibrary.ALAssetsGroup.#ctor(Foundation.NSObjectFlag)">
+ <member name="M:AssetsLibrary.ALAssetsLibrary.#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>
@@ -79741,7 +79936,7 @@
</example>
</remarks>
</member>
- <member name="M:AssetsLibrary.ALAssetsGroup.#ctor(ObjCRuntime.NativeHandle)">
+ <member name="M:AssetsLibrary.ALAssetsLibrary.#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>
@@ -79751,89 +79946,92 @@
</para>
</remarks>
</member>
- <member name="P:AssetsLibrary.ALAssetRepresentation.ClassHandle">
- <summary>The Objective-C class handle for this class.</summary>
- <value>The pointer to the Objective-C class.</value>
+ <member name="T:AssetsLibrary.ALAssetsLibrary.Notifications">
+ <summary>Notifications posted by the <see cref="T:AssetsLibrary.ALAssetsLibrary" /> class.</summary>
<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:AssetsLibrary.ALAssetRepresentation.#ctor">
- <summary>Creates a new <see cref="T:AssetsLibrary.ALAssetRepresentation" /> with default values.</summary>
+ <para>This class contains various helper methods that allow developers to observe events posted in the notification hub (<see cref="T:Foundation.NSNotificationCenter" />).</para>
+ <para>The methods defined in this class post events that invoke the provided method or lambda with a <see cref="T:Foundation.NSNotificationEventArgs" /> parameter, which contains strongly typed properties for the notification arguments.</para>
+ </remarks>
</member>
- <member name="M:AssetsLibrary.ALAssetRepresentation.#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>
+ <member name="M:AssetsLibrary.ALAssetsLibrary.Notifications.ObserveChanged(System.EventHandler{Foundation.NSNotificationEventArgs})">
+ <summary>Strongly typed notification for the <see cref="P:AssetsLibrary.ALAssetsLibrary.ChangedNotification" /> constant.</summary>
+ <param name="handler">The handler that responds to the notification when it occurs.</param>
+ <returns>Token object that can be used to stop receiving notifications by either disposing it or passing it to <see cref="M:Foundation.NSNotificationCenter.RemoveObservers(System.Collections.Generic.IEnumerable{Foundation.NSObject})" />.</returns>
<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>
+ <para>This method can be used to subscribe to <see cref="P:AssetsLibrary.ALAssetsLibrary.ChangedNotification" /> notifications.</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);
- }
- }
+ // Listen to all notifications posted for any object
+ var token = ALAssetsLibrary.Notifications.ObserveChanged ((notification) => {
+ Console.WriteLine ("Observed ChangedNotification!");
+ };
+
+ // Stop listening for notifications
+ token.Dispose ();
]]></code>
</example>
</remarks>
</member>
- <member name="M:AssetsLibrary.ALAssetRepresentation.#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>
+ <member name="M:AssetsLibrary.ALAssetsLibrary.Notifications.ObserveChanged(Foundation.NSObject,System.EventHandler{Foundation.NSNotificationEventArgs})">
+ <summary>Strongly typed notification for the <see cref="P:AssetsLibrary.ALAssetsLibrary.ChangedNotification" /> constant.</summary>
+ <param name="objectToObserve">The specific object to observe.</param>
+ <param name="handler">The handler that responds to the notification when it occurs.</param>
+ <returns>Token object that can be used to stop receiving notifications by either disposing it or passing it to <see cref="M:Foundation.NSNotificationCenter.RemoveObservers(System.Collections.Generic.IEnumerable{Foundation.NSObject})" />.</returns>
<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>
+ <para>This method can be used to subscribe to <see cref="P:AssetsLibrary.ALAssetsLibrary.ChangedNotification" /> notifications.</para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ // Listen to all notifications posted for a single object
+ var token = ALAssetsLibrary.Notifications.ObserveChanged (objectToObserve, (notification) => {
+ Console.WriteLine ($"Observed ChangedNotification for {nameof (objectToObserve)}!");
+ };
+
+ // Stop listening for notifications
+ token.Dispose ();
+ ]]></code>
+ </example>
</remarks>
</member>
- <member name="T:AssetsLibrary.ALAssetsErrorExtensions">
- <summary>Extension methods for the <see cref="T:AssetsLibrary.ALAssetsError" /> enumeration.</summary>
+ <member name="M:AssetsLibrary.ALAssetsLibrary.Notifications.ObserveChanged(System.EventHandler{AssetsLibrary.ALAssetLibraryChangedEventArgs})">
+ <summary>Strongly typed notification for the <see cref="P:AssetsLibrary.ALAssetsLibrary.ChangedNotification" /> constant.</summary>
+ <param name="handler">The handler that responds to the notification when it occurs.</param>
+ <returns>Token object that can be used to stop receiving notifications by either disposing it or passing it to <see cref="M:Foundation.NSNotificationCenter.RemoveObservers(System.Collections.Generic.IEnumerable{Foundation.NSObject})" />.</returns>
<remarks>
- <para>The extension method for the <see cref="T:AssetsLibrary.ALAssetsError" /> enumeration can be used to fetch the error domain associated with these error codes.</para>
+ <para>This method can be used to subscribe to <see cref="P:AssetsLibrary.ALAssetsLibrary.ChangedNotification" /> notifications.</para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ // Listen to all notifications posted for any object
+ var token = ALAssetsLibrary.Notifications.ObserveChanged ((notification) => {
+ Console.WriteLine ("Observed ChangedNotification!");
+ };
+
+ // Stop listening for notifications
+ token.Dispose ();
+ ]]></code>
+ </example>
</remarks>
</member>
- <member name="M:AssetsLibrary.ALAssetsErrorExtensions.GetDomain(AssetsLibrary.ALAssetsError)">
- <summary>Returns the error domain associated with the AssetsLibrary.ALAssetsError value</summary>
- <param name="self">The enumeration value</param>
+ <member name="M:AssetsLibrary.ALAssetsLibrary.Notifications.ObserveChanged(Foundation.NSObject,System.EventHandler{AssetsLibrary.ALAssetLibraryChangedEventArgs})">
+ <summary>Strongly typed notification for the <see cref="P:AssetsLibrary.ALAssetsLibrary.ChangedNotification" /> constant.</summary>
+ <param name="objectToObserve">The specific object to observe.</param>
+ <param name="handler">The handler that responds to the notification when it occurs.</param>
+ <returns>Token object that can be used to stop receiving notifications by either disposing it or passing it to <see cref="M:Foundation.NSNotificationCenter.RemoveObservers(System.Collections.Generic.IEnumerable{Foundation.NSObject})" />.</returns>
<remarks>
- <para>See the <see cref="T:Foundation.NSError" /> for information on how to use the error domains when reporting errors.</para>
+ <para>This method can be used to subscribe to <see cref="P:AssetsLibrary.ALAssetsLibrary.ChangedNotification" /> notifications.</para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ // Listen to all notifications posted for a single object
+ var token = ALAssetsLibrary.Notifications.ObserveChanged (objectToObserve, (notification) => {
+ Console.WriteLine ($"Observed ChangedNotification for {nameof (objectToObserve)}!");
+ };
+
+ // Stop listening for notifications
+ token.Dispose ();
+ ]]></code>
+ </example>
</remarks>
</member>
- <member name="P:AssetsLibrary.ALAssetsFilter.ClassHandle">
+ <member name="P:AudioUnit.AUParameter.ClassHandle">
<summary>The Objective-C class handle for this class.</summary>
<value>The pointer to the Objective-C class.</value>
<remarks>
@@ -79842,10 +80040,19 @@
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:AssetsLibrary.ALAssetsFilter.#ctor">
- <summary>Creates a new <see cref="T:AssetsLibrary.ALAssetsFilter" /> with default values.</summary>
+ <member name="M:AudioUnit.AUParameter.#ctor">
+ <summary>Creates a new <see cref="T:AudioUnit.AUParameter" /> with default values.</summary>
</member>
- <member name="M:AssetsLibrary.ALAssetsFilter.#ctor(Foundation.NSObjectFlag)">
+ <member name="M:AudioUnit.AUParameter.#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:AudioUnit.AUParameter.#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>
@@ -79892,7 +80099,7 @@
</example>
</remarks>
</member>
- <member name="M:AssetsLibrary.ALAssetsFilter.#ctor(ObjCRuntime.NativeHandle)">
+ <member name="M:AudioUnit.AUParameter.#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>
@@ -79902,7 +80109,7 @@
</para>
</remarks>
</member>
- <member name="P:AssetsLibrary.ALAssetsLibrary.ClassHandle">
+ <member name="P:AudioUnit.AUAudioUnit.ClassHandle">
<summary>The Objective-C class handle for this class.</summary>
<value>The pointer to the Objective-C class.</value>
<remarks>
@@ -79911,10 +80118,7 @@
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:AssetsLibrary.ALAssetsLibrary.#ctor">
- <summary>Creates a new <see cref="T:AssetsLibrary.ALAssetsLibrary" /> with default values.</summary>
- </member>
- <member name="M:AssetsLibrary.ALAssetsLibrary.#ctor(Foundation.NSObjectFlag)">
+ <member name="M:AudioUnit.AUAudioUnit.#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>
@@ -79961,7 +80165,7 @@
</example>
</remarks>
</member>
- <member name="M:AssetsLibrary.ALAssetsLibrary.#ctor(ObjCRuntime.NativeHandle)">
+ <member name="M:AudioUnit.AUAudioUnit.#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>
@@ -79971,24 +80175,24 @@
</para>
</remarks>
</member>
- <member name="T:AssetsLibrary.ALAssetsLibrary.Notifications">
- <summary>Notifications posted by the <see cref="T:AssetsLibrary.ALAssetsLibrary" /> class.</summary>
+ <member name="T:AudioUnit.AUAudioUnit.Notifications">
+ <summary>Notifications posted by the <see cref="T:AudioUnit.AUAudioUnit" /> class.</summary>
<remarks>
<para>This class contains various helper methods that allow developers to observe events posted in the notification hub (<see cref="T:Foundation.NSNotificationCenter" />).</para>
<para>The methods defined in this class post events that invoke the provided method or lambda with a <see cref="T:Foundation.NSNotificationEventArgs" /> parameter, which contains strongly typed properties for the notification arguments.</para>
</remarks>
</member>
- <member name="M:AssetsLibrary.ALAssetsLibrary.Notifications.ObserveChanged(System.EventHandler{Foundation.NSNotificationEventArgs})">
- <summary>Strongly typed notification for the <see cref="P:AssetsLibrary.ALAssetsLibrary.ChangedNotification" /> constant.</summary>
+ <member name="M:AudioUnit.AUAudioUnit.Notifications.ObserveAudioComponentInstanceInvalidation(System.EventHandler{Foundation.NSNotificationEventArgs})">
+ <summary>Strongly typed notification for the <see cref="P:AudioUnit.AUAudioUnit.AudioComponentInstanceInvalidationNotification" /> constant.</summary>
<param name="handler">The handler that responds to the notification when it occurs.</param>
<returns>Token object that can be used to stop receiving notifications by either disposing it or passing it to <see cref="M:Foundation.NSNotificationCenter.RemoveObservers(System.Collections.Generic.IEnumerable{Foundation.NSObject})" />.</returns>
<remarks>
- <para>This method can be used to subscribe to <see cref="P:AssetsLibrary.ALAssetsLibrary.ChangedNotification" /> notifications.</para>
+ <para>This method can be used to subscribe to <see cref="P:AudioUnit.AUAudioUnit.AudioComponentInstanceInvalidationNotification" /> notifications.</para>
<example>
<code lang="csharp lang-csharp"><![CDATA[
// Listen to all notifications posted for any object
- var token = ALAssetsLibrary.Notifications.ObserveChanged ((notification) => {
- Console.WriteLine ("Observed ChangedNotification!");
+ var token = AUAudioUnit.Notifications.ObserveAudioComponentInstanceInvalidation ((notification) => {
+ Console.WriteLine ("Observed AudioComponentInstanceInvalidationNotification!");
};
// Stop listening for notifications
@@ -79997,18 +80201,18 @@
</example>
</remarks>
</member>
- <member name="M:AssetsLibrary.ALAssetsLibrary.Notifications.ObserveChanged(Foundation.NSObject,System.EventHandler{Foundation.NSNotificationEventArgs})">
- <summary>Strongly typed notification for the <see cref="P:AssetsLibrary.ALAssetsLibrary.ChangedNotification" /> constant.</summary>
+ <member name="M:AudioUnit.AUAudioUnit.Notifications.ObserveAudioComponentInstanceInvalidation(Foundation.NSObject,System.EventHandler{Foundation.NSNotificationEventArgs})">
+ <summary>Strongly typed notification for the <see cref="P:AudioUnit.AUAudioUnit.AudioComponentInstanceInvalidationNotification" /> constant.</summary>
<param name="objectToObserve">The specific object to observe.</param>
<param name="handler">The handler that responds to the notification when it occurs.</param>
<returns>Token object that can be used to stop receiving notifications by either disposing it or passing it to <see cref="M:Foundation.NSNotificationCenter.RemoveObservers(System.Collections.Generic.IEnumerable{Foundation.NSObject})" />.</returns>
<remarks>
- <para>This method can be used to subscribe to <see cref="P:AssetsLibrary.ALAssetsLibrary.ChangedNotification" /> notifications.</para>
+ <para>This method can be used to subscribe to <see cref="P:AudioUnit.AUAudioUnit.AudioComponentInstanceInvalidationNotification" /> notifications.</para>
<example>
<code lang="csharp lang-csharp"><![CDATA[
// Listen to all notifications posted for a single object
- var token = ALAssetsLibrary.Notifications.ObserveChanged (objectToObserve, (notification) => {
- Console.WriteLine ($"Observed ChangedNotification for {nameof (objectToObserve)}!");
+ var token = AUAudioUnit.Notifications.ObserveAudioComponentInstanceInvalidation (objectToObserve, (notification) => {
+ Console.WriteLine ($"Observed AudioComponentInstanceInvalidationNotification for {nameof (objectToObserve)}!");
};
// Stop listening for notifications
@@ -80017,17 +80221,17 @@
</example>
</remarks>
</member>
- <member name="M:AssetsLibrary.ALAssetsLibrary.Notifications.ObserveChanged(System.EventHandler{AssetsLibrary.ALAssetLibraryChangedEventArgs})">
- <summary>Strongly typed notification for the <see cref="P:AssetsLibrary.ALAssetsLibrary.ChangedNotification" /> constant.</summary>
+ <member name="M:AudioUnit.AUAudioUnit.Notifications.ObserveAudioComponentRegistrationsChanged(System.EventHandler{Foundation.NSNotificationEventArgs})">
+ <summary>Strongly typed notification for the <see cref="P:AudioUnit.AUAudioUnit.AudioComponentRegistrationsChangedNotification" /> constant.</summary>
<param name="handler">The handler that responds to the notification when it occurs.</param>
<returns>Token object that can be used to stop receiving notifications by either disposing it or passing it to <see cref="M:Foundation.NSNotificationCenter.RemoveObservers(System.Collections.Generic.IEnumerable{Foundation.NSObject})" />.</returns>
<remarks>
- <para>This method can be used to subscribe to <see cref="P:AssetsLibrary.ALAssetsLibrary.ChangedNotification" /> notifications.</para>
+ <para>This method can be used to subscribe to <see cref="P:AudioUnit.AUAudioUnit.AudioComponentRegistrationsChangedNotification" /> notifications.</para>
<example>
<code lang="csharp lang-csharp"><![CDATA[
// Listen to all notifications posted for any object
- var token = ALAssetsLibrary.Notifications.ObserveChanged ((notification) => {
- Console.WriteLine ("Observed ChangedNotification!");
+ var token = AUAudioUnit.Notifications.ObserveAudioComponentRegistrationsChanged ((notification) => {
+ Console.WriteLine ("Observed AudioComponentRegistrationsChangedNotification!");
};
// Stop listening for notifications
@@ -80036,18 +80240,18 @@
</example>
</remarks>
</member>
- <member name="M:AssetsLibrary.ALAssetsLibrary.Notifications.ObserveChanged(Foundation.NSObject,System.EventHandler{AssetsLibrary.ALAssetLibraryChangedEventArgs})">
- <summary>Strongly typed notification for the <see cref="P:AssetsLibrary.ALAssetsLibrary.ChangedNotification" /> constant.</summary>
+ <member name="M:AudioUnit.AUAudioUnit.Notifications.ObserveAudioComponentRegistrationsChanged(Foundation.NSObject,System.EventHandler{Foundation.NSNotificationEventArgs})">
+ <summary>Strongly typed notification for the <see cref="P:AudioUnit.AUAudioUnit.AudioComponentRegistrationsChangedNotification" /> constant.</summary>
<param name="objectToObserve">The specific object to observe.</param>
<param name="handler">The handler that responds to the notification when it occurs.</param>
<returns>Token object that can be used to stop receiving notifications by either disposing it or passing it to <see cref="M:Foundation.NSNotificationCenter.RemoveObservers(System.Collections.Generic.IEnumerable{Foundation.NSObject})" />.</returns>
<remarks>
- <para>This method can be used to subscribe to <see cref="P:AssetsLibrary.ALAssetsLibrary.ChangedNotification" /> notifications.</para>
+ <para>This method can be used to subscribe to <see cref="P:AudioUnit.AUAudioUnit.AudioComponentRegistrationsChangedNotification" /> notifications.</para>
<example>
<code lang="csharp lang-csharp"><![CDATA[
// Listen to all notifications posted for a single object
- var token = ALAssetsLibrary.Notifications.ObserveChanged (objectToObserve, (notification) => {
- Console.WriteLine ($"Observed ChangedNotification for {nameof (objectToObserve)}!");
+ var token = AUAudioUnit.Notifications.ObserveAudioComponentRegistrationsChanged (objectToObserve, (notification) => {
+ Console.WriteLine ($"Observed AudioComponentRegistrationsChangedNotification for {nameof (objectToObserve)}!");
};
// Stop listening for notifications
@@ -80056,7 +80260,7 @@
</example>
</remarks>
</member>
- <member name="P:AudioUnit.AUParameter.ClassHandle">
+ <member name="P:AudioUnit.AUAudioUnitBus.ClassHandle">
<summary>The Objective-C class handle for this class.</summary>
<value>The pointer to the Objective-C class.</value>
<remarks>
@@ -80065,19 +80269,10 @@
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:AudioUnit.AUParameter.#ctor">
- <summary>Creates a new <see cref="T:AudioUnit.AUParameter" /> with default values.</summary>
- </member>
- <member name="M:AudioUnit.AUParameter.#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 name="M:AudioUnit.AUAudioUnitBus.#ctor">
+ <summary>Creates a new <see cref="T:AudioUnit.AUAudioUnitBus" /> with default values.</summary>
</member>
- <member name="M:AudioUnit.AUParameter.#ctor(Foundation.NSObjectFlag)">
+ <member name="M:AudioUnit.AUAudioUnitBus.#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>
@@ -80124,7 +80319,7 @@
</example>
</remarks>
</member>
- <member name="M:AudioUnit.AUParameter.#ctor(ObjCRuntime.NativeHandle)">
+ <member name="M:AudioUnit.AUAudioUnitBus.#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>
@@ -80134,7 +80329,7 @@
</para>
</remarks>
</member>
- <member name="P:AudioUnit.AUAudioUnit.ClassHandle">
+ <member name="P:AudioUnit.AUAudioUnitBusArray.ClassHandle">
<summary>The Objective-C class handle for this class.</summary>
<value>The pointer to the Objective-C class.</value>
<remarks>
@@ -80143,7 +80338,7 @@
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:AudioUnit.AUAudioUnit.#ctor(Foundation.NSObjectFlag)">
+ <member name="M:AudioUnit.AUAudioUnitBusArray.#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>
@@ -80190,7 +80385,7 @@
</example>
</remarks>
</member>
- <member name="M:AudioUnit.AUAudioUnit.#ctor(ObjCRuntime.NativeHandle)">
+ <member name="M:AudioUnit.AUAudioUnitBusArray.#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>
@@ -80200,92 +80395,85 @@
</para>
</remarks>
</member>
- <member name="T:AudioUnit.AUAudioUnit.Notifications">
- <summary>Notifications posted by the <see cref="T:AudioUnit.AUAudioUnit" /> class.</summary>
+ <member name="P:AudioUnit.AUAudioUnitPreset.ClassHandle">
+ <summary>The Objective-C class handle for this class.</summary>
+ <value>The pointer to the Objective-C class.</value>
<remarks>
- <para>This class contains various helper methods that allow developers to observe events posted in the notification hub (<see cref="T:Foundation.NSNotificationCenter" />).</para>
- <para>The methods defined in this class post events that invoke the provided method or lambda with a <see cref="T:Foundation.NSNotificationEventArgs" /> parameter, which contains strongly typed properties for the notification arguments.</para>
- </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:AudioUnit.AUAudioUnit.Notifications.ObserveAudioComponentInstanceInvalidation(System.EventHandler{Foundation.NSNotificationEventArgs})">
- <summary>Strongly typed notification for the <see cref="P:AudioUnit.AUAudioUnit.AudioComponentInstanceInvalidationNotification" /> constant.</summary>
- <param name="handler">The handler that responds to the notification when it occurs.</param>
- <returns>Token object that can be used to stop receiving notifications by either disposing it or passing it to <see cref="M:Foundation.NSNotificationCenter.RemoveObservers(System.Collections.Generic.IEnumerable{Foundation.NSObject})" />.</returns>
- <remarks>
- <para>This method can be used to subscribe to <see cref="P:AudioUnit.AUAudioUnit.AudioComponentInstanceInvalidationNotification" /> notifications.</para>
- <example>
- <code lang="csharp lang-csharp"><![CDATA[
- // Listen to all notifications posted for any object
- var token = AUAudioUnit.Notifications.ObserveAudioComponentInstanceInvalidation ((notification) => {
- Console.WriteLine ("Observed AudioComponentInstanceInvalidationNotification!");
- };
-
- // Stop listening for notifications
- token.Dispose ();
- ]]></code>
- </example>
- </remarks>
+ <member name="M:AudioUnit.AUAudioUnitPreset.#ctor">
+ <summary>Creates a new <see cref="T:AudioUnit.AUAudioUnitPreset" /> with default values.</summary>
</member>
- <member name="M:AudioUnit.AUAudioUnit.Notifications.ObserveAudioComponentInstanceInvalidation(Foundation.NSObject,System.EventHandler{Foundation.NSNotificationEventArgs})">
- <summary>Strongly typed notification for the <see cref="P:AudioUnit.AUAudioUnit.AudioComponentInstanceInvalidationNotification" /> constant.</summary>
- <param name="objectToObserve">The specific object to observe.</param>
- <param name="handler">The handler that responds to the notification when it occurs.</param>
- <returns>Token object that can be used to stop receiving notifications by either disposing it or passing it to <see cref="M:Foundation.NSNotificationCenter.RemoveObservers(System.Collections.Generic.IEnumerable{Foundation.NSObject})" />.</returns>
+ <member name="M:AudioUnit.AUAudioUnitPreset.#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 method can be used to subscribe to <see cref="P:AudioUnit.AUAudioUnit.AudioComponentInstanceInvalidationNotification" /> notifications.</para>
- <example>
- <code lang="csharp lang-csharp"><![CDATA[
- // Listen to all notifications posted for a single object
- var token = AUAudioUnit.Notifications.ObserveAudioComponentInstanceInvalidation (objectToObserve, (notification) => {
- Console.WriteLine ($"Observed AudioComponentInstanceInvalidationNotification for {nameof (objectToObserve)}!");
- };
-
- // Stop listening for notifications
- token.Dispose ();
- ]]></code>
- </example>
+ <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:AudioUnit.AUAudioUnit.Notifications.ObserveAudioComponentRegistrationsChanged(System.EventHandler{Foundation.NSNotificationEventArgs})">
- <summary>Strongly typed notification for the <see cref="P:AudioUnit.AUAudioUnit.AudioComponentRegistrationsChangedNotification" /> constant.</summary>
- <param name="handler">The handler that responds to the notification when it occurs.</param>
- <returns>Token object that can be used to stop receiving notifications by either disposing it or passing it to <see cref="M:Foundation.NSNotificationCenter.RemoveObservers(System.Collections.Generic.IEnumerable{Foundation.NSObject})" />.</returns>
+ <member name="M:AudioUnit.AUAudioUnitPreset.#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 method can be used to subscribe to <see cref="P:AudioUnit.AUAudioUnit.AudioComponentRegistrationsChangedNotification" /> notifications.</para>
+ <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[
- // Listen to all notifications posted for any object
- var token = AUAudioUnit.Notifications.ObserveAudioComponentRegistrationsChanged ((notification) => {
- Console.WriteLine ("Observed AudioComponentRegistrationsChangedNotification!");
- };
-
- // Stop listening for notifications
- token.Dispose ();
+ //
+ // 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:AudioUnit.AUAudioUnit.Notifications.ObserveAudioComponentRegistrationsChanged(Foundation.NSObject,System.EventHandler{Foundation.NSNotificationEventArgs})">
- <summary>Strongly typed notification for the <see cref="P:AudioUnit.AUAudioUnit.AudioComponentRegistrationsChangedNotification" /> constant.</summary>
- <param name="objectToObserve">The specific object to observe.</param>
- <param name="handler">The handler that responds to the notification when it occurs.</param>
- <returns>Token object that can be used to stop receiving notifications by either disposing it or passing it to <see cref="M:Foundation.NSNotificationCenter.RemoveObservers(System.Collections.Generic.IEnumerable{Foundation.NSObject})" />.</returns>
+ <member name="M:AudioUnit.AUAudioUnitPreset.#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 method can be used to subscribe to <see cref="P:AudioUnit.AUAudioUnit.AudioComponentRegistrationsChangedNotification" /> notifications.</para>
- <example>
- <code lang="csharp lang-csharp"><![CDATA[
- // Listen to all notifications posted for a single object
- var token = AUAudioUnit.Notifications.ObserveAudioComponentRegistrationsChanged (objectToObserve, (notification) => {
- Console.WriteLine ($"Observed AudioComponentRegistrationsChangedNotification for {nameof (objectToObserve)}!");
- };
-
- // Stop listening for notifications
- token.Dispose ();
- ]]></code>
- </example>
+ <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="P:AudioUnit.AUAudioUnitBus.ClassHandle">
+ <member name="P:AudioUnit.AUParameterGroup.ClassHandle">
<summary>The Objective-C class handle for this class.</summary>
<value>The pointer to the Objective-C class.</value>
<remarks>
@@ -80294,10 +80482,19 @@
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:AudioUnit.AUAudioUnitBus.#ctor">
- <summary>Creates a new <see cref="T:AudioUnit.AUAudioUnitBus" /> with default values.</summary>
+ <member name="M:AudioUnit.AUParameterGroup.#ctor">
+ <summary>Creates a new <see cref="T:AudioUnit.AUParameterGroup" /> with default values.</summary>
</member>
- <member name="M:AudioUnit.AUAudioUnitBus.#ctor(Foundation.NSObjectFlag)">
+ <member name="M:AudioUnit.AUParameterGroup.#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:AudioUnit.AUParameterGroup.#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>
@@ -80344,7 +80541,7 @@
</example>
</remarks>
</member>
- <member name="M:AudioUnit.AUAudioUnitBus.#ctor(ObjCRuntime.NativeHandle)">
+ <member name="M:AudioUnit.AUParameterGroup.#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>
@@ -80354,7 +80551,7 @@
</para>
</remarks>
</member>
- <member name="P:AudioUnit.AUAudioUnitBusArray.ClassHandle">
+ <member name="P:AudioUnit.AUParameterNode.ClassHandle">
<summary>The Objective-C class handle for this class.</summary>
<value>The pointer to the Objective-C class.</value>
<remarks>
@@ -80363,7 +80560,10 @@
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:AudioUnit.AUAudioUnitBusArray.#ctor(Foundation.NSObjectFlag)">
+ <member name="M:AudioUnit.AUParameterNode.#ctor">
+ <summary>Creates a new <see cref="T:AudioUnit.AUParameterNode" /> with default values.</summary>
+ </member>
+ <member name="M:AudioUnit.AUParameterNode.#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>
@@ -80410,7 +80610,7 @@
</example>
</remarks>
</member>
- <member name="M:AudioUnit.AUAudioUnitBusArray.#ctor(ObjCRuntime.NativeHandle)">
+ <member name="M:AudioUnit.AUParameterNode.#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>
@@ -80420,7 +80620,7 @@
</para>
</remarks>
</member>
- <member name="P:AudioUnit.AUAudioUnitPreset.ClassHandle">
+ <member name="P:AudioUnit.AUParameterTree.ClassHandle">
<summary>The Objective-C class handle for this class.</summary>
<value>The pointer to the Objective-C class.</value>
<remarks>
@@ -80429,10 +80629,10 @@
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:AudioUnit.AUAudioUnitPreset.#ctor">
- <summary>Creates a new <see cref="T:AudioUnit.AUAudioUnitPreset" /> with default values.</summary>
+ <member name="M:AudioUnit.AUParameterTree.#ctor">
+ <summary>Creates a new <see cref="T:AudioUnit.AUParameterTree" /> with default values.</summary>
</member>
- <member name="M:AudioUnit.AUAudioUnitPreset.#ctor(Foundation.NSCoder)">
+ <member name="M:AudioUnit.AUParameterTree.#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>
@@ -80441,7 +80641,7 @@
<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:AudioUnit.AUAudioUnitPreset.#ctor(Foundation.NSObjectFlag)">
+ <member name="M:AudioUnit.AUParameterTree.#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>
@@ -80488,7 +80688,7 @@
</example>
</remarks>
</member>
- <member name="M:AudioUnit.AUAudioUnitPreset.#ctor(ObjCRuntime.NativeHandle)">
+ <member name="M:AudioUnit.AUParameterTree.#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>
@@ -80498,7 +80698,7 @@
</para>
</remarks>
</member>
- <member name="P:AudioUnit.AUParameterGroup.ClassHandle">
+ <member name="P:AuthenticationServices.ASAuthorization.ClassHandle">
<summary>The Objective-C class handle for this class.</summary>
<value>The pointer to the Objective-C class.</value>
<remarks>
@@ -80507,19 +80707,7 @@
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:AudioUnit.AUParameterGroup.#ctor">
- <summary>Creates a new <see cref="T:AudioUnit.AUParameterGroup" /> with default values.</summary>
- </member>
- <member name="M:AudioUnit.AUParameterGroup.#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:AudioUnit.AUParameterGroup.#ctor(Foundation.NSObjectFlag)">
+ <member name="M:AuthenticationServices.ASAuthorization.#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>
@@ -80566,7 +80754,7 @@
</example>
</remarks>
</member>
- <member name="M:AudioUnit.AUParameterGroup.#ctor(ObjCRuntime.NativeHandle)">
+ <member name="M:AuthenticationServices.ASAuthorization.#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>
@@ -80576,7 +80764,7 @@
</para>
</remarks>
</member>
- <member name="P:AudioUnit.AUParameterNode.ClassHandle">
+ <member name="P:AuthenticationServices.ASAuthorizationRequest.ClassHandle">
<summary>The Objective-C class handle for this class.</summary>
<value>The pointer to the Objective-C class.</value>
<remarks>
@@ -80585,10 +80773,16 @@
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:AudioUnit.AUParameterNode.#ctor">
- <summary>Creates a new <see cref="T:AudioUnit.AUParameterNode" /> with default values.</summary>
+ <member name="M:AuthenticationServices.ASAuthorizationRequest.#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:AudioUnit.AUParameterNode.#ctor(Foundation.NSObjectFlag)">
+ <member name="M:AuthenticationServices.ASAuthorizationRequest.#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>
@@ -80635,7 +80829,7 @@
</example>
</remarks>
</member>
- <member name="M:AudioUnit.AUParameterNode.#ctor(ObjCRuntime.NativeHandle)">
+ <member name="M:AuthenticationServices.ASAuthorizationRequest.#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>
@@ -80645,7 +80839,7 @@
</para>
</remarks>
</member>
- <member name="P:AudioUnit.AUParameterTree.ClassHandle">
+ <member name="P:AuthenticationServices.ASAccountAuthenticationModificationController.ClassHandle">
<summary>The Objective-C class handle for this class.</summary>
<value>The pointer to the Objective-C class.</value>
<remarks>
@@ -80654,19 +80848,10 @@
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:AudioUnit.AUParameterTree.#ctor">
- <summary>Creates a new <see cref="T:AudioUnit.AUParameterTree" /> with default values.</summary>
- </member>
- <member name="M:AudioUnit.AUParameterTree.#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 name="M:AuthenticationServices.ASAccountAuthenticationModificationController.#ctor">
+ <summary>Creates a new <see cref="T:AuthenticationServices.ASAccountAuthenticationModificationController" /> with default values.</summary>
</member>
- <member name="M:AudioUnit.AUParameterTree.#ctor(Foundation.NSObjectFlag)">
+ <member name="M:AuthenticationServices.ASAccountAuthenticationModificationController.#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>
@@ -80713,7 +80898,7 @@
</example>
</remarks>
</member>
- <member name="M:AudioUnit.AUParameterTree.#ctor(ObjCRuntime.NativeHandle)">
+ <member name="M:AuthenticationServices.ASAccountAuthenticationModificationController.#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>
@@ -80723,16 +80908,16 @@
</para>
</remarks>
</member>
- <member name="P:AuthenticationServices.ASAuthorization.ClassHandle">
- <summary>The Objective-C class handle for this class.</summary>
- <value>The pointer to the Objective-C class.</value>
+ <member name="T:AuthenticationServices.ASAccountAuthenticationModificationControllerDelegate_Extensions">
+ <summary>Extension methods to the <see cref="T:AuthenticationServices.IASAccountAuthenticationModificationControllerDelegate" /> interface to support all the methods from the ASAccountAuthenticationModificationControllerDelegate protocol.</summary>
<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>
+ <para>The extension methods for <see cref="T:AuthenticationServices.IASAccountAuthenticationModificationControllerDelegate" /> interface allow developers to treat instances of the interface as having all the optional methods of the original ASAccountAuthenticationModificationControllerDelegate protocol. Since the interface only contains the required members, these extension methods allow developers to call the optional members of the protocol.</para>
+ </remarks>
</member>
- <member name="M:AuthenticationServices.ASAuthorization.#ctor(Foundation.NSObjectFlag)">
+ <member name="M:AuthenticationServices.ASAccountAuthenticationModificationControllerDelegate.#ctor">
+ <summary>Creates a new <see cref="T:AuthenticationServices.ASAccountAuthenticationModificationControllerDelegate" /> with default values.</summary>
+ </member>
+ <member name="M:AuthenticationServices.ASAccountAuthenticationModificationControllerDelegate.#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>
@@ -80779,7 +80964,7 @@
</example>
</remarks>
</member>
- <member name="M:AuthenticationServices.ASAuthorization.#ctor(ObjCRuntime.NativeHandle)">
+ <member name="M:AuthenticationServices.ASAccountAuthenticationModificationControllerDelegate.#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>
@@ -80789,7 +80974,7 @@
</para>
</remarks>
</member>
- <member name="P:AuthenticationServices.ASAuthorizationRequest.ClassHandle">
+ <member name="P:AuthenticationServices.ASAccountAuthenticationModificationExtensionContext.ClassHandle">
<summary>The Objective-C class handle for this class.</summary>
<value>The pointer to the Objective-C class.</value>
<remarks>
@@ -80798,16 +80983,7 @@
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:AuthenticationServices.ASAuthorizationRequest.#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:AuthenticationServices.ASAuthorizationRequest.#ctor(Foundation.NSObjectFlag)">
+ <member name="M:AuthenticationServices.ASAccountAuthenticationModificationExtensionContext.#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>
@@ -80854,7 +81030,7 @@
</example>
</remarks>
</member>
- <member name="M:AuthenticationServices.ASAuthorizationRequest.#ctor(ObjCRuntime.NativeHandle)">
+ <member name="M:AuthenticationServices.ASAccountAuthenticationModificationExtensionContext.#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>
@@ -80864,7 +81040,7 @@
</para>
</remarks>
</member>
- <member name="P:AuthenticationServices.ASAccountAuthenticationModificationController.ClassHandle">
+ <member name="P:AuthenticationServices.ASAccountAuthenticationModificationReplacePasswordWithSignInWithAppleRequest.ClassHandle">
<summary>The Objective-C class handle for this class.</summary>
<value>The pointer to the Objective-C class.</value>
<remarks>
@@ -80873,10 +81049,7 @@
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:AuthenticationServices.ASAccountAuthenticationModificationController.#ctor">
- <summary>Creates a new <see cref="T:AuthenticationServices.ASAccountAuthenticationModificationController" /> with default values.</summary>
- </member>
- <member name="M:AuthenticationServices.ASAccountAuthenticationModificationController.#ctor(Foundation.NSObjectFlag)">
+ <member name="M:AuthenticationServices.ASAccountAuthenticationModificationReplacePasswordWithSignInWithAppleRequest.#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>
@@ -80923,7 +81096,7 @@
</example>
</remarks>
</member>
- <member name="M:AuthenticationServices.ASAccountAuthenticationModificationController.#ctor(ObjCRuntime.NativeHandle)">
+ <member name="M:AuthenticationServices.ASAccountAuthenticationModificationReplacePasswordWithSignInWithAppleRequest.#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>
@@ -80933,16 +81106,16 @@
</para>
</remarks>
</member>
- <member name="T:AuthenticationServices.ASAccountAuthenticationModificationControllerDelegate_Extensions">
- <summary>Extension methods to the <see cref="T:AuthenticationServices.IASAccountAuthenticationModificationControllerDelegate" /> interface to support all the methods from the ASAccountAuthenticationModificationControllerDelegate protocol.</summary>
+ <member name="P:AuthenticationServices.ASAccountAuthenticationModificationRequest.ClassHandle">
+ <summary>The Objective-C class handle for this class.</summary>
+ <value>The pointer to the Objective-C class.</value>
<remarks>
- <para>The extension methods for <see cref="T:AuthenticationServices.IASAccountAuthenticationModificationControllerDelegate" /> interface allow developers to treat instances of the interface as having all the optional methods of the original ASAccountAuthenticationModificationControllerDelegate protocol. Since the interface only contains the required members, these extension methods allow developers to call the optional members of the protocol.</para>
- </remarks>
- </member>
- <member name="M:AuthenticationServices.ASAccountAuthenticationModificationControllerDelegate.#ctor">
- <summary>Creates a new <see cref="T:AuthenticationServices.ASAccountAuthenticationModificationControllerDelegate" /> with default values.</summary>
+ 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:AuthenticationServices.ASAccountAuthenticationModificationControllerDelegate.#ctor(Foundation.NSObjectFlag)">
+ <member name="M:AuthenticationServices.ASAccountAuthenticationModificationRequest.#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>
@@ -80989,7 +81162,7 @@
</example>
</remarks>
</member>
- <member name="M:AuthenticationServices.ASAccountAuthenticationModificationControllerDelegate.#ctor(ObjCRuntime.NativeHandle)">
+ <member name="M:AuthenticationServices.ASAccountAuthenticationModificationRequest.#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>
@@ -80999,7 +81172,7 @@
</para>
</remarks>
</member>
- <member name="P:AuthenticationServices.ASAccountAuthenticationModificationExtensionContext.ClassHandle">
+ <member name="P:AuthenticationServices.ASAccountAuthenticationModificationUpgradePasswordToStrongPasswordRequest.ClassHandle">
<summary>The Objective-C class handle for this class.</summary>
<value>The pointer to the Objective-C class.</value>
<remarks>
@@ -81008,7 +81181,7 @@
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:AuthenticationServices.ASAccountAuthenticationModificationExtensionContext.#ctor(Foundation.NSObjectFlag)">
+ <member name="M:AuthenticationServices.ASAccountAuthenticationModificationUpgradePasswordToStrongPasswordRequest.#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>
@@ -81055,7 +81228,7 @@
</example>
</remarks>
</member>
- <member name="M:AuthenticationServices.ASAccountAuthenticationModificationExtensionContext.#ctor(ObjCRuntime.NativeHandle)">
+ <member name="M:AuthenticationServices.ASAccountAuthenticationModificationUpgradePasswordToStrongPasswordRequest.#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>
@@ -81065,7 +81238,7 @@
</para>
</remarks>
</member>
- <member name="P:AuthenticationServices.ASAccountAuthenticationModificationReplacePasswordWithSignInWithAppleRequest.ClassHandle">
+ <member name="P:AuthenticationServices.ASAccountAuthenticationModificationViewController.ClassHandle">
<summary>The Objective-C class handle for this class.</summary>
<value>The pointer to the Objective-C class.</value>
<remarks>
@@ -81074,7 +81247,19 @@
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:AuthenticationServices.ASAccountAuthenticationModificationReplacePasswordWithSignInWithAppleRequest.#ctor(Foundation.NSObjectFlag)">
+ <member name="M:AuthenticationServices.ASAccountAuthenticationModificationViewController.#ctor">
+ <summary>Creates a new <see cref="T:AuthenticationServices.ASAccountAuthenticationModificationViewController" /> with default values.</summary>
+ </member>
+ <member name="M:AuthenticationServices.ASAccountAuthenticationModificationViewController.#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:AuthenticationServices.ASAccountAuthenticationModificationViewController.#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>
@@ -81121,7 +81306,7 @@
</example>
</remarks>
</member>
- <member name="M:AuthenticationServices.ASAccountAuthenticationModificationReplacePasswordWithSignInWithAppleRequest.#ctor(ObjCRuntime.NativeHandle)">
+ <member name="M:AuthenticationServices.ASAccountAuthenticationModificationViewController.#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>
@@ -81131,7 +81316,7 @@
</para>
</remarks>
</member>
- <member name="P:AuthenticationServices.ASAccountAuthenticationModificationRequest.ClassHandle">
+ <member name="P:AuthenticationServices.ASAuthorizationAppleIdButton.ClassHandle">
<summary>The Objective-C class handle for this class.</summary>
<value>The pointer to the Objective-C class.</value>
<remarks>
@@ -81140,7 +81325,16 @@
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:AuthenticationServices.ASAccountAuthenticationModificationRequest.#ctor(Foundation.NSObjectFlag)">
+ <member name="M:AuthenticationServices.ASAuthorizationAppleIdButton.#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:AuthenticationServices.ASAuthorizationAppleIdButton.#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>
@@ -81187,7 +81381,7 @@
</example>
</remarks>
</member>
- <member name="M:AuthenticationServices.ASAccountAuthenticationModificationRequest.#ctor(ObjCRuntime.NativeHandle)">
+ <member name="M:AuthenticationServices.ASAuthorizationAppleIdButton.#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>
@@ -81197,73 +81391,139 @@
</para>
</remarks>
</member>
- <member name="P:AuthenticationServices.ASAccountAuthenticationModificationUpgradePasswordToStrongPasswordRequest.ClassHandle">
- <summary>The Objective-C class handle for this class.</summary>
- <value>The pointer to the Objective-C class.</value>
+ <member name="T:AuthenticationServices.ASAuthorizationAppleIdButton.ASAuthorizationAppleIdButtonAppearance">
+ <summary>Appearance class for objects of type <see cref="T:AuthenticationServices.ASAuthorizationAppleIdButton" />.</summary>
<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>
+ <para>This appearance class is a strongly typed subclass of UIAppearance that is intended to be used with objects of class <see cref="T:AuthenticationServices.ASAuthorizationAppleIdButton" />.</para>
+ <para>You can obtain an instance to this class by either accessing the static <see cref="P:AuthenticationServices.ASAuthorizationAppleIdButton.Appearance" /> property or by calling <see cref="M:AuthenticationServices.ASAuthorizationAppleIdButton.AppearanceWhenContainedIn(System.Type[])" /> to get a UIAppearance that is context sensitive.</para>
+ </remarks>
</member>
- <member name="M:AuthenticationServices.ASAccountAuthenticationModificationUpgradePasswordToStrongPasswordRequest.#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>
+ <member name="P:AuthenticationServices.ASAuthorizationAppleIdButton.Appearance">
+ <summary>Strongly-typed property that returns the UIAppearance class for this class.</summary>
<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>
+ <para>Setting any appearance properties on this instance will affect the appearance of all instances of <see cref="T:AuthenticationServices.ASAuthorizationAppleIdButton" />.</para>
+ <para>If developers want to control the appearance of subclasses of <see cref="T:AuthenticationServices.ASAuthorizationAppleIdButton" />, they should use the <see cref="M:AuthenticationServices.ASAuthorizationAppleIdButton.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para>
+ </remarks>
+ </member>
+ <member name="M:AuthenticationServices.ASAuthorizationAppleIdButton.GetAppearance``1">
+ <summary>Obtains the appearance proxy <see cref="T:AuthenticationServices.ASAuthorizationAppleIdButton.ASAuthorizationAppleIdButtonAppearance" /> for the subclass of <see cref="T:AuthenticationServices.ASAuthorizationAppleIdButton" />.</summary>
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:AuthenticationServices.ASAuthorizationAppleIdButton" />.</typeparam>
+ <returns>
+ <para>An appearance proxy object for the specified type.</para>
+ </returns>
+ <remarks>
+ <para>Setting any appearance properties on the returned object will affect the appearance of all classes and subclasses of the type parameter.</para>
+ <para>Unlike the <see cref="P:AuthenticationServices.ASAuthorizationAppleIdButton.Appearance" /> property, or the <see cref="M:AuthenticationServices.ASAuthorizationAppleIdButton.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para>
+ <para>The following example shows how this method works:</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);
- }
- }
+ var myTheme = ASAuthorizationAppleIdButton.GetAppearance<MyASAuthorizationAppleIdButtonSubclass> ();
+ myTheme.TintColor = UIColor.Red;
]]></code>
</example>
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para>
</remarks>
</member>
- <member name="M:AuthenticationServices.ASAccountAuthenticationModificationUpgradePasswordToStrongPasswordRequest.#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>
+ <member name="M:AuthenticationServices.ASAuthorizationAppleIdButton.AppearanceWhenContainedIn(System.Type[])">
+ <param name="containers">List of types that developers want to have as the containers to apply this particular appearance</param>
+ <summary>Returns a strongly typed <see cref="T:UIKit.UIAppearance" /> for instances of this class when the view is hosted in the specified hierarchy.</summary>
+ <returns>The appearance proxy object that developers can use to set properties when the given container hierarchy is active</returns>
<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>
+ <para>The returned object represents the <see cref="T:UIKit.UIAppearance" /> proxy where developers can set appearance properties for instances of <see cref="T:AuthenticationServices.ASAuthorizationAppleIdButton" /> when those instances are contained in the hierarchy specified by the <paramref name="containers" /> parameter.</para>
+ <para>If developers want to control the appearance of subclasses of <see cref="T:AuthenticationServices.ASAuthorizationAppleIdButton" />, they should use the <see cref="M:AuthenticationServices.ASAuthorizationAppleIdButton.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para>
+ <para>The following example shows how this method works:</para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ var mySliders = UISlider.AppearanceWhenContainedIn (typeof (UINavigationBar), typeof (UIPopoverController));
+ mySliders.TintColor = UIColor.Red;
+ ]]></code>
+ </example>
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para>
</remarks>
</member>
- <member name="P:AuthenticationServices.ASAccountAuthenticationModificationViewController.ClassHandle">
+ <member name="M:AuthenticationServices.ASAuthorizationAppleIdButton.GetAppearance(UIKit.UITraitCollection)">
+ <summary>Obtains the appearance proxy <see cref="T:AuthenticationServices.ASAuthorizationAppleIdButton.ASAuthorizationAppleIdButtonAppearance" /> for <see cref="T:AuthenticationServices.ASAuthorizationAppleIdButton" />.</summary>
+ <param name="traits">Trait collection to match.</param>
+ <returns>
+ <para>An appearance proxy object for the specified type.</para>
+ </returns>
+ <remarks>
+ <para>The following example shows how this method works:</para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ var myTraits = new UITraitCollection ();
+ var myTheme = ASAuthorizationAppleIdButton.GetAppearance (myTraits);
+ myTheme.TintColor = UIColor.Red;
+ ]]></code>
+ </example>
+ <para>If developers want to control the appearance of subclasses of <see cref="T:AuthenticationServices.ASAuthorizationAppleIdButton" />, they should use the <see cref="M:AuthenticationServices.ASAuthorizationAppleIdButton.GetAppearance``1(UIKit.UITraitCollection)" /> method.</para>
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para>
+ </remarks>
+ </member>
+ <member name="M:AuthenticationServices.ASAuthorizationAppleIdButton.GetAppearance(UIKit.UITraitCollection,System.Type[])">
+ <summary>Obtains the appearance proxy <see cref="T:AuthenticationServices.ASAuthorizationAppleIdButton.ASAuthorizationAppleIdButtonAppearance" /> for <see cref="T:AuthenticationServices.ASAuthorizationAppleIdButton" />.</summary>
+ <param name="traits">Trait collection to match.</param>
+ <param name="containers">List of types that the developer wishes to have as the containers to apply this particular appearance.</param>
+ <returns>
+ <para>An appearance proxy object for the specified type.</para>
+ </returns>
+ <remarks>
+ <para>The following example shows how this method works:</para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ var myTraits = new UITraitCollection ();
+ var myTheme = ASAuthorizationAppleIdButton.GetAppearance (myTraits, typeof (UINavigationBar), typeof (UIPopoverController));
+ myTheme.TintColor = UIColor.Red;
+ ]]></code>
+ </example>
+ <para>If developers want to control the appearance of subclasses of <see cref="T:AuthenticationServices.ASAuthorizationAppleIdButton" />, they should use the <see cref="M:AuthenticationServices.ASAuthorizationAppleIdButton.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para>
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para>
+ </remarks>
+ </member>
+ <member name="M:AuthenticationServices.ASAuthorizationAppleIdButton.GetAppearance``1(UIKit.UITraitCollection)">
+ <summary>Obtains the appearance proxy <see cref="T:AuthenticationServices.ASAuthorizationAppleIdButton.ASAuthorizationAppleIdButtonAppearance" /> for the subclass of <see cref="T:AuthenticationServices.ASAuthorizationAppleIdButton" />.</summary>
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:AuthenticationServices.ASAuthorizationAppleIdButton" />.</typeparam>
+ <param name="traits">Trait collection to match.</param>
+ <returns>
+ <para>An appearance proxy object for the specified type.</para>
+ </returns>
+ <remarks>
+ <para>Setting any appearance properties on the returned object will affect the appearance of all classes and subclasses of the type parameter.</para>
+ <para>Unlike the <see cref="P:AuthenticationServices.ASAuthorizationAppleIdButton.Appearance" /> property, or the <see cref="M:AuthenticationServices.ASAuthorizationAppleIdButton.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para>
+ <para>The following example shows how this method works:</para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ var myTraits = new UITraitCollection ();
+ var myTheme = ASAuthorizationAppleIdButton.GetAppearance<MyASAuthorizationAppleIdButtonSubclass> (myTraits);
+ myTheme.TintColor = UIColor.Red;
+ ]]></code>
+ </example>
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para>
+ </remarks>
+ </member>
+ <member name="M:AuthenticationServices.ASAuthorizationAppleIdButton.GetAppearance``1(UIKit.UITraitCollection,System.Type[])">
+ <summary>Obtains the appearance proxy <see cref="T:AuthenticationServices.ASAuthorizationAppleIdButton.ASAuthorizationAppleIdButtonAppearance" /> for the subclass of <see cref="T:AuthenticationServices.ASAuthorizationAppleIdButton" />.</summary>
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:AuthenticationServices.ASAuthorizationAppleIdButton" />.</typeparam>
+ <param name="traits">Trait collection to match.</param>
+ <param name="containers">List of types that the developer wishes to have as the containers to apply this particular appearance.</param>
+ <returns>
+ <para>An appearance proxy object for the specified type.</para>
+ </returns>
+ <remarks>
+ <para>Setting any appearance properties on the returned object will affect the appearance of all classes and subclasses of the type parameter.</para>
+ <para>Unlike the <see cref="P:AuthenticationServices.ASAuthorizationAppleIdButton.Appearance" /> property, or the <see cref="M:AuthenticationServices.ASAuthorizationAppleIdButton.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para>
+ <para>The following example shows how this method works:</para>
+ <example>
+ <code lang="csharp lang-csharp"><![CDATA[
+ var myTraits = new UITraitCollection ();
+ var myTheme = ASAuthorizationAppleIdButton.GetAppearance<MyASAuthorizationAppleIdButtonSubclass> (myTraits, typeof (UINavigationBar), typeof (UIPopoverController));
+ myTheme.TintColor = UIColor.Red;
+ ]]></code>
+ </example>
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para>
+ </remarks>
+ </member>
+ <member name="P:AuthenticationServices.ASAuthorizationAppleIdCredential.ClassHandle">
<summary>The Objective-C class handle for this class.</summary>
<value>The pointer to the Objective-C class.</value>
<remarks>
@@ -81272,10 +81532,7 @@
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:AuthenticationServices.ASAccountAuthenticationModificationViewController.#ctor">
- <summary>Creates a new <see cref="T:AuthenticationServices.ASAccountAuthenticationModificationViewController" /> with default values.</summary>
- </member>
- <member name="M:AuthenticationServices.ASAccountAuthenticationModificationViewController.#ctor(Foundation.NSCoder)">
+ <member name="M:AuthenticationServices.ASAuthorizationAppleIdCredential.#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>
@@ -81284,7 +81541,7 @@
<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:AuthenticationServices.ASAccountAuthenticationModificationViewController.#ctor(Foundation.NSObjectFlag)">
+ <member name="M:AuthenticationServices.ASAuthorizationAppleIdCredential.#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>
@@ -81331,7 +81588,7 @@
</example>
</remarks>
</member>
- <member name="M:AuthenticationServices.ASAccountAuthenticationModificationViewController.#ctor(ObjCRuntime.NativeHandle)">
+ <member name="M:AuthenticationServices.ASAuthorizationAppleIdCredential.#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>
@@ -81341,7 +81598,7 @@
</para>
</remarks>
</member>
- <member name="P:AuthenticationServices.ASAuthorizationAppleIdButton.ClassHandle">
+ <member name="P:AuthenticationServices.ASAuthorizationAppleIdProvider.ClassHandle">
<summary>The Objective-C class handle for this class.</summary>
<value>The pointer to the Objective-C class.</value>
<remarks>
@@ -81350,292 +81607,10 @@
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:AuthenticationServices.ASAuthorizationAppleIdButton.#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 name="M:AuthenticationServices.ASAuthorizationAppleIdProvider.#ctor">
+ <summary>Creates a new <see cref="T:AuthenticationServices.ASAuthorizationAppleIdProvider" /> with default values.</summary>
</member>
- <member name="M:AuthenticationServices.ASAuthorizationAppleIdButton.#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:AuthenticationServices.ASAuthorizationAppleIdButton.#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:AuthenticationServices.ASAuthorizationAppleIdButton.ASAuthorizationAppleIdButtonAppearance">
- <summary>Appearance class for objects of type <see cref="T:AuthenticationServices.ASAuthorizationAppleIdButton" />.</summary>
- <remarks>
- <para>This appearance class is a strongly typed subclass of UIAppearance that is intended to be used with objects of class <see cref="T:AuthenticationServices.ASAuthorizationAppleIdButton" />.</para>
- <para>You can obtain an instance to this class by either accessing the static <see cref="P:AuthenticationServices.ASAuthorizationAppleIdButton.Appearance" /> property or by calling <see cref="M:AuthenticationServices.ASAuthorizationAppleIdButton.AppearanceWhenContainedIn(System.Type[])" /> to get a UIAppearance that is context sensitive.</para>
- </remarks>
- </member>
- <member name="P:AuthenticationServices.ASAuthorizationAppleIdButton.Appearance">
- <summary>Strongly-typed property that returns the UIAppearance class for this class.</summary>
- <remarks>
- <para>Setting any appearance properties on this instance will affect the appearance of all instances of <see cref="T:AuthenticationServices.ASAuthorizationAppleIdButton" />.</para>
- <para>If developers want to control the appearance of subclasses of <see cref="T:AuthenticationServices.ASAuthorizationAppleIdButton" />, they should use the <see cref="M:AuthenticationServices.ASAuthorizationAppleIdButton.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para>
- </remarks>
- </member>
- <member name="M:AuthenticationServices.ASAuthorizationAppleIdButton.GetAppearance``1">
- <summary>Obtains the appearance proxy <see cref="T:AuthenticationServices.ASAuthorizationAppleIdButton.ASAuthorizationAppleIdButtonAppearance" /> for the subclass of <see cref="T:AuthenticationServices.ASAuthorizationAppleIdButton" />.</summary>
- <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:AuthenticationServices.ASAuthorizationAppleIdButton" />.</typeparam>
- <returns>
- <para>An appearance proxy object for the specified type.</para>
- </returns>
- <remarks>
- <para>Setting any appearance properties on the returned object will affect the appearance of all classes and subclasses of the type parameter.</para>
- <para>Unlike the <see cref="P:AuthenticationServices.ASAuthorizationAppleIdButton.Appearance" /> property, or the <see cref="M:AuthenticationServices.ASAuthorizationAppleIdButton.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para>
- <para>The following example shows how this method works:</para>
- <example>
- <code lang="csharp lang-csharp"><![CDATA[
- var myTheme = ASAuthorizationAppleIdButton.GetAppearance<MyASAuthorizationAppleIdButtonSubclass> ();
- myTheme.TintColor = UIColor.Red;
- ]]></code>
- </example>
- <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para>
- </remarks>
- </member>
- <member name="M:AuthenticationServices.ASAuthorizationAppleIdButton.AppearanceWhenContainedIn(System.Type[])">
- <param name="containers">List of types that developers want to have as the containers to apply this particular appearance</param>
- <summary>Returns a strongly typed <see cref="T:UIKit.UIAppearance" /> for instances of this class when the view is hosted in the specified hierarchy.</summary>
- <returns>The appearance proxy object that developers can use to set properties when the given container hierarchy is active</returns>
- <remarks>
- <para>The returned object represents the <see cref="T:UIKit.UIAppearance" /> proxy where developers can set appearance properties for instances of <see cref="T:AuthenticationServices.ASAuthorizationAppleIdButton" /> when those instances are contained in the hierarchy specified by the <paramref name="containers" /> parameter.</para>
- <para>If developers want to control the appearance of subclasses of <see cref="T:AuthenticationServices.ASAuthorizationAppleIdButton" />, they should use the <see cref="M:AuthenticationServices.ASAuthorizationAppleIdButton.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para>
- <para>The following example shows how this method works:</para>
- <example>
- <code lang="csharp lang-csharp"><![CDATA[
- var mySliders = UISlider.AppearanceWhenContainedIn (typeof (UINavigationBar), typeof (UIPopoverController));
- mySliders.TintColor = UIColor.Red;
- ]]></code>
- </example>
- <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para>
- </remarks>
- </member>
- <member name="M:AuthenticationServices.ASAuthorizationAppleIdButton.GetAppearance(UIKit.UITraitCollection)">
- <summary>Obtains the appearance proxy <see cref="T:AuthenticationServices.ASAuthorizationAppleIdButton.ASAuthorizationAppleIdButtonAppearance" /> for <see cref="T:AuthenticationServices.ASAuthorizationAppleIdButton" />.</summary>
- <param name="traits">Trait collection to match.</param>
- <returns>
- <para>An appearance proxy object for the specified type.</para>
- </returns>
- <remarks>
- <para>The following example shows how this method works:</para>
- <example>
- <code lang="csharp lang-csharp"><![CDATA[
- var myTraits = new UITraitCollection ();
- var myTheme = ASAuthorizationAppleIdButton.GetAppearance (myTraits);
- myTheme.TintColor = UIColor.Red;
- ]]></code>
- </example>
- <para>If developers want to control the appearance of subclasses of <see cref="T:AuthenticationServices.ASAuthorizationAppleIdButton" />, they should use the <see cref="M:AuthenticationServices.ASAuthorizationAppleIdButton.GetAppearance``1(UIKit.UITraitCollection)" /> method.</para>
- <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para>
- </remarks>
- </member>
- <member name="M:AuthenticationServices.ASAuthorizationAppleIdButton.GetAppearance(UIKit.UITraitCollection,System.Type[])">
- <summary>Obtains the appearance proxy <see cref="T:AuthenticationServices.ASAuthorizationAppleIdButton.ASAuthorizationAppleIdButtonAppearance" /> for <see cref="T:AuthenticationServices.ASAuthorizationAppleIdButton" />.</summary>
- <param name="traits">Trait collection to match.</param>
- <param name="containers">List of types that the developer wishes to have as the containers to apply this particular appearance.</param>
- <returns>
- <para>An appearance proxy object for the specified type.</para>
- </returns>
- <remarks>
- <para>The following example shows how this method works:</para>
- <example>
- <code lang="csharp lang-csharp"><![CDATA[
- var myTraits = new UITraitCollection ();
- var myTheme = ASAuthorizationAppleIdButton.GetAppearance (myTraits, typeof (UINavigationBar), typeof (UIPopoverController));
- myTheme.TintColor = UIColor.Red;
- ]]></code>
- </example>
- <para>If developers want to control the appearance of subclasses of <see cref="T:AuthenticationServices.ASAuthorizationAppleIdButton" />, they should use the <see cref="M:AuthenticationServices.ASAuthorizationAppleIdButton.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para>
- <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para>
- </remarks>
- </member>
- <member name="M:AuthenticationServices.ASAuthorizationAppleIdButton.GetAppearance``1(UIKit.UITraitCollection)">
- <summary>Obtains the appearance proxy <see cref="T:AuthenticationServices.ASAuthorizationAppleIdButton.ASAuthorizationAppleIdButtonAppearance" /> for the subclass of <see cref="T:AuthenticationServices.ASAuthorizationAppleIdButton" />.</summary>
- <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:AuthenticationServices.ASAuthorizationAppleIdButton" />.</typeparam>
- <param name="traits">Trait collection to match.</param>
- <returns>
- <para>An appearance proxy object for the specified type.</para>
- </returns>
- <remarks>
- <para>Setting any appearance properties on the returned object will affect the appearance of all classes and subclasses of the type parameter.</para>
- <para>Unlike the <see cref="P:AuthenticationServices.ASAuthorizationAppleIdButton.Appearance" /> property, or the <see cref="M:AuthenticationServices.ASAuthorizationAppleIdButton.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para>
- <para>The following example shows how this method works:</para>
- <example>
- <code lang="csharp lang-csharp"><![CDATA[
- var myTraits = new UITraitCollection ();
- var myTheme = ASAuthorizationAppleIdButton.GetAppearance<MyASAuthorizationAppleIdButtonSubclass> (myTraits);
- myTheme.TintColor = UIColor.Red;
- ]]></code>
- </example>
- <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para>
- </remarks>
- </member>
- <member name="M:AuthenticationServices.ASAuthorizationAppleIdButton.GetAppearance``1(UIKit.UITraitCollection,System.Type[])">
- <summary>Obtains the appearance proxy <see cref="T:AuthenticationServices.ASAuthorizationAppleIdButton.ASAuthorizationAppleIdButtonAppearance" /> for the subclass of <see cref="T:AuthenticationServices.ASAuthorizationAppleIdButton" />.</summary>
- <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:AuthenticationServices.ASAuthorizationAppleIdButton" />.</typeparam>
- <param name="traits">Trait collection to match.</param>
- <param name="containers">List of types that the developer wishes to have as the containers to apply this particular appearance.</param>
- <returns>
- <para>An appearance proxy object for the specified type.</para>
- </returns>
- <remarks>
- <para>Setting any appearance properties on the returned object will affect the appearance of all classes and subclasses of the type parameter.</para>
- <para>Unlike the <see cref="P:AuthenticationServices.ASAuthorizationAppleIdButton.Appearance" /> property, or the <see cref="M:AuthenticationServices.ASAuthorizationAppleIdButton.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para>
- <para>The following example shows how this method works:</para>
- <example>
- <code lang="csharp lang-csharp"><![CDATA[
- var myTraits = new UITraitCollection ();
- var myTheme = ASAuthorizationAppleIdButton.GetAppearance<MyASAuthorizationAppleIdButtonSubclass> (myTraits, typeof (UINavigationBar), typeof (UIPopoverController));
- myTheme.TintColor = UIColor.Red;
- ]]></code>
- </example>
- <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para>
- </remarks>
- </member>
- <member name="P:AuthenticationServices.ASAuthorizationAppleIdCredential.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:AuthenticationServices.ASAuthorizationAppleIdCredential.#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:AuthenticationServices.ASAuthorizationAppleIdCredential.#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:AuthenticationServices.ASAuthorizationAppleIdCredential.#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="P:AuthenticationServices.ASAuthorizationAppleIdProvider.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:AuthenticationServices.ASAuthorizationAppleIdProvider.#ctor">
- <summary>Creates a new <see cref="T:AuthenticationServices.ASAuthorizationAppleIdProvider" /> with default values.</summary>
- </member>
- <member name="M:AuthenticationServices.ASAuthorizationAppleIdProvider.#ctor(Foundation.NSObjectFlag)">
+ <member name="M:AuthenticationServices.ASAuthorizationAppleIdProvider.#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>
@@ -131499,6 +131474,19 @@
</para>
</remarks>
</member>
+ <member name="P:Foundation.ProtocolAttribute.BackwardsCompatibleCodeGeneration">
+ <summary>
+ <para>This property indicates whether the binding generator will generate backwards-compatible code for the protocol in question.</para>
+ <para>In particular, if this property is true, then the binding generator will generate extension methods for optional members and <see cref="T:Foundation.ProtocolMemberAttribute" /> attributes on the protocol interface for all protocol members.</para>
+ </summary>
+ <remarks>This property is by default true.</remarks>
+ </member>
+ <member name="T:Foundation.RequiredMemberAttribute">
+ <summary>This attribute is added by the binding generator to members that bind required protocol members.</summary>
+ </member>
+ <member name="T:Foundation.OptionalMemberAttribute">
+ <summary>This attribute is added by the binding generator to members that bind optional protocol members.</summary>
+ </member>
<member name="T:Foundation.XpcInterfaceAttribute">
<summary>
Specifies that the decorated interface (which must also be
@@ -374797,179 +374785,119 @@
<member name="P:UIKit.UIToolbar.WeakDelegate">
<appledoc>https://developer.apple.com/documentation/uikit/uitoolbar/1617992-delegate</appledoc>
</member>
- <member name="T:UIKit.UITraitCollection">
- <appledoc>https://developer.apple.com/documentation/uikit/uitraitcollection</appledoc>
- </member>
- <member name="M:UIKit.UITraitCollection.Contains(UIKit.UITraitCollection)">
- <appledoc>https://developer.apple.com/documentation/uikit/uitraitcollection/1623506-containstraitsincollection</appledoc>
- </member>
- <member name="M:UIKit.UITraitCollection.Copy(Foundation.NSZone)">
- <appledoc>https://developer.apple.com/documentation/foundation/nscopying/1410311-copywithzone</appledoc>
- </member>
- <member name="M:UIKit.UITraitCollection.FromAccessibilityContrast(UIKit.UIAccessibilityContrast)">
- <appledoc>https://developer.apple.com/documentation/uikit/uitraitcollection/3238083-traitcollectionwithaccessibility</appledoc>
- </member>
- <member name="M:UIKit.UITraitCollection.FromActiveAppearance(UIKit.UIUserInterfaceActiveAppearance)">
- <appledoc>https://developer.apple.com/documentation/uikit/uitraitcollection/3618953-traitcollectionwithactiveappeara</appledoc>
- </member>
- <member name="M:UIKit.UITraitCollection.FromDisplayGamut(UIKit.UIDisplayGamut)">
- <appledoc>https://developer.apple.com/documentation/uikit/uitraitcollection/1771747-traitcollectionwithdisplaygamut</appledoc>
- </member>
- <member name="M:UIKit.UITraitCollection.FromDisplayScale(System.Runtime.InteropServices.NFloat)">
- <appledoc>https://developer.apple.com/documentation/uikit/uitraitcollection/1623518-traitcollectionwithdisplayscale</appledoc>
- </member>
- <member name="M:UIKit.UITraitCollection.FromForceTouchCapability(UIKit.UIForceTouchCapability)">
- <appledoc>https://developer.apple.com/documentation/uikit/uitraitcollection/1623511-traitcollectionwithforcetouchcap</appledoc>
- </member>
- <member name="M:UIKit.UITraitCollection.FromHorizontalSizeClass(UIKit.UIUserInterfaceSizeClass)">
- <appledoc>https://developer.apple.com/documentation/uikit/uitraitcollection/1623520-traitcollectionwithhorizontalsiz</appledoc>
- </member>
- <member name="M:UIKit.UITraitCollection.FromLayoutDirection(UIKit.UITraitEnvironmentLayoutDirection)">
- <appledoc>https://developer.apple.com/documentation/uikit/uitraitcollection/1648354-traitcollectionwithlayoutdirecti</appledoc>
- </member>
- <member name="M:UIKit.UITraitCollection.FromLegibilityWeight(UIKit.UILegibilityWeight)">
- <appledoc>https://developer.apple.com/documentation/uikit/uitraitcollection/3255095-traitcollectionwithlegibilitywei</appledoc>
- </member>
- <member name="M:UIKit.UITraitCollection.FromSceneCaptureState(UIKit.UISceneCaptureState)">
- <appledoc>https://developer.apple.com/documentation/uikit/uitraitcollection/4292629-traitcollectionwithscenecaptures</appledoc>
- </member>
- <member name="M:UIKit.UITraitCollection.FromTraitsFromCollections(UIKit.UITraitCollection[])">
- <appledoc>https://developer.apple.com/documentation/uikit/uitraitcollection/1623512-traitcollectionwithtraitsfromcol</appledoc>
- </member>
- <member name="M:UIKit.UITraitCollection.FromUserInterfaceIdiom(UIKit.UIUserInterfaceIdiom)">
- <appledoc>https://developer.apple.com/documentation/uikit/uitraitcollection/1623507-traitcollectionwithuserinterface</appledoc>
- </member>
- <member name="M:UIKit.UITraitCollection.FromUserInterfaceLevel(UIKit.UIUserInterfaceLevel)">
- <appledoc>https://developer.apple.com/documentation/uikit/uitraitcollection/3238084-traitcollectionwithuserinterface</appledoc>
- </member>
- <member name="M:UIKit.UITraitCollection.FromUserInterfaceStyle(UIKit.UIUserInterfaceStyle)">
- <appledoc>https://developer.apple.com/documentation/uikit/uitraitcollection/1651062-traitcollectionwithuserinterface</appledoc>
- </member>
- <member name="M:UIKit.UITraitCollection.FromVerticalSizeClass(UIKit.UIUserInterfaceSizeClass)">
- <appledoc>https://developer.apple.com/documentation/uikit/uitraitcollection/1623505-traitcollectionwithverticalsizec</appledoc>
- </member>
- <member name="M:UIKit.UITraitCollection.GetChangedTraits(UIKit.UITraitCollection)">
- <appledoc>https://developer.apple.com/documentation/uikit/uitraitcollection/4134882-changedtraitsfromtraitcollection</appledoc>
- </member>
- <member name="M:UIKit.UITraitCollection.GetObject(UIKit.IUIObjectTraitDefinition)">
- <appledoc>https://developer.apple.com/documentation/uikit/uitraitcollection/4134883-objectfortrait</appledoc>
- </member>
- <member name="M:UIKit.UITraitCollection.GetTraitCollection(UIKit.UINSToolbarItemPresentationSize)">
- <appledoc>https://developer.apple.com/documentation/uikit/uitraitcollection/3975942-traitcollectionwithtoolbaritempr</appledoc>
- </member>
- <member name="M:UIKit.UITraitCollection.GetTraitCollection(System.String)">
- <appledoc>https://developer.apple.com/documentation/uikit/uitraitcollection/4210403-traitcollectionwithtypesettingla</appledoc>
+ <member name="T:UIKit.UIPresentationController">
+ <appledoc>https://developer.apple.com/documentation/uikit/uipresentationcontroller</appledoc>
</member>
- <member name="M:UIKit.UITraitCollection.GetTraitCollection(UIKit.UIImageDynamicRange)">
- <appledoc>https://developer.apple.com/documentation/uikit/uitraitcollection/4173175-traitcollectionwithimagedynamicr</appledoc>
+ <member name="M:UIKit.UIPresentationController.#ctor(UIKit.UIViewController,UIKit.UIViewController)">
+ <appledoc>https://developer.apple.com/documentation/uikit/uipresentationcontroller/1618328-initwithpresentedviewcontroller</appledoc>
</member>
- <member name="M:UIKit.UITraitCollection.GetTraitCollectionByModifyingTraits(System.Func{UIKit.IUIMutableTraits})">
- <appledoc>https://developer.apple.com/documentation/uikit/uitraitcollection/4134886-traitcollectionbymodifyingtraits</appledoc>
+ <member name="M:UIKit.UIPresentationController.AdaptivePresentationStyle">
+ <appledoc>https://developer.apple.com/documentation/uikit/uipresentationcontroller/1618340-adaptivepresentationstyle</appledoc>
</member>
- <member name="M:UIKit.UITraitCollection.GetTraitCollectionByReplacingObject(Foundation.NSObject,UIKit.IUIObjectTraitDefinition)">
- <appledoc>https://developer.apple.com/documentation/uikit/uitraitcollection/4134889-traitcollectionbyreplacingobject</appledoc>
+ <member name="M:UIKit.UIPresentationController.AdaptivePresentationStyle(UIKit.UITraitCollection)">
+ <appledoc>https://developer.apple.com/documentation/uikit/uipresentationcontroller/1618325-adaptivepresentationstylefortrai</appledoc>
</member>
- <member name="M:UIKit.UITraitCollection.GetTraitCollectionByReplacingValue(System.Runtime.InteropServices.NFloat,UIKit.IUICGFloatTraitDefinition)">
- <appledoc>https://developer.apple.com/documentation/uikit/uitraitcollection/4134887-traitcollectionbyreplacingcgfloa</appledoc>
+ <member name="M:UIKit.UIPresentationController.ContainerViewDidLayoutSubviews">
+ <appledoc>https://developer.apple.com/documentation/uikit/uipresentationcontroller/1618331-containerviewdidlayoutsubviews</appledoc>
</member>
- <member name="M:UIKit.UITraitCollection.GetTraitCollectionWithObject(Foundation.NSObject,UIKit.IUIObjectTraitDefinition)">
- <appledoc>https://developer.apple.com/documentation/uikit/uitraitcollection/4134892-traitcollectionwithobject</appledoc>
+ <member name="M:UIKit.UIPresentationController.ContainerViewWillLayoutSubviews">
+ <appledoc>https://developer.apple.com/documentation/uikit/uipresentationcontroller/1618341-containerviewwilllayoutsubviews</appledoc>
</member>
- <member name="M:UIKit.UITraitCollection.GetTraitCollectionWithTraits(System.Func{UIKit.IUIMutableTraits})">
- <appledoc>https://developer.apple.com/documentation/uikit/uitraitcollection/4134893-traitcollectionwithtraits</appledoc>
+ <member name="M:UIKit.UIPresentationController.DidUpdateFocus(UIKit.UIFocusUpdateContext,UIKit.UIFocusAnimationCoordinator)">
+ <appledoc>https://developer.apple.com/documentation/uikit/uifocusenvironment/1616841-didupdatefocusincontext</appledoc>
</member>
- <member name="M:UIKit.UITraitCollection.GetTraitCollectionWithValue(System.Runtime.InteropServices.NFloat,UIKit.IUICGFloatTraitDefinition)">
- <appledoc>https://developer.apple.com/documentation/uikit/uitraitcollection/4134890-traitcollectionwithcgfloatvalue</appledoc>
+ <member name="M:UIKit.UIPresentationController.DismissalTransitionDidEnd(System.Boolean)">
+ <appledoc>https://developer.apple.com/documentation/uikit/uipresentationcontroller/1618323-dismissaltransitiondidend</appledoc>
</member>
- <member name="M:UIKit.UITraitCollection.GetTraitCollectionWithValue(System.IntPtr,UIKit.IUINSIntegerTraitDefinition)">
- <appledoc>https://developer.apple.com/documentation/uikit/uitraitcollection/4134891-traitcollectionwithnsintegervalu</appledoc>
+ <member name="M:UIKit.UIPresentationController.DismissalTransitionWillBegin">
+ <appledoc>https://developer.apple.com/documentation/uikit/uipresentationcontroller/1618342-dismissaltransitionwillbegin</appledoc>
</member>
- <member name="M:UIKit.UITraitCollection.GetValueForTrait(UIKit.IUICGFloatTraitDefinition)">
- <appledoc>https://developer.apple.com/documentation/uikit/uitraitcollection/4134894-valueforcgfloattrait</appledoc>
+ <member name="M:UIKit.UIPresentationController.GetSizeForChildContentContainer(UIKit.IUIContentContainer,CoreGraphics.CGSize)">
+ <appledoc>https://developer.apple.com/documentation/uikit/uicontentcontainer/1621484-sizeforchildcontentcontainer</appledoc>
</member>
- <member name="M:UIKit.UITraitCollection.GetValueForTrait(UIKit.IUINSIntegerTraitDefinition)">
- <appledoc>https://developer.apple.com/documentation/uikit/uitraitcollection/4134895-valuefornsintegertrait</appledoc>
+ <member name="M:UIKit.UIPresentationController.PreferredContentSizeDidChangeForChildContentContainer(UIKit.IUIContentContainer)">
+ <appledoc>https://developer.apple.com/documentation/uikit/uicontentcontainer/1621351-preferredcontentsizedidchangefor</appledoc>
</member>
- <member name="M:UIKit.UITraitCollection.HasDifferentColorAppearanceComparedTo(UIKit.UITraitCollection)">
- <appledoc>https://developer.apple.com/documentation/uikit/uitraitcollection/3238081-hasdifferentcolorappearancecompa</appledoc>
+ <member name="M:UIKit.UIPresentationController.PresentationTransitionDidEnd(System.Boolean)">
+ <appledoc>https://developer.apple.com/documentation/uikit/uipresentationcontroller/1618327-presentationtransitiondidend</appledoc>
</member>
- <member name="M:UIKit.UITraitCollection.PerformAsCurrentTraitCollection(System.Action)">
- <appledoc>https://developer.apple.com/documentation/uikit/uitraitcollection/3238082-performascurrenttraitcollection</appledoc>
+ <member name="M:UIKit.UIPresentationController.PresentationTransitionWillBegin">
+ <appledoc>https://developer.apple.com/documentation/uikit/uipresentationcontroller/1618330-presentationtransitionwillbegin</appledoc>
</member>
- <member name="M:UIKit.UITraitCollection.TraitCollectionByReplacingValue(System.IntPtr,UIKit.IUINSIntegerTraitDefinition)">
- <appledoc>https://developer.apple.com/documentation/uikit/uitraitcollection/4134888-traitcollectionbyreplacingnsinte</appledoc>
+ <member name="M:UIKit.UIPresentationController.SetNeedsFocusUpdate">
+ <appledoc>https://developer.apple.com/documentation/uikit/uifocusenvironment/1616837-setneedsfocusupdate</appledoc>
</member>
- <member name="P:UIKit.UITraitCollection.AccessibilityContrast">
- <appledoc>https://developer.apple.com/documentation/uikit/uitraitcollection/3238079-accessibilitycontrast</appledoc>
+ <member name="M:UIKit.UIPresentationController.ShouldUpdateFocus(UIKit.UIFocusUpdateContext)">
+ <appledoc>https://developer.apple.com/documentation/uikit/uifocusenvironment/1616831-shouldupdatefocusincontext</appledoc>
</member>
- <member name="P:UIKit.UITraitCollection.ActiveAppearance">
- <appledoc>https://developer.apple.com/documentation/uikit/uitraitcollection/3618952-activeappearance</appledoc>
+ <member name="M:UIKit.UIPresentationController.SystemLayoutFittingSizeDidChangeForChildContentContainer(UIKit.IUIContentContainer)">
+ <appledoc>https://developer.apple.com/documentation/uikit/uicontentcontainer/1621424-systemlayoutfittingsizedidchange</appledoc>
</member>
- <member name="P:UIKit.UITraitCollection.CurrentTraitCollection">
- <appledoc>https://developer.apple.com/documentation/uikit/uitraitcollection/3238080-currenttraitcollection</appledoc>
+ <member name="M:UIKit.UIPresentationController.TraitCollectionDidChange(UIKit.UITraitCollection)">
+ <appledoc>https://developer.apple.com/documentation/uikit/uitraitenvironment/1623516-traitcollectiondidchange</appledoc>
</member>
- <member name="P:UIKit.UITraitCollection.DisplayGamut">
- <appledoc>https://developer.apple.com/documentation/uikit/uitraitcollection/1771749-displaygamut</appledoc>
+ <member name="M:UIKit.UIPresentationController.UpdateFocusIfNeeded">
+ <appledoc>https://developer.apple.com/documentation/uikit/uifocusenvironment/1616833-updatefocusifneeded</appledoc>
</member>
- <member name="P:UIKit.UITraitCollection.DisplayScale">
- <appledoc>https://developer.apple.com/documentation/uikit/uitraitcollection/1623519-displayscale</appledoc>
+ <member name="M:UIKit.UIPresentationController.ViewWillTransitionToSize(CoreGraphics.CGSize,UIKit.IUIViewControllerTransitionCoordinator)">
+ <appledoc>https://developer.apple.com/documentation/uikit/uicontentcontainer/1621466-viewwilltransitiontosize</appledoc>
</member>
- <member name="P:UIKit.UITraitCollection.ForceTouchCapability">
- <appledoc>https://developer.apple.com/documentation/uikit/uitraitcollection/1623515-forcetouchcapability</appledoc>
+ <member name="M:UIKit.UIPresentationController.WillTransitionToTraitCollection(UIKit.UITraitCollection,UIKit.IUIViewControllerTransitionCoordinator)">
+ <appledoc>https://developer.apple.com/documentation/uikit/uicontentcontainer/1621511-willtransitiontotraitcollection</appledoc>
</member>
- <member name="P:UIKit.UITraitCollection.HorizontalSizeClass">
- <appledoc>https://developer.apple.com/documentation/uikit/uitraitcollection/1623508-horizontalsizeclass</appledoc>
+ <member name="P:UIKit.UIPresentationController.ContainerView">
+ <appledoc>https://developer.apple.com/documentation/uikit/uipresentationcontroller/1618332-containerview</appledoc>
</member>
- <member name="P:UIKit.UITraitCollection.ImageConfiguration">
- <appledoc>https://developer.apple.com/documentation/uikit/uitraitcollection/3295976-imageconfiguration</appledoc>
+ <member name="P:UIKit.UIPresentationController.FocusGroupIdentifier">
+ <appledoc>https://developer.apple.com/documentation/uikit/uifocusenvironment/3601224-focusgroupidentifier</appledoc>
</member>
- <member name="P:UIKit.UITraitCollection.ImageDynamicRange">
- <appledoc>https://developer.apple.com/documentation/uikit/uitraitcollection/4173172-imagedynamicrange</appledoc>
+ <member name="P:UIKit.UIPresentationController.FocusItemContainer">
+ <appledoc>https://developer.apple.com/documentation/uikit/uifocusenvironment/2976949-focusitemcontainer</appledoc>
</member>
- <member name="P:UIKit.UITraitCollection.LayoutDirection">
- <appledoc>https://developer.apple.com/documentation/uikit/uitraitcollection/1648355-layoutdirection</appledoc>
+ <member name="P:UIKit.UIPresentationController.FrameOfPresentedViewInContainerView">
+ <appledoc>https://developer.apple.com/documentation/uikit/uipresentationcontroller/1618337-frameofpresentedviewincontainerv</appledoc>
</member>
- <member name="P:UIKit.UITraitCollection.LegibilityWeight">
- <appledoc>https://developer.apple.com/documentation/uikit/uitraitcollection/3255094-legibilityweight</appledoc>
+ <member name="P:UIKit.UIPresentationController.OverrideTraitCollection">
+ <appledoc>https://developer.apple.com/documentation/uikit/uipresentationcontroller/1618335-overridetraitcollection</appledoc>
</member>
- <member name="P:UIKit.UITraitCollection.PreferredContentSizeCategory">
- <appledoc>https://developer.apple.com/documentation/uikit/uitraitcollection/1771746-preferredcontentsizecategory</appledoc>
+ <member name="P:UIKit.UIPresentationController.ParentFocusEnvironment">
+ <appledoc>https://developer.apple.com/documentation/uikit/uifocusenvironment/2976950-parentfocusenvironment</appledoc>
</member>
- <member name="P:UIKit.UITraitCollection.SceneCaptureState">
- <appledoc>https://developer.apple.com/documentation/uikit/uitraitcollection/4292628-scenecapturestate</appledoc>
+ <member name="P:UIKit.UIPresentationController.PreferredContentSize">
+ <appledoc>https://developer.apple.com/documentation/uikit/uicontentcontainer/1621481-preferredcontentsize</appledoc>
</member>
- <member name="P:UIKit.UITraitCollection.SystemTraitsAffectingColorAppearance">
- <appledoc>https://developer.apple.com/documentation/uikit/uitraitcollection/4134884-systemtraitsaffectingcolorappear</appledoc>
+ <member name="P:UIKit.UIPresentationController.PreferredFocusEnvironments">
+ <appledoc>https://developer.apple.com/documentation/uikit/uifocusenvironment/1648972-preferredfocusenvironments</appledoc>
</member>
- <member name="P:UIKit.UITraitCollection.SystemTraitsAffectingImageLookup">
- <appledoc>https://developer.apple.com/documentation/uikit/uitraitcollection/4173173-systemtraitsaffectingimagelookup</appledoc>
+ <member name="P:UIKit.UIPresentationController.PreferredFocusedView">
+ <appledoc>https://developer.apple.com/documentation/uikit/uifocusenvironment/1616830-preferredfocusedview</appledoc>
</member>
- <member name="P:UIKit.UITraitCollection.ToolbarItemPresentationSize">
- <appledoc>https://developer.apple.com/documentation/uikit/uitraitcollection/3975941-toolbaritempresentationsize</appledoc>
+ <member name="P:UIKit.UIPresentationController.PresentationStyle">
+ <appledoc>https://developer.apple.com/documentation/uikit/uipresentationcontroller/1618320-presentationstyle</appledoc>
</member>
- <member name="P:UIKit.UITraitCollection.TypesettingLanguage">
- <appledoc>https://developer.apple.com/documentation/uikit/uitraitcollection/4210404-typesettinglanguage</appledoc>
+ <member name="P:UIKit.UIPresentationController.PresentedView">
+ <appledoc>https://developer.apple.com/documentation/uikit/uipresentationcontroller/1618321-presentedview</appledoc>
</member>
- <member name="P:UIKit.UITraitCollection.UserInterfaceIdiom">
- <appledoc>https://developer.apple.com/documentation/uikit/uitraitcollection/1623521-userinterfaceidiom</appledoc>
+ <member name="P:UIKit.UIPresentationController.PresentedViewController">
+ <appledoc>https://developer.apple.com/documentation/uikit/uipresentationcontroller/1618322-presentedviewcontroller</appledoc>
</member>
- <member name="P:UIKit.UITraitCollection.UserInterfaceLevel">
- <appledoc>https://developer.apple.com/documentation/uikit/uitraitcollection/3238085-userinterfacelevel</appledoc>
+ <member name="P:UIKit.UIPresentationController.PresentingViewController">
+ <appledoc>https://developer.apple.com/documentation/uikit/uipresentationcontroller/1618338-presentingviewcontroller</appledoc>
</member>
- <member name="P:UIKit.UITraitCollection.UserInterfaceStyle">
- <appledoc>https://developer.apple.com/documentation/uikit/uitraitcollection/1651063-userinterfacestyle</appledoc>
+ <member name="P:UIKit.UIPresentationController.ShouldPresentInFullscreen">
+ <appledoc>https://developer.apple.com/documentation/uikit/uipresentationcontroller/1618336-shouldpresentinfullscreen</appledoc>
</member>
- <member name="P:UIKit.UITraitCollection.VerticalSizeClass">
- <appledoc>https://developer.apple.com/documentation/uikit/uitraitcollection/1623513-verticalsizeclass</appledoc>
+ <member name="P:UIKit.UIPresentationController.ShouldRemovePresentersView">
+ <appledoc>https://developer.apple.com/documentation/uikit/uipresentationcontroller/1618319-shouldremovepresentersview</appledoc>
</member>
- <member name="T:UIKit.UIVibrancyEffect">
- <appledoc>https://developer.apple.com/documentation/uikit/uivibrancyeffect</appledoc>
+ <member name="P:UIKit.UIPresentationController.TraitCollection">
+ <appledoc>https://developer.apple.com/documentation/uikit/uitraitenvironment/1623514-traitcollection</appledoc>
</member>
- <member name="M:UIKit.UIVibrancyEffect.FromBlurEffect(UIKit.UIBlurEffect)">
- <appledoc>https://developer.apple.com/documentation/uikit/uivibrancyeffect/1615064-effectforblureffect</appledoc>
+ <member name="P:UIKit.UIPresentationController.TraitOverrides">
+ <appledoc>https://developer.apple.com/documentation/uikit/uipresentationcontroller/4134825-traitoverrides</appledoc>
</member>
- <member name="M:UIKit.UIVibrancyEffect.FromBlurEffect(UIKit.UIBlurEffect,UIKit.UIVibrancyEffectStyle)">
- <appledoc>https://developer.apple.com/documentation/uikit/uivibrancyeffect/3229994-effectforblureffect</appledoc>
+ <member name="P:UIKit.UIPresentationController.WeakDelegate">
+ <appledoc>https://developer.apple.com/documentation/uikit/uipresentationcontroller/1618329-delegate</appledoc>
</member>
<member name="T:UIKit.UIView">
<appledoc>https://developer.apple.com/documentation/uikit/uiview</appledoc>
@@ -375556,6 +375484,228 @@
<member name="P:UIKit.UIView.Window">
<appledoc>https://developer.apple.com/documentation/uikit/uiview/1622456-window</appledoc>
</member>
+ <member name="T:UIKit.UIWindowScene">
+ <appledoc>https://developer.apple.com/documentation/uikit/uiwindowscene</appledoc>
+ </member>
+ <member name="M:UIKit.UIWindowScene.RequestGeometryUpdate(UIKit.UIWindowSceneGeometryPreferences,System.Action{Foundation.NSError})">
+ <appledoc>https://developer.apple.com/documentation/uikit/uiwindowscene/3975944-requestgeometryupdatewithprefere</appledoc>
+ </member>
+ <member name="P:UIKit.UIWindowScene.ActivityItemsConfigurationSource">
+ <appledoc>https://developer.apple.com/documentation/uikit/uiwindowscene/3780514-activityitemsconfigurationsource</appledoc>
+ </member>
+ <member name="P:UIKit.UIWindowScene.CoordinateSpace">
+ <appledoc>https://developer.apple.com/documentation/uikit/uiwindowscene/3198087-coordinatespace</appledoc>
+ </member>
+ <member name="P:UIKit.UIWindowScene.EffectiveGeometry">
+ <appledoc>https://developer.apple.com/documentation/uikit/uiwindowscene/3975943-effectivegeometry</appledoc>
+ </member>
+ <member name="P:UIKit.UIWindowScene.FocusSystem">
+ <appledoc>https://developer.apple.com/documentation/uikit/uiwindowscene/3795593-focussystem</appledoc>
+ </member>
+ <member name="P:UIKit.UIWindowScene.InterfaceOrientation">
+ <appledoc>https://developer.apple.com/documentation/uikit/uiwindowscene/3198088-interfaceorientation</appledoc>
+ </member>
+ <member name="P:UIKit.UIWindowScene.KeyWindow">
+ <appledoc>https://developer.apple.com/documentation/uikit/uiwindowscene/3750932-keywindow</appledoc>
+ </member>
+ <member name="P:UIKit.UIWindowScene.Screen">
+ <appledoc>https://developer.apple.com/documentation/uikit/uiwindowscene/3198089-screen</appledoc>
+ </member>
+ <member name="P:UIKit.UIWindowScene.ScreenshotService">
+ <appledoc>https://developer.apple.com/documentation/uikit/uiwindowscene/3213938-screenshotservice</appledoc>
+ </member>
+ <member name="P:UIKit.UIWindowScene.SizeRestrictions">
+ <appledoc>https://developer.apple.com/documentation/uikit/uiwindowscene/3368166-sizerestrictions</appledoc>
+ </member>
+ <member name="P:UIKit.UIWindowScene.StatusBarManager">
+ <appledoc>https://developer.apple.com/documentation/uikit/uiwindowscene/3213943-statusbarmanager</appledoc>
+ </member>
+ <member name="P:UIKit.UIWindowScene.TraitCollection">
+ <appledoc>https://developer.apple.com/documentation/uikit/uiwindowscene/3198090-traitcollection</appledoc>
+ </member>
+ <member name="P:UIKit.UIWindowScene.TraitOverrides">
+ <appledoc>https://developer.apple.com/documentation/uikit/uiwindowscene/4134902-traitoverrides</appledoc>
+ </member>
+ <member name="P:UIKit.UIWindowScene.WindowingBehaviors">
+ <appledoc>https://developer.apple.com/documentation/uikit/uiwindowscene/3930382-windowingbehaviors</appledoc>
+ </member>
+ <member name="P:UIKit.UIWindowScene.Windows">
+ <appledoc>https://developer.apple.com/documentation/uikit/uiwindowscene/3198091-windows</appledoc>
+ </member>
+ <member name="T:UIKit.UITraitCollection">
+ <appledoc>https://developer.apple.com/documentation/uikit/uitraitcollection</appledoc>
+ </member>
+ <member name="M:UIKit.UITraitCollection.Contains(UIKit.UITraitCollection)">
+ <appledoc>https://developer.apple.com/documentation/uikit/uitraitcollection/1623506-containstraitsincollection</appledoc>
+ </member>
+ <member name="M:UIKit.UITraitCollection.Copy(Foundation.NSZone)">
+ <appledoc>https://developer.apple.com/documentation/foundation/nscopying/1410311-copywithzone</appledoc>
+ </member>
+ <member name="M:UIKit.UITraitCollection.FromAccessibilityContrast(UIKit.UIAccessibilityContrast)">
+ <appledoc>https://developer.apple.com/documentation/uikit/uitraitcollection/3238083-traitcollectionwithaccessibility</appledoc>
+ </member>
+ <member name="M:UIKit.UITraitCollection.FromActiveAppearance(UIKit.UIUserInterfaceActiveAppearance)">
+ <appledoc>https://developer.apple.com/documentation/uikit/uitraitcollection/3618953-traitcollectionwithactiveappeara</appledoc>
+ </member>
+ <member name="M:UIKit.UITraitCollection.FromDisplayGamut(UIKit.UIDisplayGamut)">
+ <appledoc>https://developer.apple.com/documentation/uikit/uitraitcollection/1771747-traitcollectionwithdisplaygamut</appledoc>
+ </member>
+ <member name="M:UIKit.UITraitCollection.FromDisplayScale(System.Runtime.InteropServices.NFloat)">
+ <appledoc>https://developer.apple.com/documentation/uikit/uitraitcollection/1623518-traitcollectionwithdisplayscale</appledoc>
+ </member>
+ <member name="M:UIKit.UITraitCollection.FromForceTouchCapability(UIKit.UIForceTouchCapability)">
+ <appledoc>https://developer.apple.com/documentation/uikit/uitraitcollection/1623511-traitcollectionwithforcetouchcap</appledoc>
+ </member>
+ <member name="M:UIKit.UITraitCollection.FromHorizontalSizeClass(UIKit.UIUserInterfaceSizeClass)">
+ <appledoc>https://developer.apple.com/documentation/uikit/uitraitcollection/1623520-traitcollectionwithhorizontalsiz</appledoc>
+ </member>
+ <member name="M:UIKit.UITraitCollection.FromLayoutDirection(UIKit.UITraitEnvironmentLayoutDirection)">
+ <appledoc>https://developer.apple.com/documentation/uikit/uitraitcollection/1648354-traitcollectionwithlayoutdirecti</appledoc>
+ </member>
+ <member name="M:UIKit.UITraitCollection.FromLegibilityWeight(UIKit.UILegibilityWeight)">
+ <appledoc>https://developer.apple.com/documentation/uikit/uitraitcollection/3255095-traitcollectionwithlegibilitywei</appledoc>
+ </member>
+ <member name="M:UIKit.UITraitCollection.FromSceneCaptureState(UIKit.UISceneCaptureState)">
+ <appledoc>https://developer.apple.com/documentation/uikit/uitraitcollection/4292629-traitcollectionwithscenecaptures</appledoc>
+ </member>
+ <member name="M:UIKit.UITraitCollection.FromTraitsFromCollections(UIKit.UITraitCollection[])">
+ <appledoc>https://developer.apple.com/documentation/uikit/uitraitcollection/1623512-traitcollectionwithtraitsfromcol</appledoc>
+ </member>
+ <member name="M:UIKit.UITraitCollection.FromUserInterfaceIdiom(UIKit.UIUserInterfaceIdiom)">
+ <appledoc>https://developer.apple.com/documentation/uikit/uitraitcollection/1623507-traitcollectionwithuserinterface</appledoc>
+ </member>
+ <member name="M:UIKit.UITraitCollection.FromUserInterfaceLevel(UIKit.UIUserInterfaceLevel)">
+ <appledoc>https://developer.apple.com/documentation/uikit/uitraitcollection/3238084-traitcollectionwithuserinterface</appledoc>
+ </member>
+ <member name="M:UIKit.UITraitCollection.FromUserInterfaceStyle(UIKit.UIUserInterfaceStyle)">
+ <appledoc>https://developer.apple.com/documentation/uikit/uitraitcollection/1651062-traitcollectionwithuserinterface</appledoc>
+ </member>
+ <member name="M:UIKit.UITraitCollection.FromVerticalSizeClass(UIKit.UIUserInterfaceSizeClass)">
+ <appledoc>https://developer.apple.com/documentation/uikit/uitraitcollection/1623505-traitcollectionwithverticalsizec</appledoc>
+ </member>
+ <member name="M:UIKit.UITraitCollection.GetChangedTraits(UIKit.UITraitCollection)">
+ <appledoc>https://developer.apple.com/documentation/uikit/uitraitcollection/4134882-changedtraitsfromtraitcollection</appledoc>
+ </member>
+ <member name="M:UIKit.UITraitCollection.GetObject(UIKit.IUIObjectTraitDefinition)">
+ <appledoc>https://developer.apple.com/documentation/uikit/uitraitcollection/4134883-objectfortrait</appledoc>
+ </member>
+ <member name="M:UIKit.UITraitCollection.GetTraitCollection(UIKit.UINSToolbarItemPresentationSize)">
+ <appledoc>https://developer.apple.com/documentation/uikit/uitraitcollection/3975942-traitcollectionwithtoolbaritempr</appledoc>
+ </member>
+ <member name="M:UIKit.UITraitCollection.GetTraitCollection(System.String)">
+ <appledoc>https://developer.apple.com/documentation/uikit/uitraitcollection/4210403-traitcollectionwithtypesettingla</appledoc>
+ </member>
+ <member name="M:UIKit.UITraitCollection.GetTraitCollection(UIKit.UIImageDynamicRange)">
+ <appledoc>https://developer.apple.com/documentation/uikit/uitraitcollection/4173175-traitcollectionwithimagedynamicr</appledoc>
+ </member>
+ <member name="M:UIKit.UITraitCollection.GetTraitCollectionByModifyingTraits(System.Func{UIKit.IUIMutableTraits})">
+ <appledoc>https://developer.apple.com/documentation/uikit/uitraitcollection/4134886-traitcollectionbymodifyingtraits</appledoc>
+ </member>
+ <member name="M:UIKit.UITraitCollection.GetTraitCollectionByReplacingObject(Foundation.NSObject,UIKit.IUIObjectTraitDefinition)">
+ <appledoc>https://developer.apple.com/documentation/uikit/uitraitcollection/4134889-traitcollectionbyreplacingobject</appledoc>
+ </member>
+ <member name="M:UIKit.UITraitCollection.GetTraitCollectionByReplacingValue(System.Runtime.InteropServices.NFloat,UIKit.IUICGFloatTraitDefinition)">
+ <appledoc>https://developer.apple.com/documentation/uikit/uitraitcollection/4134887-traitcollectionbyreplacingcgfloa</appledoc>
+ </member>
+ <member name="M:UIKit.UITraitCollection.GetTraitCollectionWithObject(Foundation.NSObject,UIKit.IUIObjectTraitDefinition)">
+ <appledoc>https://developer.apple.com/documentation/uikit/uitraitcollection/4134892-traitcollectionwithobject</appledoc>
+ </member>
+ <member name="M:UIKit.UITraitCollection.GetTraitCollectionWithTraits(System.Func{UIKit.IUIMutableTraits})">
+ <appledoc>https://developer.apple.com/documentation/uikit/uitraitcollection/4134893-traitcollectionwithtraits</appledoc>
+ </member>
+ <member name="M:UIKit.UITraitCollection.GetTraitCollectionWithValue(System.Runtime.InteropServices.NFloat,UIKit.IUICGFloatTraitDefinition)">
+ <appledoc>https://developer.apple.com/documentation/uikit/uitraitcollection/4134890-traitcollectionwithcgfloatvalue</appledoc>
+ </member>
+ <member name="M:UIKit.UITraitCollection.GetTraitCollectionWithValue(System.IntPtr,UIKit.IUINSIntegerTraitDefinition)">
+ <appledoc>https://developer.apple.com/documentation/uikit/uitraitcollection/4134891-traitcollectionwithnsintegervalu</appledoc>
+ </member>
+ <member name="M:UIKit.UITraitCollection.GetValueForTrait(UIKit.IUICGFloatTraitDefinition)">
+ <appledoc>https://developer.apple.com/documentation/uikit/uitraitcollection/4134894-valueforcgfloattrait</appledoc>
+ </member>
+ <member name="M:UIKit.UITraitCollection.GetValueForTrait(UIKit.IUINSIntegerTraitDefinition)">
+ <appledoc>https://developer.apple.com/documentation/uikit/uitraitcollection/4134895-valuefornsintegertrait</appledoc>
+ </member>
+ <member name="M:UIKit.UITraitCollection.HasDifferentColorAppearanceComparedTo(UIKit.UITraitCollection)">
+ <appledoc>https://developer.apple.com/documentation/uikit/uitraitcollection/3238081-hasdifferentcolorappearancecompa</appledoc>
+ </member>
+ <member name="M:UIKit.UITraitCollection.PerformAsCurrentTraitCollection(System.Action)">
+ <appledoc>https://developer.apple.com/documentation/uikit/uitraitcollection/3238082-performascurrenttraitcollection</appledoc>
+ </member>
+ <member name="M:UIKit.UITraitCollection.TraitCollectionByReplacingValue(System.IntPtr,UIKit.IUINSIntegerTraitDefinition)">
+ <appledoc>https://developer.apple.com/documentation/uikit/uitraitcollection/4134888-traitcollectionbyreplacingnsinte</appledoc>
+ </member>
+ <member name="P:UIKit.UITraitCollection.AccessibilityContrast">
+ <appledoc>https://developer.apple.com/documentation/uikit/uitraitcollection/3238079-accessibilitycontrast</appledoc>
+ </member>
+ <member name="P:UIKit.UITraitCollection.ActiveAppearance">
+ <appledoc>https://developer.apple.com/documentation/uikit/uitraitcollection/3618952-activeappearance</appledoc>
+ </member>
+ <member name="P:UIKit.UITraitCollection.CurrentTraitCollection">
+ <appledoc>https://developer.apple.com/documentation/uikit/uitraitcollection/3238080-currenttraitcollection</appledoc>
+ </member>
+ <member name="P:UIKit.UITraitCollection.DisplayGamut">
+ <appledoc>https://developer.apple.com/documentation/uikit/uitraitcollection/1771749-displaygamut</appledoc>
+ </member>
+ <member name="P:UIKit.UITraitCollection.DisplayScale">
+ <appledoc>https://developer.apple.com/documentation/uikit/uitraitcollection/1623519-displayscale</appledoc>
+ </member>
+ <member name="P:UIKit.UITraitCollection.ForceTouchCapability">
+ <appledoc>https://developer.apple.com/documentation/uikit/uitraitcollection/1623515-forcetouchcapability</appledoc>
+ </member>
+ <member name="P:UIKit.UITraitCollection.HorizontalSizeClass">
+ <appledoc>https://developer.apple.com/documentation/uikit/uitraitcollection/1623508-horizontalsizeclass</appledoc>
+ </member>
+ <member name="P:UIKit.UITraitCollection.ImageConfiguration">
+ <appledoc>https://developer.apple.com/documentation/uikit/uitraitcollection/3295976-imageconfiguration</appledoc>
+ </member>
+ <member name="P:UIKit.UITraitCollection.ImageDynamicRange">
+ <appledoc>https://developer.apple.com/documentation/uikit/uitraitcollection/4173172-imagedynamicrange</appledoc>
+ </member>
+ <member name="P:UIKit.UITraitCollection.LayoutDirection">
+ <appledoc>https://developer.apple.com/documentation/uikit/uitraitcollection/1648355-layoutdirection</appledoc>
+ </member>
+ <member name="P:UIKit.UITraitCollection.LegibilityWeight">
+ <appledoc>https://developer.apple.com/documentation/uikit/uitraitcollection/3255094-legibilityweight</appledoc>
+ </member>
+ <member name="P:UIKit.UITraitCollection.PreferredContentSizeCategory">
+ <appledoc>https://developer.apple.com/documentation/uikit/uitraitcollection/1771746-preferredcontentsizecategory</appledoc>
+ </member>
+ <member name="P:UIKit.UITraitCollection.SceneCaptureState">
+ <appledoc>https://developer.apple.com/documentation/uikit/uitraitcollection/4292628-scenecapturestate</appledoc>
+ </member>
+ <member name="P:UIKit.UITraitCollection.SystemTraitsAffectingColorAppearance">
+ <appledoc>https://developer.apple.com/documentation/uikit/uitraitcollection/4134884-systemtraitsaffectingcolorappear</appledoc>
+ </member>
+ <member name="P:UIKit.UITraitCollection.SystemTraitsAffectingImageLookup">
+ <appledoc>https://developer.apple.com/documentation/uikit/uitraitcollection/4173173-systemtraitsaffectingimagelookup</appledoc>
+ </member>
+ <member name="P:UIKit.UITraitCollection.ToolbarItemPresentationSize">
+ <appledoc>https://developer.apple.com/documentation/uikit/uitraitcollection/3975941-toolbaritempresentationsize</appledoc>
+ </member>
+ <member name="P:UIKit.UITraitCollection.TypesettingLanguage">
+ <appledoc>https://developer.apple.com/documentation/uikit/uitraitcollection/4210404-typesettinglanguage</appledoc>
+ </member>
+ <member name="P:UIKit.UITraitCollection.UserInterfaceIdiom">
+ <appledoc>https://developer.apple.com/documentation/uikit/uitraitcollection/1623521-userinterfaceidiom</appledoc>
+ </member>
+ <member name="P:UIKit.UITraitCollection.UserInterfaceLevel">
+ <appledoc>https://developer.apple.com/documentation/uikit/uitraitcollection/3238085-userinterfacelevel</appledoc>
+ </member>
+ <member name="P:UIKit.UITraitCollection.UserInterfaceStyle">
+ <appledoc>https://developer.apple.com/documentation/uikit/uitraitcollection/1651063-userinterfacestyle</appledoc>
+ </member>
+ <member name="P:UIKit.UITraitCollection.VerticalSizeClass">
+ <appledoc>https://developer.apple.com/documentation/uikit/uitraitcollection/1623513-verticalsizeclass</appledoc>
+ </member>
+ <member name="T:UIKit.UIVibrancyEffect">
+ <appledoc>https://developer.apple.com/documentation/uikit/uivibrancyeffect</appledoc>
+ </member>
+ <member name="M:UIKit.UIVibrancyEffect.FromBlurEffect(UIKit.UIBlurEffect)">
+ <appledoc>https://developer.apple.com/documentation/uikit/uivibrancyeffect/1615064-effectforblureffect</appledoc>
+ </member>
+ <member name="M:UIKit.UIVibrancyEffect.FromBlurEffect(UIKit.UIBlurEffect,UIKit.UIVibrancyEffectStyle)">
+ <appledoc>https://developer.apple.com/documentation/uikit/uivibrancyeffect/3229994-effectforblureffect</appledoc>
+ </member>
<member name="T:UIKit.UIViewController">
<appledoc>https://developer.apple.com/documentation/uikit/uiviewcontroller</appledoc>
</member>
@@ -382507,120 +382657,6 @@
<member name="P:UIKit.UIPopoverBackgroundView.WantsDefaultContentAppearance">
<appledoc>https://developer.apple.com/documentation/uikit/uipopoverbackgroundview/1619357-wantsdefaultcontentappearance</appledoc>
</member>
- <member name="T:UIKit.UIPresentationController">
- <appledoc>https://developer.apple.com/documentation/uikit/uipresentationcontroller</appledoc>
- </member>
- <member name="M:UIKit.UIPresentationController.#ctor(UIKit.UIViewController,UIKit.UIViewController)">
- <appledoc>https://developer.apple.com/documentation/uikit/uipresentationcontroller/1618328-initwithpresentedviewcontroller</appledoc>
- </member>
- <member name="M:UIKit.UIPresentationController.AdaptivePresentationStyle">
- <appledoc>https://developer.apple.com/documentation/uikit/uipresentationcontroller/1618340-adaptivepresentationstyle</appledoc>
- </member>
- <member name="M:UIKit.UIPresentationController.AdaptivePresentationStyle(UIKit.UITraitCollection)">
- <appledoc>https://developer.apple.com/documentation/uikit/uipresentationcontroller/1618325-adaptivepresentationstylefortrai</appledoc>
- </member>
- <member name="M:UIKit.UIPresentationController.ContainerViewDidLayoutSubviews">
- <appledoc>https://developer.apple.com/documentation/uikit/uipresentationcontroller/1618331-containerviewdidlayoutsubviews</appledoc>
- </member>
- <member name="M:UIKit.UIPresentationController.ContainerViewWillLayoutSubviews">
- <appledoc>https://developer.apple.com/documentation/uikit/uipresentationcontroller/1618341-containerviewwilllayoutsubviews</appledoc>
- </member>
- <member name="M:UIKit.UIPresentationController.DidUpdateFocus(UIKit.UIFocusUpdateContext,UIKit.UIFocusAnimationCoordinator)">
- <appledoc>https://developer.apple.com/documentation/uikit/uifocusenvironment/1616841-didupdatefocusincontext</appledoc>
- </member>
- <member name="M:UIKit.UIPresentationController.DismissalTransitionDidEnd(System.Boolean)">
- <appledoc>https://developer.apple.com/documentation/uikit/uipresentationcontroller/1618323-dismissaltransitiondidend</appledoc>
- </member>
- <member name="M:UIKit.UIPresentationController.DismissalTransitionWillBegin">
- <appledoc>https://developer.apple.com/documentation/uikit/uipresentationcontroller/1618342-dismissaltransitionwillbegin</appledoc>
- </member>
- <member name="M:UIKit.UIPresentationController.GetSizeForChildContentContainer(UIKit.IUIContentContainer,CoreGraphics.CGSize)">
- <appledoc>https://developer.apple.com/documentation/uikit/uicontentcontainer/1621484-sizeforchildcontentcontainer</appledoc>
- </member>
- <member name="M:UIKit.UIPresentationController.PreferredContentSizeDidChangeForChildContentContainer(UIKit.IUIContentContainer)">
- <appledoc>https://developer.apple.com/documentation/uikit/uicontentcontainer/1621351-preferredcontentsizedidchangefor</appledoc>
- </member>
- <member name="M:UIKit.UIPresentationController.PresentationTransitionDidEnd(System.Boolean)">
- <appledoc>https://developer.apple.com/documentation/uikit/uipresentationcontroller/1618327-presentationtransitiondidend</appledoc>
- </member>
- <member name="M:UIKit.UIPresentationController.PresentationTransitionWillBegin">
- <appledoc>https://developer.apple.com/documentation/uikit/uipresentationcontroller/1618330-presentationtransitionwillbegin</appledoc>
- </member>
- <member name="M:UIKit.UIPresentationController.SetNeedsFocusUpdate">
- <appledoc>https://developer.apple.com/documentation/uikit/uifocusenvironment/1616837-setneedsfocusupdate</appledoc>
- </member>
- <member name="M:UIKit.UIPresentationController.ShouldUpdateFocus(UIKit.UIFocusUpdateContext)">
- <appledoc>https://developer.apple.com/documentation/uikit/uifocusenvironment/1616831-shouldupdatefocusincontext</appledoc>
- </member>
- <member name="M:UIKit.UIPresentationController.SystemLayoutFittingSizeDidChangeForChildContentContainer(UIKit.IUIContentContainer)">
- <appledoc>https://developer.apple.com/documentation/uikit/uicontentcontainer/1621424-systemlayoutfittingsizedidchange</appledoc>
- </member>
- <member name="M:UIKit.UIPresentationController.TraitCollectionDidChange(UIKit.UITraitCollection)">
- <appledoc>https://developer.apple.com/documentation/uikit/uitraitenvironment/1623516-traitcollectiondidchange</appledoc>
- </member>
- <member name="M:UIKit.UIPresentationController.UpdateFocusIfNeeded">
- <appledoc>https://developer.apple.com/documentation/uikit/uifocusenvironment/1616833-updatefocusifneeded</appledoc>
- </member>
- <member name="M:UIKit.UIPresentationController.ViewWillTransitionToSize(CoreGraphics.CGSize,UIKit.IUIViewControllerTransitionCoordinator)">
- <appledoc>https://developer.apple.com/documentation/uikit/uicontentcontainer/1621466-viewwilltransitiontosize</appledoc>
- </member>
- <member name="M:UIKit.UIPresentationController.WillTransitionToTraitCollection(UIKit.UITraitCollection,UIKit.IUIViewControllerTransitionCoordinator)">
- <appledoc>https://developer.apple.com/documentation/uikit/uicontentcontainer/1621511-willtransitiontotraitcollection</appledoc>
- </member>
- <member name="P:UIKit.UIPresentationController.ContainerView">
- <appledoc>https://developer.apple.com/documentation/uikit/uipresentationcontroller/1618332-containerview</appledoc>
- </member>
- <member name="P:UIKit.UIPresentationController.FocusGroupIdentifier">
- <appledoc>https://developer.apple.com/documentation/uikit/uifocusenvironment/3601224-focusgroupidentifier</appledoc>
- </member>
- <member name="P:UIKit.UIPresentationController.FocusItemContainer">
- <appledoc>https://developer.apple.com/documentation/uikit/uifocusenvironment/2976949-focusitemcontainer</appledoc>
- </member>
- <member name="P:UIKit.UIPresentationController.FrameOfPresentedViewInContainerView">
- <appledoc>https://developer.apple.com/documentation/uikit/uipresentationcontroller/1618337-frameofpresentedviewincontainerv</appledoc>
- </member>
- <member name="P:UIKit.UIPresentationController.OverrideTraitCollection">
- <appledoc>https://developer.apple.com/documentation/uikit/uipresentationcontroller/1618335-overridetraitcollection</appledoc>
- </member>
- <member name="P:UIKit.UIPresentationController.ParentFocusEnvironment">
- <appledoc>https://developer.apple.com/documentation/uikit/uifocusenvironment/2976950-parentfocusenvironment</appledoc>
- </member>
- <member name="P:UIKit.UIPresentationController.PreferredContentSize">
- <appledoc>https://developer.apple.com/documentation/uikit/uicontentcontainer/1621481-preferredcontentsize</appledoc>
- </member>
- <member name="P:UIKit.UIPresentationController.PreferredFocusEnvironments">
- <appledoc>https://developer.apple.com/documentation/uikit/uifocusenvironment/1648972-preferredfocusenvironments</appledoc>
- </member>
- <member name="P:UIKit.UIPresentationController.PreferredFocusedView">
- <appledoc>https://developer.apple.com/documentation/uikit/uifocusenvironment/1616830-preferredfocusedview</appledoc>
- </member>
- <member name="P:UIKit.UIPresentationController.PresentationStyle">
- <appledoc>https://developer.apple.com/documentation/uikit/uipresentationcontroller/1618320-presentationstyle</appledoc>
- </member>
- <member name="P:UIKit.UIPresentationController.PresentedView">
- <appledoc>https://developer.apple.com/documentation/uikit/uipresentationcontroller/1618321-presentedview</appledoc>
- </member>
- <member name="P:UIKit.UIPresentationController.PresentedViewController">
- <appledoc>https://developer.apple.com/documentation/uikit/uipresentationcontroller/1618322-presentedviewcontroller</appledoc>
- </member>
- <member name="P:UIKit.UIPresentationController.PresentingViewController">
- <appledoc>https://developer.apple.com/documentation/uikit/uipresentationcontroller/1618338-presentingviewcontroller</appledoc>
- </member>
- <member name="P:UIKit.UIPresentationController.ShouldPresentInFullscreen">
- <appledoc>https://developer.apple.com/documentation/uikit/uipresentationcontroller/1618336-shouldpresentinfullscreen</appledoc>
- </member>
- <member name="P:UIKit.UIPresentationController.ShouldRemovePresentersView">
- <appledoc>https://developer.apple.com/documentation/uikit/uipresentationcontroller/1618319-shouldremovepresentersview</appledoc>
- </member>
- <member name="P:UIKit.UIPresentationController.TraitCollection">
- <appledoc>https://developer.apple.com/documentation/uikit/uitraitenvironment/1623514-traitcollection</appledoc>
- </member>
- <member name="P:UIKit.UIPresentationController.TraitOverrides">
- <appledoc>https://developer.apple.com/documentation/uikit/uipresentationcontroller/4134825-traitoverrides</appledoc>
- </member>
- <member name="P:UIKit.UIPresentationController.WeakDelegate">
- <appledoc>https://developer.apple.com/documentation/uikit/uipresentationcontroller/1618329-delegate</appledoc>
- </member>
<member name="T:UIKit.UIPress">
<appledoc>https://developer.apple.com/documentation/uikit/uipress</appledoc>
</member>
@@ -385870,54 +385906,6 @@
<member name="P:UIKit.UIWebView.WeakDelegate">
<appledoc>https://developer.apple.com/documentation/uikit/uiwebview/1617937-delegate</appledoc>
</member>
- <member name="T:UIKit.UIWindowScene">
- <appledoc>https://developer.apple.com/documentation/uikit/uiwindowscene</appledoc>
- </member>
- <member name="M:UIKit.UIWindowScene.RequestGeometryUpdate(UIKit.UIWindowSceneGeometryPreferences,System.Action{Foundation.NSError})">
- <appledoc>https://developer.apple.com/documentation/uikit/uiwindowscene/3975944-requestgeometryupdatewithprefere</appledoc>
- </member>
- <member name="P:UIKit.UIWindowScene.ActivityItemsConfigurationSource">
- <appledoc>https://developer.apple.com/documentation/uikit/uiwindowscene/3780514-activityitemsconfigurationsource</appledoc>
- </member>
- <member name="P:UIKit.UIWindowScene.CoordinateSpace">
- <appledoc>https://developer.apple.com/documentation/uikit/uiwindowscene/3198087-coordinatespace</appledoc>
- </member>
- <member name="P:UIKit.UIWindowScene.EffectiveGeometry">
- <appledoc>https://developer.apple.com/documentation/uikit/uiwindowscene/3975943-effectivegeometry</appledoc>
- </member>
- <member name="P:UIKit.UIWindowScene.FocusSystem">
- <appledoc>https://developer.apple.com/documentation/uikit/uiwindowscene/3795593-focussystem</appledoc>
- </member>
- <member name="P:UIKit.UIWindowScene.InterfaceOrientation">
- <appledoc>https://developer.apple.com/documentation/uikit/uiwindowscene/3198088-interfaceorientation</appledoc>
- </member>
- <member name="P:UIKit.UIWindowScene.KeyWindow">
- <appledoc>https://developer.apple.com/documentation/uikit/uiwindowscene/3750932-keywindow</appledoc>
- </member>
- <member name="P:UIKit.UIWindowScene.Screen">
- <appledoc>https://developer.apple.com/documentation/uikit/uiwindowscene/3198089-screen</appledoc>
- </member>
- <member name="P:UIKit.UIWindowScene.ScreenshotService">
- <appledoc>https://developer.apple.com/documentation/uikit/uiwindowscene/3213938-screenshotservice</appledoc>
- </member>
- <member name="P:UIKit.UIWindowScene.SizeRestrictions">
- <appledoc>https://developer.apple.com/documentation/uikit/uiwindowscene/3368166-sizerestrictions</appledoc>
- </member>
- <member name="P:UIKit.UIWindowScene.StatusBarManager">
- <appledoc>https://developer.apple.com/documentation/uikit/uiwindowscene/3213943-statusbarmanager</appledoc>
- </member>
- <member name="P:UIKit.UIWindowScene.TraitCollection">
- <appledoc>https://developer.apple.com/documentation/uikit/uiwindowscene/3198090-traitcollection</appledoc>
- </member>
- <member name="P:UIKit.UIWindowScene.TraitOverrides">
- <appledoc>https://developer.apple.com/documentation/uikit/uiwindowscene/4134902-traitoverrides</appledoc>
- </member>
- <member name="P:UIKit.UIWindowScene.WindowingBehaviors">
- <appledoc>https://developer.apple.com/documentation/uikit/uiwindowscene/3930382-windowingbehaviors</appledoc>
- </member>
- <member name="P:UIKit.UIWindowScene.Windows">
- <appledoc>https://developer.apple.com/documentation/uikit/uiwindowscene/3198091-windows</appledoc>
- </member>
<member name="T:UIKit.UIWindowSceneActivationAction">
<appledoc>https://developer.apple.com/documentation/uikit/uiwindowsceneactivationaction</appledoc>
</member>
diff --git a/old/dotnet/ios/generated-sources/ARKit/ARCoachingOverlayViewDelegate.g.cs b/new/dotnet/ios/generated-sources/ARKit/ARCoachingOverlayViewDelegate.g.cs
index 65b6333..09d3753 100644
--- a/old/dotnet/ios/generated-sources/ARKit/ARCoachingOverlayViewDelegate.g.cs
+++ b/new/dotnet/ios/generated-sources/ARKit/ARCoachingOverlayViewDelegate.g.cs
@@ -56,6 +56,69 @@ namespace ARKit {
[ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "DidDeactivate", Selector = "coachingOverlayViewDidDeactivate:", ParameterType = new Type [] { typeof (ARKit.ARCoachingOverlayView) }, ParameterByRef = new bool [] { false })]
public partial interface IARCoachingOverlayViewDelegate : INativeObject, IDisposable
{
+ [OptionalMember]
+ [Export ("coachingOverlayViewDidRequestSessionReset:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidRequestSessionReset (ARCoachingOverlayView coachingOverlayView)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ _DidRequestSessionReset (this, coachingOverlayView);
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidRequestSessionReset (IARCoachingOverlayViewDelegate This, ARCoachingOverlayView coachingOverlayView)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var coachingOverlayView__handle__ = coachingOverlayView!.GetNonNullHandle (nameof (coachingOverlayView));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (This.Handle, Selector.GetHandle ("coachingOverlayViewDidRequestSessionReset:"), coachingOverlayView__handle__);
+ #endif
+ }
+ [OptionalMember]
+ [Export ("coachingOverlayViewWillActivate:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void WillActivate (ARCoachingOverlayView coachingOverlayView)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ _WillActivate (this, coachingOverlayView);
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _WillActivate (IARCoachingOverlayViewDelegate This, ARCoachingOverlayView coachingOverlayView)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var coachingOverlayView__handle__ = coachingOverlayView!.GetNonNullHandle (nameof (coachingOverlayView));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (This.Handle, Selector.GetHandle ("coachingOverlayViewWillActivate:"), coachingOverlayView__handle__);
+ #endif
+ }
+ [OptionalMember]
+ [Export ("coachingOverlayViewDidDeactivate:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidDeactivate (ARCoachingOverlayView coachingOverlayView)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ _DidDeactivate (this, coachingOverlayView);
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidDeactivate (IARCoachingOverlayViewDelegate This, ARCoachingOverlayView coachingOverlayView)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var coachingOverlayView__handle__ = coachingOverlayView!.GetNonNullHandle (nameof (coachingOverlayView));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (This.Handle, Selector.GetHandle ("coachingOverlayViewDidDeactivate:"), coachingOverlayView__handle__);
+ #endif
+ }
}
/// <summary>Extension methods to the <see cref="IARCoachingOverlayViewDelegate" /> interface to support all the methods from the ARCoachingOverlayViewDelegate protocol.</summary>
/// <remarks>
diff --git a/old/dotnet/ios/generated-sources/ARKit/ARSCNViewDelegate.g.cs b/new/dotnet/ios/generated-sources/ARKit/ARSCNViewDelegate.g.cs
index 5311def..20ee55c 100644
--- a/old/dotnet/ios/generated-sources/ARKit/ARSCNViewDelegate.g.cs
+++ b/new/dotnet/ios/generated-sources/ARKit/ARSCNViewDelegate.g.cs
@@ -62,6 +62,80 @@ namespace ARKit {
ARKit.IARSessionObserver
, SceneKit.ISCNSceneRendererDelegate
{
+ [OptionalMember]
+ [Export ("renderer:nodeForAnchor:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual global::SceneKit.SCNNode? GetNode (global::SceneKit.ISCNSceneRenderer renderer, ARAnchor anchor)
+ {
+ return _GetNode (this, renderer, anchor);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static global::SceneKit.SCNNode? _GetNode (IARSCNViewDelegate This, global::SceneKit.ISCNSceneRenderer renderer, ARAnchor anchor)
+ {
+ var renderer__handle__ = renderer!.GetNonNullHandle (nameof (renderer));
+ var anchor__handle__ = anchor!.GetNonNullHandle (nameof (anchor));
+ return Runtime.GetNSObject<global::SceneKit.SCNNode> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("renderer:nodeForAnchor:"), renderer__handle__, anchor__handle__))!;
+ }
+ [OptionalMember]
+ [Export ("renderer:didAddNode:forAnchor:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidAddNode (global::SceneKit.ISCNSceneRenderer renderer, global::SceneKit.SCNNode node, ARAnchor anchor)
+ {
+ _DidAddNode (this, renderer, node, anchor);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidAddNode (IARSCNViewDelegate This, global::SceneKit.ISCNSceneRenderer renderer, global::SceneKit.SCNNode node, ARAnchor anchor)
+ {
+ var renderer__handle__ = renderer!.GetNonNullHandle (nameof (renderer));
+ var node__handle__ = node!.GetNonNullHandle (nameof (node));
+ var anchor__handle__ = anchor!.GetNonNullHandle (nameof (anchor));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("renderer:didAddNode:forAnchor:"), renderer__handle__, node__handle__, anchor__handle__);
+ }
+ [OptionalMember]
+ [Export ("renderer:willUpdateNode:forAnchor:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void WillUpdateNode (global::SceneKit.ISCNSceneRenderer renderer, global::SceneKit.SCNNode node, ARAnchor anchor)
+ {
+ _WillUpdateNode (this, renderer, node, anchor);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _WillUpdateNode (IARSCNViewDelegate This, global::SceneKit.ISCNSceneRenderer renderer, global::SceneKit.SCNNode node, ARAnchor anchor)
+ {
+ var renderer__handle__ = renderer!.GetNonNullHandle (nameof (renderer));
+ var node__handle__ = node!.GetNonNullHandle (nameof (node));
+ var anchor__handle__ = anchor!.GetNonNullHandle (nameof (anchor));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("renderer:willUpdateNode:forAnchor:"), renderer__handle__, node__handle__, anchor__handle__);
+ }
+ [OptionalMember]
+ [Export ("renderer:didUpdateNode:forAnchor:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidUpdateNode (global::SceneKit.ISCNSceneRenderer renderer, global::SceneKit.SCNNode node, ARAnchor anchor)
+ {
+ _DidUpdateNode (this, renderer, node, anchor);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidUpdateNode (IARSCNViewDelegate This, global::SceneKit.ISCNSceneRenderer renderer, global::SceneKit.SCNNode node, ARAnchor anchor)
+ {
+ var renderer__handle__ = renderer!.GetNonNullHandle (nameof (renderer));
+ var node__handle__ = node!.GetNonNullHandle (nameof (node));
+ var anchor__handle__ = anchor!.GetNonNullHandle (nameof (anchor));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("renderer:didUpdateNode:forAnchor:"), renderer__handle__, node__handle__, anchor__handle__);
+ }
+ [OptionalMember]
+ [Export ("renderer:didRemoveNode:forAnchor:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidRemoveNode (global::SceneKit.ISCNSceneRenderer renderer, global::SceneKit.SCNNode node, ARAnchor anchor)
+ {
+ _DidRemoveNode (this, renderer, node, anchor);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidRemoveNode (IARSCNViewDelegate This, global::SceneKit.ISCNSceneRenderer renderer, global::SceneKit.SCNNode node, ARAnchor anchor)
+ {
+ var renderer__handle__ = renderer!.GetNonNullHandle (nameof (renderer));
+ var node__handle__ = node!.GetNonNullHandle (nameof (node));
+ var anchor__handle__ = anchor!.GetNonNullHandle (nameof (anchor));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("renderer:didRemoveNode:forAnchor:"), renderer__handle__, node__handle__, anchor__handle__);
+ }
}
/// <summary>Extension methods to the <see cref="IARSCNViewDelegate" /> interface to support all the methods from the ARSCNViewDelegate protocol.</summary>
/// <remarks>
diff --git a/old/dotnet/ios/generated-sources/ARKit/ARSKViewDelegate.g.cs b/new/dotnet/ios/generated-sources/ARKit/ARSKViewDelegate.g.cs
index 31c455f..d1436c5 100644
--- a/old/dotnet/ios/generated-sources/ARKit/ARSKViewDelegate.g.cs
+++ b/new/dotnet/ios/generated-sources/ARKit/ARSKViewDelegate.g.cs
@@ -62,6 +62,80 @@ namespace ARKit {
ARKit.IARSessionObserver
, SpriteKit.ISKViewDelegate
{
+ [OptionalMember]
+ [Export ("view:nodeForAnchor:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual global::SpriteKit.SKNode? GetNode (ARSKView view, ARAnchor anchor)
+ {
+ return _GetNode (this, view, anchor);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static global::SpriteKit.SKNode? _GetNode (IARSKViewDelegate This, ARSKView view, ARAnchor anchor)
+ {
+ var view__handle__ = view!.GetNonNullHandle (nameof (view));
+ var anchor__handle__ = anchor!.GetNonNullHandle (nameof (anchor));
+ return Runtime.GetNSObject<global::SpriteKit.SKNode> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("view:nodeForAnchor:"), view__handle__, anchor__handle__))!;
+ }
+ [OptionalMember]
+ [Export ("view:didAddNode:forAnchor:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidAddNode (ARSKView view, global::SpriteKit.SKNode node, ARAnchor anchor)
+ {
+ _DidAddNode (this, view, node, anchor);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidAddNode (IARSKViewDelegate This, ARSKView view, global::SpriteKit.SKNode node, ARAnchor anchor)
+ {
+ var view__handle__ = view!.GetNonNullHandle (nameof (view));
+ var node__handle__ = node!.GetNonNullHandle (nameof (node));
+ var anchor__handle__ = anchor!.GetNonNullHandle (nameof (anchor));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("view:didAddNode:forAnchor:"), view__handle__, node__handle__, anchor__handle__);
+ }
+ [OptionalMember]
+ [Export ("view:willUpdateNode:forAnchor:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void WillUpdateNode (ARSKView view, global::SpriteKit.SKNode node, ARAnchor anchor)
+ {
+ _WillUpdateNode (this, view, node, anchor);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _WillUpdateNode (IARSKViewDelegate This, ARSKView view, global::SpriteKit.SKNode node, ARAnchor anchor)
+ {
+ var view__handle__ = view!.GetNonNullHandle (nameof (view));
+ var node__handle__ = node!.GetNonNullHandle (nameof (node));
+ var anchor__handle__ = anchor!.GetNonNullHandle (nameof (anchor));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("view:willUpdateNode:forAnchor:"), view__handle__, node__handle__, anchor__handle__);
+ }
+ [OptionalMember]
+ [Export ("view:didUpdateNode:forAnchor:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidUpdateNode (ARSKView view, global::SpriteKit.SKNode node, ARAnchor anchor)
+ {
+ _DidUpdateNode (this, view, node, anchor);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidUpdateNode (IARSKViewDelegate This, ARSKView view, global::SpriteKit.SKNode node, ARAnchor anchor)
+ {
+ var view__handle__ = view!.GetNonNullHandle (nameof (view));
+ var node__handle__ = node!.GetNonNullHandle (nameof (node));
+ var anchor__handle__ = anchor!.GetNonNullHandle (nameof (anchor));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("view:didUpdateNode:forAnchor:"), view__handle__, node__handle__, anchor__handle__);
+ }
+ [OptionalMember]
+ [Export ("view:didRemoveNode:forAnchor:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidRemoveNode (ARSKView view, global::SpriteKit.SKNode node, ARAnchor anchor)
+ {
+ _DidRemoveNode (this, view, node, anchor);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidRemoveNode (IARSKViewDelegate This, ARSKView view, global::SpriteKit.SKNode node, ARAnchor anchor)
+ {
+ var view__handle__ = view!.GetNonNullHandle (nameof (view));
+ var node__handle__ = node!.GetNonNullHandle (nameof (node));
+ var anchor__handle__ = anchor!.GetNonNullHandle (nameof (anchor));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("view:didRemoveNode:forAnchor:"), view__handle__, node__handle__, anchor__handle__);
+ }
}
/// <summary>Extension methods to the <see cref="IARSKViewDelegate" /> interface to support all the methods from the ARSKViewDelegate protocol.</summary>
/// <remarks>
diff --git a/old/dotnet/ios/generated-sources/ARKit/ARSessionDelegate.g.cs b/new/dotnet/ios/generated-sources/ARKit/ARSessionDelegate.g.cs
index 14ff21c..af98f8e 100644
--- a/old/dotnet/ios/generated-sources/ARKit/ARSessionDelegate.g.cs
+++ b/new/dotnet/ios/generated-sources/ARKit/ARSessionDelegate.g.cs
@@ -60,6 +60,71 @@ namespace ARKit {
public partial interface IARSessionDelegate : INativeObject, IDisposable,
ARKit.IARSessionObserver
{
+ [OptionalMember]
+ [Export ("session:didUpdateFrame:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidUpdateFrame (ARSession session, ARFrame frame)
+ {
+ _DidUpdateFrame (this, session, frame);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidUpdateFrame (IARSessionDelegate This, ARSession session, ARFrame frame)
+ {
+ var session__handle__ = session!.GetNonNullHandle (nameof (session));
+ var frame__handle__ = frame!.GetNonNullHandle (nameof (frame));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("session:didUpdateFrame:"), session__handle__, frame__handle__);
+ }
+ [OptionalMember]
+ [Export ("session:didAddAnchors:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidAddAnchors (ARSession session, ARAnchor[] anchors)
+ {
+ _DidAddAnchors (this, session, anchors);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidAddAnchors (IARSessionDelegate This, ARSession session, ARAnchor[] anchors)
+ {
+ var session__handle__ = session!.GetNonNullHandle (nameof (session));
+ if (anchors is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (anchors));
+ var nsa_anchors = NSArray.FromNSObjects (anchors);
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("session:didAddAnchors:"), session__handle__, nsa_anchors.Handle);
+ nsa_anchors.Dispose ();
+ }
+ [OptionalMember]
+ [Export ("session:didUpdateAnchors:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidUpdateAnchors (ARSession session, ARAnchor[] anchors)
+ {
+ _DidUpdateAnchors (this, session, anchors);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidUpdateAnchors (IARSessionDelegate This, ARSession session, ARAnchor[] anchors)
+ {
+ var session__handle__ = session!.GetNonNullHandle (nameof (session));
+ if (anchors is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (anchors));
+ var nsa_anchors = NSArray.FromNSObjects (anchors);
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("session:didUpdateAnchors:"), session__handle__, nsa_anchors.Handle);
+ nsa_anchors.Dispose ();
+ }
+ [OptionalMember]
+ [Export ("session:didRemoveAnchors:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidRemoveAnchors (ARSession session, ARAnchor[] anchors)
+ {
+ _DidRemoveAnchors (this, session, anchors);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidRemoveAnchors (IARSessionDelegate This, ARSession session, ARAnchor[] anchors)
+ {
+ var session__handle__ = session!.GetNonNullHandle (nameof (session));
+ if (anchors is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (anchors));
+ var nsa_anchors = NSArray.FromNSObjects (anchors);
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("session:didRemoveAnchors:"), session__handle__, nsa_anchors.Handle);
+ nsa_anchors.Dispose ();
+ }
}
/// <summary>Extension methods to the <see cref="IARSessionDelegate" /> interface to support all the methods from the ARSessionDelegate protocol.</summary>
/// <remarks>
diff --git a/old/dotnet/ios/generated-sources/ARKit/ARSessionObserver.g.cs b/new/dotnet/ios/generated-sources/ARKit/ARSessionObserver.g.cs
index 603d0a6..7a18131 100644
--- a/old/dotnet/ios/generated-sources/ARKit/ARSessionObserver.g.cs
+++ b/new/dotnet/ios/generated-sources/ARKit/ARSessionObserver.g.cs
@@ -63,6 +63,159 @@ namespace ARKit {
[ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "DidChangeGeoTrackingStatus", Selector = "session:didChangeGeoTrackingStatus:", ParameterType = new Type [] { typeof (ARKit.ARSession), typeof (ARKit.ARGeoTrackingStatus) }, ParameterByRef = new bool [] { false, false })]
public partial interface IARSessionObserver : INativeObject, IDisposable
{
+ [OptionalMember]
+ [Export ("session:didFailWithError:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidFail (ARSession session, NSError error)
+ {
+ _DidFail (this, session, error);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidFail (IARSessionObserver This, ARSession session, NSError error)
+ {
+ var session__handle__ = session!.GetNonNullHandle (nameof (session));
+ var error__handle__ = error!.GetNonNullHandle (nameof (error));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("session:didFailWithError:"), session__handle__, error__handle__);
+ }
+ [OptionalMember]
+ [Export ("session:cameraDidChangeTrackingState:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void CameraDidChangeTrackingState (ARSession session, ARCamera camera)
+ {
+ _CameraDidChangeTrackingState (this, session, camera);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _CameraDidChangeTrackingState (IARSessionObserver This, ARSession session, ARCamera camera)
+ {
+ var session__handle__ = session!.GetNonNullHandle (nameof (session));
+ var camera__handle__ = camera!.GetNonNullHandle (nameof (camera));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("session:cameraDidChangeTrackingState:"), session__handle__, camera__handle__);
+ }
+ [OptionalMember]
+ [Export ("sessionWasInterrupted:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void WasInterrupted (ARSession session)
+ {
+ _WasInterrupted (this, session);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _WasInterrupted (IARSessionObserver This, ARSession session)
+ {
+ var session__handle__ = session!.GetNonNullHandle (nameof (session));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (This.Handle, Selector.GetHandle ("sessionWasInterrupted:"), session__handle__);
+ }
+ [OptionalMember]
+ [Export ("sessionInterruptionEnded:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void InterruptionEnded (ARSession session)
+ {
+ _InterruptionEnded (this, session);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _InterruptionEnded (IARSessionObserver This, ARSession session)
+ {
+ var session__handle__ = session!.GetNonNullHandle (nameof (session));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (This.Handle, Selector.GetHandle ("sessionInterruptionEnded:"), session__handle__);
+ }
+ [OptionalMember]
+ [Export ("sessionShouldAttemptRelocalization:")]
+ [SupportedOSPlatform ("ios11.3")]
+ [UnsupportedOSPlatform ("tvos")]
+ [UnsupportedOSPlatform ("macos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual bool ShouldAttemptRelocalization (ARSession session)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ return _ShouldAttemptRelocalization (this, session);
+ #endif
+ }
+ [SupportedOSPlatform ("ios11.3")]
+ [UnsupportedOSPlatform ("tvos")]
+ [UnsupportedOSPlatform ("macos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static bool _ShouldAttemptRelocalization (IARSessionObserver This, ARSession session)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var session__handle__ = session!.GetNonNullHandle (nameof (session));
+ byte ret;
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend_NativeHandle (This.Handle, Selector.GetHandle ("sessionShouldAttemptRelocalization:"), session__handle__);
+ return ret != 0;
+ #endif
+ }
+ [OptionalMember]
+ [Export ("session:didOutputAudioSampleBuffer:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidOutputAudioSampleBuffer (ARSession session, global::CoreMedia.CMSampleBuffer audioSampleBuffer)
+ {
+ _DidOutputAudioSampleBuffer (this, session, audioSampleBuffer);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidOutputAudioSampleBuffer (IARSessionObserver This, ARSession session, global::CoreMedia.CMSampleBuffer audioSampleBuffer)
+ {
+ var session__handle__ = session!.GetNonNullHandle (nameof (session));
+ var audioSampleBuffer__handle__ = audioSampleBuffer!.GetNonNullHandle (nameof (audioSampleBuffer));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("session:didOutputAudioSampleBuffer:"), session__handle__, audioSampleBuffer.Handle);
+ }
+ [OptionalMember]
+ [Export ("session:didOutputCollaborationData:")]
+ [SupportedOSPlatform ("ios13.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ [UnsupportedOSPlatform ("macos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidOutputCollaborationData (ARSession session, ARCollaborationData data)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ _DidOutputCollaborationData (this, session, data);
+ #endif
+ }
+ [SupportedOSPlatform ("ios13.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ [UnsupportedOSPlatform ("macos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidOutputCollaborationData (IARSessionObserver This, ARSession session, ARCollaborationData data)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var session__handle__ = session!.GetNonNullHandle (nameof (session));
+ var data__handle__ = data!.GetNonNullHandle (nameof (data));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("session:didOutputCollaborationData:"), session__handle__, data__handle__);
+ #endif
+ }
+ [OptionalMember]
+ [Export ("session:didChangeGeoTrackingStatus:")]
+ [SupportedOSPlatform ("ios14.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ [UnsupportedOSPlatform ("macos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidChangeGeoTrackingStatus (ARSession session, ARGeoTrackingStatus geoTrackingStatus)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ _DidChangeGeoTrackingStatus (this, session, geoTrackingStatus);
+ #endif
+ }
+ [SupportedOSPlatform ("ios14.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ [UnsupportedOSPlatform ("macos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidChangeGeoTrackingStatus (IARSessionObserver This, ARSession session, ARGeoTrackingStatus geoTrackingStatus)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var session__handle__ = session!.GetNonNullHandle (nameof (session));
+ var geoTrackingStatus__handle__ = geoTrackingStatus!.GetNonNullHandle (nameof (geoTrackingStatus));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("session:didChangeGeoTrackingStatus:"), session__handle__, geoTrackingStatus__handle__);
+ #endif
+ }
}
/// <summary>Extension methods to the <see cref="IARSessionObserver" /> interface to support all the methods from the ARSessionObserver protocol.</summary>
/// <remarks>
diff --git a/old/dotnet/ios/generated-sources/ARKit/ARSessionProviding.g.cs b/new/dotnet/ios/generated-sources/ARKit/ARSessionProviding.g.cs
index 2ccb14b..d733808 100644
--- a/old/dotnet/ios/generated-sources/ARKit/ARSessionProviding.g.cs
+++ b/new/dotnet/ios/generated-sources/ARKit/ARSessionProviding.g.cs
@@ -54,10 +54,22 @@ namespace ARKit {
[ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "Session", Selector = "session", PropertyType = typeof (ARKit.ARSession), GetterSelector = "session", ArgumentSemantic = ArgumentSemantic.None)]
public partial interface IARSessionProviding : INativeObject, IDisposable
{
- [Preserve (Conditional = true)]
- ARSession Session {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [RequiredMember]
+ public virtual ARSession Session {
[Export ("session")]
- get;
+ get {
+ return _GetSession (this);
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static ARSession _GetSession (IARSessionProviding This)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ return Runtime.GetNSObject<ARSession> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (This.Handle, Selector.GetHandle ("session")))!;
+ #endif
}
}
internal unsafe sealed class ARSessionProvidingWrapper : BaseWrapper, IARSessionProviding {
diff --git a/old/dotnet/ios/generated-sources/ARKit/ARTrackable.g.cs b/new/dotnet/ios/generated-sources/ARKit/ARTrackable.g.cs
index 3a514a2..d7a1662 100644
--- a/old/dotnet/ios/generated-sources/ARKit/ARTrackable.g.cs
+++ b/new/dotnet/ios/generated-sources/ARKit/ARTrackable.g.cs
@@ -56,10 +56,20 @@ namespace ARKit {
[ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "IsTracked", Selector = "isTracked", PropertyType = typeof (bool), GetterSelector = "isTracked", ArgumentSemantic = ArgumentSemantic.None)]
public partial interface IARTrackable : INativeObject, IDisposable
{
- [Preserve (Conditional = true)]
- bool IsTracked {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [RequiredMember]
+ public virtual bool IsTracked {
[Export ("isTracked")]
- get;
+ get {
+ return _GetIsTracked (this);
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static bool _GetIsTracked (IARTrackable This)
+ {
+ byte ret;
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend (This.Handle, Selector.GetHandle ("isTracked"));
+ return ret != 0;
}
}
internal unsafe sealed class ARTrackableWrapper : BaseWrapper, IARTrackable {
diff --git a/old/dotnet/ios/generated-sources/AVFoundation/AVAssetDownloadDelegate.g.cs b/new/dotnet/ios/generated-sources/AVFoundation/AVAssetDownloadDelegate.g.cs
index 24614ff..4736921 100644
--- a/old/dotnet/ios/generated-sources/AVFoundation/AVAssetDownloadDelegate.g.cs
+++ b/new/dotnet/ios/generated-sources/AVFoundation/AVAssetDownloadDelegate.g.cs
@@ -64,6 +64,169 @@ namespace AVFoundation {
public partial interface IAVAssetDownloadDelegate : INativeObject, IDisposable,
Foundation.INSUrlSessionTaskDelegate
{
+ [OptionalMember]
+ [Export ("URLSession:assetDownloadTask:didLoadTimeRange:totalTimeRangesLoaded:timeRangeExpectedToLoad:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidLoadTimeRange (NSUrlSession session, AVAssetDownloadTask assetDownloadTask, global::CoreMedia.CMTimeRange timeRange, NSValue[] loadedTimeRanges, global::CoreMedia.CMTimeRange timeRangeExpectedToLoad)
+ {
+ _DidLoadTimeRange (this, session, assetDownloadTask, timeRange, loadedTimeRanges, timeRangeExpectedToLoad);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidLoadTimeRange (IAVAssetDownloadDelegate This, NSUrlSession session, AVAssetDownloadTask assetDownloadTask, global::CoreMedia.CMTimeRange timeRange, NSValue[] loadedTimeRanges, global::CoreMedia.CMTimeRange timeRangeExpectedToLoad)
+ {
+ var session__handle__ = session!.GetNonNullHandle (nameof (session));
+ var assetDownloadTask__handle__ = assetDownloadTask!.GetNonNullHandle (nameof (assetDownloadTask));
+ if (loadedTimeRanges is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (loadedTimeRanges));
+ var nsa_loadedTimeRanges = NSArray.FromNSObjects (loadedTimeRanges);
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle_CMTimeRange_NativeHandle_CMTimeRange (This.Handle, Selector.GetHandle ("URLSession:assetDownloadTask:didLoadTimeRange:totalTimeRangesLoaded:timeRangeExpectedToLoad:"), session__handle__, assetDownloadTask__handle__, timeRange, nsa_loadedTimeRanges.Handle, timeRangeExpectedToLoad);
+ nsa_loadedTimeRanges.Dispose ();
+ }
+ [OptionalMember]
+ [Export ("URLSession:assetDownloadTask:didResolveMediaSelection:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidResolveMediaSelection (NSUrlSession session, AVAssetDownloadTask assetDownloadTask, AVMediaSelection resolvedMediaSelection)
+ {
+ _DidResolveMediaSelection (this, session, assetDownloadTask, resolvedMediaSelection);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidResolveMediaSelection (IAVAssetDownloadDelegate This, NSUrlSession session, AVAssetDownloadTask assetDownloadTask, AVMediaSelection resolvedMediaSelection)
+ {
+ var session__handle__ = session!.GetNonNullHandle (nameof (session));
+ var assetDownloadTask__handle__ = assetDownloadTask!.GetNonNullHandle (nameof (assetDownloadTask));
+ var resolvedMediaSelection__handle__ = resolvedMediaSelection!.GetNonNullHandle (nameof (resolvedMediaSelection));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("URLSession:assetDownloadTask:didResolveMediaSelection:"), session__handle__, assetDownloadTask__handle__, resolvedMediaSelection__handle__);
+ }
+ [OptionalMember]
+ [Export ("URLSession:assetDownloadTask:didFinishDownloadingToURL:")]
+ [SupportedOSPlatform ("maccatalyst15.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("macos12.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidFinishDownloadingToUrl (NSUrlSession session, AVAssetDownloadTask assetDownloadTask, NSUrl location)
+ {
+ _DidFinishDownloadingToUrl (this, session, assetDownloadTask, location);
+ }
+ [SupportedOSPlatform ("maccatalyst15.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("macos12.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidFinishDownloadingToUrl (IAVAssetDownloadDelegate This, NSUrlSession session, AVAssetDownloadTask assetDownloadTask, NSUrl location)
+ {
+ var session__handle__ = session!.GetNonNullHandle (nameof (session));
+ var assetDownloadTask__handle__ = assetDownloadTask!.GetNonNullHandle (nameof (assetDownloadTask));
+ var location__handle__ = location!.GetNonNullHandle (nameof (location));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("URLSession:assetDownloadTask:didFinishDownloadingToURL:"), session__handle__, assetDownloadTask__handle__, location__handle__);
+ }
+ [OptionalMember]
+ [Export ("URLSession:aggregateAssetDownloadTask:willDownloadToURL:")]
+ [SupportedOSPlatform ("maccatalyst15.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("macos12.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void WillDownloadToUrl (NSUrlSession session, AVAggregateAssetDownloadTask aggregateAssetDownloadTask, NSUrl location)
+ {
+ _WillDownloadToUrl (this, session, aggregateAssetDownloadTask, location);
+ }
+ [SupportedOSPlatform ("maccatalyst15.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("macos12.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _WillDownloadToUrl (IAVAssetDownloadDelegate This, NSUrlSession session, AVAggregateAssetDownloadTask aggregateAssetDownloadTask, NSUrl location)
+ {
+ var session__handle__ = session!.GetNonNullHandle (nameof (session));
+ var aggregateAssetDownloadTask__handle__ = aggregateAssetDownloadTask!.GetNonNullHandle (nameof (aggregateAssetDownloadTask));
+ var location__handle__ = location!.GetNonNullHandle (nameof (location));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("URLSession:aggregateAssetDownloadTask:willDownloadToURL:"), session__handle__, aggregateAssetDownloadTask__handle__, location__handle__);
+ }
+ [OptionalMember]
+ [Export ("URLSession:aggregateAssetDownloadTask:didCompleteForMediaSelection:")]
+ [SupportedOSPlatform ("maccatalyst15.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("macos12.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidCompleteForMediaSelection (NSUrlSession session, AVAggregateAssetDownloadTask aggregateAssetDownloadTask, AVMediaSelection mediaSelection)
+ {
+ _DidCompleteForMediaSelection (this, session, aggregateAssetDownloadTask, mediaSelection);
+ }
+ [SupportedOSPlatform ("maccatalyst15.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("macos12.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidCompleteForMediaSelection (IAVAssetDownloadDelegate This, NSUrlSession session, AVAggregateAssetDownloadTask aggregateAssetDownloadTask, AVMediaSelection mediaSelection)
+ {
+ var session__handle__ = session!.GetNonNullHandle (nameof (session));
+ var aggregateAssetDownloadTask__handle__ = aggregateAssetDownloadTask!.GetNonNullHandle (nameof (aggregateAssetDownloadTask));
+ var mediaSelection__handle__ = mediaSelection!.GetNonNullHandle (nameof (mediaSelection));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("URLSession:aggregateAssetDownloadTask:didCompleteForMediaSelection:"), session__handle__, aggregateAssetDownloadTask__handle__, mediaSelection__handle__);
+ }
+ [OptionalMember]
+ [Export ("URLSession:aggregateAssetDownloadTask:didLoadTimeRange:totalTimeRangesLoaded:timeRangeExpectedToLoad:forMediaSelection:")]
+ [SupportedOSPlatform ("maccatalyst15.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("macos12.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidLoadTimeRange (NSUrlSession session, AVAggregateAssetDownloadTask aggregateAssetDownloadTask, global::CoreMedia.CMTimeRange timeRange, NSValue[] loadedTimeRanges, global::CoreMedia.CMTimeRange timeRangeExpectedToLoad, AVMediaSelection mediaSelection)
+ {
+ _DidLoadTimeRange (this, session, aggregateAssetDownloadTask, timeRange, loadedTimeRanges, timeRangeExpectedToLoad, mediaSelection);
+ }
+ [SupportedOSPlatform ("maccatalyst15.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("macos12.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidLoadTimeRange (IAVAssetDownloadDelegate This, NSUrlSession session, AVAggregateAssetDownloadTask aggregateAssetDownloadTask, global::CoreMedia.CMTimeRange timeRange, NSValue[] loadedTimeRanges, global::CoreMedia.CMTimeRange timeRangeExpectedToLoad, AVMediaSelection mediaSelection)
+ {
+ var session__handle__ = session!.GetNonNullHandle (nameof (session));
+ var aggregateAssetDownloadTask__handle__ = aggregateAssetDownloadTask!.GetNonNullHandle (nameof (aggregateAssetDownloadTask));
+ if (loadedTimeRanges is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (loadedTimeRanges));
+ var mediaSelection__handle__ = mediaSelection!.GetNonNullHandle (nameof (mediaSelection));
+ var nsa_loadedTimeRanges = NSArray.FromNSObjects (loadedTimeRanges);
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle_CMTimeRange_NativeHandle_CMTimeRange_NativeHandle (This.Handle, Selector.GetHandle ("URLSession:aggregateAssetDownloadTask:didLoadTimeRange:totalTimeRangesLoaded:timeRangeExpectedToLoad:forMediaSelection:"), session__handle__, aggregateAssetDownloadTask__handle__, timeRange, nsa_loadedTimeRanges.Handle, timeRangeExpectedToLoad, mediaSelection__handle__);
+ nsa_loadedTimeRanges.Dispose ();
+ }
+ [OptionalMember]
+ [Export ("URLSession:assetDownloadTask:willDownloadVariants:")]
+ [SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("maccatalyst15.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("macos12.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void WillDownloadVariants (NSUrlSession session, AVAssetDownloadTask assetDownloadTask, AVAssetVariant[] variants)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ _WillDownloadVariants (this, session, assetDownloadTask, variants);
+ #endif
+ }
+ [SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("maccatalyst15.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("macos12.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _WillDownloadVariants (IAVAssetDownloadDelegate This, NSUrlSession session, AVAssetDownloadTask assetDownloadTask, AVAssetVariant[] variants)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var session__handle__ = session!.GetNonNullHandle (nameof (session));
+ var assetDownloadTask__handle__ = assetDownloadTask!.GetNonNullHandle (nameof (assetDownloadTask));
+ if (variants is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (variants));
+ var nsa_variants = NSArray.FromNSObjects (variants);
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("URLSession:assetDownloadTask:willDownloadVariants:"), session__handle__, assetDownloadTask__handle__, nsa_variants.Handle);
+ nsa_variants.Dispose ();
+ #endif
+ }
}
/// <summary>Extension methods to the <see cref="IAVAssetDownloadDelegate" /> interface to support all the methods from the AVAssetDownloadDelegate protocol.</summary>
/// <remarks>
diff --git a/old/dotnet/ios/generated-sources/AVFoundation/AVAssetResourceLoaderDelegate.g.cs b/new/dotnet/ios/generated-sources/AVFoundation/AVAssetResourceLoaderDelegate.g.cs
index a64983d..2c8ef36 100644
--- a/old/dotnet/ios/generated-sources/AVFoundation/AVAssetResourceLoaderDelegate.g.cs
+++ b/new/dotnet/ios/generated-sources/AVFoundation/AVAssetResourceLoaderDelegate.g.cs
@@ -61,6 +61,122 @@ namespace AVFoundation {
[ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "ShouldWaitForRenewalOfRequestedResource", Selector = "resourceLoader:shouldWaitForRenewalOfRequestedResource:", ReturnType = typeof (bool), ParameterType = new Type [] { typeof (AVAssetResourceLoader), typeof (AVAssetResourceRenewalRequest) }, ParameterByRef = new bool [] { false, false })]
public partial interface IAVAssetResourceLoaderDelegate : INativeObject, IDisposable
{
+ [OptionalMember]
+ [Export ("resourceLoader:shouldWaitForLoadingOfRequestedResource:")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("tvos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual bool ShouldWaitForLoadingOfRequestedResource (AVAssetResourceLoader resourceLoader, AVAssetResourceLoadingRequest loadingRequest)
+ {
+ return _ShouldWaitForLoadingOfRequestedResource (this, resourceLoader, loadingRequest);
+ }
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("tvos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static bool _ShouldWaitForLoadingOfRequestedResource (IAVAssetResourceLoaderDelegate This, AVAssetResourceLoader resourceLoader, AVAssetResourceLoadingRequest loadingRequest)
+ {
+ var resourceLoader__handle__ = resourceLoader!.GetNonNullHandle (nameof (resourceLoader));
+ var loadingRequest__handle__ = loadingRequest!.GetNonNullHandle (nameof (loadingRequest));
+ byte ret;
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("resourceLoader:shouldWaitForLoadingOfRequestedResource:"), resourceLoader__handle__, loadingRequest__handle__);
+ return ret != 0;
+ }
+ [OptionalMember]
+ [Export ("resourceLoader:didCancelLoadingRequest:")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("tvos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidCancelLoadingRequest (AVAssetResourceLoader resourceLoader, AVAssetResourceLoadingRequest loadingRequest)
+ {
+ _DidCancelLoadingRequest (this, resourceLoader, loadingRequest);
+ }
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("tvos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidCancelLoadingRequest (IAVAssetResourceLoaderDelegate This, AVAssetResourceLoader resourceLoader, AVAssetResourceLoadingRequest loadingRequest)
+ {
+ var resourceLoader__handle__ = resourceLoader!.GetNonNullHandle (nameof (resourceLoader));
+ var loadingRequest__handle__ = loadingRequest!.GetNonNullHandle (nameof (loadingRequest));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("resourceLoader:didCancelLoadingRequest:"), resourceLoader__handle__, loadingRequest__handle__);
+ }
+ [OptionalMember]
+ [Export ("resourceLoader:shouldWaitForResponseToAuthenticationChallenge:")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("tvos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual bool ShouldWaitForResponseToAuthenticationChallenge (AVAssetResourceLoader resourceLoader, NSUrlAuthenticationChallenge authenticationChallenge)
+ {
+ return _ShouldWaitForResponseToAuthenticationChallenge (this, resourceLoader, authenticationChallenge);
+ }
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("tvos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static bool _ShouldWaitForResponseToAuthenticationChallenge (IAVAssetResourceLoaderDelegate This, AVAssetResourceLoader resourceLoader, NSUrlAuthenticationChallenge authenticationChallenge)
+ {
+ var resourceLoader__handle__ = resourceLoader!.GetNonNullHandle (nameof (resourceLoader));
+ var authenticationChallenge__handle__ = authenticationChallenge!.GetNonNullHandle (nameof (authenticationChallenge));
+ byte ret;
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("resourceLoader:shouldWaitForResponseToAuthenticationChallenge:"), resourceLoader__handle__, authenticationChallenge__handle__);
+ return ret != 0;
+ }
+ [OptionalMember]
+ [Export ("resourceLoader:didCancelAuthenticationChallenge:")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("tvos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidCancelAuthenticationChallenge (AVAssetResourceLoader resourceLoader, NSUrlAuthenticationChallenge authenticationChallenge)
+ {
+ _DidCancelAuthenticationChallenge (this, resourceLoader, authenticationChallenge);
+ }
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("tvos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidCancelAuthenticationChallenge (IAVAssetResourceLoaderDelegate This, AVAssetResourceLoader resourceLoader, NSUrlAuthenticationChallenge authenticationChallenge)
+ {
+ var resourceLoader__handle__ = resourceLoader!.GetNonNullHandle (nameof (resourceLoader));
+ var authenticationChallenge__handle__ = authenticationChallenge!.GetNonNullHandle (nameof (authenticationChallenge));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("resourceLoader:didCancelAuthenticationChallenge:"), resourceLoader__handle__, authenticationChallenge__handle__);
+ }
+ [OptionalMember]
+ [Export ("resourceLoader:shouldWaitForRenewalOfRequestedResource:")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("tvos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual bool ShouldWaitForRenewalOfRequestedResource (AVAssetResourceLoader resourceLoader, AVAssetResourceRenewalRequest renewalRequest)
+ {
+ return _ShouldWaitForRenewalOfRequestedResource (this, resourceLoader, renewalRequest);
+ }
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("tvos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static bool _ShouldWaitForRenewalOfRequestedResource (IAVAssetResourceLoaderDelegate This, AVAssetResourceLoader resourceLoader, AVAssetResourceRenewalRequest renewalRequest)
+ {
+ var resourceLoader__handle__ = resourceLoader!.GetNonNullHandle (nameof (resourceLoader));
+ var renewalRequest__handle__ = renewalRequest!.GetNonNullHandle (nameof (renewalRequest));
+ byte ret;
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("resourceLoader:shouldWaitForRenewalOfRequestedResource:"), resourceLoader__handle__, renewalRequest__handle__);
+ return ret != 0;
+ }
}
/// <summary>Extension methods to the <see cref="IAVAssetResourceLoaderDelegate" /> interface to support all the methods from the AVAssetResourceLoaderDelegate protocol.</summary>
/// <remarks>
diff --git a/old/dotnet/ios/generated-sources/AVFoundation/AVAssetWriterDelegate.g.cs b/new/dotnet/ios/generated-sources/AVFoundation/AVAssetWriterDelegate.g.cs
index 8bb0688..3cbb971 100644
--- a/old/dotnet/ios/generated-sources/AVFoundation/AVAssetWriterDelegate.g.cs
+++ b/new/dotnet/ios/generated-sources/AVFoundation/AVAssetWriterDelegate.g.cs
@@ -58,6 +58,51 @@ namespace AVFoundation {
[ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "DidOutputSegmentData", Selector = "assetWriter:didOutputSegmentData:segmentType:", ParameterType = new Type [] { typeof (AVAssetWriter), typeof (NSData), typeof (AVAssetSegmentType) }, ParameterByRef = new bool [] { false, false, false })]
public partial interface IAVAssetWriterDelegate : INativeObject, IDisposable
{
+ [OptionalMember]
+ [Export ("assetWriter:didOutputSegmentData:segmentType:segmentReport:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidOutputSegmentData (AVAssetWriter writer, NSData segmentData, AVAssetSegmentType segmentType, AVAssetSegmentReport? segmentReport)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ _DidOutputSegmentData (this, writer, segmentData, segmentType, segmentReport);
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidOutputSegmentData (IAVAssetWriterDelegate This, AVAssetWriter writer, NSData segmentData, AVAssetSegmentType segmentType, AVAssetSegmentReport? segmentReport)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var writer__handle__ = writer!.GetNonNullHandle (nameof (writer));
+ var segmentData__handle__ = segmentData!.GetNonNullHandle (nameof (segmentData));
+ var segmentReport__handle__ = segmentReport.GetHandle ();
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle_IntPtr_NativeHandle (This.Handle, Selector.GetHandle ("assetWriter:didOutputSegmentData:segmentType:segmentReport:"), writer__handle__, segmentData__handle__, (IntPtr) (long) segmentType, segmentReport__handle__);
+ #endif
+ }
+ [OptionalMember]
+ [Export ("assetWriter:didOutputSegmentData:segmentType:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidOutputSegmentData (AVAssetWriter writer, NSData segmentData, AVAssetSegmentType segmentType)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ _DidOutputSegmentData (this, writer, segmentData, segmentType);
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidOutputSegmentData (IAVAssetWriterDelegate This, AVAssetWriter writer, NSData segmentData, AVAssetSegmentType segmentType)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var writer__handle__ = writer!.GetNonNullHandle (nameof (writer));
+ var segmentData__handle__ = segmentData!.GetNonNullHandle (nameof (segmentData));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle_IntPtr (This.Handle, Selector.GetHandle ("assetWriter:didOutputSegmentData:segmentType:"), writer__handle__, segmentData__handle__, (IntPtr) (long) segmentType);
+ #endif
+ }
}
/// <summary>Extension methods to the <see cref="IAVAssetWriterDelegate" /> interface to support all the methods from the AVAssetWriterDelegate protocol.</summary>
/// <remarks>
diff --git a/old/dotnet/ios/generated-sources/AVFoundation/AVAsynchronousKeyValueLoading.g.cs b/new/dotnet/ios/generated-sources/AVFoundation/AVAsynchronousKeyValueLoading.g.cs
index 8de7dbc..0ecb78e 100644
--- a/old/dotnet/ios/generated-sources/AVFoundation/AVAsynchronousKeyValueLoading.g.cs
+++ b/new/dotnet/ios/generated-sources/AVFoundation/AVAsynchronousKeyValueLoading.g.cs
@@ -58,14 +58,30 @@ namespace AVFoundation {
[ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "LoadValuesAsynchronously", Selector = "loadValuesAsynchronouslyForKeys:completionHandler:", ParameterType = new Type [] { typeof (String[]), typeof (Action) }, ParameterByRef = new bool [] { false, false }, ParameterBlockProxy = new Type? [] { null, typeof (ObjCRuntime.Trampolines.NIDAction) })]
public partial interface IAVAsynchronousKeyValueLoading : INativeObject, IDisposable
{
- [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [RequiredMember]
[Export ("statusOfValueForKey:error:")]
- [Preserve (Conditional = true)]
- unsafe AVKeyValueStatus GetStatusOfValue (string forKey, out NSError error);
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe virtual AVKeyValueStatus GetStatusOfValue (string forKey, out NSError error)
+ {
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal unsafe static AVKeyValueStatus _GetStatusOfValue (IAVAsynchronousKeyValueLoading This, string forKey, out NSError error)
+ {
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ }
+ [RequiredMember]
[Export ("loadValuesAsynchronouslyForKeys:completionHandler:")]
- [Preserve (Conditional = true)]
- unsafe void LoadValuesAsynchronously (string[] keys, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDAction))]global::System.Action? handler);
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe virtual void LoadValuesAsynchronously (string[] keys, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDAction))]global::System.Action? handler)
+ {
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal unsafe static void _LoadValuesAsynchronously (IAVAsynchronousKeyValueLoading This, string[] keys, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDAction))]global::System.Action? handler)
+ {
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ }
}
internal unsafe sealed class AVAsynchronousKeyValueLoadingWrapper : BaseWrapper, IAVAsynchronousKeyValueLoading {
[Preserve (Conditional = true)]
diff --git a/old/dotnet/ios/generated-sources/AVFoundation/AVAudio3DMixing.g.cs b/new/dotnet/ios/generated-sources/AVFoundation/AVAudio3DMixing.g.cs
index 7285a6f..ae26469 100644
--- a/old/dotnet/ios/generated-sources/AVFoundation/AVAudio3DMixing.g.cs
+++ b/new/dotnet/ios/generated-sources/AVFoundation/AVAudio3DMixing.g.cs
@@ -64,69 +64,205 @@ namespace AVFoundation {
[ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "PointSourceInHeadMode", Selector = "pointSourceInHeadMode", PropertyType = typeof (AVAudio3DMixingPointSourceInHeadMode), GetterSelector = "pointSourceInHeadMode", SetterSelector = "setPointSourceInHeadMode:", ArgumentSemantic = ArgumentSemantic.Assign)]
public partial interface IAVAudio3DMixing : INativeObject, IDisposable
{
- [Preserve (Conditional = true)]
- AVAudio3DMixingRenderingAlgorithm RenderingAlgorithm {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [RequiredMember]
+ public virtual AVAudio3DMixingRenderingAlgorithm RenderingAlgorithm {
[Export ("renderingAlgorithm")]
- get;
+ get {
+ return _GetRenderingAlgorithm (this);
+ }
[Export ("setRenderingAlgorithm:")]
- set;
+ set {
+ _SetRenderingAlgorithm (this, value);
+ }
}
- [Preserve (Conditional = true)]
- float Rate {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static AVAudio3DMixingRenderingAlgorithm _GetRenderingAlgorithm (IAVAudio3DMixing This)
+ {
+ AVAudio3DMixingRenderingAlgorithm ret;
+ ret = (AVAudio3DMixingRenderingAlgorithm) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (This.Handle, Selector.GetHandle ("renderingAlgorithm"));
+ return ret!;
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _SetRenderingAlgorithm (IAVAudio3DMixing This, AVAudio3DMixingRenderingAlgorithm value)
+ {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_IntPtr (This.Handle, Selector.GetHandle ("setRenderingAlgorithm:"), (IntPtr) (long) value);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [RequiredMember]
+ public virtual float Rate {
[Export ("rate")]
- get;
+ get {
+ return _GetRate (this);
+ }
[Export ("setRate:")]
- set;
+ set {
+ _SetRate (this, value);
+ }
}
- [Preserve (Conditional = true)]
- float ReverbBlend {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static float _GetRate (IAVAudio3DMixing This)
+ {
+ return global::ObjCRuntime.Messaging.float_objc_msgSend (This.Handle, Selector.GetHandle ("rate"));
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _SetRate (IAVAudio3DMixing This, float value)
+ {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_float (This.Handle, Selector.GetHandle ("setRate:"), value);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [RequiredMember]
+ public virtual float ReverbBlend {
[Export ("reverbBlend")]
- get;
+ get {
+ return _GetReverbBlend (this);
+ }
[Export ("setReverbBlend:")]
- set;
+ set {
+ _SetReverbBlend (this, value);
+ }
}
- [Preserve (Conditional = true)]
- float Obstruction {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static float _GetReverbBlend (IAVAudio3DMixing This)
+ {
+ return global::ObjCRuntime.Messaging.float_objc_msgSend (This.Handle, Selector.GetHandle ("reverbBlend"));
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _SetReverbBlend (IAVAudio3DMixing This, float value)
+ {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_float (This.Handle, Selector.GetHandle ("setReverbBlend:"), value);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [RequiredMember]
+ public virtual float Obstruction {
[Export ("obstruction")]
- get;
+ get {
+ return _GetObstruction (this);
+ }
[Export ("setObstruction:")]
- set;
+ set {
+ _SetObstruction (this, value);
+ }
}
- [Preserve (Conditional = true)]
- float Occlusion {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static float _GetObstruction (IAVAudio3DMixing This)
+ {
+ return global::ObjCRuntime.Messaging.float_objc_msgSend (This.Handle, Selector.GetHandle ("obstruction"));
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _SetObstruction (IAVAudio3DMixing This, float value)
+ {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_float (This.Handle, Selector.GetHandle ("setObstruction:"), value);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [RequiredMember]
+ public virtual float Occlusion {
[Export ("occlusion")]
- get;
+ get {
+ return _GetOcclusion (this);
+ }
[Export ("setOcclusion:")]
- set;
+ set {
+ _SetOcclusion (this, value);
+ }
}
- [Preserve (Conditional = true)]
- global::System.Numerics.Vector3 Position {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static float _GetOcclusion (IAVAudio3DMixing This)
+ {
+ return global::ObjCRuntime.Messaging.float_objc_msgSend (This.Handle, Selector.GetHandle ("occlusion"));
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _SetOcclusion (IAVAudio3DMixing This, float value)
+ {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_float (This.Handle, Selector.GetHandle ("setOcclusion:"), value);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [RequiredMember]
+ public virtual global::System.Numerics.Vector3 Position {
[Export ("position")]
- get;
+ get {
+ return _GetPosition (this);
+ }
[Export ("setPosition:")]
- set;
+ set {
+ _SetPosition (this, value);
+ }
}
- [Preserve (Conditional = true)]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static global::System.Numerics.Vector3 _GetPosition (IAVAudio3DMixing This)
+ {
+ global::System.Numerics.Vector3 ret;
+ if (global::ObjCRuntime.Runtime.IsARM64CallingConvention) {
+ ret = global::ObjCRuntime.Messaging.Vector3_objc_msgSend (This.Handle, Selector.GetHandle ("position"));
+ } else if (IntPtr.Size == 8) {
+ ret = global::ObjCRuntime.Messaging.Vector3_objc_msgSend (This.Handle, Selector.GetHandle ("position"));
+ } else if (Runtime.Arch == Arch.DEVICE) {
+ ret = global::ObjCRuntime.Messaging.Vector3_objc_msgSend_stret (This.Handle, Selector.GetHandle ("position"));
+ } else {
+ ret = global::ObjCRuntime.Messaging.Vector3_objc_msgSend_stret (This.Handle, Selector.GetHandle ("position"));
+ }
+ return ret!;
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _SetPosition (IAVAudio3DMixing This, global::System.Numerics.Vector3 value)
+ {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_Vector3 (This.Handle, Selector.GetHandle ("setPosition:"), value);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("tvos13.0")]
[SupportedOSPlatform ("ios13.0")]
[SupportedOSPlatform ("maccatalyst")]
[SupportedOSPlatform ("macos")]
- AVAudio3DMixingSourceMode SourceMode {
+ [RequiredMember]
+ public virtual AVAudio3DMixingSourceMode SourceMode {
[Export ("sourceMode", ArgumentSemantic.Assign)]
- get;
+ get {
+ return _GetSourceMode (this);
+ }
[Export ("setSourceMode:", ArgumentSemantic.Assign)]
- set;
+ set {
+ _SetSourceMode (this, value);
+ }
}
- [Preserve (Conditional = true)]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static AVAudio3DMixingSourceMode _GetSourceMode (IAVAudio3DMixing This)
+ {
+ AVAudio3DMixingSourceMode ret;
+ ret = (AVAudio3DMixingSourceMode) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (This.Handle, Selector.GetHandle ("sourceMode"));
+ return ret!;
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _SetSourceMode (IAVAudio3DMixing This, AVAudio3DMixingSourceMode value)
+ {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_IntPtr (This.Handle, Selector.GetHandle ("setSourceMode:"), (IntPtr) (long) value);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("tvos13.0")]
[SupportedOSPlatform ("ios13.0")]
[SupportedOSPlatform ("maccatalyst")]
[SupportedOSPlatform ("macos")]
- AVAudio3DMixingPointSourceInHeadMode PointSourceInHeadMode {
+ [RequiredMember]
+ public virtual AVAudio3DMixingPointSourceInHeadMode PointSourceInHeadMode {
[Export ("pointSourceInHeadMode", ArgumentSemantic.Assign)]
- get;
+ get {
+ return _GetPointSourceInHeadMode (this);
+ }
[Export ("setPointSourceInHeadMode:", ArgumentSemantic.Assign)]
- set;
+ set {
+ _SetPointSourceInHeadMode (this, value);
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static AVAudio3DMixingPointSourceInHeadMode _GetPointSourceInHeadMode (IAVAudio3DMixing This)
+ {
+ AVAudio3DMixingPointSourceInHeadMode ret;
+ ret = (AVAudio3DMixingPointSourceInHeadMode) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (This.Handle, Selector.GetHandle ("pointSourceInHeadMode"));
+ return ret!;
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _SetPointSourceInHeadMode (IAVAudio3DMixing This, AVAudio3DMixingPointSourceInHeadMode value)
+ {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_IntPtr (This.Handle, Selector.GetHandle ("setPointSourceInHeadMode:"), (IntPtr) (long) value);
}
}
internal unsafe sealed class AVAudio3DMixingWrapper : BaseWrapper, IAVAudio3DMixing {
diff --git a/old/dotnet/ios/generated-sources/AVFoundation/AVAudioMixing.g.cs b/new/dotnet/ios/generated-sources/AVFoundation/AVAudioMixing.g.cs
index a54563a..3eeddc4 100644
--- a/old/dotnet/ios/generated-sources/AVFoundation/AVAudioMixing.g.cs
+++ b/new/dotnet/ios/generated-sources/AVFoundation/AVAudioMixing.g.cs
@@ -60,20 +60,47 @@ namespace AVFoundation {
AVFoundation.IAVAudio3DMixing
, AVFoundation.IAVAudioStereoMixing
{
+ [RequiredMember]
+ [Export ("destinationForMixer:bus:")]
[SupportedOSPlatform ("maccatalyst")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("macos")]
[SupportedOSPlatform ("tvos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- [Export ("destinationForMixer:bus:")]
- [Preserve (Conditional = true)]
- AVAudioMixingDestination? DestinationForMixer (AVAudioNode mixer, nuint bus);
- [Preserve (Conditional = true)]
- float Volume {
+ public virtual AVAudioMixingDestination? DestinationForMixer (AVAudioNode mixer, nuint bus)
+ {
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ }
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("tvos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static AVAudioMixingDestination? _DestinationForMixer (IAVAudioMixing This, AVAudioNode mixer, nuint bus)
+ {
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [RequiredMember]
+ public virtual float Volume {
[Export ("volume")]
- get;
+ get {
+ return _GetVolume (this);
+ }
[Export ("setVolume:")]
- set;
+ set {
+ _SetVolume (this, value);
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static float _GetVolume (IAVAudioMixing This)
+ {
+ return global::ObjCRuntime.Messaging.float_objc_msgSend (This.Handle, Selector.GetHandle ("volume"));
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _SetVolume (IAVAudioMixing This, float value)
+ {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_float (This.Handle, Selector.GetHandle ("setVolume:"), value);
}
}
internal unsafe sealed class AVAudioMixingWrapper : BaseWrapper, IAVAudioMixing {
diff --git a/old/dotnet/ios/generated-sources/AVFoundation/AVAudioPlayerDelegate.g.cs b/new/dotnet/ios/generated-sources/AVFoundation/AVAudioPlayerDelegate.g.cs
index 616a3f1..c20d7e2 100644
--- a/old/dotnet/ios/generated-sources/AVFoundation/AVAudioPlayerDelegate.g.cs
+++ b/new/dotnet/ios/generated-sources/AVFoundation/AVAudioPlayerDelegate.g.cs
@@ -61,6 +61,114 @@ namespace AVFoundation {
[ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "EndInterruption", Selector = "audioPlayerEndInterruption:withOptions:", ParameterType = new Type [] { typeof (AVAudioPlayer), typeof (AVAudioSessionInterruptionOptions) }, ParameterByRef = new bool [] { false, false })]
public partial interface IAVAudioPlayerDelegate : INativeObject, IDisposable
{
+ [OptionalMember]
+ [Export ("audioPlayerDidFinishPlaying:successfully:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void FinishedPlaying (AVAudioPlayer player, bool flag)
+ {
+ _FinishedPlaying (this, player, flag);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _FinishedPlaying (IAVAudioPlayerDelegate This, AVAudioPlayer player, bool flag)
+ {
+ var player__handle__ = player!.GetNonNullHandle (nameof (player));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_bool (This.Handle, Selector.GetHandle ("audioPlayerDidFinishPlaying:successfully:"), player__handle__, flag ? (byte) 1 : (byte) 0);
+ }
+ [OptionalMember]
+ [Export ("audioPlayerDecodeErrorDidOccur:error:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DecoderError (AVAudioPlayer player, NSError? error)
+ {
+ _DecoderError (this, player, error);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DecoderError (IAVAudioPlayerDelegate This, AVAudioPlayer player, NSError? error)
+ {
+ var player__handle__ = player!.GetNonNullHandle (nameof (player));
+ var error__handle__ = error.GetHandle ();
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("audioPlayerDecodeErrorDidOccur:error:"), player__handle__, error__handle__);
+ }
+ [OptionalMember]
+ [Export ("audioPlayerBeginInterruption:")]
+ [UnsupportedOSPlatform ("macos")]
+ [ObsoletedOSPlatform ("ios8.0")]
+ [ObsoletedOSPlatform ("tvos9.0")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [ObsoletedOSPlatform ("maccatalyst13.1")]
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("tvos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void BeginInterruption (AVAudioPlayer player)
+ {
+ _BeginInterruption (this, player);
+ }
+ [UnsupportedOSPlatform ("macos")]
+ [ObsoletedOSPlatform ("ios8.0")]
+ [ObsoletedOSPlatform ("tvos9.0")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [ObsoletedOSPlatform ("maccatalyst13.1")]
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("tvos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _BeginInterruption (IAVAudioPlayerDelegate This, AVAudioPlayer player)
+ {
+ var player__handle__ = player!.GetNonNullHandle (nameof (player));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (This.Handle, Selector.GetHandle ("audioPlayerBeginInterruption:"), player__handle__);
+ }
+ [OptionalMember]
+ [Export ("audioPlayerEndInterruption:")]
+ [UnsupportedOSPlatform ("macos")]
+ [ObsoletedOSPlatform ("ios6.0")]
+ [ObsoletedOSPlatform ("tvos9.0")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [ObsoletedOSPlatform ("maccatalyst13.1")]
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("tvos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void EndInterruption (AVAudioPlayer player)
+ {
+ _EndInterruption (this, player);
+ }
+ [UnsupportedOSPlatform ("macos")]
+ [ObsoletedOSPlatform ("ios6.0")]
+ [ObsoletedOSPlatform ("tvos9.0")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [ObsoletedOSPlatform ("maccatalyst13.1")]
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("tvos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _EndInterruption (IAVAudioPlayerDelegate This, AVAudioPlayer player)
+ {
+ var player__handle__ = player!.GetNonNullHandle (nameof (player));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (This.Handle, Selector.GetHandle ("audioPlayerEndInterruption:"), player__handle__);
+ }
+ [OptionalMember]
+ [Export ("audioPlayerEndInterruption:withOptions:")]
+ [UnsupportedOSPlatform ("macos")]
+ [ObsoletedOSPlatform ("ios8.0")]
+ [ObsoletedOSPlatform ("tvos9.0")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [ObsoletedOSPlatform ("maccatalyst13.1")]
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("tvos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void EndInterruption (AVAudioPlayer player, AVAudioSessionInterruptionOptions flags)
+ {
+ _EndInterruption (this, player, flags);
+ }
+ [UnsupportedOSPlatform ("macos")]
+ [ObsoletedOSPlatform ("ios8.0")]
+ [ObsoletedOSPlatform ("tvos9.0")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [ObsoletedOSPlatform ("maccatalyst13.1")]
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("tvos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _EndInterruption (IAVAudioPlayerDelegate This, AVAudioPlayer player, AVAudioSessionInterruptionOptions flags)
+ {
+ var player__handle__ = player!.GetNonNullHandle (nameof (player));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_UIntPtr (This.Handle, Selector.GetHandle ("audioPlayerEndInterruption:withOptions:"), player__handle__, (UIntPtr) (ulong) flags);
+ }
}
/// <summary>Extension methods to the <see cref="IAVAudioPlayerDelegate" /> interface to support all the methods from the AVAudioPlayerDelegate protocol.</summary>
/// <remarks>
diff --git a/old/dotnet/ios/generated-sources/AVFoundation/AVAudioRecorderDelegate.g.cs b/new/dotnet/ios/generated-sources/AVFoundation/AVAudioRecorderDelegate.g.cs
index 0deb536..89acda8 100644
--- a/old/dotnet/ios/generated-sources/AVFoundation/AVAudioRecorderDelegate.g.cs
+++ b/new/dotnet/ios/generated-sources/AVFoundation/AVAudioRecorderDelegate.g.cs
@@ -61,6 +61,108 @@ namespace AVFoundation {
[ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "EndInterruption", Selector = "audioRecorderEndInterruption:withOptions:", ParameterType = new Type [] { typeof (AVAudioRecorder), typeof (AVAudioSessionInterruptionOptions) }, ParameterByRef = new bool [] { false, false })]
public partial interface IAVAudioRecorderDelegate : INativeObject, IDisposable
{
+ [OptionalMember]
+ [Export ("audioRecorderDidFinishRecording:successfully:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void FinishedRecording (AVAudioRecorder recorder, bool flag)
+ {
+ _FinishedRecording (this, recorder, flag);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _FinishedRecording (IAVAudioRecorderDelegate This, AVAudioRecorder recorder, bool flag)
+ {
+ var recorder__handle__ = recorder!.GetNonNullHandle (nameof (recorder));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_bool (This.Handle, Selector.GetHandle ("audioRecorderDidFinishRecording:successfully:"), recorder__handle__, flag ? (byte) 1 : (byte) 0);
+ }
+ [OptionalMember]
+ [Export ("audioRecorderEncodeErrorDidOccur:error:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void EncoderError (AVAudioRecorder recorder, NSError? error)
+ {
+ _EncoderError (this, recorder, error);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _EncoderError (IAVAudioRecorderDelegate This, AVAudioRecorder recorder, NSError? error)
+ {
+ var recorder__handle__ = recorder!.GetNonNullHandle (nameof (recorder));
+ var error__handle__ = error.GetHandle ();
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("audioRecorderEncodeErrorDidOccur:error:"), recorder__handle__, error__handle__);
+ }
+ [OptionalMember]
+ [Export ("audioRecorderBeginInterruption:")]
+ [UnsupportedOSPlatform ("macos")]
+ [ObsoletedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [ObsoletedOSPlatform ("maccatalyst13.1")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void BeginInterruption (AVAudioRecorder recorder)
+ {
+ _BeginInterruption (this, recorder);
+ }
+ [UnsupportedOSPlatform ("macos")]
+ [ObsoletedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [ObsoletedOSPlatform ("maccatalyst13.1")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _BeginInterruption (IAVAudioRecorderDelegate This, AVAudioRecorder recorder)
+ {
+ var recorder__handle__ = recorder!.GetNonNullHandle (nameof (recorder));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (This.Handle, Selector.GetHandle ("audioRecorderBeginInterruption:"), recorder__handle__);
+ }
+ [OptionalMember]
+ [Export ("audioRecorderEndInterruption:")]
+ [UnsupportedOSPlatform ("macos")]
+ [ObsoletedOSPlatform ("ios6.0")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [ObsoletedOSPlatform ("maccatalyst13.1")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void EndInterruption (AVAudioRecorder recorder)
+ {
+ _EndInterruption (this, recorder);
+ }
+ [UnsupportedOSPlatform ("macos")]
+ [ObsoletedOSPlatform ("ios6.0")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [ObsoletedOSPlatform ("maccatalyst13.1")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _EndInterruption (IAVAudioRecorderDelegate This, AVAudioRecorder recorder)
+ {
+ var recorder__handle__ = recorder!.GetNonNullHandle (nameof (recorder));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (This.Handle, Selector.GetHandle ("audioRecorderEndInterruption:"), recorder__handle__);
+ }
+ [OptionalMember]
+ [Export ("audioRecorderEndInterruption:withOptions:")]
+ [ObsoletedOSPlatform ("ios8.0")]
+ [UnsupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [ObsoletedOSPlatform ("maccatalyst13.1")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void EndInterruption (AVAudioRecorder recorder, AVAudioSessionInterruptionOptions flags)
+ {
+ _EndInterruption (this, recorder, flags);
+ }
+ [ObsoletedOSPlatform ("ios8.0")]
+ [UnsupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [ObsoletedOSPlatform ("maccatalyst13.1")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _EndInterruption (IAVAudioRecorderDelegate This, AVAudioRecorder recorder, AVAudioSessionInterruptionOptions flags)
+ {
+ var recorder__handle__ = recorder!.GetNonNullHandle (nameof (recorder));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_UIntPtr (This.Handle, Selector.GetHandle ("audioRecorderEndInterruption:withOptions:"), recorder__handle__, (UIntPtr) (ulong) flags);
+ }
}
/// <summary>Extension methods to the <see cref="IAVAudioRecorderDelegate" /> interface to support all the methods from the AVAudioRecorderDelegate protocol.</summary>
/// <remarks>
diff --git a/old/dotnet/ios/generated-sources/AVFoundation/AVAudioSessionDelegate.g.cs b/new/dotnet/ios/generated-sources/AVFoundation/AVAudioSessionDelegate.g.cs
index 2179815..4234394 100644
--- a/old/dotnet/ios/generated-sources/AVFoundation/AVAudioSessionDelegate.g.cs
+++ b/new/dotnet/ios/generated-sources/AVFoundation/AVAudioSessionDelegate.g.cs
@@ -62,6 +62,54 @@ namespace AVFoundation {
[ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "EndInterruption", Selector = "endInterruptionWithFlags:", ParameterType = new Type [] { typeof (AVAudioSessionInterruptionOptions) }, ParameterByRef = new bool [] { false })]
public partial interface IAVAudioSessionDelegate : INativeObject, IDisposable
{
+ [OptionalMember]
+ [Export ("beginInterruption")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void BeginInterruption ()
+ {
+ _BeginInterruption (this);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _BeginInterruption (IAVAudioSessionDelegate This)
+ {
+ global::ObjCRuntime.Messaging.void_objc_msgSend (This.Handle, Selector.GetHandle ("beginInterruption"));
+ }
+ [OptionalMember]
+ [Export ("endInterruption")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void EndInterruption ()
+ {
+ _EndInterruption (this);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _EndInterruption (IAVAudioSessionDelegate This)
+ {
+ global::ObjCRuntime.Messaging.void_objc_msgSend (This.Handle, Selector.GetHandle ("endInterruption"));
+ }
+ [OptionalMember]
+ [Export ("inputIsAvailableChanged:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void InputIsAvailableChanged (bool isInputAvailable)
+ {
+ _InputIsAvailableChanged (this, isInputAvailable);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _InputIsAvailableChanged (IAVAudioSessionDelegate This, bool isInputAvailable)
+ {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_bool (This.Handle, Selector.GetHandle ("inputIsAvailableChanged:"), isInputAvailable ? (byte) 1 : (byte) 0);
+ }
+ [OptionalMember]
+ [Export ("endInterruptionWithFlags:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void EndInterruption (AVAudioSessionInterruptionOptions flags)
+ {
+ _EndInterruption (this, flags);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _EndInterruption (IAVAudioSessionDelegate This, AVAudioSessionInterruptionOptions flags)
+ {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_UIntPtr (This.Handle, Selector.GetHandle ("endInterruptionWithFlags:"), (UIntPtr) (ulong) flags);
+ }
}
/// <summary>Extension methods to the <see cref="IAVAudioSessionDelegate" /> interface to support all the methods from the AVAudioSessionDelegate protocol.</summary>
/// <remarks>
diff --git a/old/dotnet/ios/generated-sources/AVFoundation/AVAudioStereoMixing.g.cs b/new/dotnet/ios/generated-sources/AVFoundation/AVAudioStereoMixing.g.cs
index 3261f07..b404545 100644
--- a/old/dotnet/ios/generated-sources/AVFoundation/AVAudioStereoMixing.g.cs
+++ b/new/dotnet/ios/generated-sources/AVFoundation/AVAudioStereoMixing.g.cs
@@ -57,12 +57,27 @@ namespace AVFoundation {
[ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "Pan", Selector = "pan", PropertyType = typeof (float), GetterSelector = "pan", SetterSelector = "setPan:", ArgumentSemantic = ArgumentSemantic.None)]
public partial interface IAVAudioStereoMixing : INativeObject, IDisposable
{
- [Preserve (Conditional = true)]
- float Pan {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [RequiredMember]
+ public virtual float Pan {
[Export ("pan")]
- get;
+ get {
+ return _GetPan (this);
+ }
[Export ("setPan:")]
- set;
+ set {
+ _SetPan (this, value);
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static float _GetPan (IAVAudioStereoMixing This)
+ {
+ return global::ObjCRuntime.Messaging.float_objc_msgSend (This.Handle, Selector.GetHandle ("pan"));
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _SetPan (IAVAudioStereoMixing This, float value)
+ {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_float (This.Handle, Selector.GetHandle ("setPan:"), value);
}
}
internal unsafe sealed class AVAudioStereoMixingWrapper : BaseWrapper, IAVAudioStereoMixing {
diff --git a/old/dotnet/ios/generated-sources/AVFoundation/AVCaptureAudioDataOutputSampleBufferDelegate.g.cs b/new/dotnet/ios/generated-sources/AVFoundation/AVCaptureAudioDataOutputSampleBufferDelegate.g.cs
index c50281d..e204f78 100644
--- a/old/dotnet/ios/generated-sources/AVFoundation/AVCaptureAudioDataOutputSampleBufferDelegate.g.cs
+++ b/new/dotnet/ios/generated-sources/AVFoundation/AVCaptureAudioDataOutputSampleBufferDelegate.g.cs
@@ -57,6 +57,21 @@ namespace AVFoundation {
[ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "DidOutputSampleBuffer", Selector = "captureOutput:didOutputSampleBuffer:fromConnection:", ParameterType = new Type [] { typeof (AVCaptureOutput), typeof (CMSampleBuffer), typeof (AVCaptureConnection) }, ParameterByRef = new bool [] { false, false, false })]
public partial interface IAVCaptureAudioDataOutputSampleBufferDelegate : INativeObject, IDisposable
{
+ [OptionalMember]
+ [Export ("captureOutput:didOutputSampleBuffer:fromConnection:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidOutputSampleBuffer (AVCaptureOutput captureOutput, global::CoreMedia.CMSampleBuffer sampleBuffer, AVCaptureConnection connection)
+ {
+ _DidOutputSampleBuffer (this, captureOutput, sampleBuffer, connection);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidOutputSampleBuffer (IAVCaptureAudioDataOutputSampleBufferDelegate This, AVCaptureOutput captureOutput, global::CoreMedia.CMSampleBuffer sampleBuffer, AVCaptureConnection connection)
+ {
+ var captureOutput__handle__ = captureOutput!.GetNonNullHandle (nameof (captureOutput));
+ var sampleBuffer__handle__ = sampleBuffer!.GetNonNullHandle (nameof (sampleBuffer));
+ var connection__handle__ = connection!.GetNonNullHandle (nameof (connection));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("captureOutput:didOutputSampleBuffer:fromConnection:"), captureOutput__handle__, sampleBuffer.Handle, connection__handle__);
+ }
}
/// <summary>Extension methods to the <see cref="IAVCaptureAudioDataOutputSampleBufferDelegate" /> interface to support all the methods from the AVCaptureAudioDataOutputSampleBufferDelegate protocol.</summary>
/// <remarks>
diff --git a/old/dotnet/ios/generated-sources/AVFoundation/AVCaptureDataOutputSynchronizerDelegate.g.cs b/new/dotnet/ios/generated-sources/AVFoundation/AVCaptureDataOutputSynchronizerDelegate.g.cs
index 3234913..092354f 100644
--- a/old/dotnet/ios/generated-sources/AVFoundation/AVCaptureDataOutputSynchronizerDelegate.g.cs
+++ b/new/dotnet/ios/generated-sources/AVFoundation/AVCaptureDataOutputSynchronizerDelegate.g.cs
@@ -57,10 +57,18 @@ namespace AVFoundation {
[ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "DidOutputSynchronizedDataCollection", Selector = "dataOutputSynchronizer:didOutputSynchronizedDataCollection:", ParameterType = new Type [] { typeof (AVCaptureDataOutputSynchronizer), typeof (AVCaptureSynchronizedDataCollection) }, ParameterByRef = new bool [] { false, false })]
public partial interface IAVCaptureDataOutputSynchronizerDelegate : INativeObject, IDisposable
{
- [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [RequiredMember]
[Export ("dataOutputSynchronizer:didOutputSynchronizedDataCollection:")]
- [Preserve (Conditional = true)]
- void DidOutputSynchronizedDataCollection (AVCaptureDataOutputSynchronizer synchronizer, AVCaptureSynchronizedDataCollection synchronizedDataCollection);
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidOutputSynchronizedDataCollection (AVCaptureDataOutputSynchronizer synchronizer, AVCaptureSynchronizedDataCollection synchronizedDataCollection)
+ {
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidOutputSynchronizedDataCollection (IAVCaptureDataOutputSynchronizerDelegate This, AVCaptureDataOutputSynchronizer synchronizer, AVCaptureSynchronizedDataCollection synchronizedDataCollection)
+ {
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ }
}
internal unsafe sealed class AVCaptureDataOutputSynchronizerDelegateWrapper : BaseWrapper, IAVCaptureDataOutputSynchronizerDelegate {
[Preserve (Conditional = true)]
diff --git a/old/dotnet/ios/generated-sources/AVFoundation/AVCaptureDepthDataOutputDelegate.g.cs b/new/dotnet/ios/generated-sources/AVFoundation/AVCaptureDepthDataOutputDelegate.g.cs
index ed11b9c..8298e94 100644
--- a/old/dotnet/ios/generated-sources/AVFoundation/AVCaptureDepthDataOutputDelegate.g.cs
+++ b/new/dotnet/ios/generated-sources/AVFoundation/AVCaptureDepthDataOutputDelegate.g.cs
@@ -58,6 +58,36 @@ namespace AVFoundation {
[ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "DidDropDepthData", Selector = "depthDataOutput:didDropDepthData:timestamp:connection:reason:", ParameterType = new Type [] { typeof (AVCaptureDepthDataOutput), typeof (AVDepthData), typeof (CMTime), typeof (AVCaptureConnection), typeof (AVCaptureOutputDataDroppedReason) }, ParameterByRef = new bool [] { false, false, false, false, false })]
public partial interface IAVCaptureDepthDataOutputDelegate : INativeObject, IDisposable
{
+ [OptionalMember]
+ [Export ("depthDataOutput:didOutputDepthData:timestamp:connection:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidOutputDepthData (AVCaptureDepthDataOutput output, AVDepthData depthData, global::CoreMedia.CMTime timestamp, AVCaptureConnection connection)
+ {
+ _DidOutputDepthData (this, output, depthData, timestamp, connection);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidOutputDepthData (IAVCaptureDepthDataOutputDelegate This, AVCaptureDepthDataOutput output, AVDepthData depthData, global::CoreMedia.CMTime timestamp, AVCaptureConnection connection)
+ {
+ var output__handle__ = output!.GetNonNullHandle (nameof (output));
+ var depthData__handle__ = depthData!.GetNonNullHandle (nameof (depthData));
+ var connection__handle__ = connection!.GetNonNullHandle (nameof (connection));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle_CMTime_NativeHandle (This.Handle, Selector.GetHandle ("depthDataOutput:didOutputDepthData:timestamp:connection:"), output__handle__, depthData__handle__, timestamp, connection__handle__);
+ }
+ [OptionalMember]
+ [Export ("depthDataOutput:didDropDepthData:timestamp:connection:reason:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidDropDepthData (AVCaptureDepthDataOutput output, AVDepthData depthData, global::CoreMedia.CMTime timestamp, AVCaptureConnection connection, AVCaptureOutputDataDroppedReason reason)
+ {
+ _DidDropDepthData (this, output, depthData, timestamp, connection, reason);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidDropDepthData (IAVCaptureDepthDataOutputDelegate This, AVCaptureDepthDataOutput output, AVDepthData depthData, global::CoreMedia.CMTime timestamp, AVCaptureConnection connection, AVCaptureOutputDataDroppedReason reason)
+ {
+ var output__handle__ = output!.GetNonNullHandle (nameof (output));
+ var depthData__handle__ = depthData!.GetNonNullHandle (nameof (depthData));
+ var connection__handle__ = connection!.GetNonNullHandle (nameof (connection));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle_CMTime_NativeHandle_IntPtr (This.Handle, Selector.GetHandle ("depthDataOutput:didDropDepthData:timestamp:connection:reason:"), output__handle__, depthData__handle__, timestamp, connection__handle__, (IntPtr) (long) reason);
+ }
}
/// <summary>Extension methods to the <see cref="IAVCaptureDepthDataOutputDelegate" /> interface to support all the methods from the AVCaptureDepthDataOutputDelegate protocol.</summary>
/// <remarks>
diff --git a/old/dotnet/ios/generated-sources/AVFoundation/AVCaptureFileOutputRecordingDelegate.g.cs b/new/dotnet/ios/generated-sources/AVFoundation/AVCaptureFileOutputRecordingDelegate.g.cs
index 9243b18..0e4a955 100644
--- a/old/dotnet/ios/generated-sources/AVFoundation/AVCaptureFileOutputRecordingDelegate.g.cs
+++ b/new/dotnet/ios/generated-sources/AVFoundation/AVCaptureFileOutputRecordingDelegate.g.cs
@@ -58,10 +58,36 @@ namespace AVFoundation {
[ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "FinishedRecording", Selector = "captureOutput:didFinishRecordingToOutputFileAtURL:fromConnections:error:", ParameterType = new Type [] { typeof (AVCaptureFileOutput), typeof (NSUrl), typeof (NSObject[]), typeof (NSError) }, ParameterByRef = new bool [] { false, false, false, false })]
public partial interface IAVCaptureFileOutputRecordingDelegate : INativeObject, IDisposable
{
+ [OptionalMember]
+ [Export ("captureOutput:didStartRecordingToOutputFileAtURL:fromConnections:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidStartRecording (AVCaptureFileOutput captureOutput, NSUrl outputFileUrl, NSObject[] connections)
+ {
+ _DidStartRecording (this, captureOutput, outputFileUrl, connections);
+ }
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidStartRecording (IAVCaptureFileOutputRecordingDelegate This, AVCaptureFileOutput captureOutput, NSUrl outputFileUrl, NSObject[] connections)
+ {
+ var captureOutput__handle__ = captureOutput!.GetNonNullHandle (nameof (captureOutput));
+ var outputFileUrl__handle__ = outputFileUrl!.GetNonNullHandle (nameof (outputFileUrl));
+ if (connections is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (connections));
+ var nsa_connections = NSArray.FromNSObjects (connections);
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("captureOutput:didStartRecordingToOutputFileAtURL:fromConnections:"), captureOutput__handle__, outputFileUrl__handle__, nsa_connections.Handle);
+ nsa_connections.Dispose ();
+ }
+ [RequiredMember]
[Export ("captureOutput:didFinishRecordingToOutputFileAtURL:fromConnections:error:")]
- [Preserve (Conditional = true)]
- void FinishedRecording (AVCaptureFileOutput captureOutput, NSUrl outputFileUrl, NSObject[] connections, NSError? error);
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void FinishedRecording (AVCaptureFileOutput captureOutput, NSUrl outputFileUrl, NSObject[] connections, NSError? error)
+ {
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _FinishedRecording (IAVCaptureFileOutputRecordingDelegate This, AVCaptureFileOutput captureOutput, NSUrl outputFileUrl, NSObject[] connections, NSError? error)
+ {
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ }
}
/// <summary>Extension methods to the <see cref="IAVCaptureFileOutputRecordingDelegate" /> interface to support all the methods from the AVCaptureFileOutputRecordingDelegate protocol.</summary>
/// <remarks>
diff --git a/old/dotnet/ios/generated-sources/AVFoundation/AVCaptureMetadataOutputObjectsDelegate.g.cs b/new/dotnet/ios/generated-sources/AVFoundation/AVCaptureMetadataOutputObjectsDelegate.g.cs
index 6c86c0d..9f870d6 100644
--- a/old/dotnet/ios/generated-sources/AVFoundation/AVCaptureMetadataOutputObjectsDelegate.g.cs
+++ b/new/dotnet/ios/generated-sources/AVFoundation/AVCaptureMetadataOutputObjectsDelegate.g.cs
@@ -57,6 +57,24 @@ namespace AVFoundation {
[ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "DidOutputMetadataObjects", Selector = "captureOutput:didOutputMetadataObjects:fromConnection:", ParameterType = new Type [] { typeof (AVCaptureMetadataOutput), typeof (AVMetadataObject[]), typeof (AVCaptureConnection) }, ParameterByRef = new bool [] { false, false, false })]
public partial interface IAVCaptureMetadataOutputObjectsDelegate : INativeObject, IDisposable
{
+ [OptionalMember]
+ [Export ("captureOutput:didOutputMetadataObjects:fromConnection:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidOutputMetadataObjects (AVCaptureMetadataOutput captureOutput, AVMetadataObject[] metadataObjects, AVCaptureConnection connection)
+ {
+ _DidOutputMetadataObjects (this, captureOutput, metadataObjects, connection);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidOutputMetadataObjects (IAVCaptureMetadataOutputObjectsDelegate This, AVCaptureMetadataOutput captureOutput, AVMetadataObject[] metadataObjects, AVCaptureConnection connection)
+ {
+ var captureOutput__handle__ = captureOutput!.GetNonNullHandle (nameof (captureOutput));
+ if (metadataObjects is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (metadataObjects));
+ var connection__handle__ = connection!.GetNonNullHandle (nameof (connection));
+ var nsa_metadataObjects = NSArray.FromNSObjects (metadataObjects);
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("captureOutput:didOutputMetadataObjects:fromConnection:"), captureOutput__handle__, nsa_metadataObjects.Handle, connection__handle__);
+ nsa_metadataObjects.Dispose ();
+ }
}
/// <summary>Extension methods to the <see cref="IAVCaptureMetadataOutputObjectsDelegate" /> interface to support all the methods from the AVCaptureMetadataOutputObjectsDelegate protocol.</summary>
/// <remarks>
diff --git a/old/dotnet/ios/generated-sources/AVFoundation/AVCapturePhotoCaptureDelegate.g.cs b/new/dotnet/ios/generated-sources/AVFoundation/AVCapturePhotoCaptureDelegate.g.cs
index bd2c876..d71f1a8 100644
--- a/old/dotnet/ios/generated-sources/AVFoundation/AVCapturePhotoCaptureDelegate.g.cs
+++ b/new/dotnet/ios/generated-sources/AVFoundation/AVCapturePhotoCaptureDelegate.g.cs
@@ -65,6 +65,193 @@ namespace AVFoundation {
[ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "DidFinishCapture", Selector = "captureOutput:didFinishCaptureForResolvedSettings:error:", ParameterType = new Type [] { typeof (AVCapturePhotoOutput), typeof (AVCaptureResolvedPhotoSettings), typeof (NSError) }, ParameterByRef = new bool [] { false, false, false })]
public partial interface IAVCapturePhotoCaptureDelegate : INativeObject, IDisposable
{
+ [OptionalMember]
+ [Export ("captureOutput:willBeginCaptureForResolvedSettings:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void WillBeginCapture (AVCapturePhotoOutput captureOutput, AVCaptureResolvedPhotoSettings resolvedSettings)
+ {
+ _WillBeginCapture (this, captureOutput, resolvedSettings);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _WillBeginCapture (IAVCapturePhotoCaptureDelegate This, AVCapturePhotoOutput captureOutput, AVCaptureResolvedPhotoSettings resolvedSettings)
+ {
+ var captureOutput__handle__ = captureOutput!.GetNonNullHandle (nameof (captureOutput));
+ var resolvedSettings__handle__ = resolvedSettings!.GetNonNullHandle (nameof (resolvedSettings));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("captureOutput:willBeginCaptureForResolvedSettings:"), captureOutput__handle__, resolvedSettings__handle__);
+ }
+ [OptionalMember]
+ [Export ("captureOutput:willCapturePhotoForResolvedSettings:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void WillCapturePhoto (AVCapturePhotoOutput captureOutput, AVCaptureResolvedPhotoSettings resolvedSettings)
+ {
+ _WillCapturePhoto (this, captureOutput, resolvedSettings);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _WillCapturePhoto (IAVCapturePhotoCaptureDelegate This, AVCapturePhotoOutput captureOutput, AVCaptureResolvedPhotoSettings resolvedSettings)
+ {
+ var captureOutput__handle__ = captureOutput!.GetNonNullHandle (nameof (captureOutput));
+ var resolvedSettings__handle__ = resolvedSettings!.GetNonNullHandle (nameof (resolvedSettings));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("captureOutput:willCapturePhotoForResolvedSettings:"), captureOutput__handle__, resolvedSettings__handle__);
+ }
+ [OptionalMember]
+ [Export ("captureOutput:didCapturePhotoForResolvedSettings:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidCapturePhoto (AVCapturePhotoOutput captureOutput, AVCaptureResolvedPhotoSettings resolvedSettings)
+ {
+ _DidCapturePhoto (this, captureOutput, resolvedSettings);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidCapturePhoto (IAVCapturePhotoCaptureDelegate This, AVCapturePhotoOutput captureOutput, AVCaptureResolvedPhotoSettings resolvedSettings)
+ {
+ var captureOutput__handle__ = captureOutput!.GetNonNullHandle (nameof (captureOutput));
+ var resolvedSettings__handle__ = resolvedSettings!.GetNonNullHandle (nameof (resolvedSettings));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("captureOutput:didCapturePhotoForResolvedSettings:"), captureOutput__handle__, resolvedSettings__handle__);
+ }
+ [OptionalMember]
+ [Export ("captureOutput:didFinishProcessingPhotoSampleBuffer:previewPhotoSampleBuffer:resolvedSettings:bracketSettings:error:")]
+ [UnsupportedOSPlatform ("macos")]
+ [ObsoletedOSPlatform ("ios11.0", "Use the 'DidFinishProcessingPhoto' overload accepting a 'AVCapturePhoto' instead.")]
+ [SupportedOSPlatform ("maccatalyst14.0")]
+ [ObsoletedOSPlatform ("maccatalyst13.1", "Use the 'DidFinishProcessingPhoto' overload accepting a 'AVCapturePhoto' instead.")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidFinishProcessingPhoto (AVCapturePhotoOutput captureOutput, global::CoreMedia.CMSampleBuffer? photoSampleBuffer, global::CoreMedia.CMSampleBuffer? previewPhotoSampleBuffer, AVCaptureResolvedPhotoSettings resolvedSettings, AVCaptureBracketedStillImageSettings? bracketSettings, NSError? error)
+ {
+ _DidFinishProcessingPhoto (this, captureOutput, photoSampleBuffer, previewPhotoSampleBuffer, resolvedSettings, bracketSettings, error);
+ }
+ [UnsupportedOSPlatform ("macos")]
+ [ObsoletedOSPlatform ("ios11.0", "Use the 'DidFinishProcessingPhoto' overload accepting a 'AVCapturePhoto' instead.")]
+ [SupportedOSPlatform ("maccatalyst14.0")]
+ [ObsoletedOSPlatform ("maccatalyst13.1", "Use the 'DidFinishProcessingPhoto' overload accepting a 'AVCapturePhoto' instead.")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidFinishProcessingPhoto (IAVCapturePhotoCaptureDelegate This, AVCapturePhotoOutput captureOutput, global::CoreMedia.CMSampleBuffer? photoSampleBuffer, global::CoreMedia.CMSampleBuffer? previewPhotoSampleBuffer, AVCaptureResolvedPhotoSettings resolvedSettings, AVCaptureBracketedStillImageSettings? bracketSettings, NSError? error)
+ {
+ var captureOutput__handle__ = captureOutput!.GetNonNullHandle (nameof (captureOutput));
+ var photoSampleBuffer__handle__ = photoSampleBuffer.GetHandle ();
+ var previewPhotoSampleBuffer__handle__ = previewPhotoSampleBuffer.GetHandle ();
+ var resolvedSettings__handle__ = resolvedSettings!.GetNonNullHandle (nameof (resolvedSettings));
+ var bracketSettings__handle__ = bracketSettings.GetHandle ();
+ var error__handle__ = error.GetHandle ();
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle_NativeHandle_NativeHandle_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("captureOutput:didFinishProcessingPhotoSampleBuffer:previewPhotoSampleBuffer:resolvedSettings:bracketSettings:error:"), captureOutput__handle__, photoSampleBuffer__handle__, previewPhotoSampleBuffer__handle__, resolvedSettings__handle__, bracketSettings__handle__, error__handle__);
+ }
+ [OptionalMember]
+ [Export ("captureOutput:didFinishProcessingRawPhotoSampleBuffer:previewPhotoSampleBuffer:resolvedSettings:bracketSettings:error:")]
+ [UnsupportedOSPlatform ("macos")]
+ [ObsoletedOSPlatform ("ios11.0", "Use the 'DidFinishProcessingPhoto' overload accepting a 'AVCapturePhoto' instead.")]
+ [SupportedOSPlatform ("maccatalyst14.0")]
+ [ObsoletedOSPlatform ("maccatalyst13.1", "Use the 'DidFinishProcessingPhoto' overload accepting a 'AVCapturePhoto' instead.")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidFinishProcessingRawPhoto (AVCapturePhotoOutput captureOutput, global::CoreMedia.CMSampleBuffer? rawSampleBuffer, global::CoreMedia.CMSampleBuffer? previewPhotoSampleBuffer, AVCaptureResolvedPhotoSettings resolvedSettings, AVCaptureBracketedStillImageSettings? bracketSettings, NSError? error)
+ {
+ _DidFinishProcessingRawPhoto (this, captureOutput, rawSampleBuffer, previewPhotoSampleBuffer, resolvedSettings, bracketSettings, error);
+ }
+ [UnsupportedOSPlatform ("macos")]
+ [ObsoletedOSPlatform ("ios11.0", "Use the 'DidFinishProcessingPhoto' overload accepting a 'AVCapturePhoto' instead.")]
+ [SupportedOSPlatform ("maccatalyst14.0")]
+ [ObsoletedOSPlatform ("maccatalyst13.1", "Use the 'DidFinishProcessingPhoto' overload accepting a 'AVCapturePhoto' instead.")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidFinishProcessingRawPhoto (IAVCapturePhotoCaptureDelegate This, AVCapturePhotoOutput captureOutput, global::CoreMedia.CMSampleBuffer? rawSampleBuffer, global::CoreMedia.CMSampleBuffer? previewPhotoSampleBuffer, AVCaptureResolvedPhotoSettings resolvedSettings, AVCaptureBracketedStillImageSettings? bracketSettings, NSError? error)
+ {
+ var captureOutput__handle__ = captureOutput!.GetNonNullHandle (nameof (captureOutput));
+ var rawSampleBuffer__handle__ = rawSampleBuffer.GetHandle ();
+ var previewPhotoSampleBuffer__handle__ = previewPhotoSampleBuffer.GetHandle ();
+ var resolvedSettings__handle__ = resolvedSettings!.GetNonNullHandle (nameof (resolvedSettings));
+ var bracketSettings__handle__ = bracketSettings.GetHandle ();
+ var error__handle__ = error.GetHandle ();
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle_NativeHandle_NativeHandle_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("captureOutput:didFinishProcessingRawPhotoSampleBuffer:previewPhotoSampleBuffer:resolvedSettings:bracketSettings:error:"), captureOutput__handle__, rawSampleBuffer__handle__, previewPhotoSampleBuffer__handle__, resolvedSettings__handle__, bracketSettings__handle__, error__handle__);
+ }
+ [OptionalMember]
+ [Export ("captureOutput:didFinishProcessingPhoto:error:")]
+ [SupportedOSPlatform ("maccatalyst14.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("macos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidFinishProcessingPhoto (AVCapturePhotoOutput output, AVCapturePhoto photo, NSError? error)
+ {
+ _DidFinishProcessingPhoto (this, output, photo, error);
+ }
+ [SupportedOSPlatform ("maccatalyst14.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("macos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidFinishProcessingPhoto (IAVCapturePhotoCaptureDelegate This, AVCapturePhotoOutput output, AVCapturePhoto photo, NSError? error)
+ {
+ var output__handle__ = output!.GetNonNullHandle (nameof (output));
+ var photo__handle__ = photo!.GetNonNullHandle (nameof (photo));
+ var error__handle__ = error.GetHandle ();
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("captureOutput:didFinishProcessingPhoto:error:"), output__handle__, photo__handle__, error__handle__);
+ }
+ [OptionalMember]
+ [Export ("captureOutput:didFinishRecordingLivePhotoMovieForEventualFileAtURL:resolvedSettings:")]
+ [UnsupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst14.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidFinishRecordingLivePhotoMovie (AVCapturePhotoOutput captureOutput, NSUrl outputFileUrl, AVCaptureResolvedPhotoSettings resolvedSettings)
+ {
+ _DidFinishRecordingLivePhotoMovie (this, captureOutput, outputFileUrl, resolvedSettings);
+ }
+ [UnsupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst14.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidFinishRecordingLivePhotoMovie (IAVCapturePhotoCaptureDelegate This, AVCapturePhotoOutput captureOutput, NSUrl outputFileUrl, AVCaptureResolvedPhotoSettings resolvedSettings)
+ {
+ var captureOutput__handle__ = captureOutput!.GetNonNullHandle (nameof (captureOutput));
+ var outputFileUrl__handle__ = outputFileUrl!.GetNonNullHandle (nameof (outputFileUrl));
+ var resolvedSettings__handle__ = resolvedSettings!.GetNonNullHandle (nameof (resolvedSettings));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("captureOutput:didFinishRecordingLivePhotoMovieForEventualFileAtURL:resolvedSettings:"), captureOutput__handle__, outputFileUrl__handle__, resolvedSettings__handle__);
+ }
+ [OptionalMember]
+ [Export ("captureOutput:didFinishProcessingLivePhotoToMovieFileAtURL:duration:photoDisplayTime:resolvedSettings:error:")]
+ [UnsupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst14.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidFinishProcessingLivePhotoMovie (AVCapturePhotoOutput captureOutput, NSUrl outputFileUrl, global::CoreMedia.CMTime duration, global::CoreMedia.CMTime photoDisplayTime, AVCaptureResolvedPhotoSettings resolvedSettings, NSError? error)
+ {
+ _DidFinishProcessingLivePhotoMovie (this, captureOutput, outputFileUrl, duration, photoDisplayTime, resolvedSettings, error);
+ }
+ [UnsupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst14.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidFinishProcessingLivePhotoMovie (IAVCapturePhotoCaptureDelegate This, AVCapturePhotoOutput captureOutput, NSUrl outputFileUrl, global::CoreMedia.CMTime duration, global::CoreMedia.CMTime photoDisplayTime, AVCaptureResolvedPhotoSettings resolvedSettings, NSError? error)
+ {
+ var captureOutput__handle__ = captureOutput!.GetNonNullHandle (nameof (captureOutput));
+ var outputFileUrl__handle__ = outputFileUrl!.GetNonNullHandle (nameof (outputFileUrl));
+ var resolvedSettings__handle__ = resolvedSettings!.GetNonNullHandle (nameof (resolvedSettings));
+ var error__handle__ = error.GetHandle ();
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle_CMTime_CMTime_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("captureOutput:didFinishProcessingLivePhotoToMovieFileAtURL:duration:photoDisplayTime:resolvedSettings:error:"), captureOutput__handle__, outputFileUrl__handle__, duration, photoDisplayTime, resolvedSettings__handle__, error__handle__);
+ }
+ [OptionalMember]
+ [Export ("captureOutput:didFinishCaptureForResolvedSettings:error:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidFinishCapture (AVCapturePhotoOutput captureOutput, AVCaptureResolvedPhotoSettings resolvedSettings, NSError? error)
+ {
+ _DidFinishCapture (this, captureOutput, resolvedSettings, error);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidFinishCapture (IAVCapturePhotoCaptureDelegate This, AVCapturePhotoOutput captureOutput, AVCaptureResolvedPhotoSettings resolvedSettings, NSError? error)
+ {
+ var captureOutput__handle__ = captureOutput!.GetNonNullHandle (nameof (captureOutput));
+ var resolvedSettings__handle__ = resolvedSettings!.GetNonNullHandle (nameof (resolvedSettings));
+ var error__handle__ = error.GetHandle ();
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("captureOutput:didFinishCaptureForResolvedSettings:error:"), captureOutput__handle__, resolvedSettings__handle__, error__handle__);
+ }
}
/// <summary>Extension methods to the <see cref="IAVCapturePhotoCaptureDelegate" /> interface to support all the methods from the AVCapturePhotoCaptureDelegate protocol.</summary>
/// <remarks>
diff --git a/old/dotnet/ios/generated-sources/AVFoundation/AVCapturePhotoFileDataRepresentationCustomizer.g.cs b/new/dotnet/ios/generated-sources/AVFoundation/AVCapturePhotoFileDataRepresentationCustomizer.g.cs
index 78a85df..5fb976d 100644
--- a/old/dotnet/ios/generated-sources/AVFoundation/AVCapturePhotoFileDataRepresentationCustomizer.g.cs
+++ b/new/dotnet/ios/generated-sources/AVFoundation/AVCapturePhotoFileDataRepresentationCustomizer.g.cs
@@ -62,6 +62,154 @@ namespace AVFoundation {
[ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "GetReplacementAppleProRawCompressionSettings", Selector = "replacementAppleProRAWCompressionSettingsForPhoto:defaultSettings:maximumBitDepth:", ReturnType = typeof (global::Foundation.NSDictionary<NSString, NSObject>), ParameterType = new Type [] { typeof (AVCapturePhoto), typeof (global::Foundation.NSDictionary<NSString, NSObject>), typeof (IntPtr) }, ParameterByRef = new bool [] { false, false, false })]
public partial interface IAVCapturePhotoFileDataRepresentationCustomizer : INativeObject, IDisposable
{
+ [OptionalMember]
+ [Export ("replacementMetadataForPhoto:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual NSDictionary<NSString, NSObject>? GetReplacementMetadata (AVCapturePhoto photo)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ return _GetReplacementMetadata (this, photo);
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static NSDictionary<NSString, NSObject>? _GetReplacementMetadata (IAVCapturePhotoFileDataRepresentationCustomizer This, AVCapturePhoto photo)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var photo__handle__ = photo!.GetNonNullHandle (nameof (photo));
+ return Runtime.GetNSObject<NSDictionary<NSString, NSObject>> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (This.Handle, Selector.GetHandle ("replacementMetadataForPhoto:"), photo__handle__))!;
+ #endif
+ }
+ [OptionalMember]
+ [Export ("replacementEmbeddedThumbnailPixelBufferWithPhotoFormat:forPhoto:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe virtual global::CoreVideo.CVPixelBuffer? GetReplacementEmbeddedThumbnail (out NSDictionary<NSString, NSObject>? replacementEmbeddedThumbnailPhotoFormatOut, AVCapturePhoto photo)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ return _GetReplacementEmbeddedThumbnail (this, out replacementEmbeddedThumbnailPhotoFormatOut, photo);
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal unsafe static global::CoreVideo.CVPixelBuffer? _GetReplacementEmbeddedThumbnail (IAVCapturePhotoFileDataRepresentationCustomizer This, out NSDictionary<NSString, NSObject>? replacementEmbeddedThumbnailPhotoFormatOut, AVCapturePhoto photo)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var photo__handle__ = photo!.GetNonNullHandle (nameof (photo));
+ NativeHandle replacementEmbeddedThumbnailPhotoFormatOutValue = IntPtr.Zero;
+ global::CoreVideo.CVPixelBuffer? ret;
+ ret = Runtime.GetINativeObject<CVPixelBuffer> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_ref_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("replacementEmbeddedThumbnailPixelBufferWithPhotoFormat:forPhoto:"), &replacementEmbeddedThumbnailPhotoFormatOutValue, photo__handle__), false)!;
+ replacementEmbeddedThumbnailPhotoFormatOut = Runtime.GetNSObject<global::Foundation.NSDictionary<NSString, NSObject>> (replacementEmbeddedThumbnailPhotoFormatOutValue)!;
+ return ret!;
+ #endif
+ }
+ [OptionalMember]
+ [Export ("replacementDepthDataForPhoto:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual AVDepthData? GetReplacementDepthData (AVCapturePhoto photo)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ return _GetReplacementDepthData (this, photo);
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static AVDepthData? _GetReplacementDepthData (IAVCapturePhotoFileDataRepresentationCustomizer This, AVCapturePhoto photo)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var photo__handle__ = photo!.GetNonNullHandle (nameof (photo));
+ return Runtime.GetNSObject<AVDepthData> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (This.Handle, Selector.GetHandle ("replacementDepthDataForPhoto:"), photo__handle__))!;
+ #endif
+ }
+ [OptionalMember]
+ [Export ("replacementPortraitEffectsMatteForPhoto:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual AVPortraitEffectsMatte? GetReplacementPortraitEffectsMatte (AVCapturePhoto photo)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ return _GetReplacementPortraitEffectsMatte (this, photo);
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static AVPortraitEffectsMatte? _GetReplacementPortraitEffectsMatte (IAVCapturePhotoFileDataRepresentationCustomizer This, AVCapturePhoto photo)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var photo__handle__ = photo!.GetNonNullHandle (nameof (photo));
+ return Runtime.GetNSObject<AVPortraitEffectsMatte> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (This.Handle, Selector.GetHandle ("replacementPortraitEffectsMatteForPhoto:"), photo__handle__))!;
+ #endif
+ }
+ [OptionalMember]
+ [Export ("replacementSemanticSegmentationMatteOfType:forPhoto:")]
+ [SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("maccatalyst14.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ [UnsupportedOSPlatform ("macos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual AVSemanticSegmentationMatte? GetReplacementSemanticSegmentationMatte (NSString semanticSegmentationMatteType, AVCapturePhoto photo)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ return _GetReplacementSemanticSegmentationMatte (this, semanticSegmentationMatteType, photo);
+ #endif
+ }
+ [SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("maccatalyst14.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ [UnsupportedOSPlatform ("macos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static AVSemanticSegmentationMatte? _GetReplacementSemanticSegmentationMatte (IAVCapturePhotoFileDataRepresentationCustomizer This, NSString semanticSegmentationMatteType, AVCapturePhoto photo)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var semanticSegmentationMatteType__handle__ = semanticSegmentationMatteType!.GetNonNullHandle (nameof (semanticSegmentationMatteType));
+ var photo__handle__ = photo!.GetNonNullHandle (nameof (photo));
+ return Runtime.GetNSObject<AVSemanticSegmentationMatte> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("replacementSemanticSegmentationMatteOfType:forPhoto:"), semanticSegmentationMatteType__handle__, photo__handle__))!;
+ #endif
+ }
+ [OptionalMember]
+ [Export ("replacementAppleProRAWCompressionSettingsForPhoto:defaultSettings:maximumBitDepth:")]
+ [SupportedOSPlatform ("maccatalyst14.3")]
+ [UnsupportedOSPlatform ("tvos")]
+ [UnsupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("ios14.3")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual NSDictionary<NSString, NSObject> GetReplacementAppleProRawCompressionSettings (AVCapturePhoto photo, NSDictionary<NSString, NSObject> defaultSettings, nint maximumBitDepth)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ return _GetReplacementAppleProRawCompressionSettings (this, photo, defaultSettings, maximumBitDepth);
+ #endif
+ }
+ [SupportedOSPlatform ("maccatalyst14.3")]
+ [UnsupportedOSPlatform ("tvos")]
+ [UnsupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("ios14.3")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static NSDictionary<NSString, NSObject> _GetReplacementAppleProRawCompressionSettings (IAVCapturePhotoFileDataRepresentationCustomizer This, AVCapturePhoto photo, NSDictionary<NSString, NSObject> defaultSettings, nint maximumBitDepth)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var photo__handle__ = photo!.GetNonNullHandle (nameof (photo));
+ var defaultSettings__handle__ = defaultSettings!.GetNonNullHandle (nameof (defaultSettings));
+ return Runtime.GetNSObject<NSDictionary<NSString, NSObject>> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_NativeHandle_IntPtr (This.Handle, Selector.GetHandle ("replacementAppleProRAWCompressionSettingsForPhoto:defaultSettings:maximumBitDepth:"), photo__handle__, defaultSettings__handle__, maximumBitDepth))!;
+ #endif
+ }
}
/// <summary>Extension methods to the <see cref="IAVCapturePhotoFileDataRepresentationCustomizer" /> interface to support all the methods from the AVCapturePhotoFileDataRepresentationCustomizer protocol.</summary>
/// <remarks>
diff --git a/old/dotnet/ios/generated-sources/AVFoundation/AVCaptureVideoDataOutputSampleBufferDelegate.g.cs b/new/dotnet/ios/generated-sources/AVFoundation/AVCaptureVideoDataOutputSampleBufferDelegate.g.cs
index ecc1b3b..1f1b040 100644
--- a/old/dotnet/ios/generated-sources/AVFoundation/AVCaptureVideoDataOutputSampleBufferDelegate.g.cs
+++ b/new/dotnet/ios/generated-sources/AVFoundation/AVCaptureVideoDataOutputSampleBufferDelegate.g.cs
@@ -58,6 +58,36 @@ namespace AVFoundation {
[ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "DidDropSampleBuffer", Selector = "captureOutput:didDropSampleBuffer:fromConnection:", ParameterType = new Type [] { typeof (AVCaptureOutput), typeof (CMSampleBuffer), typeof (AVCaptureConnection) }, ParameterByRef = new bool [] { false, false, false })]
public partial interface IAVCaptureVideoDataOutputSampleBufferDelegate : INativeObject, IDisposable
{
+ [OptionalMember]
+ [Export ("captureOutput:didOutputSampleBuffer:fromConnection:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidOutputSampleBuffer (AVCaptureOutput captureOutput, global::CoreMedia.CMSampleBuffer sampleBuffer, AVCaptureConnection connection)
+ {
+ _DidOutputSampleBuffer (this, captureOutput, sampleBuffer, connection);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidOutputSampleBuffer (IAVCaptureVideoDataOutputSampleBufferDelegate This, AVCaptureOutput captureOutput, global::CoreMedia.CMSampleBuffer sampleBuffer, AVCaptureConnection connection)
+ {
+ var captureOutput__handle__ = captureOutput!.GetNonNullHandle (nameof (captureOutput));
+ var sampleBuffer__handle__ = sampleBuffer!.GetNonNullHandle (nameof (sampleBuffer));
+ var connection__handle__ = connection!.GetNonNullHandle (nameof (connection));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("captureOutput:didOutputSampleBuffer:fromConnection:"), captureOutput__handle__, sampleBuffer.Handle, connection__handle__);
+ }
+ [OptionalMember]
+ [Export ("captureOutput:didDropSampleBuffer:fromConnection:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidDropSampleBuffer (AVCaptureOutput captureOutput, global::CoreMedia.CMSampleBuffer sampleBuffer, AVCaptureConnection connection)
+ {
+ _DidDropSampleBuffer (this, captureOutput, sampleBuffer, connection);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidDropSampleBuffer (IAVCaptureVideoDataOutputSampleBufferDelegate This, AVCaptureOutput captureOutput, global::CoreMedia.CMSampleBuffer sampleBuffer, AVCaptureConnection connection)
+ {
+ var captureOutput__handle__ = captureOutput!.GetNonNullHandle (nameof (captureOutput));
+ var sampleBuffer__handle__ = sampleBuffer!.GetNonNullHandle (nameof (sampleBuffer));
+ var connection__handle__ = connection!.GetNonNullHandle (nameof (connection));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("captureOutput:didDropSampleBuffer:fromConnection:"), captureOutput__handle__, sampleBuffer.Handle, connection__handle__);
+ }
}
/// <summary>Extension methods to the <see cref="IAVCaptureVideoDataOutputSampleBufferDelegate" /> interface to support all the methods from the AVCaptureVideoDataOutputSampleBufferDelegate protocol.</summary>
/// <remarks>
diff --git a/old/dotnet/ios/generated-sources/AVFoundation/AVContentKeyRecipient.g.cs b/new/dotnet/ios/generated-sources/AVFoundation/AVContentKeyRecipient.g.cs
index 35763aa..9cc468b 100644
--- a/old/dotnet/ios/generated-sources/AVFoundation/AVContentKeyRecipient.g.cs
+++ b/new/dotnet/ios/generated-sources/AVFoundation/AVContentKeyRecipient.g.cs
@@ -58,10 +58,50 @@ namespace AVFoundation {
[ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "MayRequireContentKeysForMediaDataProcessing", Selector = "mayRequireContentKeysForMediaDataProcessing", PropertyType = typeof (bool), GetterSelector = "mayRequireContentKeysForMediaDataProcessing", ArgumentSemantic = ArgumentSemantic.None)]
public partial interface IAVContentKeyRecipient : INativeObject, IDisposable
{
- [Preserve (Conditional = true)]
- bool MayRequireContentKeysForMediaDataProcessing {
+ [OptionalMember]
+ [Export ("contentKeySession:didProvideContentKey:")]
+ [SupportedOSPlatform ("tvos14.5")]
+ [SupportedOSPlatform ("macos11.3")]
+ [SupportedOSPlatform ("ios14.5")]
+ [SupportedOSPlatform ("maccatalyst14.5")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidProvideContentKey (AVContentKeySession contentKeySession, AVContentKey contentKey)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ _DidProvideContentKey (this, contentKeySession, contentKey);
+ #endif
+ }
+ [SupportedOSPlatform ("tvos14.5")]
+ [SupportedOSPlatform ("macos11.3")]
+ [SupportedOSPlatform ("ios14.5")]
+ [SupportedOSPlatform ("maccatalyst14.5")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidProvideContentKey (IAVContentKeyRecipient This, AVContentKeySession contentKeySession, AVContentKey contentKey)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var contentKeySession__handle__ = contentKeySession!.GetNonNullHandle (nameof (contentKeySession));
+ var contentKey__handle__ = contentKey!.GetNonNullHandle (nameof (contentKey));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("contentKeySession:didProvideContentKey:"), contentKeySession__handle__, contentKey__handle__);
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [RequiredMember]
+ public virtual bool MayRequireContentKeysForMediaDataProcessing {
[Export ("mayRequireContentKeysForMediaDataProcessing")]
- get;
+ get {
+ return _GetMayRequireContentKeysForMediaDataProcessing (this);
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static bool _GetMayRequireContentKeysForMediaDataProcessing (IAVContentKeyRecipient This)
+ {
+ byte ret;
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend (This.Handle, Selector.GetHandle ("mayRequireContentKeysForMediaDataProcessing"));
+ return ret != 0;
}
}
/// <summary>Extension methods to the <see cref="IAVContentKeyRecipient" /> interface to support all the methods from the AVContentKeyRecipient protocol.</summary>
diff --git a/old/dotnet/ios/generated-sources/AVFoundation/AVContentKeySessionDelegate.g.cs b/new/dotnet/ios/generated-sources/AVFoundation/AVContentKeySessionDelegate.g.cs
index b823525..7aa453a 100644
--- a/old/dotnet/ios/generated-sources/AVFoundation/AVContentKeySessionDelegate.g.cs
+++ b/new/dotnet/ios/generated-sources/AVFoundation/AVContentKeySessionDelegate.g.cs
@@ -65,10 +65,176 @@ namespace AVFoundation {
[ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "DidGenerateExpiredSessionReport", Selector = "contentKeySessionDidGenerateExpiredSessionReport:", ParameterType = new Type [] { typeof (AVContentKeySession) }, ParameterByRef = new bool [] { false })]
public partial interface IAVContentKeySessionDelegate : INativeObject, IDisposable
{
- [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [RequiredMember]
[Export ("contentKeySession:didProvideContentKeyRequest:")]
- [Preserve (Conditional = true)]
- void DidProvideContentKeyRequest (AVContentKeySession session, AVContentKeyRequest keyRequest);
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidProvideContentKeyRequest (AVContentKeySession session, AVContentKeyRequest keyRequest)
+ {
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidProvideContentKeyRequest (IAVContentKeySessionDelegate This, AVContentKeySession session, AVContentKeyRequest keyRequest)
+ {
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ }
+ [OptionalMember]
+ [Export ("contentKeySession:didProvideRenewingContentKeyRequest:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidProvideRenewingContentKeyRequest (AVContentKeySession session, AVContentKeyRequest keyRequest)
+ {
+ _DidProvideRenewingContentKeyRequest (this, session, keyRequest);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidProvideRenewingContentKeyRequest (IAVContentKeySessionDelegate This, AVContentKeySession session, AVContentKeyRequest keyRequest)
+ {
+ var session__handle__ = session!.GetNonNullHandle (nameof (session));
+ var keyRequest__handle__ = keyRequest!.GetNonNullHandle (nameof (keyRequest));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("contentKeySession:didProvideRenewingContentKeyRequest:"), session__handle__, keyRequest__handle__);
+ }
+ [OptionalMember]
+ [Export ("contentKeySession:didProvidePersistableContentKeyRequest:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidProvidePersistableContentKeyRequest (AVContentKeySession session, AVPersistableContentKeyRequest keyRequest)
+ {
+ _DidProvidePersistableContentKeyRequest (this, session, keyRequest);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidProvidePersistableContentKeyRequest (IAVContentKeySessionDelegate This, AVContentKeySession session, AVPersistableContentKeyRequest keyRequest)
+ {
+ var session__handle__ = session!.GetNonNullHandle (nameof (session));
+ var keyRequest__handle__ = keyRequest!.GetNonNullHandle (nameof (keyRequest));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("contentKeySession:didProvidePersistableContentKeyRequest:"), session__handle__, keyRequest__handle__);
+ }
+ [OptionalMember]
+ [Export ("contentKeySession:contentKeyRequest:didFailWithError:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidFail (AVContentKeySession session, AVContentKeyRequest keyRequest, NSError err)
+ {
+ _DidFail (this, session, keyRequest, err);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidFail (IAVContentKeySessionDelegate This, AVContentKeySession session, AVContentKeyRequest keyRequest, NSError err)
+ {
+ var session__handle__ = session!.GetNonNullHandle (nameof (session));
+ var keyRequest__handle__ = keyRequest!.GetNonNullHandle (nameof (keyRequest));
+ var err__handle__ = err!.GetNonNullHandle (nameof (err));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("contentKeySession:contentKeyRequest:didFailWithError:"), session__handle__, keyRequest__handle__, err__handle__);
+ }
+ [OptionalMember]
+ [Export ("contentKeySession:shouldRetryContentKeyRequest:reason:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual bool ShouldRetryContentKeyRequest (AVContentKeySession session, AVContentKeyRequest keyRequest, string retryReason)
+ {
+ return _ShouldRetryContentKeyRequest (this, session, keyRequest, retryReason);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static bool _ShouldRetryContentKeyRequest (IAVContentKeySessionDelegate This, AVContentKeySession session, AVContentKeyRequest keyRequest, string retryReason)
+ {
+ var session__handle__ = session!.GetNonNullHandle (nameof (session));
+ var keyRequest__handle__ = keyRequest!.GetNonNullHandle (nameof (keyRequest));
+ if (retryReason is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (retryReason));
+ var nsretryReason = CFString.CreateNative (retryReason);
+ byte ret;
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend_NativeHandle_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("contentKeySession:shouldRetryContentKeyRequest:reason:"), session__handle__, keyRequest__handle__, nsretryReason);
+ CFString.ReleaseNative (nsretryReason);
+ return ret != 0;
+ }
+ [OptionalMember]
+ [Export ("contentKeySessionContentProtectionSessionIdentifierDidChange:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidChange (AVContentKeySession session)
+ {
+ _DidChange (this, session);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidChange (IAVContentKeySessionDelegate This, AVContentKeySession session)
+ {
+ var session__handle__ = session!.GetNonNullHandle (nameof (session));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (This.Handle, Selector.GetHandle ("contentKeySessionContentProtectionSessionIdentifierDidChange:"), session__handle__);
+ }
+ [OptionalMember]
+ [Export ("contentKeySession:didUpdatePersistableContentKey:forContentKeyIdentifier:")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("macos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidUpdate (AVContentKeySession session, NSData persistableContentKey, NSObject keyIdentifier)
+ {
+ _DidUpdate (this, session, persistableContentKey, keyIdentifier);
+ }
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("macos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidUpdate (IAVContentKeySessionDelegate This, AVContentKeySession session, NSData persistableContentKey, NSObject keyIdentifier)
+ {
+ var session__handle__ = session!.GetNonNullHandle (nameof (session));
+ var persistableContentKey__handle__ = persistableContentKey!.GetNonNullHandle (nameof (persistableContentKey));
+ var keyIdentifier__handle__ = keyIdentifier!.GetNonNullHandle (nameof (keyIdentifier));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("contentKeySession:didUpdatePersistableContentKey:forContentKeyIdentifier:"), session__handle__, persistableContentKey__handle__, keyIdentifier__handle__);
+ }
+ [OptionalMember]
+ [Export ("contentKeySession:contentKeyRequestDidSucceed:")]
+ [SupportedOSPlatform ("tvos12.0")]
+ [SupportedOSPlatform ("ios12.0")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("macos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidSucceed (AVContentKeySession session, AVContentKeyRequest keyRequest)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ _DidSucceed (this, session, keyRequest);
+ #endif
+ }
+ [SupportedOSPlatform ("tvos12.0")]
+ [SupportedOSPlatform ("ios12.0")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("macos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidSucceed (IAVContentKeySessionDelegate This, AVContentKeySession session, AVContentKeyRequest keyRequest)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var session__handle__ = session!.GetNonNullHandle (nameof (session));
+ var keyRequest__handle__ = keyRequest!.GetNonNullHandle (nameof (keyRequest));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("contentKeySession:contentKeyRequestDidSucceed:"), session__handle__, keyRequest__handle__);
+ #endif
+ }
+ [OptionalMember]
+ [Export ("contentKeySessionDidGenerateExpiredSessionReport:")]
+ [SupportedOSPlatform ("tvos12.0")]
+ [SupportedOSPlatform ("ios12.0")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("macos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidGenerateExpiredSessionReport (AVContentKeySession session)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ _DidGenerateExpiredSessionReport (this, session);
+ #endif
+ }
+ [SupportedOSPlatform ("tvos12.0")]
+ [SupportedOSPlatform ("ios12.0")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("macos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidGenerateExpiredSessionReport (IAVContentKeySessionDelegate This, AVContentKeySession session)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var session__handle__ = session!.GetNonNullHandle (nameof (session));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (This.Handle, Selector.GetHandle ("contentKeySessionDidGenerateExpiredSessionReport:"), session__handle__);
+ #endif
+ }
}
/// <summary>Extension methods to the <see cref="IAVContentKeySessionDelegate" /> interface to support all the methods from the AVContentKeySessionDelegate protocol.</summary>
/// <remarks>
diff --git a/old/dotnet/ios/generated-sources/AVFoundation/AVFragmentMinding.g.cs b/new/dotnet/ios/generated-sources/AVFoundation/AVFragmentMinding.g.cs
index 42ae5df..5e88667 100644
--- a/old/dotnet/ios/generated-sources/AVFoundation/AVFragmentMinding.g.cs
+++ b/new/dotnet/ios/generated-sources/AVFoundation/AVFragmentMinding.g.cs
@@ -57,10 +57,26 @@ namespace AVFoundation {
[ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "IsAssociatedWithFragmentMinder", Selector = "isAssociatedWithFragmentMinder", ReturnType = typeof (bool))]
public partial interface IAVFragmentMinding : INativeObject, IDisposable
{
- [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [RequiredMember]
[Export ("isAssociatedWithFragmentMinder")]
- [Preserve (Conditional = true)]
- bool IsAssociatedWithFragmentMinder ();
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual bool IsAssociatedWithFragmentMinder ()
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static bool _IsAssociatedWithFragmentMinder (IAVFragmentMinding This)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ #endif
+ }
}
internal unsafe sealed class AVFragmentMindingWrapper : BaseWrapper, IAVFragmentMinding {
[Preserve (Conditional = true)]
diff --git a/old/dotnet/ios/generated-sources/AVFoundation/AVPlaybackCoordinatorPlaybackControlDelegate.g.cs b/new/dotnet/ios/generated-sources/AVFoundation/AVPlaybackCoordinatorPlaybackControlDelegate.g.cs
index 8c56323..fcdf13a 100644
--- a/old/dotnet/ios/generated-sources/AVFoundation/AVPlaybackCoordinatorPlaybackControlDelegate.g.cs
+++ b/new/dotnet/ios/generated-sources/AVFoundation/AVPlaybackCoordinatorPlaybackControlDelegate.g.cs
@@ -60,22 +60,86 @@ namespace AVFoundation {
[ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "DidIssueBufferingCommand", Selector = "playbackCoordinator:didIssueBufferingCommand:completionHandler:", ParameterType = new Type [] { typeof (AVDelegatingPlaybackCoordinator), typeof (AVDelegatingPlaybackCoordinatorBufferingCommand), typeof (Action) }, ParameterByRef = new bool [] { false, false, false }, ParameterBlockProxy = new Type? [] { null, null, typeof (ObjCRuntime.Trampolines.NIDAction) })]
public partial interface IAVPlaybackCoordinatorPlaybackControlDelegate : INativeObject, IDisposable
{
- [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [RequiredMember]
[Export ("playbackCoordinator:didIssuePlayCommand:completionHandler:")]
- [Preserve (Conditional = true)]
- unsafe void DidIssuePlayCommand (AVDelegatingPlaybackCoordinator coordinator, AVDelegatingPlaybackCoordinatorPlayCommand playCommand, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDAction))]global::System.Action completionHandler);
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe virtual void DidIssuePlayCommand (AVDelegatingPlaybackCoordinator coordinator, AVDelegatingPlaybackCoordinatorPlayCommand playCommand, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDAction))]global::System.Action completionHandler)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal unsafe static void _DidIssuePlayCommand (IAVPlaybackCoordinatorPlaybackControlDelegate This, AVDelegatingPlaybackCoordinator coordinator, AVDelegatingPlaybackCoordinatorPlayCommand playCommand, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDAction))]global::System.Action completionHandler)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ #endif
+ }
+ [RequiredMember]
[Export ("playbackCoordinator:didIssuePauseCommand:completionHandler:")]
- [Preserve (Conditional = true)]
- unsafe void DidIssuePauseCommand (AVDelegatingPlaybackCoordinator coordinator, AVDelegatingPlaybackCoordinatorPauseCommand pauseCommand, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDAction))]global::System.Action completionHandler);
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe virtual void DidIssuePauseCommand (AVDelegatingPlaybackCoordinator coordinator, AVDelegatingPlaybackCoordinatorPauseCommand pauseCommand, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDAction))]global::System.Action completionHandler)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal unsafe static void _DidIssuePauseCommand (IAVPlaybackCoordinatorPlaybackControlDelegate This, AVDelegatingPlaybackCoordinator coordinator, AVDelegatingPlaybackCoordinatorPauseCommand pauseCommand, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDAction))]global::System.Action completionHandler)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ #endif
+ }
+ [RequiredMember]
[Export ("playbackCoordinator:didIssueSeekCommand:completionHandler:")]
- [Preserve (Conditional = true)]
- unsafe void DidIssueSeekCommand (AVDelegatingPlaybackCoordinator coordinator, AVDelegatingPlaybackCoordinatorSeekCommand seekCommand, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDAction))]global::System.Action completionHandler);
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe virtual void DidIssueSeekCommand (AVDelegatingPlaybackCoordinator coordinator, AVDelegatingPlaybackCoordinatorSeekCommand seekCommand, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDAction))]global::System.Action completionHandler)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal unsafe static void _DidIssueSeekCommand (IAVPlaybackCoordinatorPlaybackControlDelegate This, AVDelegatingPlaybackCoordinator coordinator, AVDelegatingPlaybackCoordinatorSeekCommand seekCommand, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDAction))]global::System.Action completionHandler)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ #endif
+ }
+ [RequiredMember]
[Export ("playbackCoordinator:didIssueBufferingCommand:completionHandler:")]
- [Preserve (Conditional = true)]
- unsafe void DidIssueBufferingCommand (AVDelegatingPlaybackCoordinator coordinator, AVDelegatingPlaybackCoordinatorBufferingCommand bufferingCommand, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDAction))]global::System.Action completionHandler);
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe virtual void DidIssueBufferingCommand (AVDelegatingPlaybackCoordinator coordinator, AVDelegatingPlaybackCoordinatorBufferingCommand bufferingCommand, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDAction))]global::System.Action completionHandler)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal unsafe static void _DidIssueBufferingCommand (IAVPlaybackCoordinatorPlaybackControlDelegate This, AVDelegatingPlaybackCoordinator coordinator, AVDelegatingPlaybackCoordinatorBufferingCommand bufferingCommand, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDAction))]global::System.Action completionHandler)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ #endif
+ }
}
internal unsafe sealed class AVPlaybackCoordinatorPlaybackControlDelegateWrapper : BaseWrapper, IAVPlaybackCoordinatorPlaybackControlDelegate {
[Preserve (Conditional = true)]
diff --git a/old/dotnet/ios/generated-sources/AVFoundation/AVPlayerItemLegibleOutputPushDelegate.g.cs b/new/dotnet/ios/generated-sources/AVFoundation/AVPlayerItemLegibleOutputPushDelegate.g.cs
index 26c8165..54740e4 100644
--- a/old/dotnet/ios/generated-sources/AVFoundation/AVPlayerItemLegibleOutputPushDelegate.g.cs
+++ b/new/dotnet/ios/generated-sources/AVFoundation/AVPlayerItemLegibleOutputPushDelegate.g.cs
@@ -58,6 +58,35 @@ namespace AVFoundation {
public partial interface IAVPlayerItemLegibleOutputPushDelegate : INativeObject, IDisposable,
AVFoundation.IAVPlayerItemOutputPushDelegate
{
+ [OptionalMember]
+ [Export ("legibleOutput:didOutputAttributedStrings:nativeSampleBuffers:forItemTime:")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("tvos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidOutputAttributedStrings (AVPlayerItemLegibleOutput output, NSAttributedString[] strings, global::CoreMedia.CMSampleBuffer[] nativeSamples, global::CoreMedia.CMTime itemTime)
+ {
+ _DidOutputAttributedStrings (this, output, strings, nativeSamples, itemTime);
+ }
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("tvos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidOutputAttributedStrings (IAVPlayerItemLegibleOutputPushDelegate This, AVPlayerItemLegibleOutput output, NSAttributedString[] strings, global::CoreMedia.CMSampleBuffer[] nativeSamples, global::CoreMedia.CMTime itemTime)
+ {
+ var output__handle__ = output!.GetNonNullHandle (nameof (output));
+ if (strings is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (strings));
+ if (nativeSamples is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (nativeSamples));
+ var nsa_strings = NSArray.FromNSObjects (strings);
+ var nsa_nativeSamples = NSArray.FromNSObjects (nativeSamples);
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle_NativeHandle_CMTime (This.Handle, Selector.GetHandle ("legibleOutput:didOutputAttributedStrings:nativeSampleBuffers:forItemTime:"), output__handle__, nsa_strings.Handle, nsa_nativeSamples.Handle, itemTime);
+ nsa_strings.Dispose ();
+ nsa_nativeSamples.Dispose ();
+ }
}
/// <summary>Extension methods to the <see cref="IAVPlayerItemLegibleOutputPushDelegate" /> interface to support all the methods from the AVPlayerItemLegibleOutputPushDelegate protocol.</summary>
/// <remarks>
diff --git a/old/dotnet/ios/generated-sources/AVFoundation/AVPlayerItemMetadataCollectorPushDelegate.g.cs b/new/dotnet/ios/generated-sources/AVFoundation/AVPlayerItemMetadataCollectorPushDelegate.g.cs
index 993bad9..ee7c0eb 100644
--- a/old/dotnet/ios/generated-sources/AVFoundation/AVPlayerItemMetadataCollectorPushDelegate.g.cs
+++ b/new/dotnet/ios/generated-sources/AVFoundation/AVPlayerItemMetadataCollectorPushDelegate.g.cs
@@ -57,10 +57,18 @@ namespace AVFoundation {
[ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "DidCollectDateRange", Selector = "metadataCollector:didCollectDateRangeMetadataGroups:indexesOfNewGroups:indexesOfModifiedGroups:", ParameterType = new Type [] { typeof (AVPlayerItemMetadataCollector), typeof (AVDateRangeMetadataGroup[]), typeof (NSIndexSet), typeof (NSIndexSet) }, ParameterByRef = new bool [] { false, false, false, false })]
public partial interface IAVPlayerItemMetadataCollectorPushDelegate : INativeObject, IDisposable
{
- [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [RequiredMember]
[Export ("metadataCollector:didCollectDateRangeMetadataGroups:indexesOfNewGroups:indexesOfModifiedGroups:")]
- [Preserve (Conditional = true)]
- void DidCollectDateRange (AVPlayerItemMetadataCollector metadataCollector, AVDateRangeMetadataGroup[] metadataGroups, NSIndexSet indexesOfNewGroups, NSIndexSet indexesOfModifiedGroups);
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidCollectDateRange (AVPlayerItemMetadataCollector metadataCollector, AVDateRangeMetadataGroup[] metadataGroups, NSIndexSet indexesOfNewGroups, NSIndexSet indexesOfModifiedGroups)
+ {
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidCollectDateRange (IAVPlayerItemMetadataCollectorPushDelegate This, AVPlayerItemMetadataCollector metadataCollector, AVDateRangeMetadataGroup[] metadataGroups, NSIndexSet indexesOfNewGroups, NSIndexSet indexesOfModifiedGroups)
+ {
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ }
}
internal unsafe sealed class AVPlayerItemMetadataCollectorPushDelegateWrapper : BaseWrapper, IAVPlayerItemMetadataCollectorPushDelegate {
[Preserve (Conditional = true)]
diff --git a/old/dotnet/ios/generated-sources/AVFoundation/AVPlayerItemMetadataOutputPushDelegate.g.cs b/new/dotnet/ios/generated-sources/AVFoundation/AVPlayerItemMetadataOutputPushDelegate.g.cs
index 439ca01..47eee59 100644
--- a/old/dotnet/ios/generated-sources/AVFoundation/AVPlayerItemMetadataOutputPushDelegate.g.cs
+++ b/new/dotnet/ios/generated-sources/AVFoundation/AVPlayerItemMetadataOutputPushDelegate.g.cs
@@ -58,6 +58,32 @@ namespace AVFoundation {
public partial interface IAVPlayerItemMetadataOutputPushDelegate : INativeObject, IDisposable,
AVFoundation.IAVPlayerItemOutputPushDelegate
{
+ [OptionalMember]
+ [Export ("metadataOutput:didOutputTimedMetadataGroups:fromPlayerItemTrack:")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("tvos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidOutputTimedMetadataGroups (AVPlayerItemMetadataOutput output, AVTimedMetadataGroup[] groups, AVPlayerItemTrack? track)
+ {
+ _DidOutputTimedMetadataGroups (this, output, groups, track);
+ }
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("tvos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidOutputTimedMetadataGroups (IAVPlayerItemMetadataOutputPushDelegate This, AVPlayerItemMetadataOutput output, AVTimedMetadataGroup[] groups, AVPlayerItemTrack? track)
+ {
+ var output__handle__ = output!.GetNonNullHandle (nameof (output));
+ if (groups is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (groups));
+ var track__handle__ = track.GetHandle ();
+ var nsa_groups = NSArray.FromNSObjects (groups);
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("metadataOutput:didOutputTimedMetadataGroups:fromPlayerItemTrack:"), output__handle__, nsa_groups.Handle, track__handle__);
+ nsa_groups.Dispose ();
+ }
}
/// <summary>Extension methods to the <see cref="IAVPlayerItemMetadataOutputPushDelegate" /> interface to support all the methods from the AVPlayerItemMetadataOutputPushDelegate protocol.</summary>
/// <remarks>
diff --git a/old/dotnet/ios/generated-sources/AVFoundation/AVPlayerItemOutputPullDelegate.g.cs b/new/dotnet/ios/generated-sources/AVFoundation/AVPlayerItemOutputPullDelegate.g.cs
index 90a0bb3..dd74280 100644
--- a/old/dotnet/ios/generated-sources/AVFoundation/AVPlayerItemOutputPullDelegate.g.cs
+++ b/new/dotnet/ios/generated-sources/AVFoundation/AVPlayerItemOutputPullDelegate.g.cs
@@ -58,6 +58,32 @@ namespace AVFoundation {
[ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "OutputSequenceWasFlushed", Selector = "outputSequenceWasFlushed:", ParameterType = new Type [] { typeof (AVPlayerItemOutput) }, ParameterByRef = new bool [] { false })]
public partial interface IAVPlayerItemOutputPullDelegate : INativeObject, IDisposable
{
+ [OptionalMember]
+ [Export ("outputMediaDataWillChange:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void OutputMediaDataWillChange (AVPlayerItemOutput sender)
+ {
+ _OutputMediaDataWillChange (this, sender);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _OutputMediaDataWillChange (IAVPlayerItemOutputPullDelegate This, AVPlayerItemOutput sender)
+ {
+ var sender__handle__ = sender!.GetNonNullHandle (nameof (sender));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (This.Handle, Selector.GetHandle ("outputMediaDataWillChange:"), sender__handle__);
+ }
+ [OptionalMember]
+ [Export ("outputSequenceWasFlushed:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void OutputSequenceWasFlushed (AVPlayerItemOutput output)
+ {
+ _OutputSequenceWasFlushed (this, output);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _OutputSequenceWasFlushed (IAVPlayerItemOutputPullDelegate This, AVPlayerItemOutput output)
+ {
+ var output__handle__ = output!.GetNonNullHandle (nameof (output));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (This.Handle, Selector.GetHandle ("outputSequenceWasFlushed:"), output__handle__);
+ }
}
/// <summary>Extension methods to the <see cref="IAVPlayerItemOutputPullDelegate" /> interface to support all the methods from the AVPlayerItemOutputPullDelegate protocol.</summary>
/// <remarks>
diff --git a/old/dotnet/ios/generated-sources/AVFoundation/AVPlayerItemOutputPushDelegate.g.cs b/new/dotnet/ios/generated-sources/AVFoundation/AVPlayerItemOutputPushDelegate.g.cs
index dd2b113..4a36ba9 100644
--- a/old/dotnet/ios/generated-sources/AVFoundation/AVPlayerItemOutputPushDelegate.g.cs
+++ b/new/dotnet/ios/generated-sources/AVFoundation/AVPlayerItemOutputPushDelegate.g.cs
@@ -57,6 +57,19 @@ namespace AVFoundation {
[ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "OutputSequenceWasFlushed", Selector = "outputSequenceWasFlushed:", ParameterType = new Type [] { typeof (AVPlayerItemOutput) }, ParameterByRef = new bool [] { false })]
public partial interface IAVPlayerItemOutputPushDelegate : INativeObject, IDisposable
{
+ [OptionalMember]
+ [Export ("outputSequenceWasFlushed:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void OutputSequenceWasFlushed (AVPlayerItemOutput output)
+ {
+ _OutputSequenceWasFlushed (this, output);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _OutputSequenceWasFlushed (IAVPlayerItemOutputPushDelegate This, AVPlayerItemOutput output)
+ {
+ var output__handle__ = output!.GetNonNullHandle (nameof (output));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (This.Handle, Selector.GetHandle ("outputSequenceWasFlushed:"), output__handle__);
+ }
}
/// <summary>Extension methods to the <see cref="IAVPlayerItemOutputPushDelegate" /> interface to support all the methods from the AVPlayerItemOutputPushDelegate protocol.</summary>
/// <remarks>
diff --git a/old/dotnet/ios/generated-sources/AVFoundation/AVPlayerPlaybackCoordinatorDelegate.g.cs b/new/dotnet/ios/generated-sources/AVFoundation/AVPlayerPlaybackCoordinatorDelegate.g.cs
index ef7f869..1cd3cd7 100644
--- a/old/dotnet/ios/generated-sources/AVFoundation/AVPlayerPlaybackCoordinatorDelegate.g.cs
+++ b/new/dotnet/ios/generated-sources/AVFoundation/AVPlayerPlaybackCoordinatorDelegate.g.cs
@@ -58,6 +58,58 @@ namespace AVFoundation {
[ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "GetInterstitialTimeRanges", Selector = "playbackCoordinator:interstitialTimeRangesForPlayerItem:", ReturnType = typeof (NSValue[]), ParameterType = new Type [] { typeof (AVPlayerPlaybackCoordinator), typeof (AVPlayerItem) }, ParameterByRef = new bool [] { false, false })]
public partial interface IAVPlayerPlaybackCoordinatorDelegate : INativeObject, IDisposable
{
+ [OptionalMember]
+ [Export ("playbackCoordinator:identifierForPlayerItem:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual string GetIdentifier (AVPlayerPlaybackCoordinator coordinator, AVPlayerItem playerItem)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ return _GetIdentifier (this, coordinator, playerItem);
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static string _GetIdentifier (IAVPlayerPlaybackCoordinatorDelegate This, AVPlayerPlaybackCoordinator coordinator, AVPlayerItem playerItem)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var coordinator__handle__ = coordinator!.GetNonNullHandle (nameof (coordinator));
+ var playerItem__handle__ = playerItem!.GetNonNullHandle (nameof (playerItem));
+ return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("playbackCoordinator:identifierForPlayerItem:"), coordinator__handle__, playerItem__handle__))!;
+ #endif
+ }
+ [OptionalMember]
+ [Export ("playbackCoordinator:interstitialTimeRangesForPlayerItem:")]
+ [SupportedOSPlatform ("tvos15.4")]
+ [SupportedOSPlatform ("macos12.3")]
+ [SupportedOSPlatform ("ios15.4")]
+ [SupportedOSPlatform ("maccatalyst15.4")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual NSValue[] GetInterstitialTimeRanges (AVPlayerPlaybackCoordinator coordinator, AVPlayerItem playerItem)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ return _GetInterstitialTimeRanges (this, coordinator, playerItem);
+ #endif
+ }
+ [SupportedOSPlatform ("tvos15.4")]
+ [SupportedOSPlatform ("macos12.3")]
+ [SupportedOSPlatform ("ios15.4")]
+ [SupportedOSPlatform ("maccatalyst15.4")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static NSValue[] _GetInterstitialTimeRanges (IAVPlayerPlaybackCoordinatorDelegate This, AVPlayerPlaybackCoordinator coordinator, AVPlayerItem playerItem)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var coordinator__handle__ = coordinator!.GetNonNullHandle (nameof (coordinator));
+ var playerItem__handle__ = playerItem!.GetNonNullHandle (nameof (playerItem));
+ return CFArray.ArrayFromHandle<NSValue>(global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("playbackCoordinator:interstitialTimeRangesForPlayerItem:"), coordinator__handle__, playerItem__handle__))!;
+ #endif
+ }
}
/// <summary>Extension methods to the <see cref="IAVPlayerPlaybackCoordinatorDelegate" /> interface to support all the methods from the AVPlayerPlaybackCoordinatorDelegate protocol.</summary>
/// <remarks>
diff --git a/old/dotnet/ios/generated-sources/AVFoundation/AVQueuedSampleBufferRendering.g.cs b/new/dotnet/ios/generated-sources/AVFoundation/AVQueuedSampleBufferRendering.g.cs
index 8060be0..bbf42ba 100644
--- a/old/dotnet/ios/generated-sources/AVFoundation/AVQueuedSampleBufferRendering.g.cs
+++ b/new/dotnet/ios/generated-sources/AVFoundation/AVQueuedSampleBufferRendering.g.cs
@@ -63,40 +63,100 @@ namespace AVFoundation {
[ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "HasSufficientMediaDataForReliablePlaybackStart", Selector = "hasSufficientMediaDataForReliablePlaybackStart", PropertyType = typeof (bool), GetterSelector = "hasSufficientMediaDataForReliablePlaybackStart", ArgumentSemantic = ArgumentSemantic.None)]
public partial interface IAVQueuedSampleBufferRendering : INativeObject, IDisposable
{
- [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [RequiredMember]
[Export ("enqueueSampleBuffer:")]
- [Preserve (Conditional = true)]
- void Enqueue (global::CoreMedia.CMSampleBuffer sampleBuffer);
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void Enqueue (global::CoreMedia.CMSampleBuffer sampleBuffer)
+ {
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _Enqueue (IAVQueuedSampleBufferRendering This, global::CoreMedia.CMSampleBuffer sampleBuffer)
+ {
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ }
+ [RequiredMember]
[Export ("flush")]
- [Preserve (Conditional = true)]
- void Flush ();
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void Flush ()
+ {
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _Flush (IAVQueuedSampleBufferRendering This)
+ {
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ }
+ [RequiredMember]
[Export ("requestMediaDataWhenReadyOnQueue:usingBlock:")]
- [Preserve (Conditional = true)]
- unsafe void RequestMediaData (global::CoreFoundation.DispatchQueue queue, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDAction))]global::System.Action handler);
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe virtual void RequestMediaData (global::CoreFoundation.DispatchQueue queue, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDAction))]global::System.Action handler)
+ {
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal unsafe static void _RequestMediaData (IAVQueuedSampleBufferRendering This, global::CoreFoundation.DispatchQueue queue, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDAction))]global::System.Action handler)
+ {
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ }
+ [RequiredMember]
[Export ("stopRequestingMediaData")]
- [Preserve (Conditional = true)]
- void StopRequestingMediaData ();
- [Preserve (Conditional = true)]
- global::CoreMedia.CMTimebase Timebase {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void StopRequestingMediaData ()
+ {
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _StopRequestingMediaData (IAVQueuedSampleBufferRendering This)
+ {
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [RequiredMember]
+ public virtual global::CoreMedia.CMTimebase Timebase {
[Export ("timebase", ArgumentSemantic.Retain)]
- get;
+ get {
+ return _GetTimebase (this);
+ }
}
- [Preserve (Conditional = true)]
- bool ReadyForMoreMediaData {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static global::CoreMedia.CMTimebase _GetTimebase (IAVQueuedSampleBufferRendering This)
+ {
+ return Runtime.GetINativeObject<global::CoreMedia.CMTimebase> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (This.Handle, Selector.GetHandle ("timebase")), false)!;
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [RequiredMember]
+ public virtual bool ReadyForMoreMediaData {
[Export ("isReadyForMoreMediaData")]
- get;
+ get {
+ return _GetReadyForMoreMediaData (this);
+ }
}
- [Preserve (Conditional = true)]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static bool _GetReadyForMoreMediaData (IAVQueuedSampleBufferRendering This)
+ {
+ byte ret;
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend (This.Handle, Selector.GetHandle ("isReadyForMoreMediaData"));
+ return ret != 0;
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("tvos14.5")]
[SupportedOSPlatform ("macos11.3")]
[SupportedOSPlatform ("ios14.5")]
[SupportedOSPlatform ("maccatalyst14.5")]
- bool HasSufficientMediaDataForReliablePlaybackStart {
+ [RequiredMember]
+ public virtual bool HasSufficientMediaDataForReliablePlaybackStart {
[Export ("hasSufficientMediaDataForReliablePlaybackStart")]
- get;
+ get {
+ return _GetHasSufficientMediaDataForReliablePlaybackStart (this);
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static bool _GetHasSufficientMediaDataForReliablePlaybackStart (IAVQueuedSampleBufferRendering This)
+ {
+ byte ret;
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend (This.Handle, Selector.GetHandle ("hasSufficientMediaDataForReliablePlaybackStart"));
+ return ret != 0;
}
}
internal unsafe sealed class AVQueuedSampleBufferRenderingWrapper : BaseWrapper, IAVQueuedSampleBufferRendering {
diff --git a/old/dotnet/ios/generated-sources/AVFoundation/AVSpeechSynthesizerDelegate.g.cs b/new/dotnet/ios/generated-sources/AVFoundation/AVSpeechSynthesizerDelegate.g.cs
index 3a42383..cc19c30 100644
--- a/old/dotnet/ios/generated-sources/AVFoundation/AVSpeechSynthesizerDelegate.g.cs
+++ b/new/dotnet/ios/generated-sources/AVFoundation/AVSpeechSynthesizerDelegate.g.cs
@@ -62,6 +62,90 @@ namespace AVFoundation {
[ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "WillSpeakRangeOfSpeechString", Selector = "speechSynthesizer:willSpeakRangeOfSpeechString:utterance:", ParameterType = new Type [] { typeof (AVSpeechSynthesizer), typeof (NSRange), typeof (AVSpeechUtterance) }, ParameterByRef = new bool [] { false, false, false })]
public partial interface IAVSpeechSynthesizerDelegate : INativeObject, IDisposable
{
+ [OptionalMember]
+ [Export ("speechSynthesizer:didStartSpeechUtterance:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidStartSpeechUtterance (AVSpeechSynthesizer synthesizer, AVSpeechUtterance utterance)
+ {
+ _DidStartSpeechUtterance (this, synthesizer, utterance);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidStartSpeechUtterance (IAVSpeechSynthesizerDelegate This, AVSpeechSynthesizer synthesizer, AVSpeechUtterance utterance)
+ {
+ var synthesizer__handle__ = synthesizer!.GetNonNullHandle (nameof (synthesizer));
+ var utterance__handle__ = utterance!.GetNonNullHandle (nameof (utterance));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("speechSynthesizer:didStartSpeechUtterance:"), synthesizer__handle__, utterance__handle__);
+ }
+ [OptionalMember]
+ [Export ("speechSynthesizer:didFinishSpeechUtterance:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidFinishSpeechUtterance (AVSpeechSynthesizer synthesizer, AVSpeechUtterance utterance)
+ {
+ _DidFinishSpeechUtterance (this, synthesizer, utterance);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidFinishSpeechUtterance (IAVSpeechSynthesizerDelegate This, AVSpeechSynthesizer synthesizer, AVSpeechUtterance utterance)
+ {
+ var synthesizer__handle__ = synthesizer!.GetNonNullHandle (nameof (synthesizer));
+ var utterance__handle__ = utterance!.GetNonNullHandle (nameof (utterance));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("speechSynthesizer:didFinishSpeechUtterance:"), synthesizer__handle__, utterance__handle__);
+ }
+ [OptionalMember]
+ [Export ("speechSynthesizer:didPauseSpeechUtterance:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidPauseSpeechUtterance (AVSpeechSynthesizer synthesizer, AVSpeechUtterance utterance)
+ {
+ _DidPauseSpeechUtterance (this, synthesizer, utterance);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidPauseSpeechUtterance (IAVSpeechSynthesizerDelegate This, AVSpeechSynthesizer synthesizer, AVSpeechUtterance utterance)
+ {
+ var synthesizer__handle__ = synthesizer!.GetNonNullHandle (nameof (synthesizer));
+ var utterance__handle__ = utterance!.GetNonNullHandle (nameof (utterance));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("speechSynthesizer:didPauseSpeechUtterance:"), synthesizer__handle__, utterance__handle__);
+ }
+ [OptionalMember]
+ [Export ("speechSynthesizer:didContinueSpeechUtterance:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidContinueSpeechUtterance (AVSpeechSynthesizer synthesizer, AVSpeechUtterance utterance)
+ {
+ _DidContinueSpeechUtterance (this, synthesizer, utterance);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidContinueSpeechUtterance (IAVSpeechSynthesizerDelegate This, AVSpeechSynthesizer synthesizer, AVSpeechUtterance utterance)
+ {
+ var synthesizer__handle__ = synthesizer!.GetNonNullHandle (nameof (synthesizer));
+ var utterance__handle__ = utterance!.GetNonNullHandle (nameof (utterance));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("speechSynthesizer:didContinueSpeechUtterance:"), synthesizer__handle__, utterance__handle__);
+ }
+ [OptionalMember]
+ [Export ("speechSynthesizer:didCancelSpeechUtterance:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidCancelSpeechUtterance (AVSpeechSynthesizer synthesizer, AVSpeechUtterance utterance)
+ {
+ _DidCancelSpeechUtterance (this, synthesizer, utterance);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidCancelSpeechUtterance (IAVSpeechSynthesizerDelegate This, AVSpeechSynthesizer synthesizer, AVSpeechUtterance utterance)
+ {
+ var synthesizer__handle__ = synthesizer!.GetNonNullHandle (nameof (synthesizer));
+ var utterance__handle__ = utterance!.GetNonNullHandle (nameof (utterance));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("speechSynthesizer:didCancelSpeechUtterance:"), synthesizer__handle__, utterance__handle__);
+ }
+ [OptionalMember]
+ [Export ("speechSynthesizer:willSpeakRangeOfSpeechString:utterance:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void WillSpeakRangeOfSpeechString (AVSpeechSynthesizer synthesizer, NSRange characterRange, AVSpeechUtterance utterance)
+ {
+ _WillSpeakRangeOfSpeechString (this, synthesizer, characterRange, utterance);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _WillSpeakRangeOfSpeechString (IAVSpeechSynthesizerDelegate This, AVSpeechSynthesizer synthesizer, NSRange characterRange, AVSpeechUtterance utterance)
+ {
+ var synthesizer__handle__ = synthesizer!.GetNonNullHandle (nameof (synthesizer));
+ var utterance__handle__ = utterance!.GetNonNullHandle (nameof (utterance));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NSRange_NativeHandle (This.Handle, Selector.GetHandle ("speechSynthesizer:willSpeakRangeOfSpeechString:utterance:"), synthesizer__handle__, characterRange, utterance__handle__);
+ }
}
/// <summary>Extension methods to the <see cref="IAVSpeechSynthesizerDelegate" /> interface to support all the methods from the AVSpeechSynthesizerDelegate protocol.</summary>
/// <remarks>
diff --git a/old/dotnet/ios/generated-sources/AVFoundation/AVVideoCompositing.g.cs b/new/dotnet/ios/generated-sources/AVFoundation/AVVideoCompositing.g.cs
index 625db91..69535fe 100644
--- a/old/dotnet/ios/generated-sources/AVFoundation/AVVideoCompositing.g.cs
+++ b/new/dotnet/ios/generated-sources/AVFoundation/AVVideoCompositing.g.cs
@@ -66,22 +66,181 @@ namespace AVFoundation {
[ProtocolMember (IsRequired = false, IsProperty = true, IsStatic = false, Name = "CanConformColorOfSourceFrames", Selector = "canConformColorOfSourceFrames", PropertyType = typeof (bool), GetterSelector = "canConformColorOfSourceFrames", ArgumentSemantic = ArgumentSemantic.None)]
public partial interface IAVVideoCompositing : INativeObject, IDisposable
{
- [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [RequiredMember]
[Export ("sourcePixelBufferAttributes")]
- [Preserve (Conditional = true)]
- NSDictionary? SourcePixelBufferAttributes ();
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual NSDictionary? SourcePixelBufferAttributes ()
+ {
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static NSDictionary? _SourcePixelBufferAttributes (IAVVideoCompositing This)
+ {
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ }
+ [RequiredMember]
[Export ("requiredPixelBufferAttributesForRenderContext")]
- [Preserve (Conditional = true)]
- NSDictionary RequiredPixelBufferAttributesForRenderContext ();
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual NSDictionary RequiredPixelBufferAttributesForRenderContext ()
+ {
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static NSDictionary _RequiredPixelBufferAttributesForRenderContext (IAVVideoCompositing This)
+ {
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ }
+ [RequiredMember]
[Export ("renderContextChanged:")]
- [Preserve (Conditional = true)]
- void RenderContextChanged (AVVideoCompositionRenderContext newRenderContext);
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void RenderContextChanged (AVVideoCompositionRenderContext newRenderContext)
+ {
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _RenderContextChanged (IAVVideoCompositing This, AVVideoCompositionRenderContext newRenderContext)
+ {
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ }
+ [RequiredMember]
[Export ("startVideoCompositionRequest:")]
- [Preserve (Conditional = true)]
- void StartVideoCompositionRequest (AVAsynchronousVideoCompositionRequest asyncVideoCompositionRequest);
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void StartVideoCompositionRequest (AVAsynchronousVideoCompositionRequest asyncVideoCompositionRequest)
+ {
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _StartVideoCompositionRequest (IAVVideoCompositing This, AVAsynchronousVideoCompositionRequest asyncVideoCompositionRequest)
+ {
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ }
+ [OptionalMember]
+ [Export ("cancelAllPendingVideoCompositionRequests")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void CancelAllPendingVideoCompositionRequests ()
+ {
+ _CancelAllPendingVideoCompositionRequests (this);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _CancelAllPendingVideoCompositionRequests (IAVVideoCompositing This)
+ {
+ global::ObjCRuntime.Messaging.void_objc_msgSend (This.Handle, Selector.GetHandle ("cancelAllPendingVideoCompositionRequests"));
+ }
+ [OptionalMember]
+ [Export ("anticipateRenderingUsingHint:")]
+ [SupportedOSPlatform ("tvos13.0")]
+ [SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("macos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void AnticipateRendering (AVVideoCompositionRenderHint renderHint)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ _AnticipateRendering (this, renderHint);
+ #endif
+ }
+ [SupportedOSPlatform ("tvos13.0")]
+ [SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("macos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _AnticipateRendering (IAVVideoCompositing This, AVVideoCompositionRenderHint renderHint)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var renderHint__handle__ = renderHint!.GetNonNullHandle (nameof (renderHint));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (This.Handle, Selector.GetHandle ("anticipateRenderingUsingHint:"), renderHint__handle__);
+ #endif
+ }
+ [OptionalMember]
+ [Export ("prerollForRenderingUsingHint:")]
+ [SupportedOSPlatform ("tvos13.0")]
+ [SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("macos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void PrerollForRendering (AVVideoCompositionRenderHint renderHint)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ _PrerollForRendering (this, renderHint);
+ #endif
+ }
+ [SupportedOSPlatform ("tvos13.0")]
+ [SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("macos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _PrerollForRendering (IAVVideoCompositing This, AVVideoCompositionRenderHint renderHint)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var renderHint__handle__ = renderHint!.GetNonNullHandle (nameof (renderHint));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (This.Handle, Selector.GetHandle ("prerollForRenderingUsingHint:"), renderHint__handle__);
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("tvos")]
+ [OptionalMember]
+ public virtual bool SupportsWideColorSourceFrames {
+ [Export ("supportsWideColorSourceFrames")]
+ get {
+ return _GetSupportsWideColorSourceFrames (this);
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static bool _GetSupportsWideColorSourceFrames (IAVVideoCompositing This)
+ {
+ byte ret;
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend (This.Handle, Selector.GetHandle ("supportsWideColorSourceFrames"));
+ return ret != 0;
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos14.0")]
+ [SupportedOSPlatform ("macos11.0")]
+ [SupportedOSPlatform ("ios14.0")]
+ [SupportedOSPlatform ("maccatalyst14.0")]
+ [OptionalMember]
+ public virtual bool SupportsHdrSourceFrames {
+ [Export ("supportsHDRSourceFrames")]
+ get {
+ return _GetSupportsHdrSourceFrames (this);
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static bool _GetSupportsHdrSourceFrames (IAVVideoCompositing This)
+ {
+ byte ret;
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend (This.Handle, Selector.GetHandle ("supportsHDRSourceFrames"));
+ return ret != 0;
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos15.0")]
+ [SupportedOSPlatform ("macos12.0")]
+ [SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("maccatalyst15.0")]
+ [OptionalMember]
+ public virtual bool CanConformColorOfSourceFrames {
+ [Export ("canConformColorOfSourceFrames")]
+ get {
+ return _GetCanConformColorOfSourceFrames (this);
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static bool _GetCanConformColorOfSourceFrames (IAVVideoCompositing This)
+ {
+ byte ret;
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend (This.Handle, Selector.GetHandle ("canConformColorOfSourceFrames"));
+ return ret != 0;
+ }
}
/// <summary>Extension methods to the <see cref="IAVVideoCompositing" /> interface to support all the methods from the AVVideoCompositing protocol.</summary>
/// <remarks>
diff --git a/old/dotnet/ios/generated-sources/AVFoundation/AVVideoCompositionValidationHandling.g.cs b/new/dotnet/ios/generated-sources/AVFoundation/AVVideoCompositionValidationHandling.g.cs
index 142a7b3..4949287 100644
--- a/old/dotnet/ios/generated-sources/AVFoundation/AVVideoCompositionValidationHandling.g.cs
+++ b/new/dotnet/ios/generated-sources/AVFoundation/AVVideoCompositionValidationHandling.g.cs
@@ -60,6 +60,106 @@ namespace AVFoundation {
[ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "ShouldContinueValidatingAfterFindingInvalidTrackIDInInstruction", Selector = "videoComposition:shouldContinueValidatingAfterFindingInvalidTrackIDInInstruction:layerInstruction:asset:", ReturnType = typeof (bool), ParameterType = new Type [] { typeof (AVVideoComposition), typeof (AVVideoCompositionInstruction), typeof (AVVideoCompositionLayerInstruction), typeof (AVAsset) }, ParameterByRef = new bool [] { false, false, false, false })]
public partial interface IAVVideoCompositionValidationHandling : INativeObject, IDisposable
{
+ [OptionalMember]
+ [Export ("videoComposition:shouldContinueValidatingAfterFindingInvalidValueForKey:")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("tvos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual bool ShouldContinueValidatingAfterFindingInvalidValueForKey (AVVideoComposition videoComposition, string key)
+ {
+ return _ShouldContinueValidatingAfterFindingInvalidValueForKey (this, videoComposition, key);
+ }
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("tvos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static bool _ShouldContinueValidatingAfterFindingInvalidValueForKey (IAVVideoCompositionValidationHandling This, AVVideoComposition videoComposition, string key)
+ {
+ var videoComposition__handle__ = videoComposition!.GetNonNullHandle (nameof (videoComposition));
+ if (key is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (key));
+ var nskey = CFString.CreateNative (key);
+ byte ret;
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("videoComposition:shouldContinueValidatingAfterFindingInvalidValueForKey:"), videoComposition__handle__, nskey);
+ CFString.ReleaseNative (nskey);
+ return ret != 0;
+ }
+ [OptionalMember]
+ [Export ("videoComposition:shouldContinueValidatingAfterFindingEmptyTimeRange:")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("tvos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual bool ShouldContinueValidatingAfterFindingEmptyTimeRange (AVVideoComposition videoComposition, global::CoreMedia.CMTimeRange timeRange)
+ {
+ return _ShouldContinueValidatingAfterFindingEmptyTimeRange (this, videoComposition, timeRange);
+ }
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("tvos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static bool _ShouldContinueValidatingAfterFindingEmptyTimeRange (IAVVideoCompositionValidationHandling This, AVVideoComposition videoComposition, global::CoreMedia.CMTimeRange timeRange)
+ {
+ var videoComposition__handle__ = videoComposition!.GetNonNullHandle (nameof (videoComposition));
+ byte ret;
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend_NativeHandle_CMTimeRange (This.Handle, Selector.GetHandle ("videoComposition:shouldContinueValidatingAfterFindingEmptyTimeRange:"), videoComposition__handle__, timeRange);
+ return ret != 0;
+ }
+ [OptionalMember]
+ [Export ("videoComposition:shouldContinueValidatingAfterFindingInvalidTimeRangeInInstruction:")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("tvos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual bool ShouldContinueValidatingAfterFindingInvalidTimeRangeInInstruction (AVVideoComposition videoComposition, AVVideoCompositionInstruction videoCompositionInstruction)
+ {
+ return _ShouldContinueValidatingAfterFindingInvalidTimeRangeInInstruction (this, videoComposition, videoCompositionInstruction);
+ }
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("tvos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static bool _ShouldContinueValidatingAfterFindingInvalidTimeRangeInInstruction (IAVVideoCompositionValidationHandling This, AVVideoComposition videoComposition, AVVideoCompositionInstruction videoCompositionInstruction)
+ {
+ var videoComposition__handle__ = videoComposition!.GetNonNullHandle (nameof (videoComposition));
+ var videoCompositionInstruction__handle__ = videoCompositionInstruction!.GetNonNullHandle (nameof (videoCompositionInstruction));
+ byte ret;
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("videoComposition:shouldContinueValidatingAfterFindingInvalidTimeRangeInInstruction:"), videoComposition__handle__, videoCompositionInstruction__handle__);
+ return ret != 0;
+ }
+ [OptionalMember]
+ [Export ("videoComposition:shouldContinueValidatingAfterFindingInvalidTrackIDInInstruction:layerInstruction:asset:")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("tvos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual bool ShouldContinueValidatingAfterFindingInvalidTrackIDInInstruction (AVVideoComposition videoComposition, AVVideoCompositionInstruction videoCompositionInstruction, AVVideoCompositionLayerInstruction layerInstruction, AVAsset asset)
+ {
+ return _ShouldContinueValidatingAfterFindingInvalidTrackIDInInstruction (this, videoComposition, videoCompositionInstruction, layerInstruction, asset);
+ }
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("tvos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static bool _ShouldContinueValidatingAfterFindingInvalidTrackIDInInstruction (IAVVideoCompositionValidationHandling This, AVVideoComposition videoComposition, AVVideoCompositionInstruction videoCompositionInstruction, AVVideoCompositionLayerInstruction layerInstruction, AVAsset asset)
+ {
+ var videoComposition__handle__ = videoComposition!.GetNonNullHandle (nameof (videoComposition));
+ var videoCompositionInstruction__handle__ = videoCompositionInstruction!.GetNonNullHandle (nameof (videoCompositionInstruction));
+ var layerInstruction__handle__ = layerInstruction!.GetNonNullHandle (nameof (layerInstruction));
+ var asset__handle__ = asset!.GetNonNullHandle (nameof (asset));
+ byte ret;
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend_NativeHandle_NativeHandle_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("videoComposition:shouldContinueValidatingAfterFindingInvalidTrackIDInInstruction:layerInstruction:asset:"), videoComposition__handle__, videoCompositionInstruction__handle__, layerInstruction__handle__, asset__handle__);
+ return ret != 0;
+ }
}
/// <summary>Extension methods to the <see cref="IAVVideoCompositionValidationHandling" /> interface to support all the methods from the AVVideoCompositionValidationHandling protocol.</summary>
/// <remarks>
diff --git a/old/dotnet/ios/generated-sources/AVKit/AVCaptureEventInteraction.g.cs b/new/dotnet/ios/generated-sources/AVKit/AVCaptureEventInteraction.g.cs
index 427dc44..4b6926e 100644
--- a/old/dotnet/ios/generated-sources/AVKit/AVCaptureEventInteraction.g.cs
+++ b/new/dotnet/ios/generated-sources/AVKit/AVCaptureEventInteraction.g.cs
@@ -244,18 +244,18 @@ namespace AVKit {
[UnsupportedOSPlatform ("maccatalyst")]
[UnsupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("ios17.2")]
- public virtual UIView View {
+ public virtual global::UIKit.UIView View {
[Export ("view", ArgumentSemantic.Weak)]
[UnsupportedOSPlatform ("macos")]
[UnsupportedOSPlatform ("maccatalyst")]
[UnsupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("ios17.2")]
get {
- UIView? ret;
+ global::UIKit.UIView? ret;
if (IsDirectBinding) {
- ret = Runtime.GetNSObject<UIView> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("view")))!;
+ ret = Runtime.GetNSObject<global::UIKit.UIView> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("view")))!;
} else {
- ret = Runtime.GetNSObject<UIView> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("view")))!;
+ ret = Runtime.GetNSObject<global::UIKit.UIView> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("view")))!;
}
MarkDirty ();
__mt_View_var = ret;
diff --git a/old/dotnet/ios/generated-sources/AVKit/AVCustomRoutingControllerDelegate.g.cs b/new/dotnet/ios/generated-sources/AVKit/AVCustomRoutingControllerDelegate.g.cs
index aa0b490..1710a49 100644
--- a/old/dotnet/ios/generated-sources/AVKit/AVCustomRoutingControllerDelegate.g.cs
+++ b/new/dotnet/ios/generated-sources/AVKit/AVCustomRoutingControllerDelegate.g.cs
@@ -59,10 +59,70 @@ namespace AVKit {
[ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "DidSelectItem", Selector = "customRoutingController:didSelectItem:", ParameterType = new Type [] { typeof (AVRouting.AVCustomRoutingController), typeof (AVRouting.AVCustomRoutingActionItem) }, ParameterByRef = new bool [] { false, false })]
public partial interface IAVCustomRoutingControllerDelegate : INativeObject, IDisposable
{
- [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [RequiredMember]
[Export ("customRoutingController:handleEvent:completionHandler:")]
- [Preserve (Conditional = true)]
- unsafe void HandleEvent (global::AVRouting.AVCustomRoutingController controller, global::AVRouting.AVCustomRoutingEvent @event, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDAVCustomRoutingControllerDelegateCompletionHandler))]AVCustomRoutingControllerDelegateCompletionHandler completionHandler);
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe virtual void HandleEvent (global::AVRouting.AVCustomRoutingController controller, global::AVRouting.AVCustomRoutingEvent @event, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDAVCustomRoutingControllerDelegateCompletionHandler))]AVCustomRoutingControllerDelegateCompletionHandler completionHandler)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal unsafe static void _HandleEvent (IAVCustomRoutingControllerDelegate This, global::AVRouting.AVCustomRoutingController controller, global::AVRouting.AVCustomRoutingEvent @event, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDAVCustomRoutingControllerDelegateCompletionHandler))]AVCustomRoutingControllerDelegateCompletionHandler completionHandler)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ #endif
+ }
+ [OptionalMember]
+ [Export ("customRoutingController:eventDidTimeOut:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void EventDidTimeOut (global::AVRouting.AVCustomRoutingController controller, global::AVRouting.AVCustomRoutingEvent @event)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ _EventDidTimeOut (this, controller, @event);
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _EventDidTimeOut (IAVCustomRoutingControllerDelegate This, global::AVRouting.AVCustomRoutingController controller, global::AVRouting.AVCustomRoutingEvent @event)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var controller__handle__ = controller!.GetNonNullHandle (nameof (controller));
+ var @event__handle__ = @event!.GetNonNullHandle (nameof (@event));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("customRoutingController:eventDidTimeOut:"), controller__handle__, @event__handle__);
+ #endif
+ }
+ [OptionalMember]
+ [Export ("customRoutingController:didSelectItem:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidSelectItem (global::AVRouting.AVCustomRoutingController controller, global::AVRouting.AVCustomRoutingActionItem customActionItem)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ _DidSelectItem (this, controller, customActionItem);
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidSelectItem (IAVCustomRoutingControllerDelegate This, global::AVRouting.AVCustomRoutingController controller, global::AVRouting.AVCustomRoutingActionItem customActionItem)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var controller__handle__ = controller!.GetNonNullHandle (nameof (controller));
+ var customActionItem__handle__ = customActionItem!.GetNonNullHandle (nameof (customActionItem));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("customRoutingController:didSelectItem:"), controller__handle__, customActionItem__handle__);
+ #endif
+ }
}
/// <summary>Extension methods to the <see cref="IAVCustomRoutingControllerDelegate" /> interface to support all the methods from the AVCustomRoutingControllerDelegate protocol.</summary>
/// <remarks>
diff --git a/old/dotnet/ios/generated-sources/AVKit/AVPictureInPictureControllerDelegate.g.cs b/new/dotnet/ios/generated-sources/AVKit/AVPictureInPictureControllerDelegate.g.cs
index 89600d0..56c78f8 100644
--- a/old/dotnet/ios/generated-sources/AVKit/AVPictureInPictureControllerDelegate.g.cs
+++ b/new/dotnet/ios/generated-sources/AVKit/AVPictureInPictureControllerDelegate.g.cs
@@ -62,6 +62,89 @@ namespace AVKit {
[ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "RestoreUserInterfaceForPictureInPicture", Selector = "pictureInPictureController:restoreUserInterfaceForPictureInPictureStopWithCompletionHandler:", ParameterType = new Type [] { typeof (AVKit.AVPictureInPictureController), typeof (global::System.Action<bool>) }, ParameterByRef = new bool [] { false, false }, ParameterBlockProxy = new Type? [] { null, typeof (ObjCRuntime.Trampolines.NIDActionArity1V4) })]
public partial interface IAVPictureInPictureControllerDelegate : INativeObject, IDisposable
{
+ [OptionalMember]
+ [Export ("pictureInPictureControllerWillStartPictureInPicture:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void WillStartPictureInPicture (AVPictureInPictureController pictureInPictureController)
+ {
+ _WillStartPictureInPicture (this, pictureInPictureController);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _WillStartPictureInPicture (IAVPictureInPictureControllerDelegate This, AVPictureInPictureController pictureInPictureController)
+ {
+ var pictureInPictureController__handle__ = pictureInPictureController!.GetNonNullHandle (nameof (pictureInPictureController));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (This.Handle, Selector.GetHandle ("pictureInPictureControllerWillStartPictureInPicture:"), pictureInPictureController__handle__);
+ }
+ [OptionalMember]
+ [Export ("pictureInPictureControllerDidStartPictureInPicture:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidStartPictureInPicture (AVPictureInPictureController pictureInPictureController)
+ {
+ _DidStartPictureInPicture (this, pictureInPictureController);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidStartPictureInPicture (IAVPictureInPictureControllerDelegate This, AVPictureInPictureController pictureInPictureController)
+ {
+ var pictureInPictureController__handle__ = pictureInPictureController!.GetNonNullHandle (nameof (pictureInPictureController));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (This.Handle, Selector.GetHandle ("pictureInPictureControllerDidStartPictureInPicture:"), pictureInPictureController__handle__);
+ }
+ [OptionalMember]
+ [Export ("pictureInPictureController:failedToStartPictureInPictureWithError:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void FailedToStartPictureInPicture (AVPictureInPictureController pictureInPictureController, NSError error)
+ {
+ _FailedToStartPictureInPicture (this, pictureInPictureController, error);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _FailedToStartPictureInPicture (IAVPictureInPictureControllerDelegate This, AVPictureInPictureController pictureInPictureController, NSError error)
+ {
+ var pictureInPictureController__handle__ = pictureInPictureController!.GetNonNullHandle (nameof (pictureInPictureController));
+ var error__handle__ = error!.GetNonNullHandle (nameof (error));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("pictureInPictureController:failedToStartPictureInPictureWithError:"), pictureInPictureController__handle__, error__handle__);
+ }
+ [OptionalMember]
+ [Export ("pictureInPictureControllerWillStopPictureInPicture:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void WillStopPictureInPicture (AVPictureInPictureController pictureInPictureController)
+ {
+ _WillStopPictureInPicture (this, pictureInPictureController);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _WillStopPictureInPicture (IAVPictureInPictureControllerDelegate This, AVPictureInPictureController pictureInPictureController)
+ {
+ var pictureInPictureController__handle__ = pictureInPictureController!.GetNonNullHandle (nameof (pictureInPictureController));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (This.Handle, Selector.GetHandle ("pictureInPictureControllerWillStopPictureInPicture:"), pictureInPictureController__handle__);
+ }
+ [OptionalMember]
+ [Export ("pictureInPictureControllerDidStopPictureInPicture:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidStopPictureInPicture (AVPictureInPictureController pictureInPictureController)
+ {
+ _DidStopPictureInPicture (this, pictureInPictureController);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidStopPictureInPicture (IAVPictureInPictureControllerDelegate This, AVPictureInPictureController pictureInPictureController)
+ {
+ var pictureInPictureController__handle__ = pictureInPictureController!.GetNonNullHandle (nameof (pictureInPictureController));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (This.Handle, Selector.GetHandle ("pictureInPictureControllerDidStopPictureInPicture:"), pictureInPictureController__handle__);
+ }
+ [OptionalMember]
+ [Export ("pictureInPictureController:restoreUserInterfaceForPictureInPictureStopWithCompletionHandler:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe virtual void RestoreUserInterfaceForPictureInPicture (AVPictureInPictureController pictureInPictureController, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity1V4))]global::System.Action<bool> completionHandler)
+ {
+ _RestoreUserInterfaceForPictureInPicture (this, pictureInPictureController, completionHandler);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal unsafe static void _RestoreUserInterfaceForPictureInPicture (IAVPictureInPictureControllerDelegate This, AVPictureInPictureController pictureInPictureController, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity1V4))]global::System.Action<bool> completionHandler)
+ {
+ var pictureInPictureController__handle__ = pictureInPictureController!.GetNonNullHandle (nameof (pictureInPictureController));
+ if (completionHandler is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (completionHandler));
+ using var block_completionHandler = Trampolines.SDActionArity1V4.CreateBlock (completionHandler);
+ BlockLiteral *block_ptr_completionHandler = &block_completionHandler;
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("pictureInPictureController:restoreUserInterfaceForPictureInPictureStopWithCompletionHandler:"), pictureInPictureController__handle__, (IntPtr) block_ptr_completionHandler);
+ }
}
/// <summary>Extension methods to the <see cref="IAVPictureInPictureControllerDelegate" /> interface to support all the methods from the AVPictureInPictureControllerDelegate protocol.</summary>
/// <remarks>
diff --git a/old/dotnet/ios/generated-sources/AVKit/AVPictureInPictureSampleBufferPlaybackDelegate.g.cs b/new/dotnet/ios/generated-sources/AVKit/AVPictureInPictureSampleBufferPlaybackDelegate.g.cs
index ec95bf6..5ec7254 100644
--- a/old/dotnet/ios/generated-sources/AVKit/AVPictureInPictureSampleBufferPlaybackDelegate.g.cs
+++ b/new/dotnet/ios/generated-sources/AVKit/AVPictureInPictureSampleBufferPlaybackDelegate.g.cs
@@ -62,26 +62,129 @@ namespace AVKit {
[ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "ShouldProhibitBackgroundAudioPlayback", Selector = "pictureInPictureControllerShouldProhibitBackgroundAudioPlayback:", ReturnType = typeof (bool), ParameterType = new Type [] { typeof (AVKit.AVPictureInPictureController) }, ParameterByRef = new bool [] { false })]
public partial interface IAVPictureInPictureSampleBufferPlaybackDelegate : INativeObject, IDisposable
{
- [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [RequiredMember]
[Export ("pictureInPictureController:setPlaying:")]
- [Preserve (Conditional = true)]
- void SetPlaying (AVPictureInPictureController pictureInPictureController, bool playing);
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void SetPlaying (AVPictureInPictureController pictureInPictureController, bool playing)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _SetPlaying (IAVPictureInPictureSampleBufferPlaybackDelegate This, AVPictureInPictureController pictureInPictureController, bool playing)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ #endif
+ }
+ [RequiredMember]
[Export ("pictureInPictureControllerTimeRangeForPlayback:")]
- [Preserve (Conditional = true)]
- global::CoreMedia.CMTimeRange GetTimeRange (AVPictureInPictureController pictureInPictureController);
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual global::CoreMedia.CMTimeRange GetTimeRange (AVPictureInPictureController pictureInPictureController)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static global::CoreMedia.CMTimeRange _GetTimeRange (IAVPictureInPictureSampleBufferPlaybackDelegate This, AVPictureInPictureController pictureInPictureController)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ #endif
+ }
+ [RequiredMember]
[Export ("pictureInPictureControllerIsPlaybackPaused:")]
- [Preserve (Conditional = true)]
- bool IsPlaybackPaused (AVPictureInPictureController pictureInPictureController);
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual bool IsPlaybackPaused (AVPictureInPictureController pictureInPictureController)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static bool _IsPlaybackPaused (IAVPictureInPictureSampleBufferPlaybackDelegate This, AVPictureInPictureController pictureInPictureController)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ #endif
+ }
+ [RequiredMember]
[Export ("pictureInPictureController:didTransitionToRenderSize:")]
- [Preserve (Conditional = true)]
- void DidTransitionToRenderSize (AVPictureInPictureController pictureInPictureController, global::CoreMedia.CMVideoDimensions newRenderSize);
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidTransitionToRenderSize (AVPictureInPictureController pictureInPictureController, global::CoreMedia.CMVideoDimensions newRenderSize)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidTransitionToRenderSize (IAVPictureInPictureSampleBufferPlaybackDelegate This, AVPictureInPictureController pictureInPictureController, global::CoreMedia.CMVideoDimensions newRenderSize)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ #endif
+ }
+ [RequiredMember]
[Export ("pictureInPictureController:skipByInterval:completionHandler:")]
- [Preserve (Conditional = true)]
- unsafe void SkipByInterval (AVPictureInPictureController pictureInPictureController, global::CoreMedia.CMTime skipInterval, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDAction))]global::System.Action completionHandler);
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe virtual void SkipByInterval (AVPictureInPictureController pictureInPictureController, global::CoreMedia.CMTime skipInterval, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDAction))]global::System.Action completionHandler)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal unsafe static void _SkipByInterval (IAVPictureInPictureSampleBufferPlaybackDelegate This, AVPictureInPictureController pictureInPictureController, global::CoreMedia.CMTime skipInterval, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDAction))]global::System.Action completionHandler)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ #endif
+ }
+ [OptionalMember]
+ [Export ("pictureInPictureControllerShouldProhibitBackgroundAudioPlayback:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual bool ShouldProhibitBackgroundAudioPlayback (AVPictureInPictureController pictureInPictureController)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ return _ShouldProhibitBackgroundAudioPlayback (this, pictureInPictureController);
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static bool _ShouldProhibitBackgroundAudioPlayback (IAVPictureInPictureSampleBufferPlaybackDelegate This, AVPictureInPictureController pictureInPictureController)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var pictureInPictureController__handle__ = pictureInPictureController!.GetNonNullHandle (nameof (pictureInPictureController));
+ byte ret;
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend_NativeHandle (This.Handle, Selector.GetHandle ("pictureInPictureControllerShouldProhibitBackgroundAudioPlayback:"), pictureInPictureController__handle__);
+ return ret != 0;
+ #endif
+ }
}
/// <summary>Extension methods to the <see cref="IAVPictureInPictureSampleBufferPlaybackDelegate" /> interface to support all the methods from the AVPictureInPictureSampleBufferPlaybackDelegate protocol.</summary>
/// <remarks>
diff --git a/old/dotnet/ios/generated-sources/AVKit/AVPlayerViewControllerDelegate.g.cs b/new/dotnet/ios/generated-sources/AVKit/AVPlayerViewControllerDelegate.g.cs
index d5db842..80fd24b 100644
--- a/old/dotnet/ios/generated-sources/AVKit/AVPlayerViewControllerDelegate.g.cs
+++ b/new/dotnet/ios/generated-sources/AVKit/AVPlayerViewControllerDelegate.g.cs
@@ -68,6 +68,313 @@ namespace AVKit {
[ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "RestoreUserInterfaceForFullScreenExit", Selector = "playerViewController:restoreUserInterfaceForFullScreenExitWithCompletionHandler:", ParameterType = new Type [] { typeof (AVKit.AVPlayerViewController), typeof (global::System.Action<bool>) }, ParameterByRef = new bool [] { false, false }, ParameterBlockProxy = new Type? [] { null, typeof (ObjCRuntime.Trampolines.NIDActionArity1V4) })]
public partial interface IAVPlayerViewControllerDelegate : INativeObject, IDisposable
{
+ [OptionalMember]
+ [Export ("playerViewControllerWillStartPictureInPicture:")]
+ [SupportedOSPlatform ("tvos14.0")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [UnsupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("ios")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void WillStartPictureInPicture (AVPlayerViewController playerViewController)
+ {
+ _WillStartPictureInPicture (this, playerViewController);
+ }
+ [SupportedOSPlatform ("tvos14.0")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [UnsupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("ios")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _WillStartPictureInPicture (IAVPlayerViewControllerDelegate This, AVPlayerViewController playerViewController)
+ {
+ var playerViewController__handle__ = playerViewController!.GetNonNullHandle (nameof (playerViewController));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (This.Handle, Selector.GetHandle ("playerViewControllerWillStartPictureInPicture:"), playerViewController__handle__);
+ }
+ [OptionalMember]
+ [Export ("playerViewControllerDidStartPictureInPicture:")]
+ [SupportedOSPlatform ("tvos14.0")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [UnsupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("ios")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidStartPictureInPicture (AVPlayerViewController playerViewController)
+ {
+ _DidStartPictureInPicture (this, playerViewController);
+ }
+ [SupportedOSPlatform ("tvos14.0")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [UnsupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("ios")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidStartPictureInPicture (IAVPlayerViewControllerDelegate This, AVPlayerViewController playerViewController)
+ {
+ var playerViewController__handle__ = playerViewController!.GetNonNullHandle (nameof (playerViewController));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (This.Handle, Selector.GetHandle ("playerViewControllerDidStartPictureInPicture:"), playerViewController__handle__);
+ }
+ [OptionalMember]
+ [Export ("playerViewController:failedToStartPictureInPictureWithError:")]
+ [SupportedOSPlatform ("tvos14.0")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [UnsupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("ios")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void FailedToStartPictureInPicture (AVPlayerViewController playerViewController, NSError error)
+ {
+ _FailedToStartPictureInPicture (this, playerViewController, error);
+ }
+ [SupportedOSPlatform ("tvos14.0")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [UnsupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("ios")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _FailedToStartPictureInPicture (IAVPlayerViewControllerDelegate This, AVPlayerViewController playerViewController, NSError error)
+ {
+ var playerViewController__handle__ = playerViewController!.GetNonNullHandle (nameof (playerViewController));
+ var error__handle__ = error!.GetNonNullHandle (nameof (error));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("playerViewController:failedToStartPictureInPictureWithError:"), playerViewController__handle__, error__handle__);
+ }
+ [OptionalMember]
+ [Export ("playerViewControllerWillStopPictureInPicture:")]
+ [SupportedOSPlatform ("tvos14.0")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [UnsupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("ios")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void WillStopPictureInPicture (AVPlayerViewController playerViewController)
+ {
+ _WillStopPictureInPicture (this, playerViewController);
+ }
+ [SupportedOSPlatform ("tvos14.0")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [UnsupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("ios")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _WillStopPictureInPicture (IAVPlayerViewControllerDelegate This, AVPlayerViewController playerViewController)
+ {
+ var playerViewController__handle__ = playerViewController!.GetNonNullHandle (nameof (playerViewController));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (This.Handle, Selector.GetHandle ("playerViewControllerWillStopPictureInPicture:"), playerViewController__handle__);
+ }
+ [OptionalMember]
+ [Export ("playerViewControllerDidStopPictureInPicture:")]
+ [SupportedOSPlatform ("tvos14.0")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [UnsupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("ios")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidStopPictureInPicture (AVPlayerViewController playerViewController)
+ {
+ _DidStopPictureInPicture (this, playerViewController);
+ }
+ [SupportedOSPlatform ("tvos14.0")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [UnsupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("ios")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidStopPictureInPicture (IAVPlayerViewControllerDelegate This, AVPlayerViewController playerViewController)
+ {
+ var playerViewController__handle__ = playerViewController!.GetNonNullHandle (nameof (playerViewController));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (This.Handle, Selector.GetHandle ("playerViewControllerDidStopPictureInPicture:"), playerViewController__handle__);
+ }
+ [OptionalMember]
+ [Export ("playerViewControllerShouldAutomaticallyDismissAtPictureInPictureStart:")]
+ [SupportedOSPlatform ("tvos14.0")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [UnsupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("ios")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual bool ShouldAutomaticallyDismissAtPictureInPictureStart (AVPlayerViewController playerViewController)
+ {
+ return _ShouldAutomaticallyDismissAtPictureInPictureStart (this, playerViewController);
+ }
+ [SupportedOSPlatform ("tvos14.0")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [UnsupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("ios")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static bool _ShouldAutomaticallyDismissAtPictureInPictureStart (IAVPlayerViewControllerDelegate This, AVPlayerViewController playerViewController)
+ {
+ var playerViewController__handle__ = playerViewController!.GetNonNullHandle (nameof (playerViewController));
+ byte ret;
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend_NativeHandle (This.Handle, Selector.GetHandle ("playerViewControllerShouldAutomaticallyDismissAtPictureInPictureStart:"), playerViewController__handle__);
+ return ret != 0;
+ }
+ [OptionalMember]
+ [Export ("playerViewController:restoreUserInterfaceForPictureInPictureStopWithCompletionHandler:")]
+ [SupportedOSPlatform ("tvos14.0")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [UnsupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("ios")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe virtual void RestoreUserInterfaceForPictureInPicture (AVPlayerViewController playerViewController, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity1V4))]global::System.Action<bool> completionHandler)
+ {
+ _RestoreUserInterfaceForPictureInPicture (this, playerViewController, completionHandler);
+ }
+ [SupportedOSPlatform ("tvos14.0")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [UnsupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("ios")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal unsafe static void _RestoreUserInterfaceForPictureInPicture (IAVPlayerViewControllerDelegate This, AVPlayerViewController playerViewController, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity1V4))]global::System.Action<bool> completionHandler)
+ {
+ var playerViewController__handle__ = playerViewController!.GetNonNullHandle (nameof (playerViewController));
+ if (completionHandler is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (completionHandler));
+ using var block_completionHandler = Trampolines.SDActionArity1V4.CreateBlock (completionHandler);
+ BlockLiteral *block_ptr_completionHandler = &block_completionHandler;
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("playerViewController:restoreUserInterfaceForPictureInPictureStopWithCompletionHandler:"), playerViewController__handle__, (IntPtr) block_ptr_completionHandler);
+ }
+ [OptionalMember]
+ [Export ("playerViewController:didPresentInterstitialTimeRange:")]
+ [SupportedOSPlatform ("ios16.0")]
+ [UnsupportedOSPlatform ("macos")]
+ [UnsupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("tvos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidPresentInterstitialTimeRange (AVPlayerViewController playerViewController, AVInterstitialTimeRange interstitial)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ _DidPresentInterstitialTimeRange (this, playerViewController, interstitial);
+ #endif
+ }
+ [SupportedOSPlatform ("ios16.0")]
+ [UnsupportedOSPlatform ("macos")]
+ [UnsupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("tvos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidPresentInterstitialTimeRange (IAVPlayerViewControllerDelegate This, AVPlayerViewController playerViewController, AVInterstitialTimeRange interstitial)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var playerViewController__handle__ = playerViewController!.GetNonNullHandle (nameof (playerViewController));
+ var interstitial__handle__ = interstitial!.GetNonNullHandle (nameof (interstitial));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("playerViewController:didPresentInterstitialTimeRange:"), playerViewController__handle__, interstitial__handle__);
+ #endif
+ }
+ [OptionalMember]
+ [Export ("playerViewController:willPresentInterstitialTimeRange:")]
+ [SupportedOSPlatform ("ios16.0")]
+ [UnsupportedOSPlatform ("macos")]
+ [UnsupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("tvos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void WillPresentInterstitialTimeRange (AVPlayerViewController playerViewController, AVInterstitialTimeRange interstitial)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ _WillPresentInterstitialTimeRange (this, playerViewController, interstitial);
+ #endif
+ }
+ [SupportedOSPlatform ("ios16.0")]
+ [UnsupportedOSPlatform ("macos")]
+ [UnsupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("tvos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _WillPresentInterstitialTimeRange (IAVPlayerViewControllerDelegate This, AVPlayerViewController playerViewController, AVInterstitialTimeRange interstitial)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var playerViewController__handle__ = playerViewController!.GetNonNullHandle (nameof (playerViewController));
+ var interstitial__handle__ = interstitial!.GetNonNullHandle (nameof (interstitial));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("playerViewController:willPresentInterstitialTimeRange:"), playerViewController__handle__, interstitial__handle__);
+ #endif
+ }
+ [OptionalMember]
+ [Export ("playerViewController:willBeginFullScreenPresentationWithAnimationCoordinator:")]
+ [SupportedOSPlatform ("ios13.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ [UnsupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void WillBeginFullScreenPresentation (AVPlayerViewController playerViewController, global::UIKit.IUIViewControllerTransitionCoordinator coordinator)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ _WillBeginFullScreenPresentation (this, playerViewController, coordinator);
+ #endif
+ }
+ [SupportedOSPlatform ("ios13.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ [UnsupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _WillBeginFullScreenPresentation (IAVPlayerViewControllerDelegate This, AVPlayerViewController playerViewController, global::UIKit.IUIViewControllerTransitionCoordinator coordinator)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var playerViewController__handle__ = playerViewController!.GetNonNullHandle (nameof (playerViewController));
+ var coordinator__handle__ = coordinator!.GetNonNullHandle (nameof (coordinator));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("playerViewController:willBeginFullScreenPresentationWithAnimationCoordinator:"), playerViewController__handle__, coordinator__handle__);
+ #endif
+ }
+ [OptionalMember]
+ [Export ("playerViewController:willEndFullScreenPresentationWithAnimationCoordinator:")]
+ [SupportedOSPlatform ("ios13.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ [UnsupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void WillEndFullScreenPresentation (AVPlayerViewController playerViewController, global::UIKit.IUIViewControllerTransitionCoordinator coordinator)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ _WillEndFullScreenPresentation (this, playerViewController, coordinator);
+ #endif
+ }
+ [SupportedOSPlatform ("ios13.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ [UnsupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _WillEndFullScreenPresentation (IAVPlayerViewControllerDelegate This, AVPlayerViewController playerViewController, global::UIKit.IUIViewControllerTransitionCoordinator coordinator)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var playerViewController__handle__ = playerViewController!.GetNonNullHandle (nameof (playerViewController));
+ var coordinator__handle__ = coordinator!.GetNonNullHandle (nameof (coordinator));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("playerViewController:willEndFullScreenPresentationWithAnimationCoordinator:"), playerViewController__handle__, coordinator__handle__);
+ #endif
+ }
+ [OptionalMember]
+ [Export ("playerViewController:restoreUserInterfaceForFullScreenExitWithCompletionHandler:")]
+ [SupportedOSPlatform ("ios15.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ [UnsupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst15.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe virtual void RestoreUserInterfaceForFullScreenExit (AVPlayerViewController playerViewController, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity1V4))]global::System.Action<bool> completionHandler)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ _RestoreUserInterfaceForFullScreenExit (this, playerViewController, completionHandler);
+ #endif
+ }
+ [SupportedOSPlatform ("ios15.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ [UnsupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst15.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal unsafe static void _RestoreUserInterfaceForFullScreenExit (IAVPlayerViewControllerDelegate This, AVPlayerViewController playerViewController, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity1V4))]global::System.Action<bool> completionHandler)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var playerViewController__handle__ = playerViewController!.GetNonNullHandle (nameof (playerViewController));
+ if (completionHandler is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (completionHandler));
+ using var block_completionHandler = Trampolines.SDActionArity1V4.CreateBlock (completionHandler);
+ BlockLiteral *block_ptr_completionHandler = &block_completionHandler;
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("playerViewController:restoreUserInterfaceForFullScreenExitWithCompletionHandler:"), playerViewController__handle__, (IntPtr) block_ptr_completionHandler);
+ #endif
+ }
}
/// <summary>Extension methods to the <see cref="IAVPlayerViewControllerDelegate" /> interface to support all the methods from the AVPlayerViewControllerDelegate protocol.</summary>
/// <remarks>
diff --git a/old/dotnet/ios/generated-sources/AVKit/AVRoutePickerViewDelegate.g.cs b/new/dotnet/ios/generated-sources/AVKit/AVRoutePickerViewDelegate.g.cs
index 91a5604..4d4c6df 100644
--- a/old/dotnet/ios/generated-sources/AVKit/AVRoutePickerViewDelegate.g.cs
+++ b/new/dotnet/ios/generated-sources/AVKit/AVRoutePickerViewDelegate.g.cs
@@ -58,6 +58,32 @@ namespace AVKit {
[ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "DidEndPresentingRoutes", Selector = "routePickerViewDidEndPresentingRoutes:", ParameterType = new Type [] { typeof (AVKit.AVRoutePickerView) }, ParameterByRef = new bool [] { false })]
public partial interface IAVRoutePickerViewDelegate : INativeObject, IDisposable
{
+ [OptionalMember]
+ [Export ("routePickerViewWillBeginPresentingRoutes:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void WillBeginPresentingRoutes (AVRoutePickerView routePickerView)
+ {
+ _WillBeginPresentingRoutes (this, routePickerView);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _WillBeginPresentingRoutes (IAVRoutePickerViewDelegate This, AVRoutePickerView routePickerView)
+ {
+ var routePickerView__handle__ = routePickerView!.GetNonNullHandle (nameof (routePickerView));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (This.Handle, Selector.GetHandle ("routePickerViewWillBeginPresentingRoutes:"), routePickerView__handle__);
+ }
+ [OptionalMember]
+ [Export ("routePickerViewDidEndPresentingRoutes:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidEndPresentingRoutes (AVRoutePickerView routePickerView)
+ {
+ _DidEndPresentingRoutes (this, routePickerView);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidEndPresentingRoutes (IAVRoutePickerViewDelegate This, AVRoutePickerView routePickerView)
+ {
+ var routePickerView__handle__ = routePickerView!.GetNonNullHandle (nameof (routePickerView));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (This.Handle, Selector.GetHandle ("routePickerViewDidEndPresentingRoutes:"), routePickerView__handle__);
+ }
}
/// <summary>Extension methods to the <see cref="IAVRoutePickerViewDelegate" /> interface to support all the methods from the AVRoutePickerViewDelegate protocol.</summary>
/// <remarks>
diff --git a/old/dotnet/ios/generated-sources/Accessibility/AXBrailleMapRenderer.g.cs b/new/dotnet/ios/generated-sources/Accessibility/AXBrailleMapRenderer.g.cs
index ae7e90c..d2eee7e 100644
--- a/old/dotnet/ios/generated-sources/Accessibility/AXBrailleMapRenderer.g.cs
+++ b/new/dotnet/ios/generated-sources/Accessibility/AXBrailleMapRenderer.g.cs
@@ -58,6 +58,85 @@ namespace Accessibility {
[ProtocolMember (IsRequired = false, IsProperty = true, IsStatic = false, Name = "AccessibilityBrailleMapRenderer", Selector = "accessibilityBrailleMapRenderer", PropertyType = typeof (global::System.Action<global::Accessibility.AXBrailleMap>), GetterSelector = "accessibilityBrailleMapRenderer", SetterSelector = "setAccessibilityBrailleMapRenderer:", ArgumentSemantic = ArgumentSemantic.Copy, ParameterBlockProxy = new Type [] { typeof (ObjCRuntime.Trampolines.NIDActionArity1V13) }, ReturnTypeDelegateProxy = typeof (ObjCRuntime.Trampolines.SDActionArity1V13))]
public partial interface IAXBrailleMapRenderer : INativeObject, IDisposable
{
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [OptionalMember]
+ public virtual CGRect AccessibilityBrailleMapRenderRegion {
+ [Export ("accessibilityBrailleMapRenderRegion", ArgumentSemantic.Assign)]
+ get {
+ return _GetAccessibilityBrailleMapRenderRegion (this);
+ }
+ [Export ("setAccessibilityBrailleMapRenderRegion:", ArgumentSemantic.Assign)]
+ set {
+ _SetAccessibilityBrailleMapRenderRegion (this, value);
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static CGRect _GetAccessibilityBrailleMapRenderRegion (IAXBrailleMapRenderer This)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ CGRect ret;
+ if (global::ObjCRuntime.Runtime.IsARM64CallingConvention) {
+ ret = global::ObjCRuntime.Messaging.CGRect_objc_msgSend (This.Handle, Selector.GetHandle ("accessibilityBrailleMapRenderRegion"));
+ } else if (IntPtr.Size == 8) {
+ ret = global::ObjCRuntime.Messaging.CGRect_objc_msgSend_stret (This.Handle, Selector.GetHandle ("accessibilityBrailleMapRenderRegion"));
+ } else if (Runtime.Arch == Arch.DEVICE) {
+ ret = global::ObjCRuntime.Messaging.CGRect_objc_msgSend_stret (This.Handle, Selector.GetHandle ("accessibilityBrailleMapRenderRegion"));
+ } else {
+ ret = global::ObjCRuntime.Messaging.CGRect_objc_msgSend_stret (This.Handle, Selector.GetHandle ("accessibilityBrailleMapRenderRegion"));
+ }
+ return ret!;
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _SetAccessibilityBrailleMapRenderRegion (IAXBrailleMapRenderer This, CGRect value)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::ObjCRuntime.Messaging.void_objc_msgSend_CGRect (This.Handle, Selector.GetHandle ("setAccessibilityBrailleMapRenderRegion:"), value);
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [OptionalMember]
+ public unsafe virtual global::System.Action<AXBrailleMap> AccessibilityBrailleMapRenderer {
+ [return: DelegateProxy (typeof (ObjCRuntime.Trampolines.SDActionArity1V13))]
+ [Export ("accessibilityBrailleMapRenderer", ArgumentSemantic.Copy)]
+ get {
+ return _GetAccessibilityBrailleMapRenderer (this);
+ }
+ [param: BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity1V13))]
+ [Export ("setAccessibilityBrailleMapRenderer:", ArgumentSemantic.Copy)]
+ set {
+ _SetAccessibilityBrailleMapRenderer (this, value);
+ }
+ }
+ [return: DelegateProxy (typeof (ObjCRuntime.Trampolines.SDActionArity1V13))]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal unsafe static global::System.Action<AXBrailleMap> _GetAccessibilityBrailleMapRenderer (IAXBrailleMapRenderer This)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ NativeHandle ret;
+ ret = global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (This.Handle, Selector.GetHandle ("accessibilityBrailleMapRenderer"));
+ return global::ObjCRuntime.Trampolines.NIDActionArity1V13.Create (ret)!;
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal unsafe static void _SetAccessibilityBrailleMapRenderer (IAXBrailleMapRenderer This, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity1V13))]global::System.Action<AXBrailleMap> value)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (value is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (value));
+ using var block_value = Trampolines.SDActionArity1V13.CreateBlock (value);
+ BlockLiteral *block_ptr_value = &block_value;
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (This.Handle, Selector.GetHandle ("setAccessibilityBrailleMapRenderer:"), (IntPtr) block_ptr_value);
+ #endif
+ }
}
/// <summary>Extension methods to the <see cref="IAXBrailleMapRenderer" /> interface to support all the methods from the AXBrailleMapRenderer protocol.</summary>
/// <remarks>
diff --git a/old/dotnet/ios/generated-sources/Accessibility/AXChart.g.cs b/new/dotnet/ios/generated-sources/Accessibility/AXChart.g.cs
index d93e04f..1cc63bb 100644
--- a/old/dotnet/ios/generated-sources/Accessibility/AXChart.g.cs
+++ b/new/dotnet/ios/generated-sources/Accessibility/AXChart.g.cs
@@ -57,12 +57,36 @@ namespace Accessibility {
[ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "AccessibilityChartDescriptor", Selector = "accessibilityChartDescriptor", PropertyType = typeof (Accessibility.AXChartDescriptor), GetterSelector = "accessibilityChartDescriptor", SetterSelector = "setAccessibilityChartDescriptor:", ArgumentSemantic = ArgumentSemantic.Retain)]
public partial interface IAXChart : INativeObject, IDisposable
{
- [Preserve (Conditional = true)]
- AXChartDescriptor? AccessibilityChartDescriptor {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [RequiredMember]
+ public virtual AXChartDescriptor? AccessibilityChartDescriptor {
[Export ("accessibilityChartDescriptor", ArgumentSemantic.Retain)]
- get;
+ get {
+ return _GetAccessibilityChartDescriptor (this);
+ }
[Export ("setAccessibilityChartDescriptor:", ArgumentSemantic.Retain)]
- set;
+ set {
+ _SetAccessibilityChartDescriptor (this, value);
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static AXChartDescriptor _GetAccessibilityChartDescriptor (IAXChart This)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ return Runtime.GetNSObject<AXChartDescriptor> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (This.Handle, Selector.GetHandle ("accessibilityChartDescriptor")))!;
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _SetAccessibilityChartDescriptor (IAXChart This, AXChartDescriptor? value)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var value__handle__ = value.GetHandle ();
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (This.Handle, Selector.GetHandle ("setAccessibilityChartDescriptor:"), value__handle__);
+ #endif
}
}
internal unsafe sealed class AXChartWrapper : BaseWrapper, IAXChart {
diff --git a/old/dotnet/ios/generated-sources/Accessibility/AXCustomContentProvider.g.cs b/new/dotnet/ios/generated-sources/Accessibility/AXCustomContentProvider.g.cs
index 18351af..2e71e53 100644
--- a/old/dotnet/ios/generated-sources/Accessibility/AXCustomContentProvider.g.cs
+++ b/new/dotnet/ios/generated-sources/Accessibility/AXCustomContentProvider.g.cs
@@ -58,12 +58,81 @@ namespace Accessibility {
[ProtocolMember (IsRequired = false, IsProperty = true, IsStatic = false, Name = "AccessibilityCustomContentHandler", Selector = "accessibilityCustomContentBlock", PropertyType = typeof (global::System.Func<global::Accessibility.AXCustomContent[]>), GetterSelector = "accessibilityCustomContentBlock", SetterSelector = "setAccessibilityCustomContentBlock:", ArgumentSemantic = ArgumentSemantic.Copy, ParameterBlockProxy = new Type [] { typeof (ObjCRuntime.Trampolines.NIDFuncArity1V0) }, ReturnTypeDelegateProxy = typeof (ObjCRuntime.Trampolines.SDFuncArity1V0))]
public partial interface IAXCustomContentProvider : INativeObject, IDisposable
{
- [Preserve (Conditional = true)]
- AXCustomContent[]? AccessibilityCustomContent {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [RequiredMember]
+ public virtual AXCustomContent[]? AccessibilityCustomContent {
[Export ("accessibilityCustomContent", ArgumentSemantic.Copy)]
- get;
+ get {
+ return _GetAccessibilityCustomContent (this);
+ }
[Export ("setAccessibilityCustomContent:", ArgumentSemantic.Copy)]
- set;
+ set {
+ _SetAccessibilityCustomContent (this, value);
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static AXCustomContent[] _GetAccessibilityCustomContent (IAXCustomContentProvider This)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ return CFArray.ArrayFromHandle<AXCustomContent>(global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (This.Handle, Selector.GetHandle ("accessibilityCustomContent")))!;
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _SetAccessibilityCustomContent (IAXCustomContentProvider This, AXCustomContent[]? value)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var nsa_value = value is null ? null : NSArray.FromNSObjects (value);
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (This.Handle, Selector.GetHandle ("setAccessibilityCustomContent:"), nsa_value.GetHandle ());
+ if (nsa_value is not null)
+ nsa_value.Dispose ();
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("tvos17.0")]
+ [SupportedOSPlatform ("macos14.0")]
+ [SupportedOSPlatform ("ios17.0")]
+ [SupportedOSPlatform ("maccatalyst17.0")]
+ [OptionalMember]
+ public unsafe virtual global::System.Func<AXCustomContent[]>? AccessibilityCustomContentHandler {
+ [return: DelegateProxy (typeof (ObjCRuntime.Trampolines.SDFuncArity1V0))]
+ [Export ("accessibilityCustomContentBlock", ArgumentSemantic.Copy)]
+ get {
+ return _GetAccessibilityCustomContentHandler (this);
+ }
+ [param: BlockProxy (typeof (ObjCRuntime.Trampolines.NIDFuncArity1V0))]
+ [Export ("setAccessibilityCustomContentBlock:", ArgumentSemantic.Copy)]
+ set {
+ _SetAccessibilityCustomContentHandler (this, value);
+ }
+ }
+ [return: DelegateProxy (typeof (ObjCRuntime.Trampolines.SDFuncArity1V0))]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal unsafe static global::System.Func<AXCustomContent[]> _GetAccessibilityCustomContentHandler (IAXCustomContentProvider This)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ NativeHandle ret;
+ ret = global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (This.Handle, Selector.GetHandle ("accessibilityCustomContentBlock"));
+ return global::ObjCRuntime.Trampolines.NIDFuncArity1V0.Create (ret)!;
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal unsafe static void _SetAccessibilityCustomContentHandler (IAXCustomContentProvider This, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDFuncArity1V0))]global::System.Func<AXCustomContent[]>? value)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ using var block_value = Trampolines.SDFuncArity1V0.CreateNullableBlock (value);
+ BlockLiteral *block_ptr_value = null;
+ if (value is not null)
+ block_ptr_value = &block_value;
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (This.Handle, Selector.GetHandle ("setAccessibilityCustomContentBlock:"), (IntPtr) block_ptr_value);
+ #endif
}
}
/// <summary>Extension methods to the <see cref="IAXCustomContentProvider" /> interface to support all the methods from the AXCustomContentProvider protocol.</summary>
@@ -84,7 +153,7 @@ namespace Accessibility {
#endif
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe static void SetAccessibilityCustomContentHandler (this IAXCustomContentProvider This, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDFuncArity1V0))]global::System.Func<AXCustomContent[]> value)
+ public unsafe static void SetAccessibilityCustomContentHandler (this IAXCustomContentProvider This, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDFuncArity1V0))]global::System.Func<AXCustomContent[]>? value)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
diff --git a/old/dotnet/ios/generated-sources/Accessibility/AXDataAxisDescriptor.g.cs b/new/dotnet/ios/generated-sources/Accessibility/AXDataAxisDescriptor.g.cs
index ab60c47..0af7988 100644
--- a/old/dotnet/ios/generated-sources/Accessibility/AXDataAxisDescriptor.g.cs
+++ b/new/dotnet/ios/generated-sources/Accessibility/AXDataAxisDescriptor.g.cs
@@ -59,19 +59,70 @@ namespace Accessibility {
public partial interface IAXDataAxisDescriptor : INativeObject, IDisposable,
Foundation.INSCopying
{
- [Preserve (Conditional = true)]
- string Title {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [RequiredMember]
+ public virtual string Title {
[Export ("title")]
- get;
+ get {
+ return _GetTitle (this);
+ }
[Export ("setTitle:")]
- set;
+ set {
+ _SetTitle (this, value);
+ }
}
- [Preserve (Conditional = true)]
- NSAttributedString AttributedTitle {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static string _GetTitle (IAXDataAxisDescriptor This)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (This.Handle, Selector.GetHandle ("title")))!;
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _SetTitle (IAXDataAxisDescriptor This, string value)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (value is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (value));
+ var nsvalue = CFString.CreateNative (value);
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (This.Handle, Selector.GetHandle ("setTitle:"), nsvalue);
+ CFString.ReleaseNative (nsvalue);
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [RequiredMember]
+ public virtual NSAttributedString AttributedTitle {
[Export ("attributedTitle", ArgumentSemantic.Copy)]
- get;
+ get {
+ return _GetAttributedTitle (this);
+ }
[Export ("setAttributedTitle:", ArgumentSemantic.Copy)]
- set;
+ set {
+ _SetAttributedTitle (this, value);
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static NSAttributedString _GetAttributedTitle (IAXDataAxisDescriptor This)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ return Runtime.GetNSObject<NSAttributedString> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (This.Handle, Selector.GetHandle ("attributedTitle")))!;
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _SetAttributedTitle (IAXDataAxisDescriptor This, NSAttributedString value)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var value__handle__ = value!.GetNonNullHandle (nameof (value));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (This.Handle, Selector.GetHandle ("setAttributedTitle:"), value__handle__);
+ #endif
}
}
internal unsafe sealed class AXDataAxisDescriptorWrapper : BaseWrapper, IAXDataAxisDescriptor {
diff --git a/old/dotnet/ios/generated-sources/AddressBookUI/ABNewPersonViewControllerDelegate.g.cs b/new/dotnet/ios/generated-sources/AddressBookUI/ABNewPersonViewControllerDelegate.g.cs
index 64236c9..b4feed0 100644
--- a/old/dotnet/ios/generated-sources/AddressBookUI/ABNewPersonViewControllerDelegate.g.cs
+++ b/new/dotnet/ios/generated-sources/AddressBookUI/ABNewPersonViewControllerDelegate.g.cs
@@ -55,10 +55,18 @@ namespace AddressBookUI {
[ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "DidCompleteWithNewPerson", Selector = "newPersonViewController:didCompleteWithNewPerson:", ParameterType = new Type [] { typeof (AddressBookUI.ABNewPersonViewController), typeof (ABPerson) }, ParameterByRef = new bool [] { false, false })]
public partial interface IABNewPersonViewControllerDelegate : INativeObject, IDisposable
{
- [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [RequiredMember]
[Export ("newPersonViewController:didCompleteWithNewPerson:")]
- [Preserve (Conditional = true)]
- void DidCompleteWithNewPerson (ABNewPersonViewController controller, global::AddressBook.ABPerson? person);
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidCompleteWithNewPerson (ABNewPersonViewController controller, global::AddressBook.ABPerson? person)
+ {
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidCompleteWithNewPerson (IABNewPersonViewControllerDelegate This, ABNewPersonViewController controller, global::AddressBook.ABPerson? person)
+ {
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ }
}
internal unsafe sealed class ABNewPersonViewControllerDelegateWrapper : BaseWrapper, IABNewPersonViewControllerDelegate {
[Preserve (Conditional = true)]
diff --git a/old/dotnet/ios/generated-sources/AddressBookUI/ABPeoplePickerNavigationControllerDelegate.g.cs b/new/dotnet/ios/generated-sources/AddressBookUI/ABPeoplePickerNavigationControllerDelegate.g.cs
index abd4967..db75e70 100644
--- a/old/dotnet/ios/generated-sources/AddressBookUI/ABPeoplePickerNavigationControllerDelegate.g.cs
+++ b/new/dotnet/ios/generated-sources/AddressBookUI/ABPeoplePickerNavigationControllerDelegate.g.cs
@@ -59,6 +59,92 @@ namespace AddressBookUI {
[ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "DidSelectPerson", Selector = "peoplePickerNavigationController:didSelectPerson:property:identifier:", ParameterType = new Type [] { typeof (AddressBookUI.ABPeoplePickerNavigationController), typeof (ABPerson), typeof (int), typeof (int) }, ParameterByRef = new bool [] { false, false, false, false })]
public partial interface IABPeoplePickerNavigationControllerDelegate : INativeObject, IDisposable
{
+ [OptionalMember]
+ [Export ("peoplePickerNavigationController:shouldContinueAfterSelectingPerson:")]
+ [ObsoletedOSPlatform ("ios8.0", "Use 'DidSelectPerson' instead (or 'ABPeoplePickerNavigationController.PredicateForSelectionOfPerson').")]
+ [SupportedOSPlatform ("ios")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual bool ShouldContinue (ABPeoplePickerNavigationController peoplePicker, global::AddressBook.ABPerson selectedPerson)
+ {
+ return _ShouldContinue (this, peoplePicker, selectedPerson);
+ }
+ [ObsoletedOSPlatform ("ios8.0", "Use 'DidSelectPerson' instead (or 'ABPeoplePickerNavigationController.PredicateForSelectionOfPerson').")]
+ [SupportedOSPlatform ("ios")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static bool _ShouldContinue (IABPeoplePickerNavigationControllerDelegate This, ABPeoplePickerNavigationController peoplePicker, global::AddressBook.ABPerson selectedPerson)
+ {
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var peoplePicker__handle__ = peoplePicker!.GetNonNullHandle (nameof (peoplePicker));
+ var selectedPerson__handle__ = selectedPerson!.GetNonNullHandle (nameof (selectedPerson));
+ byte ret;
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("peoplePickerNavigationController:shouldContinueAfterSelectingPerson:"), peoplePicker__handle__, selectedPerson.Handle);
+ return ret != 0;
+ }
+ [OptionalMember]
+ [Export ("peoplePickerNavigationController:shouldContinueAfterSelectingPerson:property:identifier:")]
+ [ObsoletedOSPlatform ("ios8.0", "Use 'DidSelectPerson' instead (or 'ABPeoplePickerNavigationController.PredicateForSelectionOfProperty').")]
+ [SupportedOSPlatform ("ios")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual bool ShouldContinue (ABPeoplePickerNavigationController peoplePicker, global::AddressBook.ABPerson selectedPerson, int propertyId, int identifier)
+ {
+ return _ShouldContinue (this, peoplePicker, selectedPerson, propertyId, identifier);
+ }
+ [ObsoletedOSPlatform ("ios8.0", "Use 'DidSelectPerson' instead (or 'ABPeoplePickerNavigationController.PredicateForSelectionOfProperty').")]
+ [SupportedOSPlatform ("ios")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static bool _ShouldContinue (IABPeoplePickerNavigationControllerDelegate This, ABPeoplePickerNavigationController peoplePicker, global::AddressBook.ABPerson selectedPerson, int propertyId, int identifier)
+ {
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var peoplePicker__handle__ = peoplePicker!.GetNonNullHandle (nameof (peoplePicker));
+ var selectedPerson__handle__ = selectedPerson!.GetNonNullHandle (nameof (selectedPerson));
+ byte ret;
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend_NativeHandle_NativeHandle_int_int (This.Handle, Selector.GetHandle ("peoplePickerNavigationController:shouldContinueAfterSelectingPerson:property:identifier:"), peoplePicker__handle__, selectedPerson.Handle, propertyId, identifier);
+ return ret != 0;
+ }
+ [OptionalMember]
+ [Export ("peoplePickerNavigationControllerDidCancel:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void Cancelled (ABPeoplePickerNavigationController peoplePicker)
+ {
+ _Cancelled (this, peoplePicker);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _Cancelled (IABPeoplePickerNavigationControllerDelegate This, ABPeoplePickerNavigationController peoplePicker)
+ {
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var peoplePicker__handle__ = peoplePicker!.GetNonNullHandle (nameof (peoplePicker));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (This.Handle, Selector.GetHandle ("peoplePickerNavigationControllerDidCancel:"), peoplePicker__handle__);
+ }
+ [OptionalMember]
+ [Export ("peoplePickerNavigationController:didSelectPerson:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidSelectPerson (ABPeoplePickerNavigationController peoplePicker, global::AddressBook.ABPerson selectedPerson)
+ {
+ _DidSelectPerson (this, peoplePicker, selectedPerson);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidSelectPerson (IABPeoplePickerNavigationControllerDelegate This, ABPeoplePickerNavigationController peoplePicker, global::AddressBook.ABPerson selectedPerson)
+ {
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var peoplePicker__handle__ = peoplePicker!.GetNonNullHandle (nameof (peoplePicker));
+ var selectedPerson__handle__ = selectedPerson!.GetNonNullHandle (nameof (selectedPerson));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("peoplePickerNavigationController:didSelectPerson:"), peoplePicker__handle__, selectedPerson.Handle);
+ }
+ [OptionalMember]
+ [Export ("peoplePickerNavigationController:didSelectPerson:property:identifier:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidSelectPerson (ABPeoplePickerNavigationController peoplePicker, global::AddressBook.ABPerson selectedPerson, int propertyId, int identifier)
+ {
+ _DidSelectPerson (this, peoplePicker, selectedPerson, propertyId, identifier);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidSelectPerson (IABPeoplePickerNavigationControllerDelegate This, ABPeoplePickerNavigationController peoplePicker, global::AddressBook.ABPerson selectedPerson, int propertyId, int identifier)
+ {
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var peoplePicker__handle__ = peoplePicker!.GetNonNullHandle (nameof (peoplePicker));
+ var selectedPerson__handle__ = selectedPerson!.GetNonNullHandle (nameof (selectedPerson));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle_int_int (This.Handle, Selector.GetHandle ("peoplePickerNavigationController:didSelectPerson:property:identifier:"), peoplePicker__handle__, selectedPerson.Handle, propertyId, identifier);
+ }
}
/// <summary>Extension methods to the <see cref="IABPeoplePickerNavigationControllerDelegate" /> interface to support all the methods from the ABPeoplePickerNavigationControllerDelegate protocol.</summary>
/// <remarks>
diff --git a/old/dotnet/ios/generated-sources/AddressBookUI/ABPersonViewControllerDelegate.g.cs b/new/dotnet/ios/generated-sources/AddressBookUI/ABPersonViewControllerDelegate.g.cs
index 6ee495a..d61069c 100644
--- a/old/dotnet/ios/generated-sources/AddressBookUI/ABPersonViewControllerDelegate.g.cs
+++ b/new/dotnet/ios/generated-sources/AddressBookUI/ABPersonViewControllerDelegate.g.cs
@@ -55,10 +55,18 @@ namespace AddressBookUI {
[ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "ShouldPerformDefaultActionForPerson", Selector = "personViewController:shouldPerformDefaultActionForPerson:property:identifier:", ReturnType = typeof (bool), ParameterType = new Type [] { typeof (AddressBookUI.ABPersonViewController), typeof (ABPerson), typeof (int), typeof (int) }, ParameterByRef = new bool [] { false, false, false, false })]
public partial interface IABPersonViewControllerDelegate : INativeObject, IDisposable
{
- [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [RequiredMember]
[Export ("personViewController:shouldPerformDefaultActionForPerson:property:identifier:")]
- [Preserve (Conditional = true)]
- bool ShouldPerformDefaultActionForPerson (ABPersonViewController personViewController, global::AddressBook.ABPerson person, int propertyId, int identifier);
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual bool ShouldPerformDefaultActionForPerson (ABPersonViewController personViewController, global::AddressBook.ABPerson person, int propertyId, int identifier)
+ {
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static bool _ShouldPerformDefaultActionForPerson (IABPersonViewControllerDelegate This, ABPersonViewController personViewController, global::AddressBook.ABPerson person, int propertyId, int identifier)
+ {
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ }
}
internal unsafe sealed class ABPersonViewControllerDelegateWrapper : BaseWrapper, IABPersonViewControllerDelegate {
[Preserve (Conditional = true)]
diff --git a/old/dotnet/ios/generated-sources/AddressBookUI/ABUnknownPersonViewControllerDelegate.g.cs b/new/dotnet/ios/generated-sources/AddressBookUI/ABUnknownPersonViewControllerDelegate.g.cs
index eea0d77..ed8f13b 100644
--- a/old/dotnet/ios/generated-sources/AddressBookUI/ABUnknownPersonViewControllerDelegate.g.cs
+++ b/new/dotnet/ios/generated-sources/AddressBookUI/ABUnknownPersonViewControllerDelegate.g.cs
@@ -56,10 +56,35 @@ namespace AddressBookUI {
[ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "ShouldPerformDefaultActionForPerson", Selector = "unknownPersonViewController:shouldPerformDefaultActionForPerson:property:identifier:", ReturnType = typeof (bool), ParameterType = new Type [] { typeof (AddressBookUI.ABUnknownPersonViewController), typeof (ABPerson), typeof (int), typeof (int) }, ParameterByRef = new bool [] { false, false, false, false })]
public partial interface IABUnknownPersonViewControllerDelegate : INativeObject, IDisposable
{
- [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [RequiredMember]
[Export ("unknownPersonViewController:didResolveToPerson:")]
- [Preserve (Conditional = true)]
- void DidResolveToPerson (ABUnknownPersonViewController unknownPersonView, global::AddressBook.ABPerson? person);
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidResolveToPerson (ABUnknownPersonViewController unknownPersonView, global::AddressBook.ABPerson? person)
+ {
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidResolveToPerson (IABUnknownPersonViewControllerDelegate This, ABUnknownPersonViewController unknownPersonView, global::AddressBook.ABPerson? person)
+ {
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ }
+ [OptionalMember]
+ [Export ("unknownPersonViewController:shouldPerformDefaultActionForPerson:property:identifier:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual bool ShouldPerformDefaultActionForPerson (ABUnknownPersonViewController personViewController, global::AddressBook.ABPerson person, int propertyId, int identifier)
+ {
+ return _ShouldPerformDefaultActionForPerson (this, personViewController, person, propertyId, identifier);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static bool _ShouldPerformDefaultActionForPerson (IABUnknownPersonViewControllerDelegate This, ABUnknownPersonViewController personViewController, global::AddressBook.ABPerson person, int propertyId, int identifier)
+ {
+ global::UIKit.UIApplication.EnsureUIThread ();
+ var personViewController__handle__ = personViewController!.GetNonNullHandle (nameof (personViewController));
+ var person__handle__ = person!.GetNonNullHandle (nameof (person));
+ byte ret;
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend_NativeHandle_NativeHandle_int_int (This.Handle, Selector.GetHandle ("unknownPersonViewController:shouldPerformDefaultActionForPerson:property:identifier:"), personViewController__handle__, person.Handle, propertyId, identifier);
+ return ret != 0;
+ }
}
/// <summary>Extension methods to the <see cref="IABUnknownPersonViewControllerDelegate" /> interface to support all the methods from the ABUnknownPersonViewControllerDelegate protocol.</summary>
/// <remarks>
diff --git a/old/dotnet/ios/generated-sources/AudioUnit/AUAudioUnitFactory.g.cs b/new/dotnet/ios/generated-sources/AudioUnit/AUAudioUnitFactory.g.cs
index b1265c4..905cf6b 100644
--- a/old/dotnet/ios/generated-sources/AudioUnit/AUAudioUnitFactory.g.cs
+++ b/new/dotnet/ios/generated-sources/AudioUnit/AUAudioUnitFactory.g.cs
@@ -54,10 +54,18 @@ namespace AudioUnit {
public partial interface IAUAudioUnitFactory : INativeObject, IDisposable,
Foundation.INSExtensionRequestHandling
{
- [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [RequiredMember]
[Export ("createAudioUnitWithComponentDescription:error:")]
- [Preserve (Conditional = true)]
- unsafe AUAudioUnit? CreateAudioUnit (AudioComponentDescription desc, out NSError? error);
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe virtual AUAudioUnit? CreateAudioUnit (AudioComponentDescription desc, out NSError? error)
+ {
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal unsafe static AUAudioUnit? _CreateAudioUnit (IAUAudioUnitFactory This, AudioComponentDescription desc, out NSError? error)
+ {
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ }
}
internal unsafe sealed class AUAudioUnitFactoryWrapper : BaseWrapper, IAUAudioUnitFactory {
[Preserve (Conditional = true)]
diff --git a/old/dotnet/ios/generated-sources/AuthenticationServices/ASAccountAuthenticationModificationControllerDelegate.g.cs b/new/dotnet/ios/generated-sources/AuthenticationServices/ASAccountAuthenticationModificationControllerDelegate.g.cs
index 19975f5..1f624cd 100644
--- a/old/dotnet/ios/generated-sources/AuthenticationServices/ASAccountAuthenticationModificationControllerDelegate.g.cs
+++ b/new/dotnet/ios/generated-sources/AuthenticationServices/ASAccountAuthenticationModificationControllerDelegate.g.cs
@@ -58,6 +58,52 @@ namespace AuthenticationServices {
[ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "DidFailRequest", Selector = "accountAuthenticationModificationController:didFailRequest:withError:", ParameterType = new Type [] { typeof (AuthenticationServices.ASAccountAuthenticationModificationController), typeof (AuthenticationServices.ASAccountAuthenticationModificationRequest), typeof (NSError) }, ParameterByRef = new bool [] { false, false, false })]
public partial interface IASAccountAuthenticationModificationControllerDelegate : INativeObject, IDisposable
{
+ [OptionalMember]
+ [Export ("accountAuthenticationModificationController:didSuccessfullyCompleteRequest:withUserInfo:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidSuccessfullyCompleteRequest (ASAccountAuthenticationModificationController controller, ASAccountAuthenticationModificationRequest request, NSDictionary? userInfo)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ _DidSuccessfullyCompleteRequest (this, controller, request, userInfo);
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidSuccessfullyCompleteRequest (IASAccountAuthenticationModificationControllerDelegate This, ASAccountAuthenticationModificationController controller, ASAccountAuthenticationModificationRequest request, NSDictionary? userInfo)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var controller__handle__ = controller!.GetNonNullHandle (nameof (controller));
+ var request__handle__ = request!.GetNonNullHandle (nameof (request));
+ var userInfo__handle__ = userInfo.GetHandle ();
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("accountAuthenticationModificationController:didSuccessfullyCompleteRequest:withUserInfo:"), controller__handle__, request__handle__, userInfo__handle__);
+ #endif
+ }
+ [OptionalMember]
+ [Export ("accountAuthenticationModificationController:didFailRequest:withError:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidFailRequest (ASAccountAuthenticationModificationController controller, ASAccountAuthenticationModificationRequest request, NSError error)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ _DidFailRequest (this, controller, request, error);
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidFailRequest (IASAccountAuthenticationModificationControllerDelegate This, ASAccountAuthenticationModificationController controller, ASAccountAuthenticationModificationRequest request, NSError error)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var controller__handle__ = controller!.GetNonNullHandle (nameof (controller));
+ var request__handle__ = request!.GetNonNullHandle (nameof (request));
+ var error__handle__ = error!.GetNonNullHandle (nameof (error));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("accountAuthenticationModificationController:didFailRequest:withError:"), controller__handle__, request__handle__, error__handle__);
+ #endif
+ }
}
/// <summary>Extension methods to the <see cref="IASAccountAuthenticationModificationControllerDelegate" /> interface to support all the methods from the ASAccountAuthenticationModificationControllerDelegate protocol.</summary>
/// <remarks>
diff --git a/old/dotnet/ios/generated-sources/AuthenticationServices/ASAccountAuthenticationModificationControllerPresentationContextProviding.g.cs b/new/dotnet/ios/generated-sources/AuthenticationServices/ASAccountAuthenticationModificationControllerPresentationContextProviding.g.cs
index 93c40c1..cc8b320 100644
--- a/old/dotnet/ios/generated-sources/AuthenticationServices/ASAccountAuthenticationModificationControllerPresentationContextProviding.g.cs
+++ b/new/dotnet/ios/generated-sources/AuthenticationServices/ASAccountAuthenticationModificationControllerPresentationContextProviding.g.cs
@@ -57,10 +57,26 @@ namespace AuthenticationServices {
[ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "GetPresentationAnchor", Selector = "presentationAnchorForAccountAuthenticationModificationController:", ReturnType = typeof (UIWindow), ParameterType = new Type [] { typeof (AuthenticationServices.ASAccountAuthenticationModificationController) }, ParameterByRef = new bool [] { false })]
public partial interface IASAccountAuthenticationModificationControllerPresentationContextProviding : INativeObject, IDisposable
{
- [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [RequiredMember]
[Export ("presentationAnchorForAccountAuthenticationModificationController:")]
- [Preserve (Conditional = true)]
- global::UIKit.UIWindow GetPresentationAnchor (ASAccountAuthenticationModificationController controller);
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual global::UIKit.UIWindow GetPresentationAnchor (ASAccountAuthenticationModificationController controller)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static global::UIKit.UIWindow _GetPresentationAnchor (IASAccountAuthenticationModificationControllerPresentationContextProviding This, ASAccountAuthenticationModificationController controller)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ #endif
+ }
}
internal unsafe sealed class ASAccountAuthenticationModificationControllerPresentationContextProvidingWrapper : BaseWrapper, IASAccountAuthenticationModificationControllerPresentationContextProviding {
[Preserve (Conditional = true)]
diff --git a/old/dotnet/ios/generated-sources/AuthenticationServices/ASAuthorizationControllerDelegate.g.cs b/new/dotnet/ios/generated-sources/AuthenticationServices/ASAuthorizationControllerDelegate.g.cs
index 821027f..1c39031 100644
--- a/old/dotnet/ios/generated-sources/AuthenticationServices/ASAuthorizationControllerDelegate.g.cs
+++ b/new/dotnet/ios/generated-sources/AuthenticationServices/ASAuthorizationControllerDelegate.g.cs
@@ -58,6 +58,50 @@ namespace AuthenticationServices {
[ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "DidComplete", Selector = "authorizationController:didCompleteWithError:", ParameterType = new Type [] { typeof (AuthenticationServices.ASAuthorizationController), typeof (NSError) }, ParameterByRef = new bool [] { false, false })]
public partial interface IASAuthorizationControllerDelegate : INativeObject, IDisposable
{
+ [OptionalMember]
+ [Export ("authorizationController:didCompleteWithAuthorization:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidComplete (ASAuthorizationController controller, ASAuthorization authorization)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ _DidComplete (this, controller, authorization);
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidComplete (IASAuthorizationControllerDelegate This, ASAuthorizationController controller, ASAuthorization authorization)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var controller__handle__ = controller!.GetNonNullHandle (nameof (controller));
+ var authorization__handle__ = authorization!.GetNonNullHandle (nameof (authorization));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("authorizationController:didCompleteWithAuthorization:"), controller__handle__, authorization__handle__);
+ #endif
+ }
+ [OptionalMember]
+ [Export ("authorizationController:didCompleteWithError:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidComplete (ASAuthorizationController controller, NSError error)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ _DidComplete (this, controller, error);
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidComplete (IASAuthorizationControllerDelegate This, ASAuthorizationController controller, NSError error)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var controller__handle__ = controller!.GetNonNullHandle (nameof (controller));
+ var error__handle__ = error!.GetNonNullHandle (nameof (error));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("authorizationController:didCompleteWithError:"), controller__handle__, error__handle__);
+ #endif
+ }
}
/// <summary>Extension methods to the <see cref="IASAuthorizationControllerDelegate" /> interface to support all the methods from the ASAuthorizationControllerDelegate protocol.</summary>
/// <remarks>
diff --git a/old/dotnet/ios/generated-sources/AuthenticationServices/ASAuthorizationControllerPresentationContextProviding.g.cs b/new/dotnet/ios/generated-sources/AuthenticationServices/ASAuthorizationControllerPresentationContextProviding.g.cs
index 65c1144..860482e 100644
--- a/old/dotnet/ios/generated-sources/AuthenticationServices/ASAuthorizationControllerPresentationContextProviding.g.cs
+++ b/new/dotnet/ios/generated-sources/AuthenticationServices/ASAuthorizationControllerPresentationContextProviding.g.cs
@@ -57,10 +57,26 @@ namespace AuthenticationServices {
[ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "GetPresentationAnchor", Selector = "presentationAnchorForAuthorizationController:", ReturnType = typeof (UIWindow), ParameterType = new Type [] { typeof (AuthenticationServices.ASAuthorizationController) }, ParameterByRef = new bool [] { false })]
public partial interface IASAuthorizationControllerPresentationContextProviding : INativeObject, IDisposable
{
- [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [RequiredMember]
[Export ("presentationAnchorForAuthorizationController:")]
- [Preserve (Conditional = true)]
- global::UIKit.UIWindow GetPresentationAnchor (ASAuthorizationController controller);
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual global::UIKit.UIWindow GetPresentationAnchor (ASAuthorizationController controller)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static global::UIKit.UIWindow _GetPresentationAnchor (IASAuthorizationControllerPresentationContextProviding This, ASAuthorizationController controller)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ #endif
+ }
}
internal unsafe sealed class ASAuthorizationControllerPresentationContextProvidingWrapper : BaseWrapper, IASAuthorizationControllerPresentationContextProviding {
[Preserve (Conditional = true)]
diff --git a/old/dotnet/ios/generated-sources/AuthenticationServices/ASAuthorizationProviderExtensionAuthorizationRequestHandler.g.cs b/new/dotnet/ios/generated-sources/AuthenticationServices/ASAuthorizationProviderExtensionAuthorizationRequestHandler.g.cs
index b1edee8..0c9f795 100644
--- a/old/dotnet/ios/generated-sources/AuthenticationServices/ASAuthorizationProviderExtensionAuthorizationRequestHandler.g.cs
+++ b/new/dotnet/ios/generated-sources/AuthenticationServices/ASAuthorizationProviderExtensionAuthorizationRequestHandler.g.cs
@@ -58,10 +58,47 @@ namespace AuthenticationServices {
[ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "CancelAuthorization", Selector = "cancelAuthorizationWithRequest:", ParameterType = new Type [] { typeof (AuthenticationServices.ASAuthorizationProviderExtensionAuthorizationRequest) }, ParameterByRef = new bool [] { false })]
public partial interface IASAuthorizationProviderExtensionAuthorizationRequestHandler : INativeObject, IDisposable
{
- [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [RequiredMember]
[Export ("beginAuthorizationWithRequest:")]
- [Preserve (Conditional = true)]
- void BeginAuthorization (ASAuthorizationProviderExtensionAuthorizationRequest request);
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void BeginAuthorization (ASAuthorizationProviderExtensionAuthorizationRequest request)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _BeginAuthorization (IASAuthorizationProviderExtensionAuthorizationRequestHandler This, ASAuthorizationProviderExtensionAuthorizationRequest request)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ #endif
+ }
+ [OptionalMember]
+ [Export ("cancelAuthorizationWithRequest:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void CancelAuthorization (ASAuthorizationProviderExtensionAuthorizationRequest request)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ _CancelAuthorization (this, request);
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _CancelAuthorization (IASAuthorizationProviderExtensionAuthorizationRequestHandler This, ASAuthorizationProviderExtensionAuthorizationRequest request)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var request__handle__ = request!.GetNonNullHandle (nameof (request));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (This.Handle, Selector.GetHandle ("cancelAuthorizationWithRequest:"), request__handle__);
+ #endif
+ }
}
/// <summary>Extension methods to the <see cref="IASAuthorizationProviderExtensionAuthorizationRequestHandler" /> interface to support all the methods from the ASAuthorizationProviderExtensionAuthorizationRequestHandler protocol.</summary>
/// <remarks>
diff --git a/old/dotnet/ios/generated-sources/AuthenticationServices/ASAuthorizationPublicKeyCredentialAssertion.g.cs b/new/dotnet/ios/generated-sources/AuthenticationServices/ASAuthorizationPublicKeyCredentialAssertion.g.cs
index bf725dd..dd511bd 100644
--- a/old/dotnet/ios/generated-sources/AuthenticationServices/ASAuthorizationPublicKeyCredentialAssertion.g.cs
+++ b/new/dotnet/ios/generated-sources/AuthenticationServices/ASAuthorizationPublicKeyCredentialAssertion.g.cs
@@ -64,20 +64,56 @@ namespace AuthenticationServices {
, Foundation.INSCopying
, Foundation.INSSecureCoding
{
- [Preserve (Conditional = true)]
- NSData RawAuthenticatorData {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [RequiredMember]
+ public virtual NSData RawAuthenticatorData {
[Export ("rawAuthenticatorData", ArgumentSemantic.Copy)]
- get;
+ get {
+ return _GetRawAuthenticatorData (this);
+ }
}
- [Preserve (Conditional = true)]
- NSData UserId {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static NSData _GetRawAuthenticatorData (IASAuthorizationPublicKeyCredentialAssertion This)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ return Runtime.GetNSObject<NSData> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (This.Handle, Selector.GetHandle ("rawAuthenticatorData")))!;
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [RequiredMember]
+ public virtual NSData UserId {
[Export ("userID", ArgumentSemantic.Copy)]
- get;
+ get {
+ return _GetUserId (this);
+ }
}
- [Preserve (Conditional = true)]
- NSData Signature {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static NSData _GetUserId (IASAuthorizationPublicKeyCredentialAssertion This)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ return Runtime.GetNSObject<NSData> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (This.Handle, Selector.GetHandle ("userID")))!;
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [RequiredMember]
+ public virtual NSData Signature {
[Export ("signature", ArgumentSemantic.Copy)]
- get;
+ get {
+ return _GetSignature (this);
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static NSData _GetSignature (IASAuthorizationPublicKeyCredentialAssertion This)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ return Runtime.GetNSObject<NSData> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (This.Handle, Selector.GetHandle ("signature")))!;
+ #endif
}
}
internal unsafe sealed class ASAuthorizationPublicKeyCredentialAssertionWrapper : BaseWrapper, IASAuthorizationPublicKeyCredentialAssertion {
diff --git a/old/dotnet/ios/generated-sources/AuthenticationServices/ASAuthorizationPublicKeyCredentialAssertionRequest.g.cs b/new/dotnet/ios/generated-sources/AuthenticationServices/ASAuthorizationPublicKeyCredentialAssertionRequest.g.cs
index ec64640..5ab9584 100644
--- a/old/dotnet/ios/generated-sources/AuthenticationServices/ASAuthorizationPublicKeyCredentialAssertionRequest.g.cs
+++ b/new/dotnet/ios/generated-sources/AuthenticationServices/ASAuthorizationPublicKeyCredentialAssertionRequest.g.cs
@@ -63,33 +63,135 @@ namespace AuthenticationServices {
, Foundation.INSCopying
, Foundation.INSSecureCoding
{
- [Preserve (Conditional = true)]
- NSData Challenge {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [RequiredMember]
+ public virtual NSData Challenge {
[Export ("challenge", ArgumentSemantic.Copy)]
- get;
+ get {
+ return _GetChallenge (this);
+ }
[Export ("setChallenge:", ArgumentSemantic.Copy)]
- set;
+ set {
+ _SetChallenge (this, value);
+ }
}
- [Preserve (Conditional = true)]
- string RelyingPartyIdentifier {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static NSData _GetChallenge (IASAuthorizationPublicKeyCredentialAssertionRequest This)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ return Runtime.GetNSObject<NSData> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (This.Handle, Selector.GetHandle ("challenge")))!;
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _SetChallenge (IASAuthorizationPublicKeyCredentialAssertionRequest This, NSData value)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var value__handle__ = value!.GetNonNullHandle (nameof (value));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (This.Handle, Selector.GetHandle ("setChallenge:"), value__handle__);
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [RequiredMember]
+ public virtual string RelyingPartyIdentifier {
[Export ("relyingPartyIdentifier")]
- get;
+ get {
+ return _GetRelyingPartyIdentifier (this);
+ }
[Export ("setRelyingPartyIdentifier:")]
- set;
+ set {
+ _SetRelyingPartyIdentifier (this, value);
+ }
}
- [Preserve (Conditional = true)]
- IASAuthorizationPublicKeyCredentialDescriptor[] AllowedCredentials {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static string _GetRelyingPartyIdentifier (IASAuthorizationPublicKeyCredentialAssertionRequest This)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (This.Handle, Selector.GetHandle ("relyingPartyIdentifier")))!;
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _SetRelyingPartyIdentifier (IASAuthorizationPublicKeyCredentialAssertionRequest This, string value)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (value is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (value));
+ var nsvalue = CFString.CreateNative (value);
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (This.Handle, Selector.GetHandle ("setRelyingPartyIdentifier:"), nsvalue);
+ CFString.ReleaseNative (nsvalue);
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [RequiredMember]
+ public virtual IASAuthorizationPublicKeyCredentialDescriptor[] AllowedCredentials {
[Export ("allowedCredentials", ArgumentSemantic.Copy)]
- get;
+ get {
+ return _GetAllowedCredentials (this);
+ }
[Export ("setAllowedCredentials:", ArgumentSemantic.Copy)]
- set;
+ set {
+ _SetAllowedCredentials (this, value);
+ }
}
- [Preserve (Conditional = true)]
- NSString UserVerificationPreference {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static IASAuthorizationPublicKeyCredentialDescriptor[] _GetAllowedCredentials (IASAuthorizationPublicKeyCredentialAssertionRequest This)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ return CFArray.ArrayFromHandle<IASAuthorizationPublicKeyCredentialDescriptor>(global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (This.Handle, Selector.GetHandle ("allowedCredentials")))!;
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _SetAllowedCredentials (IASAuthorizationPublicKeyCredentialAssertionRequest This, IASAuthorizationPublicKeyCredentialDescriptor[] value)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (value is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (value));
+ var nsa_value = NSArray.FromNSObjects (value);
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (This.Handle, Selector.GetHandle ("setAllowedCredentials:"), nsa_value.Handle);
+ nsa_value.Dispose ();
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [RequiredMember]
+ public virtual NSString UserVerificationPreference {
[Export ("userVerificationPreference")]
- get;
+ get {
+ return _GetUserVerificationPreference (this);
+ }
[Export ("setUserVerificationPreference:")]
- set;
+ set {
+ _SetUserVerificationPreference (this, value);
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static NSString _GetUserVerificationPreference (IASAuthorizationPublicKeyCredentialAssertionRequest This)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ return Runtime.GetNSObject<NSString> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (This.Handle, Selector.GetHandle ("userVerificationPreference")))!;
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _SetUserVerificationPreference (IASAuthorizationPublicKeyCredentialAssertionRequest This, NSString value)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var value__handle__ = value!.GetNonNullHandle (nameof (value));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (This.Handle, Selector.GetHandle ("setUserVerificationPreference:"), value__handle__);
+ #endif
}
}
internal unsafe sealed class ASAuthorizationPublicKeyCredentialAssertionRequestWrapper : BaseWrapper, IASAuthorizationPublicKeyCredentialAssertionRequest {
diff --git a/old/dotnet/ios/generated-sources/AuthenticationServices/ASAuthorizationPublicKeyCredentialDescriptor.g.cs b/new/dotnet/ios/generated-sources/AuthenticationServices/ASAuthorizationPublicKeyCredentialDescriptor.g.cs
index c7cd8ab..a5a3429 100644
--- a/old/dotnet/ios/generated-sources/AuthenticationServices/ASAuthorizationPublicKeyCredentialDescriptor.g.cs
+++ b/new/dotnet/ios/generated-sources/AuthenticationServices/ASAuthorizationPublicKeyCredentialDescriptor.g.cs
@@ -60,12 +60,36 @@ namespace AuthenticationServices {
, Foundation.INSCopying
, Foundation.INSSecureCoding
{
- [Preserve (Conditional = true)]
- NSData CredentialId {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [RequiredMember]
+ public virtual NSData CredentialId {
[Export ("credentialID", ArgumentSemantic.Copy)]
- get;
+ get {
+ return _GetCredentialId (this);
+ }
[Export ("setCredentialID:", ArgumentSemantic.Copy)]
- set;
+ set {
+ _SetCredentialId (this, value);
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static NSData _GetCredentialId (IASAuthorizationPublicKeyCredentialDescriptor This)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ return Runtime.GetNSObject<NSData> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (This.Handle, Selector.GetHandle ("credentialID")))!;
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _SetCredentialId (IASAuthorizationPublicKeyCredentialDescriptor This, NSData value)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var value__handle__ = value!.GetNonNullHandle (nameof (value));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (This.Handle, Selector.GetHandle ("setCredentialID:"), value__handle__);
+ #endif
}
}
internal unsafe sealed class ASAuthorizationPublicKeyCredentialDescriptorWrapper : BaseWrapper, IASAuthorizationPublicKeyCredentialDescriptor {
diff --git a/old/dotnet/ios/generated-sources/AuthenticationServices/ASAuthorizationPublicKeyCredentialRegistration.g.cs b/new/dotnet/ios/generated-sources/AuthenticationServices/ASAuthorizationPublicKeyCredentialRegistration.g.cs
index cf0453b..70d7cec 100644
--- a/old/dotnet/ios/generated-sources/AuthenticationServices/ASAuthorizationPublicKeyCredentialRegistration.g.cs
+++ b/new/dotnet/ios/generated-sources/AuthenticationServices/ASAuthorizationPublicKeyCredentialRegistration.g.cs
@@ -62,10 +62,22 @@ namespace AuthenticationServices {
, Foundation.INSCopying
, Foundation.INSSecureCoding
{
- [Preserve (Conditional = true)]
- NSData? RawAttestationObject {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [RequiredMember]
+ public virtual NSData? RawAttestationObject {
[Export ("rawAttestationObject", ArgumentSemantic.Copy)]
- get;
+ get {
+ return _GetRawAttestationObject (this);
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static NSData _GetRawAttestationObject (IASAuthorizationPublicKeyCredentialRegistration This)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ return Runtime.GetNSObject<NSData> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (This.Handle, Selector.GetHandle ("rawAttestationObject")))!;
+ #endif
}
}
internal unsafe sealed class ASAuthorizationPublicKeyCredentialRegistrationWrapper : BaseWrapper, IASAuthorizationPublicKeyCredentialRegistration {
diff --git a/old/dotnet/ios/generated-sources/AuthenticationServices/ASAuthorizationPublicKeyCredentialRegistrationRequest.g.cs b/new/dotnet/ios/generated-sources/AuthenticationServices/ASAuthorizationPublicKeyCredentialRegistrationRequest.g.cs
index 7be1b5d..d9ba2ef 100644
--- a/old/dotnet/ios/generated-sources/AuthenticationServices/ASAuthorizationPublicKeyCredentialRegistrationRequest.g.cs
+++ b/new/dotnet/ios/generated-sources/AuthenticationServices/ASAuthorizationPublicKeyCredentialRegistrationRequest.g.cs
@@ -66,56 +66,216 @@ namespace AuthenticationServices {
, Foundation.INSCopying
, Foundation.INSSecureCoding
{
- [Preserve (Conditional = true)]
- string RelyingPartyIdentifier {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [RequiredMember]
+ public virtual string RelyingPartyIdentifier {
[Export ("relyingPartyIdentifier")]
- get;
+ get {
+ return _GetRelyingPartyIdentifier (this);
+ }
}
- [Preserve (Conditional = true)]
- NSData UserId {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static string _GetRelyingPartyIdentifier (IASAuthorizationPublicKeyCredentialRegistrationRequest This)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (This.Handle, Selector.GetHandle ("relyingPartyIdentifier")))!;
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [RequiredMember]
+ public virtual NSData UserId {
[Export ("userID", ArgumentSemantic.Copy)]
- get;
+ get {
+ return _GetUserId (this);
+ }
[Export ("setUserID:", ArgumentSemantic.Copy)]
- set;
+ set {
+ _SetUserId (this, value);
+ }
}
- [Preserve (Conditional = true)]
- string Name {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static NSData _GetUserId (IASAuthorizationPublicKeyCredentialRegistrationRequest This)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ return Runtime.GetNSObject<NSData> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (This.Handle, Selector.GetHandle ("userID")))!;
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _SetUserId (IASAuthorizationPublicKeyCredentialRegistrationRequest This, NSData value)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var value__handle__ = value!.GetNonNullHandle (nameof (value));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (This.Handle, Selector.GetHandle ("setUserID:"), value__handle__);
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [RequiredMember]
+ public virtual string Name {
[Export ("name")]
- get;
+ get {
+ return _GetName (this);
+ }
[Export ("setName:")]
- set;
+ set {
+ _SetName (this, value);
+ }
}
- [Preserve (Conditional = true)]
- string? DisplayName {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static string _GetName (IASAuthorizationPublicKeyCredentialRegistrationRequest This)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (This.Handle, Selector.GetHandle ("name")))!;
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _SetName (IASAuthorizationPublicKeyCredentialRegistrationRequest This, string value)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (value is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (value));
+ var nsvalue = CFString.CreateNative (value);
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (This.Handle, Selector.GetHandle ("setName:"), nsvalue);
+ CFString.ReleaseNative (nsvalue);
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [RequiredMember]
+ public virtual string? DisplayName {
[Export ("displayName")]
- get;
+ get {
+ return _GetDisplayName (this);
+ }
[Export ("setDisplayName:")]
- set;
+ set {
+ _SetDisplayName (this, value);
+ }
}
- [Preserve (Conditional = true)]
- NSData Challenge {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static string _GetDisplayName (IASAuthorizationPublicKeyCredentialRegistrationRequest This)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (This.Handle, Selector.GetHandle ("displayName")))!;
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _SetDisplayName (IASAuthorizationPublicKeyCredentialRegistrationRequest This, string? value)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var nsvalue = CFString.CreateNative (value);
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (This.Handle, Selector.GetHandle ("setDisplayName:"), nsvalue);
+ CFString.ReleaseNative (nsvalue);
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [RequiredMember]
+ public virtual NSData Challenge {
[Export ("challenge", ArgumentSemantic.Copy)]
- get;
+ get {
+ return _GetChallenge (this);
+ }
[Export ("setChallenge:", ArgumentSemantic.Copy)]
- set;
+ set {
+ _SetChallenge (this, value);
+ }
}
- [Preserve (Conditional = true)]
- NSString UserVerificationPreference {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static NSData _GetChallenge (IASAuthorizationPublicKeyCredentialRegistrationRequest This)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ return Runtime.GetNSObject<NSData> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (This.Handle, Selector.GetHandle ("challenge")))!;
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _SetChallenge (IASAuthorizationPublicKeyCredentialRegistrationRequest This, NSData value)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var value__handle__ = value!.GetNonNullHandle (nameof (value));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (This.Handle, Selector.GetHandle ("setChallenge:"), value__handle__);
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [RequiredMember]
+ public virtual NSString UserVerificationPreference {
[Export ("userVerificationPreference")]
- get;
+ get {
+ return _GetUserVerificationPreference (this);
+ }
[Export ("setUserVerificationPreference:")]
- set;
+ set {
+ _SetUserVerificationPreference (this, value);
+ }
}
- [Preserve (Conditional = true)]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static NSString _GetUserVerificationPreference (IASAuthorizationPublicKeyCredentialRegistrationRequest This)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ return Runtime.GetNSObject<NSString> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (This.Handle, Selector.GetHandle ("userVerificationPreference")))!;
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _SetUserVerificationPreference (IASAuthorizationPublicKeyCredentialRegistrationRequest This, NSString value)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var value__handle__ = value!.GetNonNullHandle (nameof (value));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (This.Handle, Selector.GetHandle ("setUserVerificationPreference:"), value__handle__);
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[UnsupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("maccatalyst15.0")]
[SupportedOSPlatform ("ios15.0")]
[SupportedOSPlatform ("macos12.0")]
- NSString AttestationPreference {
+ [RequiredMember]
+ public virtual NSString AttestationPreference {
[Export ("attestationPreference")]
- get;
+ get {
+ return _GetAttestationPreference (this);
+ }
[Export ("setAttestationPreference:")]
- set;
+ set {
+ _SetAttestationPreference (this, value);
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static NSString _GetAttestationPreference (IASAuthorizationPublicKeyCredentialRegistrationRequest This)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ return Runtime.GetNSObject<NSString> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (This.Handle, Selector.GetHandle ("attestationPreference")))!;
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _SetAttestationPreference (IASAuthorizationPublicKeyCredentialRegistrationRequest This, NSString value)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var value__handle__ = value!.GetNonNullHandle (nameof (value));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (This.Handle, Selector.GetHandle ("setAttestationPreference:"), value__handle__);
+ #endif
}
}
internal unsafe sealed class ASAuthorizationPublicKeyCredentialRegistrationRequestWrapper : BaseWrapper, IASAuthorizationPublicKeyCredentialRegistrationRequest {
diff --git a/old/dotnet/ios/generated-sources/AuthenticationServices/ASCredentialIdentity.g.cs b/new/dotnet/ios/generated-sources/AuthenticationServices/ASCredentialIdentity.g.cs
index 32cadfa..fcd7b36 100644
--- a/old/dotnet/ios/generated-sources/AuthenticationServices/ASCredentialIdentity.g.cs
+++ b/new/dotnet/ios/generated-sources/AuthenticationServices/ASCredentialIdentity.g.cs
@@ -60,27 +60,86 @@ namespace AuthenticationServices {
[ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "Rank", Selector = "rank", PropertyType = typeof (IntPtr), GetterSelector = "rank", SetterSelector = "setRank:", ArgumentSemantic = ArgumentSemantic.None)]
public partial interface IASCredentialIdentity : INativeObject, IDisposable
{
- [Preserve (Conditional = true)]
- ASCredentialServiceIdentifier ServiceIdentifier {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [RequiredMember]
+ public virtual ASCredentialServiceIdentifier ServiceIdentifier {
[Export ("serviceIdentifier", ArgumentSemantic.Retain)]
- get;
+ get {
+ return _GetServiceIdentifier (this);
+ }
}
- [Preserve (Conditional = true)]
- string User {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static ASCredentialServiceIdentifier _GetServiceIdentifier (IASCredentialIdentity This)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ return Runtime.GetNSObject<ASCredentialServiceIdentifier> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (This.Handle, Selector.GetHandle ("serviceIdentifier")))!;
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [RequiredMember]
+ public virtual string User {
[Export ("user")]
- get;
+ get {
+ return _GetUser (this);
+ }
}
- [Preserve (Conditional = true)]
- string? RecordIdentifier {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static string _GetUser (IASCredentialIdentity This)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (This.Handle, Selector.GetHandle ("user")))!;
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [RequiredMember]
+ public virtual string? RecordIdentifier {
[Export ("recordIdentifier")]
- get;
+ get {
+ return _GetRecordIdentifier (this);
+ }
}
- [Preserve (Conditional = true)]
- nint Rank {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static string _GetRecordIdentifier (IASCredentialIdentity This)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (This.Handle, Selector.GetHandle ("recordIdentifier")))!;
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [RequiredMember]
+ public virtual nint Rank {
[Export ("rank")]
- get;
+ get {
+ return _GetRank (this);
+ }
[Export ("setRank:")]
- set;
+ set {
+ _SetRank (this, value);
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static nint _GetRank (IASCredentialIdentity This)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ return global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (This.Handle, Selector.GetHandle ("rank"));
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _SetRank (IASCredentialIdentity This, nint value)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::ObjCRuntime.Messaging.void_objc_msgSend_IntPtr (This.Handle, Selector.GetHandle ("setRank:"), value);
+ #endif
}
}
internal unsafe sealed class ASCredentialIdentityWrapper : BaseWrapper, IASCredentialIdentity {
diff --git a/old/dotnet/ios/generated-sources/AuthenticationServices/ASCredentialRequest.g.cs b/new/dotnet/ios/generated-sources/AuthenticationServices/ASCredentialRequest.g.cs
index 392f361..537a3a5 100644
--- a/old/dotnet/ios/generated-sources/AuthenticationServices/ASCredentialRequest.g.cs
+++ b/new/dotnet/ios/generated-sources/AuthenticationServices/ASCredentialRequest.g.cs
@@ -61,15 +61,41 @@ namespace AuthenticationServices {
, Foundation.INSCopying
, Foundation.INSSecureCoding
{
- [Preserve (Conditional = true)]
- ASCredentialRequestType Type {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [RequiredMember]
+ public virtual ASCredentialRequestType Type {
[Export ("type")]
- get;
+ get {
+ return _GetType (this);
+ }
}
- [Preserve (Conditional = true)]
- IASCredentialIdentity CredentialIdentity {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static ASCredentialRequestType _GetType (IASCredentialRequest This)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ ASCredentialRequestType ret;
+ ret = (AuthenticationServices.ASCredentialRequestType) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (This.Handle, Selector.GetHandle ("type"));
+ return ret!;
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [RequiredMember]
+ public virtual IASCredentialIdentity CredentialIdentity {
[Export ("credentialIdentity")]
- get;
+ get {
+ return _GetCredentialIdentity (this);
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static IASCredentialIdentity _GetCredentialIdentity (IASCredentialRequest This)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ return Runtime.GetINativeObject<IASCredentialIdentity> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (This.Handle, Selector.GetHandle ("credentialIdentity")), false)!;
+ #endif
}
}
internal unsafe sealed class ASCredentialRequestWrapper : BaseWrapper, IASCredentialRequest {
diff --git a/old/dotnet/ios/generated-sources/AuthenticationServices/ASPublicKeyCredential.g.cs b/new/dotnet/ios/generated-sources/AuthenticationServices/ASPublicKeyCredential.g.cs
index 99bb532..8f65e12 100644
--- a/old/dotnet/ios/generated-sources/AuthenticationServices/ASPublicKeyCredential.g.cs
+++ b/new/dotnet/ios/generated-sources/AuthenticationServices/ASPublicKeyCredential.g.cs
@@ -62,15 +62,39 @@ namespace AuthenticationServices {
, Foundation.INSCopying
, Foundation.INSSecureCoding
{
- [Preserve (Conditional = true)]
- NSData RawClientDataJson {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [RequiredMember]
+ public virtual NSData RawClientDataJson {
[Export ("rawClientDataJSON", ArgumentSemantic.Copy)]
- get;
+ get {
+ return _GetRawClientDataJson (this);
+ }
}
- [Preserve (Conditional = true)]
- NSData CredentialId {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static NSData _GetRawClientDataJson (IASPublicKeyCredential This)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ return Runtime.GetNSObject<NSData> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (This.Handle, Selector.GetHandle ("rawClientDataJSON")))!;
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [RequiredMember]
+ public virtual NSData CredentialId {
[Export ("credentialID", ArgumentSemantic.Copy)]
- get;
+ get {
+ return _GetCredentialId (this);
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static NSData _GetCredentialId (IASPublicKeyCredential This)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ return Runtime.GetNSObject<NSData> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (This.Handle, Selector.GetHandle ("credentialID")))!;
+ #endif
}
}
internal unsafe sealed class ASPublicKeyCredentialWrapper : BaseWrapper, IASPublicKeyCredential {
diff --git a/old/dotnet/ios/generated-sources/AuthenticationServices/ASWebAuthenticationPresentationContextProviding.g.cs b/new/dotnet/ios/generated-sources/AuthenticationServices/ASWebAuthenticationPresentationContextProviding.g.cs
index 75cad7c..ec70496 100644
--- a/old/dotnet/ios/generated-sources/AuthenticationServices/ASWebAuthenticationPresentationContextProviding.g.cs
+++ b/new/dotnet/ios/generated-sources/AuthenticationServices/ASWebAuthenticationPresentationContextProviding.g.cs
@@ -57,10 +57,26 @@ namespace AuthenticationServices {
[ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "GetPresentationAnchor", Selector = "presentationAnchorForWebAuthenticationSession:", ReturnType = typeof (UIWindow), ParameterType = new Type [] { typeof (AuthenticationServices.ASWebAuthenticationSession) }, ParameterByRef = new bool [] { false })]
public partial interface IASWebAuthenticationPresentationContextProviding : INativeObject, IDisposable
{
- [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [RequiredMember]
[Export ("presentationAnchorForWebAuthenticationSession:")]
- [Preserve (Conditional = true)]
- global::UIKit.UIWindow GetPresentationAnchor (ASWebAuthenticationSession session);
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual global::UIKit.UIWindow GetPresentationAnchor (ASWebAuthenticationSession session)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static global::UIKit.UIWindow _GetPresentationAnchor (IASWebAuthenticationPresentationContextProviding This, ASWebAuthenticationSession session)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ #endif
+ }
}
internal unsafe sealed class ASWebAuthenticationPresentationContextProvidingWrapper : BaseWrapper, IASWebAuthenticationPresentationContextProviding {
[Preserve (Conditional = true)]
diff --git a/old/dotnet/ios/generated-sources/AutomaticAssessmentConfiguration/AEAssessmentSessionDelegate.g.cs b/new/dotnet/ios/generated-sources/AutomaticAssessmentConfiguration/AEAssessmentSessionDelegate.g.cs
index 0124534..65ae235 100644
--- a/old/dotnet/ios/generated-sources/AutomaticAssessmentConfiguration/AEAssessmentSessionDelegate.g.cs
+++ b/new/dotnet/ios/generated-sources/AutomaticAssessmentConfiguration/AEAssessmentSessionDelegate.g.cs
@@ -59,6 +59,92 @@ namespace AutomaticAssessmentConfiguration {
[ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "DidEnd", Selector = "assessmentSessionDidEnd:", ParameterType = new Type [] { typeof (AutomaticAssessmentConfiguration.AEAssessmentSession) }, ParameterByRef = new bool [] { false })]
public partial interface IAEAssessmentSessionDelegate : INativeObject, IDisposable
{
+ [OptionalMember]
+ [Export ("assessmentSessionDidBegin:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidBegin (AEAssessmentSession session)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ _DidBegin (this, session);
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidBegin (IAEAssessmentSessionDelegate This, AEAssessmentSession session)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var session__handle__ = session!.GetNonNullHandle (nameof (session));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (This.Handle, Selector.GetHandle ("assessmentSessionDidBegin:"), session__handle__);
+ #endif
+ }
+ [OptionalMember]
+ [Export ("assessmentSession:failedToBeginWithError:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void FailedToBegin (AEAssessmentSession session, NSError error)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ _FailedToBegin (this, session, error);
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _FailedToBegin (IAEAssessmentSessionDelegate This, AEAssessmentSession session, NSError error)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var session__handle__ = session!.GetNonNullHandle (nameof (session));
+ var error__handle__ = error!.GetNonNullHandle (nameof (error));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("assessmentSession:failedToBeginWithError:"), session__handle__, error__handle__);
+ #endif
+ }
+ [OptionalMember]
+ [Export ("assessmentSession:wasInterruptedWithError:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void WasInterrupted (AEAssessmentSession session, NSError error)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ _WasInterrupted (this, session, error);
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _WasInterrupted (IAEAssessmentSessionDelegate This, AEAssessmentSession session, NSError error)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var session__handle__ = session!.GetNonNullHandle (nameof (session));
+ var error__handle__ = error!.GetNonNullHandle (nameof (error));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("assessmentSession:wasInterruptedWithError:"), session__handle__, error__handle__);
+ #endif
+ }
+ [OptionalMember]
+ [Export ("assessmentSessionDidEnd:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidEnd (AEAssessmentSession session)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ _DidEnd (this, session);
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidEnd (IAEAssessmentSessionDelegate This, AEAssessmentSession session)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var session__handle__ = session!.GetNonNullHandle (nameof (session));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (This.Handle, Selector.GetHandle ("assessmentSessionDidEnd:"), session__handle__);
+ #endif
+ }
}
/// <summary>Extension methods to the <see cref="IAEAssessmentSessionDelegate" /> interface to support all the methods from the AEAssessmentSessionDelegate protocol.</summary>
/// <remarks>
diff --git a/old/dotnet/ios/generated-sources/BackgroundAssets/BADownloadManagerDelegate.g.cs b/new/dotnet/ios/generated-sources/BackgroundAssets/BADownloadManagerDelegate.g.cs
index 74b2fff..5a7a73b 100644
--- a/old/dotnet/ios/generated-sources/BackgroundAssets/BADownloadManagerDelegate.g.cs
+++ b/new/dotnet/ios/generated-sources/BackgroundAssets/BADownloadManagerDelegate.g.cs
@@ -62,6 +62,139 @@ namespace BackgroundAssets {
[ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "Finished", Selector = "download:finishedWithFileURL:", ParameterType = new Type [] { typeof (BackgroundAssets.BADownload), typeof (NSUrl) }, ParameterByRef = new bool [] { false, false })]
public partial interface IBADownloadManagerDelegate : INativeObject, IDisposable
{
+ [OptionalMember]
+ [Export ("downloadDidBegin:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidBegin (BADownload download)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ _DidBegin (this, download);
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidBegin (IBADownloadManagerDelegate This, BADownload download)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var download__handle__ = download!.GetNonNullHandle (nameof (download));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (This.Handle, Selector.GetHandle ("downloadDidBegin:"), download__handle__);
+ #endif
+ }
+ [OptionalMember]
+ [Export ("downloadDidPause:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidPause (BADownload download)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ _DidPause (this, download);
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidPause (IBADownloadManagerDelegate This, BADownload download)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var download__handle__ = download!.GetNonNullHandle (nameof (download));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (This.Handle, Selector.GetHandle ("downloadDidPause:"), download__handle__);
+ #endif
+ }
+ [OptionalMember]
+ [Export ("download:didWriteBytes:totalBytesWritten:totalBytesExpectedToWrite:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidWriteBytes (BADownload download, long bytesWritten, long totalBytesWritten, long totalExpectedBytes)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ _DidWriteBytes (this, download, bytesWritten, totalBytesWritten, totalExpectedBytes);
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidWriteBytes (IBADownloadManagerDelegate This, BADownload download, long bytesWritten, long totalBytesWritten, long totalExpectedBytes)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var download__handle__ = download!.GetNonNullHandle (nameof (download));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_Int64_Int64_Int64 (This.Handle, Selector.GetHandle ("download:didWriteBytes:totalBytesWritten:totalBytesExpectedToWrite:"), download__handle__, bytesWritten, totalBytesWritten, totalExpectedBytes);
+ #endif
+ }
+ [OptionalMember]
+ [Export ("download:didReceiveChallenge:completionHandler:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe virtual void DidReceiveChallenge (BADownload download, NSUrlAuthenticationChallenge challenge, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity2V11))]global::System.Action<NSUrlSessionAuthChallengeDisposition, NSUrlCredential> completionHandler)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ _DidReceiveChallenge (this, download, challenge, completionHandler);
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal unsafe static void _DidReceiveChallenge (IBADownloadManagerDelegate This, BADownload download, NSUrlAuthenticationChallenge challenge, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity2V11))]global::System.Action<NSUrlSessionAuthChallengeDisposition, NSUrlCredential> completionHandler)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var download__handle__ = download!.GetNonNullHandle (nameof (download));
+ var challenge__handle__ = challenge!.GetNonNullHandle (nameof (challenge));
+ if (completionHandler is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (completionHandler));
+ using var block_completionHandler = Trampolines.SDActionArity2V11.CreateBlock (completionHandler);
+ BlockLiteral *block_ptr_completionHandler = &block_completionHandler;
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("download:didReceiveChallenge:completionHandler:"), download__handle__, challenge__handle__, (IntPtr) block_ptr_completionHandler);
+ #endif
+ }
+ [OptionalMember]
+ [Export ("download:failedWithError:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void Failed (BADownload download, NSError error)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ _Failed (this, download, error);
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _Failed (IBADownloadManagerDelegate This, BADownload download, NSError error)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var download__handle__ = download!.GetNonNullHandle (nameof (download));
+ var error__handle__ = error!.GetNonNullHandle (nameof (error));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("download:failedWithError:"), download__handle__, error__handle__);
+ #endif
+ }
+ [OptionalMember]
+ [Export ("download:finishedWithFileURL:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void Finished (BADownload download, NSUrl fileUrl)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ _Finished (this, download, fileUrl);
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _Finished (IBADownloadManagerDelegate This, BADownload download, NSUrl fileUrl)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var download__handle__ = download!.GetNonNullHandle (nameof (download));
+ var fileUrl__handle__ = fileUrl!.GetNonNullHandle (nameof (fileUrl));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("download:finishedWithFileURL:"), download__handle__, fileUrl__handle__);
+ #endif
+ }
}
/// <summary>Extension methods to the <see cref="IBADownloadManagerDelegate" /> interface to support all the methods from the BADownloadManagerDelegate protocol.</summary>
/// <remarks>
diff --git a/old/dotnet/ios/generated-sources/BackgroundAssets/BADownloaderExtension.g.cs b/new/dotnet/ios/generated-sources/BackgroundAssets/BADownloaderExtension.g.cs
index 449448a..f4de39e 100644
--- a/old/dotnet/ios/generated-sources/BackgroundAssets/BADownloaderExtension.g.cs
+++ b/new/dotnet/ios/generated-sources/BackgroundAssets/BADownloaderExtension.g.cs
@@ -61,6 +61,132 @@ namespace BackgroundAssets {
[ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "GetDownloads", Selector = "downloadsForRequest:manifestURL:extensionInfo:", ReturnType = typeof (global::Foundation.NSSet<global::BackgroundAssets.BADownload>), ParameterType = new Type [] { typeof (BackgroundAssets.BAContentRequest), typeof (NSUrl), typeof (BackgroundAssets.BAAppExtensionInfo) }, ParameterByRef = new bool [] { false, false, false })]
public partial interface IBADownloaderExtension : INativeObject, IDisposable
{
+ [OptionalMember]
+ [Export ("extensionWillTerminate")]
+ [ObsoletedOSPlatform ("ios16.4", "'WillTerminate' will not be called in all applicable scenarios, do not rely on it.")]
+ [ObsoletedOSPlatform ("macos13.3", "'WillTerminate' will not be invoked in all applicable scenarios, do not rely on it.")]
+ [ObsoletedOSPlatform ("maccatalyst16.4", "'WillTerminate' will not be invoked in all applicable scenarios, do not rely on it.")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void WillTerminate ()
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ _WillTerminate (this);
+ #endif
+ }
+ [ObsoletedOSPlatform ("ios16.4", "'WillTerminate' will not be called in all applicable scenarios, do not rely on it.")]
+ [ObsoletedOSPlatform ("macos13.3", "'WillTerminate' will not be invoked in all applicable scenarios, do not rely on it.")]
+ [ObsoletedOSPlatform ("maccatalyst16.4", "'WillTerminate' will not be invoked in all applicable scenarios, do not rely on it.")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _WillTerminate (IBADownloaderExtension This)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::ObjCRuntime.Messaging.void_objc_msgSend (This.Handle, Selector.GetHandle ("extensionWillTerminate"));
+ #endif
+ }
+ [OptionalMember]
+ [Export ("backgroundDownload:didReceiveChallenge:completionHandler:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe virtual void DidReceiveChallenge (BADownload download, NSUrlAuthenticationChallenge challenge, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity2V11))]global::System.Action<NSUrlSessionAuthChallengeDisposition, NSUrlCredential> completionHandler)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ _DidReceiveChallenge (this, download, challenge, completionHandler);
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal unsafe static void _DidReceiveChallenge (IBADownloaderExtension This, BADownload download, NSUrlAuthenticationChallenge challenge, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity2V11))]global::System.Action<NSUrlSessionAuthChallengeDisposition, NSUrlCredential> completionHandler)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var download__handle__ = download!.GetNonNullHandle (nameof (download));
+ var challenge__handle__ = challenge!.GetNonNullHandle (nameof (challenge));
+ if (completionHandler is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (completionHandler));
+ using var block_completionHandler = Trampolines.SDActionArity2V11.CreateBlock (completionHandler);
+ BlockLiteral *block_ptr_completionHandler = &block_completionHandler;
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("backgroundDownload:didReceiveChallenge:completionHandler:"), download__handle__, challenge__handle__, (IntPtr) block_ptr_completionHandler);
+ #endif
+ }
+ [OptionalMember]
+ [Export ("backgroundDownload:failedWithError:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void Failed (BADownload download, NSError error)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ _Failed (this, download, error);
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _Failed (IBADownloaderExtension This, BADownload download, NSError error)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var download__handle__ = download!.GetNonNullHandle (nameof (download));
+ var error__handle__ = error!.GetNonNullHandle (nameof (error));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("backgroundDownload:failedWithError:"), download__handle__, error__handle__);
+ #endif
+ }
+ [OptionalMember]
+ [Export ("backgroundDownload:finishedWithFileURL:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void Finished (BADownload download, NSUrl fileUrl)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ _Finished (this, download, fileUrl);
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _Finished (IBADownloaderExtension This, BADownload download, NSUrl fileUrl)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var download__handle__ = download!.GetNonNullHandle (nameof (download));
+ var fileUrl__handle__ = fileUrl!.GetNonNullHandle (nameof (fileUrl));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("backgroundDownload:finishedWithFileURL:"), download__handle__, fileUrl__handle__);
+ #endif
+ }
+ [OptionalMember]
+ [Export ("downloadsForRequest:manifestURL:extensionInfo:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual NSSet<BADownload> GetDownloads (BAContentRequest contentRequest, NSUrl manifestUrl, BAAppExtensionInfo extensionInfo)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ return _GetDownloads (this, contentRequest, manifestUrl, extensionInfo);
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static NSSet<BADownload> _GetDownloads (IBADownloaderExtension This, BAContentRequest contentRequest, NSUrl manifestUrl, BAAppExtensionInfo extensionInfo)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var manifestUrl__handle__ = manifestUrl!.GetNonNullHandle (nameof (manifestUrl));
+ var extensionInfo__handle__ = extensionInfo!.GetNonNullHandle (nameof (extensionInfo));
+ return Runtime.GetNSObject<NSSet<BADownload>> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_IntPtr_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("downloadsForRequest:manifestURL:extensionInfo:"), (IntPtr) (long) contentRequest, manifestUrl__handle__, extensionInfo__handle__))!;
+ #endif
+ }
}
/// <summary>Extension methods to the <see cref="IBADownloaderExtension" /> interface to support all the methods from the BADownloaderExtension protocol.</summary>
/// <remarks>
diff --git a/old/dotnet/ios/generated-sources/CallKit/CXCallDirectoryExtensionContextDelegate.g.cs b/new/dotnet/ios/generated-sources/CallKit/CXCallDirectoryExtensionContextDelegate.g.cs
index eb96fdd..0e4b232 100644
--- a/old/dotnet/ios/generated-sources/CallKit/CXCallDirectoryExtensionContextDelegate.g.cs
+++ b/new/dotnet/ios/generated-sources/CallKit/CXCallDirectoryExtensionContextDelegate.g.cs
@@ -56,10 +56,18 @@ namespace CallKit {
[ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "RequestFailed", Selector = "requestFailedForExtensionContext:withError:", ParameterType = new Type [] { typeof (CallKit.CXCallDirectoryExtensionContext), typeof (NSError) }, ParameterByRef = new bool [] { false, false })]
public partial interface ICXCallDirectoryExtensionContextDelegate : INativeObject, IDisposable
{
- [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [RequiredMember]
[Export ("requestFailedForExtensionContext:withError:")]
- [Preserve (Conditional = true)]
- void RequestFailed (CXCallDirectoryExtensionContext extensionContext, NSError error);
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void RequestFailed (CXCallDirectoryExtensionContext extensionContext, NSError error)
+ {
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _RequestFailed (ICXCallDirectoryExtensionContextDelegate This, CXCallDirectoryExtensionContext extensionContext, NSError error)
+ {
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ }
}
internal unsafe sealed class CXCallDirectoryExtensionContextDelegateWrapper : BaseWrapper, ICXCallDirectoryExtensionContextDelegate {
[Preserve (Conditional = true)]
diff --git a/old/dotnet/ios/generated-sources/CallKit/CXCallObserverDelegate.g.cs b/new/dotnet/ios/generated-sources/CallKit/CXCallObserverDelegate.g.cs
index 6ae4268..aa7c3c4 100644
--- a/old/dotnet/ios/generated-sources/CallKit/CXCallObserverDelegate.g.cs
+++ b/new/dotnet/ios/generated-sources/CallKit/CXCallObserverDelegate.g.cs
@@ -56,10 +56,18 @@ namespace CallKit {
[ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "CallChanged", Selector = "callObserver:callChanged:", ParameterType = new Type [] { typeof (CallKit.CXCallObserver), typeof (CallKit.CXCall) }, ParameterByRef = new bool [] { false, false })]
public partial interface ICXCallObserverDelegate : INativeObject, IDisposable
{
- [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [RequiredMember]
[Export ("callObserver:callChanged:")]
- [Preserve (Conditional = true)]
- void CallChanged (CXCallObserver callObserver, CXCall call);
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void CallChanged (CXCallObserver callObserver, CXCall call)
+ {
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _CallChanged (ICXCallObserverDelegate This, CXCallObserver callObserver, CXCall call)
+ {
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ }
}
internal unsafe sealed class CXCallObserverDelegateWrapper : BaseWrapper, ICXCallObserverDelegate {
[Preserve (Conditional = true)]
diff --git a/old/dotnet/ios/generated-sources/CallKit/CXProviderDelegate.g.cs b/new/dotnet/ios/generated-sources/CallKit/CXProviderDelegate.g.cs
index aa2055c..602318f 100644
--- a/old/dotnet/ios/generated-sources/CallKit/CXProviderDelegate.g.cs
+++ b/new/dotnet/ios/generated-sources/CallKit/CXProviderDelegate.g.cs
@@ -68,10 +68,199 @@ namespace CallKit {
[ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "DidDeactivateAudioSession", Selector = "provider:didDeactivateAudioSession:", ParameterType = new Type [] { typeof (CallKit.CXProvider), typeof (AVAudioSession) }, ParameterByRef = new bool [] { false, false })]
public partial interface ICXProviderDelegate : INativeObject, IDisposable
{
- [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [RequiredMember]
[Export ("providerDidReset:")]
- [Preserve (Conditional = true)]
- void DidReset (CXProvider provider);
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidReset (CXProvider provider)
+ {
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidReset (ICXProviderDelegate This, CXProvider provider)
+ {
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ }
+ [OptionalMember]
+ [Export ("providerDidBegin:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidBegin (CXProvider provider)
+ {
+ _DidBegin (this, provider);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidBegin (ICXProviderDelegate This, CXProvider provider)
+ {
+ var provider__handle__ = provider!.GetNonNullHandle (nameof (provider));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (This.Handle, Selector.GetHandle ("providerDidBegin:"), provider__handle__);
+ }
+ [OptionalMember]
+ [Export ("provider:executeTransaction:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual bool ExecuteTransaction (CXProvider provider, CXTransaction transaction)
+ {
+ return _ExecuteTransaction (this, provider, transaction);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static bool _ExecuteTransaction (ICXProviderDelegate This, CXProvider provider, CXTransaction transaction)
+ {
+ var provider__handle__ = provider!.GetNonNullHandle (nameof (provider));
+ var transaction__handle__ = transaction!.GetNonNullHandle (nameof (transaction));
+ byte ret;
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("provider:executeTransaction:"), provider__handle__, transaction__handle__);
+ return ret != 0;
+ }
+ [OptionalMember]
+ [Export ("provider:performStartCallAction:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void PerformStartCallAction (CXProvider provider, CXStartCallAction action)
+ {
+ _PerformStartCallAction (this, provider, action);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _PerformStartCallAction (ICXProviderDelegate This, CXProvider provider, CXStartCallAction action)
+ {
+ var provider__handle__ = provider!.GetNonNullHandle (nameof (provider));
+ var action__handle__ = action!.GetNonNullHandle (nameof (action));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("provider:performStartCallAction:"), provider__handle__, action__handle__);
+ }
+ [OptionalMember]
+ [Export ("provider:performAnswerCallAction:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void PerformAnswerCallAction (CXProvider provider, CXAnswerCallAction action)
+ {
+ _PerformAnswerCallAction (this, provider, action);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _PerformAnswerCallAction (ICXProviderDelegate This, CXProvider provider, CXAnswerCallAction action)
+ {
+ var provider__handle__ = provider!.GetNonNullHandle (nameof (provider));
+ var action__handle__ = action!.GetNonNullHandle (nameof (action));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("provider:performAnswerCallAction:"), provider__handle__, action__handle__);
+ }
+ [OptionalMember]
+ [Export ("provider:performEndCallAction:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void PerformEndCallAction (CXProvider provider, CXEndCallAction action)
+ {
+ _PerformEndCallAction (this, provider, action);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _PerformEndCallAction (ICXProviderDelegate This, CXProvider provider, CXEndCallAction action)
+ {
+ var provider__handle__ = provider!.GetNonNullHandle (nameof (provider));
+ var action__handle__ = action!.GetNonNullHandle (nameof (action));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("provider:performEndCallAction:"), provider__handle__, action__handle__);
+ }
+ [OptionalMember]
+ [Export ("provider:performSetHeldCallAction:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void PerformSetHeldCallAction (CXProvider provider, CXSetHeldCallAction action)
+ {
+ _PerformSetHeldCallAction (this, provider, action);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _PerformSetHeldCallAction (ICXProviderDelegate This, CXProvider provider, CXSetHeldCallAction action)
+ {
+ var provider__handle__ = provider!.GetNonNullHandle (nameof (provider));
+ var action__handle__ = action!.GetNonNullHandle (nameof (action));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("provider:performSetHeldCallAction:"), provider__handle__, action__handle__);
+ }
+ [OptionalMember]
+ [Export ("provider:performSetMutedCallAction:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void PerformSetMutedCallAction (CXProvider provider, CXSetMutedCallAction action)
+ {
+ _PerformSetMutedCallAction (this, provider, action);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _PerformSetMutedCallAction (ICXProviderDelegate This, CXProvider provider, CXSetMutedCallAction action)
+ {
+ var provider__handle__ = provider!.GetNonNullHandle (nameof (provider));
+ var action__handle__ = action!.GetNonNullHandle (nameof (action));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("provider:performSetMutedCallAction:"), provider__handle__, action__handle__);
+ }
+ [OptionalMember]
+ [Export ("provider:performSetGroupCallAction:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void PerformSetGroupCallAction (CXProvider provider, CXSetGroupCallAction action)
+ {
+ _PerformSetGroupCallAction (this, provider, action);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _PerformSetGroupCallAction (ICXProviderDelegate This, CXProvider provider, CXSetGroupCallAction action)
+ {
+ var provider__handle__ = provider!.GetNonNullHandle (nameof (provider));
+ var action__handle__ = action!.GetNonNullHandle (nameof (action));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("provider:performSetGroupCallAction:"), provider__handle__, action__handle__);
+ }
+ [OptionalMember]
+ [Export ("provider:performPlayDTMFCallAction:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void PerformPlayDtmfCallAction (CXProvider provider, CXPlayDtmfCallAction action)
+ {
+ _PerformPlayDtmfCallAction (this, provider, action);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _PerformPlayDtmfCallAction (ICXProviderDelegate This, CXProvider provider, CXPlayDtmfCallAction action)
+ {
+ var provider__handle__ = provider!.GetNonNullHandle (nameof (provider));
+ var action__handle__ = action!.GetNonNullHandle (nameof (action));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("provider:performPlayDTMFCallAction:"), provider__handle__, action__handle__);
+ }
+ [OptionalMember]
+ [Export ("provider:timedOutPerformingAction:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void TimedOutPerformingAction (CXProvider provider, CXAction action)
+ {
+ _TimedOutPerformingAction (this, provider, action);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _TimedOutPerformingAction (ICXProviderDelegate This, CXProvider provider, CXAction action)
+ {
+ var provider__handle__ = provider!.GetNonNullHandle (nameof (provider));
+ var action__handle__ = action!.GetNonNullHandle (nameof (action));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("provider:timedOutPerformingAction:"), provider__handle__, action__handle__);
+ }
+ [OptionalMember]
+ [Export ("provider:didActivateAudioSession:")]
+ [UnsupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("ios")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidActivateAudioSession (CXProvider provider, global::AVFoundation.AVAudioSession audioSession)
+ {
+ _DidActivateAudioSession (this, provider, audioSession);
+ }
+ [UnsupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("ios")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidActivateAudioSession (ICXProviderDelegate This, CXProvider provider, global::AVFoundation.AVAudioSession audioSession)
+ {
+ var provider__handle__ = provider!.GetNonNullHandle (nameof (provider));
+ var audioSession__handle__ = audioSession!.GetNonNullHandle (nameof (audioSession));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("provider:didActivateAudioSession:"), provider__handle__, audioSession__handle__);
+ }
+ [OptionalMember]
+ [Export ("provider:didDeactivateAudioSession:")]
+ [UnsupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("ios")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidDeactivateAudioSession (CXProvider provider, global::AVFoundation.AVAudioSession audioSession)
+ {
+ _DidDeactivateAudioSession (this, provider, audioSession);
+ }
+ [UnsupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("ios")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidDeactivateAudioSession (ICXProviderDelegate This, CXProvider provider, global::AVFoundation.AVAudioSession audioSession)
+ {
+ var provider__handle__ = provider!.GetNonNullHandle (nameof (provider));
+ var audioSession__handle__ = audioSession!.GetNonNullHandle (nameof (audioSession));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("provider:didDeactivateAudioSession:"), provider__handle__, audioSession__handle__);
+ }
}
/// <summary>Extension methods to the <see cref="ICXProviderDelegate" /> interface to support all the methods from the CXProviderDelegate protocol.</summary>
/// <remarks>
diff --git a/old/dotnet/ios/generated-sources/CarPlay/CPApplicationDelegate.g.cs b/new/dotnet/ios/generated-sources/CarPlay/CPApplicationDelegate.g.cs
index 5084723..cd0c1d7 100644
--- a/old/dotnet/ios/generated-sources/CarPlay/CPApplicationDelegate.g.cs
+++ b/new/dotnet/ios/generated-sources/CarPlay/CPApplicationDelegate.g.cs
@@ -61,14 +61,90 @@ namespace CarPlay {
public partial interface ICPApplicationDelegate : INativeObject, IDisposable,
UIKit.IUIApplicationDelegate
{
- [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [RequiredMember]
[Export ("application:didConnectCarInterfaceController:toWindow:")]
- [Preserve (Conditional = true)]
- void DidConnectCarInterfaceController (global::UIKit.UIApplication application, CPInterfaceController interfaceController, CPWindow window);
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidConnectCarInterfaceController (global::UIKit.UIApplication application, CPInterfaceController interfaceController, CPWindow window)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidConnectCarInterfaceController (ICPApplicationDelegate This, global::UIKit.UIApplication application, CPInterfaceController interfaceController, CPWindow window)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ #endif
+ }
+ [RequiredMember]
[Export ("application:didDisconnectCarInterfaceController:fromWindow:")]
- [Preserve (Conditional = true)]
- void DidDisconnectCarInterfaceController (global::UIKit.UIApplication application, CPInterfaceController interfaceController, CPWindow window);
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidDisconnectCarInterfaceController (global::UIKit.UIApplication application, CPInterfaceController interfaceController, CPWindow window)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidDisconnectCarInterfaceController (ICPApplicationDelegate This, global::UIKit.UIApplication application, CPInterfaceController interfaceController, CPWindow window)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ #endif
+ }
+ [OptionalMember]
+ [Export ("application:didSelectNavigationAlert:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidSelectNavigationAlert (global::UIKit.UIApplication application, CPNavigationAlert navigationAlert)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ _DidSelectNavigationAlert (this, application, navigationAlert);
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidSelectNavigationAlert (ICPApplicationDelegate This, global::UIKit.UIApplication application, CPNavigationAlert navigationAlert)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var application__handle__ = application!.GetNonNullHandle (nameof (application));
+ var navigationAlert__handle__ = navigationAlert!.GetNonNullHandle (nameof (navigationAlert));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("application:didSelectNavigationAlert:"), application__handle__, navigationAlert__handle__);
+ #endif
+ }
+ [OptionalMember]
+ [Export ("application:didSelectManeuver:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidSelectManeuver (global::UIKit.UIApplication application, CPManeuver maneuver)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ _DidSelectManeuver (this, application, maneuver);
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidSelectManeuver (ICPApplicationDelegate This, global::UIKit.UIApplication application, CPManeuver maneuver)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var application__handle__ = application!.GetNonNullHandle (nameof (application));
+ var maneuver__handle__ = maneuver!.GetNonNullHandle (nameof (maneuver));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("application:didSelectManeuver:"), application__handle__, maneuver__handle__);
+ #endif
+ }
}
/// <summary>Extension methods to the <see cref="ICPApplicationDelegate" /> interface to support all the methods from the CPApplicationDelegate protocol.</summary>
/// <remarks>
@@ -427,7 +503,7 @@ namespace CarPlay {
[UnsupportedOSPlatform ("macos")]
[UnsupportedOSPlatform ("maccatalyst")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual UISceneConfiguration GetConfiguration (global::UIKit.UIApplication application, global::UIKit.UISceneSession connectingSceneSession, global::UIKit.UISceneConnectionOptions options)
+ public virtual global::UIKit.UISceneConfiguration GetConfiguration (global::UIKit.UIApplication application, global::UIKit.UISceneSession connectingSceneSession, global::UIKit.UISceneConnectionOptions options)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
@@ -457,7 +533,7 @@ namespace CarPlay {
[SupportedOSPlatform ("ios12.0")]
[UnsupportedOSPlatform ("maccatalyst")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual UIInterfaceOrientationMask GetSupportedInterfaceOrientations (global::UIKit.UIApplication application, [Transient] global::UIKit.UIWindow forWindow)
+ public virtual global::UIKit.UIInterfaceOrientationMask GetSupportedInterfaceOrientations (global::UIKit.UIApplication application, [Transient] global::UIKit.UIWindow forWindow)
{
throw new You_Should_Not_Call_base_In_This_Method ();
}
@@ -468,7 +544,7 @@ namespace CarPlay {
[SupportedOSPlatform ("ios12.0")]
[UnsupportedOSPlatform ("maccatalyst")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual UIViewController GetViewController (global::UIKit.UIApplication application, string[] restorationIdentifierComponents, NSCoder coder)
+ public virtual global::UIKit.UIViewController GetViewController (global::UIKit.UIApplication application, string[] restorationIdentifierComponents, NSCoder coder)
{
throw new You_Should_Not_Call_base_In_This_Method ();
}
@@ -896,7 +972,7 @@ namespace CarPlay {
[UnsupportedOSPlatform ("macos")]
[SupportedOSPlatform ("ios12.0")]
[UnsupportedOSPlatform ("maccatalyst")]
- public virtual UIWindow? Window {
+ public virtual global::UIKit.UIWindow? Window {
[Export ("window", ArgumentSemantic.Retain)]
[ObsoletedOSPlatform ("ios13.0", "Use 'CPTemplateApplicationSceneDelegate' instead.")]
[UnsupportedOSPlatform ("tvos")]
diff --git a/old/dotnet/ios/generated-sources/CarPlay/CPBarButtonProviding.g.cs b/new/dotnet/ios/generated-sources/CarPlay/CPBarButtonProviding.g.cs
index a37462c..038e8fe 100644
--- a/old/dotnet/ios/generated-sources/CarPlay/CPBarButtonProviding.g.cs
+++ b/new/dotnet/ios/generated-sources/CarPlay/CPBarButtonProviding.g.cs
@@ -58,29 +58,107 @@ namespace CarPlay {
[ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "BackButton", Selector = "backButton", PropertyType = typeof (CarPlay.CPBarButton), GetterSelector = "backButton", SetterSelector = "setBackButton:", ArgumentSemantic = ArgumentSemantic.Retain)]
public partial interface ICPBarButtonProviding : INativeObject, IDisposable
{
- [Preserve (Conditional = true)]
- CPBarButton[] LeadingNavigationBarButtons {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [RequiredMember]
+ public virtual CPBarButton[] LeadingNavigationBarButtons {
[Export ("leadingNavigationBarButtons", ArgumentSemantic.Retain)]
- get;
+ get {
+ return _GetLeadingNavigationBarButtons (this);
+ }
[Export ("setLeadingNavigationBarButtons:", ArgumentSemantic.Retain)]
- set;
+ set {
+ _SetLeadingNavigationBarButtons (this, value);
+ }
}
- [Preserve (Conditional = true)]
- CPBarButton[] TrailingNavigationBarButtons {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static CPBarButton[] _GetLeadingNavigationBarButtons (ICPBarButtonProviding This)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ return CFArray.ArrayFromHandle<CPBarButton>(global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (This.Handle, Selector.GetHandle ("leadingNavigationBarButtons")))!;
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _SetLeadingNavigationBarButtons (ICPBarButtonProviding This, CPBarButton[] value)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (value is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (value));
+ var nsa_value = NSArray.FromNSObjects (value);
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (This.Handle, Selector.GetHandle ("setLeadingNavigationBarButtons:"), nsa_value.Handle);
+ nsa_value.Dispose ();
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [RequiredMember]
+ public virtual CPBarButton[] TrailingNavigationBarButtons {
[Export ("trailingNavigationBarButtons", ArgumentSemantic.Retain)]
- get;
+ get {
+ return _GetTrailingNavigationBarButtons (this);
+ }
[Export ("setTrailingNavigationBarButtons:", ArgumentSemantic.Retain)]
- set;
+ set {
+ _SetTrailingNavigationBarButtons (this, value);
+ }
}
- [Preserve (Conditional = true)]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static CPBarButton[] _GetTrailingNavigationBarButtons (ICPBarButtonProviding This)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ return CFArray.ArrayFromHandle<CPBarButton>(global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (This.Handle, Selector.GetHandle ("trailingNavigationBarButtons")))!;
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _SetTrailingNavigationBarButtons (ICPBarButtonProviding This, CPBarButton[] value)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (value is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (value));
+ var nsa_value = NSArray.FromNSObjects (value);
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (This.Handle, Selector.GetHandle ("setTrailingNavigationBarButtons:"), nsa_value.Handle);
+ nsa_value.Dispose ();
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios12.2")]
[UnsupportedOSPlatform ("tvos")]
[UnsupportedOSPlatform ("macos")]
- CPBarButton? BackButton {
+ [RequiredMember]
+ public virtual CPBarButton? BackButton {
[Export ("backButton", ArgumentSemantic.Retain)]
- get;
+ get {
+ return _GetBackButton (this);
+ }
[Export ("setBackButton:", ArgumentSemantic.Retain)]
- set;
+ set {
+ _SetBackButton (this, value);
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static CPBarButton _GetBackButton (ICPBarButtonProviding This)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ return Runtime.GetNSObject<CPBarButton> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (This.Handle, Selector.GetHandle ("backButton")))!;
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _SetBackButton (ICPBarButtonProviding This, CPBarButton? value)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var value__handle__ = value.GetHandle ();
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (This.Handle, Selector.GetHandle ("setBackButton:"), value__handle__);
+ #endif
}
}
internal unsafe sealed class CPBarButtonProvidingWrapper : BaseWrapper, ICPBarButtonProviding {
diff --git a/old/dotnet/ios/generated-sources/CarPlay/CPInstrumentClusterControllerDelegate.g.cs b/new/dotnet/ios/generated-sources/CarPlay/CPInstrumentClusterControllerDelegate.g.cs
index 4c0bca0..5cebdd2 100644
--- a/old/dotnet/ios/generated-sources/CarPlay/CPInstrumentClusterControllerDelegate.g.cs
+++ b/new/dotnet/ios/generated-sources/CarPlay/CPInstrumentClusterControllerDelegate.g.cs
@@ -62,14 +62,130 @@ namespace CarPlay {
[ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "DidChangeSpeedLimitSetting", Selector = "instrumentClusterController:didChangeSpeedLimitSetting:", ParameterType = new Type [] { typeof (CarPlay.CPInstrumentClusterController), typeof (CarPlay.CPInstrumentClusterSetting) }, ParameterByRef = new bool [] { false, false })]
public partial interface ICPInstrumentClusterControllerDelegate : INativeObject, IDisposable
{
- [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [RequiredMember]
[Export ("instrumentClusterControllerDidConnectWindow:")]
- [Preserve (Conditional = true)]
- void DidConnectWindow (global::UIKit.UIWindow instrumentClusterWindow);
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidConnectWindow (global::UIKit.UIWindow instrumentClusterWindow)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidConnectWindow (ICPInstrumentClusterControllerDelegate This, global::UIKit.UIWindow instrumentClusterWindow)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ #endif
+ }
+ [RequiredMember]
[Export ("instrumentClusterControllerDidDisconnectWindow:")]
- [Preserve (Conditional = true)]
- void DidDisconnectWindow (global::UIKit.UIWindow instrumentClusterWindow);
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidDisconnectWindow (global::UIKit.UIWindow instrumentClusterWindow)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidDisconnectWindow (ICPInstrumentClusterControllerDelegate This, global::UIKit.UIWindow instrumentClusterWindow)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ #endif
+ }
+ [OptionalMember]
+ [Export ("instrumentClusterControllerDidZoomIn:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidZoomIn (CPInstrumentClusterController instrumentClusterController)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ _DidZoomIn (this, instrumentClusterController);
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidZoomIn (ICPInstrumentClusterControllerDelegate This, CPInstrumentClusterController instrumentClusterController)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var instrumentClusterController__handle__ = instrumentClusterController!.GetNonNullHandle (nameof (instrumentClusterController));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (This.Handle, Selector.GetHandle ("instrumentClusterControllerDidZoomIn:"), instrumentClusterController__handle__);
+ #endif
+ }
+ [OptionalMember]
+ [Export ("instrumentClusterControllerDidZoomOut:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidZoomOut (CPInstrumentClusterController instrumentClusterController)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ _DidZoomOut (this, instrumentClusterController);
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidZoomOut (ICPInstrumentClusterControllerDelegate This, CPInstrumentClusterController instrumentClusterController)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var instrumentClusterController__handle__ = instrumentClusterController!.GetNonNullHandle (nameof (instrumentClusterController));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (This.Handle, Selector.GetHandle ("instrumentClusterControllerDidZoomOut:"), instrumentClusterController__handle__);
+ #endif
+ }
+ [OptionalMember]
+ [Export ("instrumentClusterController:didChangeCompassSetting:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidChangeCompassSetting (CPInstrumentClusterController instrumentClusterController, CPInstrumentClusterSetting compassSetting)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ _DidChangeCompassSetting (this, instrumentClusterController, compassSetting);
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidChangeCompassSetting (ICPInstrumentClusterControllerDelegate This, CPInstrumentClusterController instrumentClusterController, CPInstrumentClusterSetting compassSetting)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var instrumentClusterController__handle__ = instrumentClusterController!.GetNonNullHandle (nameof (instrumentClusterController));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_UIntPtr (This.Handle, Selector.GetHandle ("instrumentClusterController:didChangeCompassSetting:"), instrumentClusterController__handle__, (UIntPtr) (ulong) compassSetting);
+ #endif
+ }
+ [OptionalMember]
+ [Export ("instrumentClusterController:didChangeSpeedLimitSetting:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidChangeSpeedLimitSetting (CPInstrumentClusterController instrumentClusterController, CPInstrumentClusterSetting speedLimitSetting)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ _DidChangeSpeedLimitSetting (this, instrumentClusterController, speedLimitSetting);
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidChangeSpeedLimitSetting (ICPInstrumentClusterControllerDelegate This, CPInstrumentClusterController instrumentClusterController, CPInstrumentClusterSetting speedLimitSetting)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var instrumentClusterController__handle__ = instrumentClusterController!.GetNonNullHandle (nameof (instrumentClusterController));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_UIntPtr (This.Handle, Selector.GetHandle ("instrumentClusterController:didChangeSpeedLimitSetting:"), instrumentClusterController__handle__, (UIntPtr) (ulong) speedLimitSetting);
+ #endif
+ }
}
/// <summary>Extension methods to the <see cref="ICPInstrumentClusterControllerDelegate" /> interface to support all the methods from the CPInstrumentClusterControllerDelegate protocol.</summary>
/// <remarks>
diff --git a/old/dotnet/ios/generated-sources/CarPlay/CPInterfaceControllerDelegate.g.cs b/new/dotnet/ios/generated-sources/CarPlay/CPInterfaceControllerDelegate.g.cs
index 1fd1605..6ef5817 100644
--- a/old/dotnet/ios/generated-sources/CarPlay/CPInterfaceControllerDelegate.g.cs
+++ b/new/dotnet/ios/generated-sources/CarPlay/CPInterfaceControllerDelegate.g.cs
@@ -59,6 +59,90 @@ namespace CarPlay {
[ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "TemplateDidDisappear", Selector = "templateDidDisappear:animated:", ParameterType = new Type [] { typeof (CarPlay.CPTemplate), typeof (bool) }, ParameterByRef = new bool [] { false, false })]
public partial interface ICPInterfaceControllerDelegate : INativeObject, IDisposable
{
+ [OptionalMember]
+ [Export ("templateWillAppear:animated:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void TemplateWillAppear (CPTemplate aTemplate, bool animated)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ _TemplateWillAppear (this, aTemplate, animated);
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _TemplateWillAppear (ICPInterfaceControllerDelegate This, CPTemplate aTemplate, bool animated)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var aTemplate__handle__ = aTemplate!.GetNonNullHandle (nameof (aTemplate));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_bool (This.Handle, Selector.GetHandle ("templateWillAppear:animated:"), aTemplate__handle__, animated ? (byte) 1 : (byte) 0);
+ #endif
+ }
+ [OptionalMember]
+ [Export ("templateDidAppear:animated:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void TemplateDidAppear (CPTemplate aTemplate, bool animated)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ _TemplateDidAppear (this, aTemplate, animated);
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _TemplateDidAppear (ICPInterfaceControllerDelegate This, CPTemplate aTemplate, bool animated)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var aTemplate__handle__ = aTemplate!.GetNonNullHandle (nameof (aTemplate));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_bool (This.Handle, Selector.GetHandle ("templateDidAppear:animated:"), aTemplate__handle__, animated ? (byte) 1 : (byte) 0);
+ #endif
+ }
+ [OptionalMember]
+ [Export ("templateWillDisappear:animated:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void TemplateWillDisappear (CPTemplate aTemplate, bool animated)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ _TemplateWillDisappear (this, aTemplate, animated);
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _TemplateWillDisappear (ICPInterfaceControllerDelegate This, CPTemplate aTemplate, bool animated)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var aTemplate__handle__ = aTemplate!.GetNonNullHandle (nameof (aTemplate));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_bool (This.Handle, Selector.GetHandle ("templateWillDisappear:animated:"), aTemplate__handle__, animated ? (byte) 1 : (byte) 0);
+ #endif
+ }
+ [OptionalMember]
+ [Export ("templateDidDisappear:animated:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void TemplateDidDisappear (CPTemplate aTemplate, bool animated)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ _TemplateDidDisappear (this, aTemplate, animated);
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _TemplateDidDisappear (ICPInterfaceControllerDelegate This, CPTemplate aTemplate, bool animated)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var aTemplate__handle__ = aTemplate!.GetNonNullHandle (nameof (aTemplate));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_bool (This.Handle, Selector.GetHandle ("templateDidDisappear:animated:"), aTemplate__handle__, animated ? (byte) 1 : (byte) 0);
+ #endif
+ }
}
/// <summary>Extension methods to the <see cref="ICPInterfaceControllerDelegate" /> interface to support all the methods from the CPInterfaceControllerDelegate protocol.</summary>
/// <remarks>
diff --git a/old/dotnet/ios/generated-sources/CarPlay/CPListTemplateDelegate.g.cs b/new/dotnet/ios/generated-sources/CarPlay/CPListTemplateDelegate.g.cs
index da66c03..b235486 100644
--- a/old/dotnet/ios/generated-sources/CarPlay/CPListTemplateDelegate.g.cs
+++ b/new/dotnet/ios/generated-sources/CarPlay/CPListTemplateDelegate.g.cs
@@ -57,10 +57,26 @@ namespace CarPlay {
[ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "DidSelectListItem", Selector = "listTemplate:didSelectListItem:completionHandler:", ParameterType = new Type [] { typeof (CarPlay.CPListTemplate), typeof (CarPlay.CPListItem), typeof (Action) }, ParameterByRef = new bool [] { false, false, false }, ParameterBlockProxy = new Type? [] { null, null, typeof (ObjCRuntime.Trampolines.NIDAction) })]
public partial interface ICPListTemplateDelegate : INativeObject, IDisposable
{
- [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [RequiredMember]
[Export ("listTemplate:didSelectListItem:completionHandler:")]
- [Preserve (Conditional = true)]
- unsafe void DidSelectListItem (CPListTemplate listTemplate, CPListItem item, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDAction))]global::System.Action completionHandler);
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe virtual void DidSelectListItem (CPListTemplate listTemplate, CPListItem item, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDAction))]global::System.Action completionHandler)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal unsafe static void _DidSelectListItem (ICPListTemplateDelegate This, CPListTemplate listTemplate, CPListItem item, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDAction))]global::System.Action completionHandler)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ #endif
+ }
}
internal unsafe sealed class CPListTemplateDelegateWrapper : BaseWrapper, ICPListTemplateDelegate {
[Preserve (Conditional = true)]
diff --git a/old/dotnet/ios/generated-sources/CarPlay/CPListTemplateItem.g.cs b/new/dotnet/ios/generated-sources/CarPlay/CPListTemplateItem.g.cs
index 794ea29..72ae8b8 100644
--- a/old/dotnet/ios/generated-sources/CarPlay/CPListTemplateItem.g.cs
+++ b/new/dotnet/ios/generated-sources/CarPlay/CPListTemplateItem.g.cs
@@ -58,28 +58,89 @@ namespace CarPlay {
[ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "Enabled", Selector = "enabled", PropertyType = typeof (bool), GetterSelector = "isEnabled", SetterSelector = "setEnabled:", ArgumentSemantic = ArgumentSemantic.None)]
public partial interface ICPListTemplateItem : INativeObject, IDisposable
{
- [Preserve (Conditional = true)]
- string? Text {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [RequiredMember]
+ public virtual string? Text {
[Export ("text")]
- get;
+ get {
+ return _GetText (this);
+ }
}
- [Preserve (Conditional = true)]
- NSObject? UserInfo {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static string _GetText (ICPListTemplateItem This)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (This.Handle, Selector.GetHandle ("text")))!;
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [RequiredMember]
+ public virtual NSObject? UserInfo {
[Export ("userInfo", ArgumentSemantic.Retain)]
- get;
+ get {
+ return _GetUserInfo (this);
+ }
[Export ("setUserInfo:", ArgumentSemantic.Retain)]
- set;
+ set {
+ _SetUserInfo (this, value);
+ }
}
- [Preserve (Conditional = true)]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static NSObject _GetUserInfo (ICPListTemplateItem This)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ return Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (This.Handle, Selector.GetHandle ("userInfo")))!;
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _SetUserInfo (ICPListTemplateItem This, NSObject? value)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var value__handle__ = value.GetHandle ();
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (This.Handle, Selector.GetHandle ("setUserInfo:"), value__handle__);
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios15.0")]
[UnsupportedOSPlatform ("tvos")]
[UnsupportedOSPlatform ("macos")]
[UnsupportedOSPlatform ("maccatalyst")]
- bool Enabled {
+ [RequiredMember]
+ public virtual bool Enabled {
[Export ("isEnabled")]
- get;
+ get {
+ return _GetEnabled (this);
+ }
[Export ("setEnabled:")]
- set;
+ set {
+ _SetEnabled (this, value);
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static bool _GetEnabled (ICPListTemplateItem This)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ byte ret;
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend (This.Handle, Selector.GetHandle ("isEnabled"));
+ return ret != 0;
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _SetEnabled (ICPListTemplateItem This, bool value)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::ObjCRuntime.Messaging.void_objc_msgSend_bool (This.Handle, Selector.GetHandle ("setEnabled:"), value ? (byte) 1 : (byte) 0);
+ #endif
}
}
internal unsafe sealed class CPListTemplateItemWrapper : BaseWrapper, ICPListTemplateItem {
diff --git a/old/dotnet/ios/generated-sources/CarPlay/CPMapTemplateDelegate.g.cs b/new/dotnet/ios/generated-sources/CarPlay/CPMapTemplateDelegate.g.cs
index cd3b69b..9e9e0b0 100644
--- a/old/dotnet/ios/generated-sources/CarPlay/CPMapTemplateDelegate.g.cs
+++ b/new/dotnet/ios/generated-sources/CarPlay/CPMapTemplateDelegate.g.cs
@@ -75,6 +75,447 @@ namespace CarPlay {
[ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "GetDisplayStyle", Selector = "mapTemplate:displayStyleForManeuver:", ReturnType = typeof (CarPlay.CPManeuverDisplayStyle), ParameterType = new Type [] { typeof (CarPlay.CPMapTemplate), typeof (CarPlay.CPManeuver) }, ParameterByRef = new bool [] { false, false })]
public partial interface ICPMapTemplateDelegate : INativeObject, IDisposable
{
+ [OptionalMember]
+ [Export ("mapTemplate:shouldShowNotificationForManeuver:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual bool ShouldShowNotificationForManeuver (CPMapTemplate mapTemplate, CPManeuver maneuver)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ return _ShouldShowNotificationForManeuver (this, mapTemplate, maneuver);
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static bool _ShouldShowNotificationForManeuver (ICPMapTemplateDelegate This, CPMapTemplate mapTemplate, CPManeuver maneuver)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var mapTemplate__handle__ = mapTemplate!.GetNonNullHandle (nameof (mapTemplate));
+ var maneuver__handle__ = maneuver!.GetNonNullHandle (nameof (maneuver));
+ byte ret;
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("mapTemplate:shouldShowNotificationForManeuver:"), mapTemplate__handle__, maneuver__handle__);
+ return ret != 0;
+ #endif
+ }
+ [OptionalMember]
+ [Export ("mapTemplate:shouldUpdateNotificationForManeuver:withTravelEstimates:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual bool ShouldUpdateNotificationForManeuver (CPMapTemplate mapTemplate, CPManeuver maneuver, CPTravelEstimates travelEstimates)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ return _ShouldUpdateNotificationForManeuver (this, mapTemplate, maneuver, travelEstimates);
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static bool _ShouldUpdateNotificationForManeuver (ICPMapTemplateDelegate This, CPMapTemplate mapTemplate, CPManeuver maneuver, CPTravelEstimates travelEstimates)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var mapTemplate__handle__ = mapTemplate!.GetNonNullHandle (nameof (mapTemplate));
+ var maneuver__handle__ = maneuver!.GetNonNullHandle (nameof (maneuver));
+ var travelEstimates__handle__ = travelEstimates!.GetNonNullHandle (nameof (travelEstimates));
+ byte ret;
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend_NativeHandle_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("mapTemplate:shouldUpdateNotificationForManeuver:withTravelEstimates:"), mapTemplate__handle__, maneuver__handle__, travelEstimates__handle__);
+ return ret != 0;
+ #endif
+ }
+ [OptionalMember]
+ [Export ("mapTemplate:shouldShowNotificationForNavigationAlert:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual bool ShouldShowNotificationForNavigationAlert (CPMapTemplate mapTemplate, CPNavigationAlert navigationAlert)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ return _ShouldShowNotificationForNavigationAlert (this, mapTemplate, navigationAlert);
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static bool _ShouldShowNotificationForNavigationAlert (ICPMapTemplateDelegate This, CPMapTemplate mapTemplate, CPNavigationAlert navigationAlert)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var mapTemplate__handle__ = mapTemplate!.GetNonNullHandle (nameof (mapTemplate));
+ var navigationAlert__handle__ = navigationAlert!.GetNonNullHandle (nameof (navigationAlert));
+ byte ret;
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("mapTemplate:shouldShowNotificationForNavigationAlert:"), mapTemplate__handle__, navigationAlert__handle__);
+ return ret != 0;
+ #endif
+ }
+ [OptionalMember]
+ [Export ("mapTemplateDidShowPanningInterface:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidShowPanningInterface (CPMapTemplate mapTemplate)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ _DidShowPanningInterface (this, mapTemplate);
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidShowPanningInterface (ICPMapTemplateDelegate This, CPMapTemplate mapTemplate)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var mapTemplate__handle__ = mapTemplate!.GetNonNullHandle (nameof (mapTemplate));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (This.Handle, Selector.GetHandle ("mapTemplateDidShowPanningInterface:"), mapTemplate__handle__);
+ #endif
+ }
+ [OptionalMember]
+ [Export ("mapTemplateWillDismissPanningInterface:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void WillDismissPanningInterface (CPMapTemplate mapTemplate)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ _WillDismissPanningInterface (this, mapTemplate);
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _WillDismissPanningInterface (ICPMapTemplateDelegate This, CPMapTemplate mapTemplate)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var mapTemplate__handle__ = mapTemplate!.GetNonNullHandle (nameof (mapTemplate));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (This.Handle, Selector.GetHandle ("mapTemplateWillDismissPanningInterface:"), mapTemplate__handle__);
+ #endif
+ }
+ [OptionalMember]
+ [Export ("mapTemplateDidDismissPanningInterface:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidDismissPanningInterface (CPMapTemplate mapTemplate)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ _DidDismissPanningInterface (this, mapTemplate);
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidDismissPanningInterface (ICPMapTemplateDelegate This, CPMapTemplate mapTemplate)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var mapTemplate__handle__ = mapTemplate!.GetNonNullHandle (nameof (mapTemplate));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (This.Handle, Selector.GetHandle ("mapTemplateDidDismissPanningInterface:"), mapTemplate__handle__);
+ #endif
+ }
+ [OptionalMember]
+ [Export ("mapTemplate:panBeganWithDirection:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void PanBegan (CPMapTemplate mapTemplate, CPPanDirection direction)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ _PanBegan (this, mapTemplate, direction);
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _PanBegan (ICPMapTemplateDelegate This, CPMapTemplate mapTemplate, CPPanDirection direction)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var mapTemplate__handle__ = mapTemplate!.GetNonNullHandle (nameof (mapTemplate));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_IntPtr (This.Handle, Selector.GetHandle ("mapTemplate:panBeganWithDirection:"), mapTemplate__handle__, (IntPtr) (long) direction);
+ #endif
+ }
+ [OptionalMember]
+ [Export ("mapTemplate:panEndedWithDirection:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void PanEnded (CPMapTemplate mapTemplate, CPPanDirection direction)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ _PanEnded (this, mapTemplate, direction);
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _PanEnded (ICPMapTemplateDelegate This, CPMapTemplate mapTemplate, CPPanDirection direction)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var mapTemplate__handle__ = mapTemplate!.GetNonNullHandle (nameof (mapTemplate));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_IntPtr (This.Handle, Selector.GetHandle ("mapTemplate:panEndedWithDirection:"), mapTemplate__handle__, (IntPtr) (long) direction);
+ #endif
+ }
+ [OptionalMember]
+ [Export ("mapTemplate:panWithDirection:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void Pan (CPMapTemplate mapTemplate, CPPanDirection direction)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ _Pan (this, mapTemplate, direction);
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _Pan (ICPMapTemplateDelegate This, CPMapTemplate mapTemplate, CPPanDirection direction)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var mapTemplate__handle__ = mapTemplate!.GetNonNullHandle (nameof (mapTemplate));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_IntPtr (This.Handle, Selector.GetHandle ("mapTemplate:panWithDirection:"), mapTemplate__handle__, (IntPtr) (long) direction);
+ #endif
+ }
+ [OptionalMember]
+ [Export ("mapTemplateDidBeginPanGesture:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidBeginPanGesture (CPMapTemplate mapTemplate)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ _DidBeginPanGesture (this, mapTemplate);
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidBeginPanGesture (ICPMapTemplateDelegate This, CPMapTemplate mapTemplate)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var mapTemplate__handle__ = mapTemplate!.GetNonNullHandle (nameof (mapTemplate));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (This.Handle, Selector.GetHandle ("mapTemplateDidBeginPanGesture:"), mapTemplate__handle__);
+ #endif
+ }
+ [OptionalMember]
+ [Export ("mapTemplate:didUpdatePanGestureWithTranslation:velocity:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidUpdatePanGesture (CPMapTemplate mapTemplate, CGPoint translation, CGPoint velocity)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ _DidUpdatePanGesture (this, mapTemplate, translation, velocity);
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidUpdatePanGesture (ICPMapTemplateDelegate This, CPMapTemplate mapTemplate, CGPoint translation, CGPoint velocity)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var mapTemplate__handle__ = mapTemplate!.GetNonNullHandle (nameof (mapTemplate));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_CGPoint_CGPoint (This.Handle, Selector.GetHandle ("mapTemplate:didUpdatePanGestureWithTranslation:velocity:"), mapTemplate__handle__, translation, velocity);
+ #endif
+ }
+ [OptionalMember]
+ [Export ("mapTemplate:didEndPanGestureWithVelocity:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidEndPanGesture (CPMapTemplate mapTemplate, CGPoint velocity)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ _DidEndPanGesture (this, mapTemplate, velocity);
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidEndPanGesture (ICPMapTemplateDelegate This, CPMapTemplate mapTemplate, CGPoint velocity)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var mapTemplate__handle__ = mapTemplate!.GetNonNullHandle (nameof (mapTemplate));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_CGPoint (This.Handle, Selector.GetHandle ("mapTemplate:didEndPanGestureWithVelocity:"), mapTemplate__handle__, velocity);
+ #endif
+ }
+ [OptionalMember]
+ [Export ("mapTemplate:willShowNavigationAlert:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void WillShowNavigationAlert (CPMapTemplate mapTemplate, CPNavigationAlert navigationAlert)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ _WillShowNavigationAlert (this, mapTemplate, navigationAlert);
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _WillShowNavigationAlert (ICPMapTemplateDelegate This, CPMapTemplate mapTemplate, CPNavigationAlert navigationAlert)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var mapTemplate__handle__ = mapTemplate!.GetNonNullHandle (nameof (mapTemplate));
+ var navigationAlert__handle__ = navigationAlert!.GetNonNullHandle (nameof (navigationAlert));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("mapTemplate:willShowNavigationAlert:"), mapTemplate__handle__, navigationAlert__handle__);
+ #endif
+ }
+ [OptionalMember]
+ [Export ("mapTemplate:didShowNavigationAlert:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidShowNavigationAlert (CPMapTemplate mapTemplate, CPNavigationAlert navigationAlert)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ _DidShowNavigationAlert (this, mapTemplate, navigationAlert);
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidShowNavigationAlert (ICPMapTemplateDelegate This, CPMapTemplate mapTemplate, CPNavigationAlert navigationAlert)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var mapTemplate__handle__ = mapTemplate!.GetNonNullHandle (nameof (mapTemplate));
+ var navigationAlert__handle__ = navigationAlert!.GetNonNullHandle (nameof (navigationAlert));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("mapTemplate:didShowNavigationAlert:"), mapTemplate__handle__, navigationAlert__handle__);
+ #endif
+ }
+ [OptionalMember]
+ [Export ("mapTemplate:willDismissNavigationAlert:dismissalContext:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void WillDismissNavigationAlert (CPMapTemplate mapTemplate, CPNavigationAlert navigationAlert, CPNavigationAlertDismissalContext dismissalContext)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ _WillDismissNavigationAlert (this, mapTemplate, navigationAlert, dismissalContext);
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _WillDismissNavigationAlert (ICPMapTemplateDelegate This, CPMapTemplate mapTemplate, CPNavigationAlert navigationAlert, CPNavigationAlertDismissalContext dismissalContext)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var mapTemplate__handle__ = mapTemplate!.GetNonNullHandle (nameof (mapTemplate));
+ var navigationAlert__handle__ = navigationAlert!.GetNonNullHandle (nameof (navigationAlert));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle_UIntPtr (This.Handle, Selector.GetHandle ("mapTemplate:willDismissNavigationAlert:dismissalContext:"), mapTemplate__handle__, navigationAlert__handle__, (UIntPtr) (ulong) dismissalContext);
+ #endif
+ }
+ [OptionalMember]
+ [Export ("mapTemplate:didDismissNavigationAlert:dismissalContext:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidDismissNavigationAlert (CPMapTemplate mapTemplate, CPNavigationAlert navigationAlert, CPNavigationAlertDismissalContext dismissalContext)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ _DidDismissNavigationAlert (this, mapTemplate, navigationAlert, dismissalContext);
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidDismissNavigationAlert (ICPMapTemplateDelegate This, CPMapTemplate mapTemplate, CPNavigationAlert navigationAlert, CPNavigationAlertDismissalContext dismissalContext)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var mapTemplate__handle__ = mapTemplate!.GetNonNullHandle (nameof (mapTemplate));
+ var navigationAlert__handle__ = navigationAlert!.GetNonNullHandle (nameof (navigationAlert));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle_UIntPtr (This.Handle, Selector.GetHandle ("mapTemplate:didDismissNavigationAlert:dismissalContext:"), mapTemplate__handle__, navigationAlert__handle__, (UIntPtr) (ulong) dismissalContext);
+ #endif
+ }
+ [OptionalMember]
+ [Export ("mapTemplate:selectedPreviewForTrip:usingRouteChoice:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void SelectedPreview (CPMapTemplate mapTemplate, CPTrip trip, CPRouteChoice routeChoice)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ _SelectedPreview (this, mapTemplate, trip, routeChoice);
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _SelectedPreview (ICPMapTemplateDelegate This, CPMapTemplate mapTemplate, CPTrip trip, CPRouteChoice routeChoice)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var mapTemplate__handle__ = mapTemplate!.GetNonNullHandle (nameof (mapTemplate));
+ var trip__handle__ = trip!.GetNonNullHandle (nameof (trip));
+ var routeChoice__handle__ = routeChoice!.GetNonNullHandle (nameof (routeChoice));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("mapTemplate:selectedPreviewForTrip:usingRouteChoice:"), mapTemplate__handle__, trip__handle__, routeChoice__handle__);
+ #endif
+ }
+ [OptionalMember]
+ [Export ("mapTemplate:startedTrip:usingRouteChoice:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void StartedTrip (CPMapTemplate mapTemplate, CPTrip trip, CPRouteChoice routeChoice)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ _StartedTrip (this, mapTemplate, trip, routeChoice);
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _StartedTrip (ICPMapTemplateDelegate This, CPMapTemplate mapTemplate, CPTrip trip, CPRouteChoice routeChoice)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var mapTemplate__handle__ = mapTemplate!.GetNonNullHandle (nameof (mapTemplate));
+ var trip__handle__ = trip!.GetNonNullHandle (nameof (trip));
+ var routeChoice__handle__ = routeChoice!.GetNonNullHandle (nameof (routeChoice));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("mapTemplate:startedTrip:usingRouteChoice:"), mapTemplate__handle__, trip__handle__, routeChoice__handle__);
+ #endif
+ }
+ [OptionalMember]
+ [Export ("mapTemplateDidCancelNavigation:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidCancelNavigation (CPMapTemplate mapTemplate)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ _DidCancelNavigation (this, mapTemplate);
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidCancelNavigation (ICPMapTemplateDelegate This, CPMapTemplate mapTemplate)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var mapTemplate__handle__ = mapTemplate!.GetNonNullHandle (nameof (mapTemplate));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (This.Handle, Selector.GetHandle ("mapTemplateDidCancelNavigation:"), mapTemplate__handle__);
+ #endif
+ }
+ [OptionalMember]
+ [Export ("mapTemplate:displayStyleForManeuver:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual CPManeuverDisplayStyle GetDisplayStyle (CPMapTemplate mapTemplate, CPManeuver maneuver)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ return _GetDisplayStyle (this, mapTemplate, maneuver);
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static CPManeuverDisplayStyle _GetDisplayStyle (ICPMapTemplateDelegate This, CPMapTemplate mapTemplate, CPManeuver maneuver)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var mapTemplate__handle__ = mapTemplate!.GetNonNullHandle (nameof (mapTemplate));
+ var maneuver__handle__ = maneuver!.GetNonNullHandle (nameof (maneuver));
+ CPManeuverDisplayStyle ret;
+ ret = (CarPlay.CPManeuverDisplayStyle) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSend_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("mapTemplate:displayStyleForManeuver:"), mapTemplate__handle__, maneuver__handle__);
+ return ret!;
+ #endif
+ }
}
/// <summary>Extension methods to the <see cref="ICPMapTemplateDelegate" /> interface to support all the methods from the CPMapTemplateDelegate protocol.</summary>
/// <remarks>
diff --git a/old/dotnet/ios/generated-sources/CarPlay/CPNowPlayingTemplateObserver.g.cs b/new/dotnet/ios/generated-sources/CarPlay/CPNowPlayingTemplateObserver.g.cs
index 9f72979..52cb7a1 100644
--- a/old/dotnet/ios/generated-sources/CarPlay/CPNowPlayingTemplateObserver.g.cs
+++ b/new/dotnet/ios/generated-sources/CarPlay/CPNowPlayingTemplateObserver.g.cs
@@ -57,6 +57,48 @@ namespace CarPlay {
[ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "AlbumArtistButtonTapped", Selector = "nowPlayingTemplateAlbumArtistButtonTapped:", ParameterType = new Type [] { typeof (CarPlay.CPNowPlayingTemplate) }, ParameterByRef = new bool [] { false })]
public partial interface ICPNowPlayingTemplateObserver : INativeObject, IDisposable
{
+ [OptionalMember]
+ [Export ("nowPlayingTemplateUpNextButtonTapped:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void UpNextButtonTapped (CPNowPlayingTemplate nowPlayingTemplate)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ _UpNextButtonTapped (this, nowPlayingTemplate);
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _UpNextButtonTapped (ICPNowPlayingTemplateObserver This, CPNowPlayingTemplate nowPlayingTemplate)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var nowPlayingTemplate__handle__ = nowPlayingTemplate!.GetNonNullHandle (nameof (nowPlayingTemplate));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (This.Handle, Selector.GetHandle ("nowPlayingTemplateUpNextButtonTapped:"), nowPlayingTemplate__handle__);
+ #endif
+ }
+ [OptionalMember]
+ [Export ("nowPlayingTemplateAlbumArtistButtonTapped:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void AlbumArtistButtonTapped (CPNowPlayingTemplate nowPlayingTemplate)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ _AlbumArtistButtonTapped (this, nowPlayingTemplate);
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _AlbumArtistButtonTapped (ICPNowPlayingTemplateObserver This, CPNowPlayingTemplate nowPlayingTemplate)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var nowPlayingTemplate__handle__ = nowPlayingTemplate!.GetNonNullHandle (nameof (nowPlayingTemplate));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (This.Handle, Selector.GetHandle ("nowPlayingTemplateAlbumArtistButtonTapped:"), nowPlayingTemplate__handle__);
+ #endif
+ }
}
/// <summary>Extension methods to the <see cref="ICPNowPlayingTemplateObserver" /> interface to support all the methods from the CPNowPlayingTemplateObserver protocol.</summary>
/// <remarks>
diff --git a/old/dotnet/ios/generated-sources/CarPlay/CPPointOfInterestTemplateDelegate.g.cs b/new/dotnet/ios/generated-sources/CarPlay/CPPointOfInterestTemplateDelegate.g.cs
index 957c97d..cb3f8e8 100644
--- a/old/dotnet/ios/generated-sources/CarPlay/CPPointOfInterestTemplateDelegate.g.cs
+++ b/new/dotnet/ios/generated-sources/CarPlay/CPPointOfInterestTemplateDelegate.g.cs
@@ -57,10 +57,48 @@ namespace CarPlay {
[ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "DidSelectPointOfInterest", Selector = "pointOfInterestTemplate:didSelectPointOfInterest:", ParameterType = new Type [] { typeof (CarPlay.CPPointOfInterestTemplate), typeof (CarPlay.CPPointOfInterest) }, ParameterByRef = new bool [] { false, false })]
public partial interface ICPPointOfInterestTemplateDelegate : INativeObject, IDisposable
{
- [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [RequiredMember]
[Export ("pointOfInterestTemplate:didChangeMapRegion:")]
- [Preserve (Conditional = true)]
- void DidChangeMapRegion (CPPointOfInterestTemplate pointOfInterestTemplate, global::MapKit.MKCoordinateRegion region);
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidChangeMapRegion (CPPointOfInterestTemplate pointOfInterestTemplate, global::MapKit.MKCoordinateRegion region)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidChangeMapRegion (ICPPointOfInterestTemplateDelegate This, CPPointOfInterestTemplate pointOfInterestTemplate, global::MapKit.MKCoordinateRegion region)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ #endif
+ }
+ [OptionalMember]
+ [Export ("pointOfInterestTemplate:didSelectPointOfInterest:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidSelectPointOfInterest (CPPointOfInterestTemplate pointOfInterestTemplate, CPPointOfInterest pointOfInterest)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ _DidSelectPointOfInterest (this, pointOfInterestTemplate, pointOfInterest);
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidSelectPointOfInterest (ICPPointOfInterestTemplateDelegate This, CPPointOfInterestTemplate pointOfInterestTemplate, CPPointOfInterest pointOfInterest)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var pointOfInterestTemplate__handle__ = pointOfInterestTemplate!.GetNonNullHandle (nameof (pointOfInterestTemplate));
+ var pointOfInterest__handle__ = pointOfInterest!.GetNonNullHandle (nameof (pointOfInterest));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("pointOfInterestTemplate:didSelectPointOfInterest:"), pointOfInterestTemplate__handle__, pointOfInterest__handle__);
+ #endif
+ }
}
/// <summary>Extension methods to the <see cref="ICPPointOfInterestTemplateDelegate" /> interface to support all the methods from the CPPointOfInterestTemplateDelegate protocol.</summary>
/// <remarks>
diff --git a/old/dotnet/ios/generated-sources/CarPlay/CPSearchTemplateDelegate.g.cs b/new/dotnet/ios/generated-sources/CarPlay/CPSearchTemplateDelegate.g.cs
index 2d4409c..d8d5ed0 100644
--- a/old/dotnet/ios/generated-sources/CarPlay/CPSearchTemplateDelegate.g.cs
+++ b/new/dotnet/ios/generated-sources/CarPlay/CPSearchTemplateDelegate.g.cs
@@ -58,14 +58,67 @@ namespace CarPlay {
[ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "SearchButtonPressed", Selector = "searchTemplateSearchButtonPressed:", ParameterType = new Type [] { typeof (CarPlay.CPSearchTemplate) }, ParameterByRef = new bool [] { false })]
public partial interface ICPSearchTemplateDelegate : INativeObject, IDisposable
{
- [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [RequiredMember]
[Export ("searchTemplate:updatedSearchText:completionHandler:")]
- [Preserve (Conditional = true)]
- unsafe void UpdatedSearchText (CPSearchTemplate searchTemplate, string searchText, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDCPSearchTemplateDelegateUpdateHandler))]CPSearchTemplateDelegateUpdateHandler completionHandler);
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe virtual void UpdatedSearchText (CPSearchTemplate searchTemplate, string searchText, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDCPSearchTemplateDelegateUpdateHandler))]CPSearchTemplateDelegateUpdateHandler completionHandler)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal unsafe static void _UpdatedSearchText (ICPSearchTemplateDelegate This, CPSearchTemplate searchTemplate, string searchText, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDCPSearchTemplateDelegateUpdateHandler))]CPSearchTemplateDelegateUpdateHandler completionHandler)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ #endif
+ }
+ [RequiredMember]
[Export ("searchTemplate:selectedResult:completionHandler:")]
- [Preserve (Conditional = true)]
- unsafe void SelectedResult (CPSearchTemplate searchTemplate, CPListItem item, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDAction))]global::System.Action completionHandler);
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe virtual void SelectedResult (CPSearchTemplate searchTemplate, CPListItem item, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDAction))]global::System.Action completionHandler)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal unsafe static void _SelectedResult (ICPSearchTemplateDelegate This, CPSearchTemplate searchTemplate, CPListItem item, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDAction))]global::System.Action completionHandler)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ #endif
+ }
+ [OptionalMember]
+ [Export ("searchTemplateSearchButtonPressed:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void SearchButtonPressed (CPSearchTemplate searchTemplate)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ _SearchButtonPressed (this, searchTemplate);
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _SearchButtonPressed (ICPSearchTemplateDelegate This, CPSearchTemplate searchTemplate)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var searchTemplate__handle__ = searchTemplate!.GetNonNullHandle (nameof (searchTemplate));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (This.Handle, Selector.GetHandle ("searchTemplateSearchButtonPressed:"), searchTemplate__handle__);
+ #endif
+ }
}
/// <summary>Extension methods to the <see cref="ICPSearchTemplateDelegate" /> interface to support all the methods from the CPSearchTemplateDelegate protocol.</summary>
/// <remarks>
diff --git a/old/dotnet/ios/generated-sources/CarPlay/CPSelectableListItem.g.cs b/new/dotnet/ios/generated-sources/CarPlay/CPSelectableListItem.g.cs
index db0ca10..244d8d6 100644
--- a/old/dotnet/ios/generated-sources/CarPlay/CPSelectableListItem.g.cs
+++ b/new/dotnet/ios/generated-sources/CarPlay/CPSelectableListItem.g.cs
@@ -57,14 +57,44 @@ namespace CarPlay {
public partial interface ICPSelectableListItem : INativeObject, IDisposable,
CarPlay.ICPListTemplateItem
{
- [Preserve (Conditional = true)]
- unsafe CPSelectableListItemHandler? Handler {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [RequiredMember]
+ public unsafe virtual CPSelectableListItemHandler? Handler {
[return: DelegateProxy (typeof (ObjCRuntime.Trampolines.SDCPSelectableListItemHandler))]
[Export ("handler", ArgumentSemantic.Copy)]
- get;
+ get {
+ return _GetHandler (this);
+ }
[param: BlockProxy (typeof (ObjCRuntime.Trampolines.NIDCPSelectableListItemHandler))]
[Export ("setHandler:", ArgumentSemantic.Copy)]
- set;
+ set {
+ _SetHandler (this, value);
+ }
+ }
+ [return: DelegateProxy (typeof (ObjCRuntime.Trampolines.SDCPSelectableListItemHandler))]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal unsafe static CPSelectableListItemHandler _GetHandler (ICPSelectableListItem This)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ NativeHandle ret;
+ ret = global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (This.Handle, Selector.GetHandle ("handler"));
+ return global::ObjCRuntime.Trampolines.NIDCPSelectableListItemHandler.Create (ret)!;
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal unsafe static void _SetHandler (ICPSelectableListItem This, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDCPSelectableListItemHandler))]CPSelectableListItemHandler? value)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ using var block_value = Trampolines.SDCPSelectableListItemHandler.CreateNullableBlock (value);
+ BlockLiteral *block_ptr_value = null;
+ if (value is not null)
+ block_ptr_value = &block_value;
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (This.Handle, Selector.GetHandle ("setHandler:"), (IntPtr) block_ptr_value);
+ #endif
}
}
internal unsafe sealed class CPSelectableListItemWrapper : BaseWrapper, ICPSelectableListItem {
diff --git a/old/dotnet/ios/generated-sources/CarPlay/CPSessionConfigurationDelegate.g.cs b/new/dotnet/ios/generated-sources/CarPlay/CPSessionConfigurationDelegate.g.cs
index 0bdc9d0..857c5ab 100644
--- a/old/dotnet/ios/generated-sources/CarPlay/CPSessionConfigurationDelegate.g.cs
+++ b/new/dotnet/ios/generated-sources/CarPlay/CPSessionConfigurationDelegate.g.cs
@@ -57,6 +57,54 @@ namespace CarPlay {
[ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "ContentStyleChanged", Selector = "sessionConfiguration:contentStyleChanged:", ParameterType = new Type [] { typeof (CarPlay.CPSessionConfiguration), typeof (CarPlay.CPContentStyle) }, ParameterByRef = new bool [] { false, false })]
public partial interface ICPSessionConfigurationDelegate : INativeObject, IDisposable
{
+ [OptionalMember]
+ [Export ("sessionConfiguration:limitedUserInterfacesChanged:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void LimitedUserInterfacesChanged (CPSessionConfiguration sessionConfiguration, CPLimitableUserInterface limitedUserInterfaces)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ _LimitedUserInterfacesChanged (this, sessionConfiguration, limitedUserInterfaces);
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _LimitedUserInterfacesChanged (ICPSessionConfigurationDelegate This, CPSessionConfiguration sessionConfiguration, CPLimitableUserInterface limitedUserInterfaces)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var sessionConfiguration__handle__ = sessionConfiguration!.GetNonNullHandle (nameof (sessionConfiguration));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_UIntPtr (This.Handle, Selector.GetHandle ("sessionConfiguration:limitedUserInterfacesChanged:"), sessionConfiguration__handle__, (UIntPtr) (ulong) limitedUserInterfaces);
+ #endif
+ }
+ [OptionalMember]
+ [Export ("sessionConfiguration:contentStyleChanged:")]
+ [SupportedOSPlatform ("ios13.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ [UnsupportedOSPlatform ("macos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void ContentStyleChanged (CPSessionConfiguration sessionConfiguration, CPContentStyle contentStyle)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ _ContentStyleChanged (this, sessionConfiguration, contentStyle);
+ #endif
+ }
+ [SupportedOSPlatform ("ios13.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ [UnsupportedOSPlatform ("macos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _ContentStyleChanged (ICPSessionConfigurationDelegate This, CPSessionConfiguration sessionConfiguration, CPContentStyle contentStyle)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var sessionConfiguration__handle__ = sessionConfiguration!.GetNonNullHandle (nameof (sessionConfiguration));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_UIntPtr (This.Handle, Selector.GetHandle ("sessionConfiguration:contentStyleChanged:"), sessionConfiguration__handle__, (UIntPtr) (ulong) contentStyle);
+ #endif
+ }
}
/// <summary>Extension methods to the <see cref="ICPSessionConfigurationDelegate" /> interface to support all the methods from the CPSessionConfigurationDelegate protocol.</summary>
/// <remarks>
diff --git a/old/dotnet/ios/generated-sources/CarPlay/CPTabBarTemplateDelegate.g.cs b/new/dotnet/ios/generated-sources/CarPlay/CPTabBarTemplateDelegate.g.cs
index e08bcb0..15c049f 100644
--- a/old/dotnet/ios/generated-sources/CarPlay/CPTabBarTemplateDelegate.g.cs
+++ b/new/dotnet/ios/generated-sources/CarPlay/CPTabBarTemplateDelegate.g.cs
@@ -56,10 +56,26 @@ namespace CarPlay {
[ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "DidSelectTemplate", Selector = "tabBarTemplate:didSelectTemplate:", ParameterType = new Type [] { typeof (CarPlay.CPTabBarTemplate), typeof (CarPlay.CPTemplate) }, ParameterByRef = new bool [] { false, false })]
public partial interface ICPTabBarTemplateDelegate : INativeObject, IDisposable
{
- [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [RequiredMember]
[Export ("tabBarTemplate:didSelectTemplate:")]
- [Preserve (Conditional = true)]
- void DidSelectTemplate (CPTabBarTemplate tabBarTemplate, CPTemplate selectedTemplate);
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidSelectTemplate (CPTabBarTemplate tabBarTemplate, CPTemplate selectedTemplate)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidSelectTemplate (ICPTabBarTemplateDelegate This, CPTabBarTemplate tabBarTemplate, CPTemplate selectedTemplate)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ #endif
+ }
}
internal unsafe sealed class CPTabBarTemplateDelegateWrapper : BaseWrapper, ICPTabBarTemplateDelegate {
[Preserve (Conditional = true)]
diff --git a/old/dotnet/ios/generated-sources/CarPlay/CPTemplateApplicationDashboardSceneDelegate.g.cs b/new/dotnet/ios/generated-sources/CarPlay/CPTemplateApplicationDashboardSceneDelegate.g.cs
index e2905d1..f7f2184 100644
--- a/old/dotnet/ios/generated-sources/CarPlay/CPTemplateApplicationDashboardSceneDelegate.g.cs
+++ b/new/dotnet/ios/generated-sources/CarPlay/CPTemplateApplicationDashboardSceneDelegate.g.cs
@@ -58,6 +58,52 @@ namespace CarPlay {
public partial interface ICPTemplateApplicationDashboardSceneDelegate : INativeObject, IDisposable,
UIKit.IUISceneDelegate
{
+ [OptionalMember]
+ [Export ("templateApplicationDashboardScene:didConnectDashboardController:toWindow:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidConnectDashboardController (CPTemplateApplicationDashboardScene templateApplicationDashboardScene, CPDashboardController dashboardController, global::UIKit.UIWindow window)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ _DidConnectDashboardController (this, templateApplicationDashboardScene, dashboardController, window);
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidConnectDashboardController (ICPTemplateApplicationDashboardSceneDelegate This, CPTemplateApplicationDashboardScene templateApplicationDashboardScene, CPDashboardController dashboardController, global::UIKit.UIWindow window)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var templateApplicationDashboardScene__handle__ = templateApplicationDashboardScene!.GetNonNullHandle (nameof (templateApplicationDashboardScene));
+ var dashboardController__handle__ = dashboardController!.GetNonNullHandle (nameof (dashboardController));
+ var window__handle__ = window!.GetNonNullHandle (nameof (window));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("templateApplicationDashboardScene:didConnectDashboardController:toWindow:"), templateApplicationDashboardScene__handle__, dashboardController__handle__, window__handle__);
+ #endif
+ }
+ [OptionalMember]
+ [Export ("templateApplicationDashboardScene:didDisconnectDashboardController:fromWindow:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidDisconnectDashboardController (CPTemplateApplicationDashboardScene templateApplicationDashboardScene, CPDashboardController dashboardController, global::UIKit.UIWindow window)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ _DidDisconnectDashboardController (this, templateApplicationDashboardScene, dashboardController, window);
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidDisconnectDashboardController (ICPTemplateApplicationDashboardSceneDelegate This, CPTemplateApplicationDashboardScene templateApplicationDashboardScene, CPDashboardController dashboardController, global::UIKit.UIWindow window)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var templateApplicationDashboardScene__handle__ = templateApplicationDashboardScene!.GetNonNullHandle (nameof (templateApplicationDashboardScene));
+ var dashboardController__handle__ = dashboardController!.GetNonNullHandle (nameof (dashboardController));
+ var window__handle__ = window!.GetNonNullHandle (nameof (window));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("templateApplicationDashboardScene:didDisconnectDashboardController:fromWindow:"), templateApplicationDashboardScene__handle__, dashboardController__handle__, window__handle__);
+ #endif
+ }
}
/// <summary>Extension methods to the <see cref="ICPTemplateApplicationDashboardSceneDelegate" /> interface to support all the methods from the CPTemplateApplicationDashboardSceneDelegate protocol.</summary>
/// <remarks>
diff --git a/old/dotnet/ios/generated-sources/CarPlay/CPTemplateApplicationInstrumentClusterSceneDelegate.g.cs b/new/dotnet/ios/generated-sources/CarPlay/CPTemplateApplicationInstrumentClusterSceneDelegate.g.cs
index 0c85a98..f176785 100644
--- a/old/dotnet/ios/generated-sources/CarPlay/CPTemplateApplicationInstrumentClusterSceneDelegate.g.cs
+++ b/new/dotnet/ios/generated-sources/CarPlay/CPTemplateApplicationInstrumentClusterSceneDelegate.g.cs
@@ -60,6 +60,70 @@ namespace CarPlay {
public partial interface ICPTemplateApplicationInstrumentClusterSceneDelegate : INativeObject, IDisposable,
UIKit.IUISceneDelegate
{
+ [OptionalMember]
+ [Export ("templateApplicationInstrumentClusterScene:didConnectInstrumentClusterController:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidConnectInstrumentClusterController (CPTemplateApplicationInstrumentClusterScene templateApplicationInstrumentClusterScene, CPInstrumentClusterController instrumentClusterController)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ _DidConnectInstrumentClusterController (this, templateApplicationInstrumentClusterScene, instrumentClusterController);
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidConnectInstrumentClusterController (ICPTemplateApplicationInstrumentClusterSceneDelegate This, CPTemplateApplicationInstrumentClusterScene templateApplicationInstrumentClusterScene, CPInstrumentClusterController instrumentClusterController)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var templateApplicationInstrumentClusterScene__handle__ = templateApplicationInstrumentClusterScene!.GetNonNullHandle (nameof (templateApplicationInstrumentClusterScene));
+ var instrumentClusterController__handle__ = instrumentClusterController!.GetNonNullHandle (nameof (instrumentClusterController));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("templateApplicationInstrumentClusterScene:didConnectInstrumentClusterController:"), templateApplicationInstrumentClusterScene__handle__, instrumentClusterController__handle__);
+ #endif
+ }
+ [OptionalMember]
+ [Export ("templateApplicationInstrumentClusterScene:didDisconnectInstrumentClusterController:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidDisconnectInstrumentClusterController (CPTemplateApplicationInstrumentClusterScene templateApplicationInstrumentClusterScene, CPInstrumentClusterController instrumentClusterController)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ _DidDisconnectInstrumentClusterController (this, templateApplicationInstrumentClusterScene, instrumentClusterController);
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidDisconnectInstrumentClusterController (ICPTemplateApplicationInstrumentClusterSceneDelegate This, CPTemplateApplicationInstrumentClusterScene templateApplicationInstrumentClusterScene, CPInstrumentClusterController instrumentClusterController)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var templateApplicationInstrumentClusterScene__handle__ = templateApplicationInstrumentClusterScene!.GetNonNullHandle (nameof (templateApplicationInstrumentClusterScene));
+ var instrumentClusterController__handle__ = instrumentClusterController!.GetNonNullHandle (nameof (instrumentClusterController));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("templateApplicationInstrumentClusterScene:didDisconnectInstrumentClusterController:"), templateApplicationInstrumentClusterScene__handle__, instrumentClusterController__handle__);
+ #endif
+ }
+ [OptionalMember]
+ [Export ("contentStyleDidChange:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void ContentStyleDidChange (global::UIKit.UIUserInterfaceStyle contentStyle)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ _ContentStyleDidChange (this, contentStyle);
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _ContentStyleDidChange (ICPTemplateApplicationInstrumentClusterSceneDelegate This, global::UIKit.UIUserInterfaceStyle contentStyle)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::ObjCRuntime.Messaging.void_objc_msgSend_IntPtr (This.Handle, Selector.GetHandle ("contentStyleDidChange:"), (IntPtr) (long) contentStyle);
+ #endif
+ }
}
/// <summary>Extension methods to the <see cref="ICPTemplateApplicationInstrumentClusterSceneDelegate" /> interface to support all the methods from the CPTemplateApplicationInstrumentClusterSceneDelegate protocol.</summary>
/// <remarks>
diff --git a/old/dotnet/ios/generated-sources/CarPlay/CPTemplateApplicationSceneDelegate.g.cs b/new/dotnet/ios/generated-sources/CarPlay/CPTemplateApplicationSceneDelegate.g.cs
index 33ad313..349f118 100644
--- a/old/dotnet/ios/generated-sources/CarPlay/CPTemplateApplicationSceneDelegate.g.cs
+++ b/new/dotnet/ios/generated-sources/CarPlay/CPTemplateApplicationSceneDelegate.g.cs
@@ -63,6 +63,180 @@ namespace CarPlay {
public partial interface ICPTemplateApplicationSceneDelegate : INativeObject, IDisposable,
UIKit.IUISceneDelegate
{
+ [OptionalMember]
+ [Export ("templateApplicationScene:didConnectInterfaceController:toWindow:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidConnect (CPTemplateApplicationScene templateApplicationScene, CPInterfaceController interfaceController, CPWindow window)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ _DidConnect (this, templateApplicationScene, interfaceController, window);
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidConnect (ICPTemplateApplicationSceneDelegate This, CPTemplateApplicationScene templateApplicationScene, CPInterfaceController interfaceController, CPWindow window)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var templateApplicationScene__handle__ = templateApplicationScene!.GetNonNullHandle (nameof (templateApplicationScene));
+ var interfaceController__handle__ = interfaceController!.GetNonNullHandle (nameof (interfaceController));
+ var window__handle__ = window!.GetNonNullHandle (nameof (window));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("templateApplicationScene:didConnectInterfaceController:toWindow:"), templateApplicationScene__handle__, interfaceController__handle__, window__handle__);
+ #endif
+ }
+ [OptionalMember]
+ [Export ("templateApplicationScene:didDisconnectInterfaceController:fromWindow:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidDisconnect (CPTemplateApplicationScene templateApplicationScene, CPInterfaceController interfaceController, CPWindow window)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ _DidDisconnect (this, templateApplicationScene, interfaceController, window);
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidDisconnect (ICPTemplateApplicationSceneDelegate This, CPTemplateApplicationScene templateApplicationScene, CPInterfaceController interfaceController, CPWindow window)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var templateApplicationScene__handle__ = templateApplicationScene!.GetNonNullHandle (nameof (templateApplicationScene));
+ var interfaceController__handle__ = interfaceController!.GetNonNullHandle (nameof (interfaceController));
+ var window__handle__ = window!.GetNonNullHandle (nameof (window));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("templateApplicationScene:didDisconnectInterfaceController:fromWindow:"), templateApplicationScene__handle__, interfaceController__handle__, window__handle__);
+ #endif
+ }
+ [OptionalMember]
+ [Export ("templateApplicationScene:didSelectNavigationAlert:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidSelect (CPTemplateApplicationScene templateApplicationScene, CPNavigationAlert navigationAlert)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ _DidSelect (this, templateApplicationScene, navigationAlert);
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidSelect (ICPTemplateApplicationSceneDelegate This, CPTemplateApplicationScene templateApplicationScene, CPNavigationAlert navigationAlert)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var templateApplicationScene__handle__ = templateApplicationScene!.GetNonNullHandle (nameof (templateApplicationScene));
+ var navigationAlert__handle__ = navigationAlert!.GetNonNullHandle (nameof (navigationAlert));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("templateApplicationScene:didSelectNavigationAlert:"), templateApplicationScene__handle__, navigationAlert__handle__);
+ #endif
+ }
+ [OptionalMember]
+ [Export ("templateApplicationScene:didSelectManeuver:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidSelect (CPTemplateApplicationScene templateApplicationScene, CPManeuver maneuver)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ _DidSelect (this, templateApplicationScene, maneuver);
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidSelect (ICPTemplateApplicationSceneDelegate This, CPTemplateApplicationScene templateApplicationScene, CPManeuver maneuver)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var templateApplicationScene__handle__ = templateApplicationScene!.GetNonNullHandle (nameof (templateApplicationScene));
+ var maneuver__handle__ = maneuver!.GetNonNullHandle (nameof (maneuver));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("templateApplicationScene:didSelectManeuver:"), templateApplicationScene__handle__, maneuver__handle__);
+ #endif
+ }
+ [OptionalMember]
+ [Export ("templateApplicationScene:didConnectInterfaceController:")]
+ [SupportedOSPlatform ("ios14.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ [UnsupportedOSPlatform ("macos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidConnect (CPTemplateApplicationScene templateApplicationScene, CPInterfaceController interfaceController)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ _DidConnect (this, templateApplicationScene, interfaceController);
+ #endif
+ }
+ [SupportedOSPlatform ("ios14.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ [UnsupportedOSPlatform ("macos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidConnect (ICPTemplateApplicationSceneDelegate This, CPTemplateApplicationScene templateApplicationScene, CPInterfaceController interfaceController)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var templateApplicationScene__handle__ = templateApplicationScene!.GetNonNullHandle (nameof (templateApplicationScene));
+ var interfaceController__handle__ = interfaceController!.GetNonNullHandle (nameof (interfaceController));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("templateApplicationScene:didConnectInterfaceController:"), templateApplicationScene__handle__, interfaceController__handle__);
+ #endif
+ }
+ [OptionalMember]
+ [Export ("templateApplicationScene:didDisconnectInterfaceController:")]
+ [SupportedOSPlatform ("ios14.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ [UnsupportedOSPlatform ("macos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidDisconnect (CPTemplateApplicationScene templateApplicationScene, CPInterfaceController interfaceController)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ _DidDisconnect (this, templateApplicationScene, interfaceController);
+ #endif
+ }
+ [SupportedOSPlatform ("ios14.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ [UnsupportedOSPlatform ("macos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidDisconnect (ICPTemplateApplicationSceneDelegate This, CPTemplateApplicationScene templateApplicationScene, CPInterfaceController interfaceController)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var templateApplicationScene__handle__ = templateApplicationScene!.GetNonNullHandle (nameof (templateApplicationScene));
+ var interfaceController__handle__ = interfaceController!.GetNonNullHandle (nameof (interfaceController));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("templateApplicationScene:didDisconnectInterfaceController:"), templateApplicationScene__handle__, interfaceController__handle__);
+ #endif
+ }
+ [OptionalMember]
+ [Export ("contentStyleDidChange:")]
+ [SupportedOSPlatform ("ios15.4")]
+ [UnsupportedOSPlatform ("tvos")]
+ [UnsupportedOSPlatform ("macos")]
+ [UnsupportedOSPlatform ("maccatalyst")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void ContentStyleDidChange (global::UIKit.UIUserInterfaceStyle contentStyle)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ _ContentStyleDidChange (this, contentStyle);
+ #endif
+ }
+ [SupportedOSPlatform ("ios15.4")]
+ [UnsupportedOSPlatform ("tvos")]
+ [UnsupportedOSPlatform ("macos")]
+ [UnsupportedOSPlatform ("maccatalyst")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _ContentStyleDidChange (ICPTemplateApplicationSceneDelegate This, global::UIKit.UIUserInterfaceStyle contentStyle)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::ObjCRuntime.Messaging.void_objc_msgSend_IntPtr (This.Handle, Selector.GetHandle ("contentStyleDidChange:"), (IntPtr) (long) contentStyle);
+ #endif
+ }
}
/// <summary>Extension methods to the <see cref="ICPTemplateApplicationSceneDelegate" /> interface to support all the methods from the CPTemplateApplicationSceneDelegate protocol.</summary>
/// <remarks>
diff --git a/old/dotnet/ios/generated-sources/ClassKit/CLSContextProvider.g.cs b/new/dotnet/ios/generated-sources/ClassKit/CLSContextProvider.g.cs
index 2e93a77..2f05199 100644
--- a/old/dotnet/ios/generated-sources/ClassKit/CLSContextProvider.g.cs
+++ b/new/dotnet/ios/generated-sources/ClassKit/CLSContextProvider.g.cs
@@ -57,10 +57,26 @@ namespace ClassKit {
[ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "UpdateDescendants", Selector = "updateDescendantsOfContext:completion:", ParameterType = new Type [] { typeof (ClassKit.CLSContext), typeof (global::System.Action<NSError>) }, ParameterByRef = new bool [] { false, false }, ParameterBlockProxy = new Type? [] { null, typeof (ObjCRuntime.Trampolines.NIDActionArity1V0) })]
public partial interface ICLSContextProvider : INativeObject, IDisposable
{
- [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [RequiredMember]
[Export ("updateDescendantsOfContext:completion:")]
- [Preserve (Conditional = true)]
- unsafe void UpdateDescendants (CLSContext context, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity1V0))]global::System.Action<NSError> completion);
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe virtual void UpdateDescendants (CLSContext context, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity1V0))]global::System.Action<NSError> completion)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal unsafe static void _UpdateDescendants (ICLSContextProvider This, CLSContext context, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity1V0))]global::System.Action<NSError> completion)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ #endif
+ }
}
internal unsafe sealed class CLSContextProviderWrapper : BaseWrapper, ICLSContextProvider {
[Preserve (Conditional = true)]
diff --git a/old/dotnet/ios/generated-sources/ClassKit/CLSDataStoreDelegate.g.cs b/new/dotnet/ios/generated-sources/ClassKit/CLSDataStoreDelegate.g.cs
index 4a87eb8..a20f916 100644
--- a/old/dotnet/ios/generated-sources/ClassKit/CLSDataStoreDelegate.g.cs
+++ b/new/dotnet/ios/generated-sources/ClassKit/CLSDataStoreDelegate.g.cs
@@ -57,10 +57,26 @@ namespace ClassKit {
[ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "CreateContext", Selector = "createContextForIdentifier:parentContext:parentIdentifierPath:", ReturnType = typeof (ClassKit.CLSContext), ParameterType = new Type [] { typeof (string), typeof (ClassKit.CLSContext), typeof (String[]) }, ParameterByRef = new bool [] { false, false, false })]
public partial interface ICLSDataStoreDelegate : INativeObject, IDisposable
{
- [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [RequiredMember]
[Export ("createContextForIdentifier:parentContext:parentIdentifierPath:")]
- [Preserve (Conditional = true)]
- CLSContext? CreateContext (string identifier, CLSContext parentContext, string[] parentIdentifierPath);
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual CLSContext? CreateContext (string identifier, CLSContext parentContext, string[] parentIdentifierPath)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static CLSContext? _CreateContext (ICLSDataStoreDelegate This, string identifier, CLSContext parentContext, string[] parentIdentifierPath)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ #endif
+ }
}
internal unsafe sealed class CLSDataStoreDelegateWrapper : BaseWrapper, ICLSDataStoreDelegate {
[Preserve (Conditional = true)]
diff --git a/old/dotnet/ios/generated-sources/CloudKit/CKSyncEngineDelegate.g.cs b/new/dotnet/ios/generated-sources/CloudKit/CKSyncEngineDelegate.g.cs
index 908ad99..63e60a4 100644
--- a/old/dotnet/ios/generated-sources/CloudKit/CKSyncEngineDelegate.g.cs
+++ b/new/dotnet/ios/generated-sources/CloudKit/CKSyncEngineDelegate.g.cs
@@ -59,14 +59,68 @@ namespace CloudKit {
[ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "SyncEngine", Selector = "syncEngine:nextFetchChangesOptionsForContext:", ReturnType = typeof (CloudKit.CKSyncEngineFetchChangesOptions), ParameterType = new Type [] { typeof (CloudKit.CKSyncEngine), typeof (CloudKit.CKSyncEngineFetchChangesContext) }, ParameterByRef = new bool [] { false, false })]
public partial interface ICKSyncEngineDelegate : INativeObject, IDisposable
{
- [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [RequiredMember]
[Export ("syncEngine:handleEvent:")]
- [Preserve (Conditional = true)]
- void SyncEngine (CKSyncEngine syncEngine, CKSyncEngineEvent @event);
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void SyncEngine (CKSyncEngine syncEngine, CKSyncEngineEvent @event)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _SyncEngine (ICKSyncEngineDelegate This, CKSyncEngine syncEngine, CKSyncEngineEvent @event)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ #endif
+ }
+ [RequiredMember]
[Export ("syncEngine:nextRecordZoneChangeBatchForContext:")]
- [Preserve (Conditional = true)]
- CKSyncEngineRecordZoneChangeBatch? SyncEngine (CKSyncEngine syncEngine, CKSyncEngineSendChangesContext context);
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual CKSyncEngineRecordZoneChangeBatch? SyncEngine (CKSyncEngine syncEngine, CKSyncEngineSendChangesContext context)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static CKSyncEngineRecordZoneChangeBatch? _SyncEngine (ICKSyncEngineDelegate This, CKSyncEngine syncEngine, CKSyncEngineSendChangesContext context)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ #endif
+ }
+ [OptionalMember]
+ [Export ("syncEngine:nextFetchChangesOptionsForContext:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual CKSyncEngineFetchChangesOptions SyncEngine (CKSyncEngine syncEngine, CKSyncEngineFetchChangesContext context)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ return _SyncEngine (this, syncEngine, context);
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static CKSyncEngineFetchChangesOptions _SyncEngine (ICKSyncEngineDelegate This, CKSyncEngine syncEngine, CKSyncEngineFetchChangesContext context)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var syncEngine__handle__ = syncEngine!.GetNonNullHandle (nameof (syncEngine));
+ var context__handle__ = context!.GetNonNullHandle (nameof (context));
+ return Runtime.GetNSObject<CKSyncEngineFetchChangesOptions> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("syncEngine:nextFetchChangesOptionsForContext:"), syncEngine__handle__, context__handle__))!;
+ #endif
+ }
}
/// <summary>Extension methods to the <see cref="ICKSyncEngineDelegate" /> interface to support all the methods from the CKSyncEngineDelegate protocol.</summary>
/// <remarks>
diff --git a/old/dotnet/ios/generated-sources/Contacts/CNChangeHistoryEventVisitor.g.cs b/new/dotnet/ios/generated-sources/Contacts/CNChangeHistoryEventVisitor.g.cs
index e1d0fce..f5b1886 100644
--- a/old/dotnet/ios/generated-sources/Contacts/CNChangeHistoryEventVisitor.g.cs
+++ b/new/dotnet/ios/generated-sources/Contacts/CNChangeHistoryEventVisitor.g.cs
@@ -66,22 +66,233 @@ namespace Contacts {
[ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "RemoveSubgroupFromGroup", Selector = "visitRemoveSubgroupFromGroupEvent:", ParameterType = new Type [] { typeof (CNChangeHistoryRemoveSubgroupFromGroupEvent) }, ParameterByRef = new bool [] { false })]
public partial interface ICNChangeHistoryEventVisitor : INativeObject, IDisposable
{
- [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [RequiredMember]
[Export ("visitDropEverythingEvent:")]
- [Preserve (Conditional = true)]
- void DropEverything (CNChangeHistoryDropEverythingEvent @event);
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DropEverything (CNChangeHistoryDropEverythingEvent @event)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DropEverything (ICNChangeHistoryEventVisitor This, CNChangeHistoryDropEverythingEvent @event)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ #endif
+ }
+ [RequiredMember]
[Export ("visitAddContactEvent:")]
- [Preserve (Conditional = true)]
- void AddContact (CNChangeHistoryAddContactEvent @event);
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void AddContact (CNChangeHistoryAddContactEvent @event)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _AddContact (ICNChangeHistoryEventVisitor This, CNChangeHistoryAddContactEvent @event)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ #endif
+ }
+ [RequiredMember]
[Export ("visitUpdateContactEvent:")]
- [Preserve (Conditional = true)]
- void UpdateContact (CNChangeHistoryUpdateContactEvent @event);
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void UpdateContact (CNChangeHistoryUpdateContactEvent @event)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _UpdateContact (ICNChangeHistoryEventVisitor This, CNChangeHistoryUpdateContactEvent @event)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ #endif
+ }
+ [RequiredMember]
[Export ("visitDeleteContactEvent:")]
- [Preserve (Conditional = true)]
- void DeleteContact (CNChangeHistoryDeleteContactEvent @event);
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DeleteContact (CNChangeHistoryDeleteContactEvent @event)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DeleteContact (ICNChangeHistoryEventVisitor This, CNChangeHistoryDeleteContactEvent @event)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ #endif
+ }
+ [OptionalMember]
+ [Export ("visitAddGroupEvent:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void AddGroup (CNChangeHistoryAddGroupEvent @event)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ _AddGroup (this, @event);
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _AddGroup (ICNChangeHistoryEventVisitor This, CNChangeHistoryAddGroupEvent @event)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var @event__handle__ = @event!.GetNonNullHandle (nameof (@event));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (This.Handle, Selector.GetHandle ("visitAddGroupEvent:"), @event__handle__);
+ #endif
+ }
+ [OptionalMember]
+ [Export ("visitUpdateGroupEvent:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void UpdateGroup (CNChangeHistoryUpdateGroupEvent @event)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ _UpdateGroup (this, @event);
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _UpdateGroup (ICNChangeHistoryEventVisitor This, CNChangeHistoryUpdateGroupEvent @event)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var @event__handle__ = @event!.GetNonNullHandle (nameof (@event));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (This.Handle, Selector.GetHandle ("visitUpdateGroupEvent:"), @event__handle__);
+ #endif
+ }
+ [OptionalMember]
+ [Export ("visitDeleteGroupEvent:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DeleteGroup (CNChangeHistoryDeleteGroupEvent @event)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ _DeleteGroup (this, @event);
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DeleteGroup (ICNChangeHistoryEventVisitor This, CNChangeHistoryDeleteGroupEvent @event)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var @event__handle__ = @event!.GetNonNullHandle (nameof (@event));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (This.Handle, Selector.GetHandle ("visitDeleteGroupEvent:"), @event__handle__);
+ #endif
+ }
+ [OptionalMember]
+ [Export ("visitAddMemberToGroupEvent:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void AddMemberToGroup (CNChangeHistoryAddMemberToGroupEvent @event)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ _AddMemberToGroup (this, @event);
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _AddMemberToGroup (ICNChangeHistoryEventVisitor This, CNChangeHistoryAddMemberToGroupEvent @event)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var @event__handle__ = @event!.GetNonNullHandle (nameof (@event));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (This.Handle, Selector.GetHandle ("visitAddMemberToGroupEvent:"), @event__handle__);
+ #endif
+ }
+ [OptionalMember]
+ [Export ("visitRemoveMemberFromGroupEvent:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void RemoveMemberFromGroup (CNChangeHistoryRemoveMemberFromGroupEvent @event)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ _RemoveMemberFromGroup (this, @event);
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _RemoveMemberFromGroup (ICNChangeHistoryEventVisitor This, CNChangeHistoryRemoveMemberFromGroupEvent @event)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var @event__handle__ = @event!.GetNonNullHandle (nameof (@event));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (This.Handle, Selector.GetHandle ("visitRemoveMemberFromGroupEvent:"), @event__handle__);
+ #endif
+ }
+ [OptionalMember]
+ [Export ("visitAddSubgroupToGroupEvent:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void AddSubgroupToGroup (CNChangeHistoryAddSubgroupToGroupEvent @event)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ _AddSubgroupToGroup (this, @event);
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _AddSubgroupToGroup (ICNChangeHistoryEventVisitor This, CNChangeHistoryAddSubgroupToGroupEvent @event)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var @event__handle__ = @event!.GetNonNullHandle (nameof (@event));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (This.Handle, Selector.GetHandle ("visitAddSubgroupToGroupEvent:"), @event__handle__);
+ #endif
+ }
+ [OptionalMember]
+ [Export ("visitRemoveSubgroupFromGroupEvent:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void RemoveSubgroupFromGroup (CNChangeHistoryRemoveSubgroupFromGroupEvent @event)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ _RemoveSubgroupFromGroup (this, @event);
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _RemoveSubgroupFromGroup (ICNChangeHistoryEventVisitor This, CNChangeHistoryRemoveSubgroupFromGroupEvent @event)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var @event__handle__ = @event!.GetNonNullHandle (nameof (@event));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (This.Handle, Selector.GetHandle ("visitRemoveSubgroupFromGroupEvent:"), @event__handle__);
+ #endif
+ }
}
/// <summary>Extension methods to the <see cref="ICNChangeHistoryEventVisitor" /> interface to support all the methods from the CNChangeHistoryEventVisitor protocol.</summary>
/// <remarks>
diff --git a/old/dotnet/ios/generated-sources/ContactsUI/CNContactPickerDelegate.g.cs b/new/dotnet/ios/generated-sources/ContactsUI/CNContactPickerDelegate.g.cs
index c4a3aa8..e0ffeb4 100644
--- a/old/dotnet/ios/generated-sources/ContactsUI/CNContactPickerDelegate.g.cs
+++ b/new/dotnet/ios/generated-sources/ContactsUI/CNContactPickerDelegate.g.cs
@@ -60,6 +60,81 @@ namespace ContactsUI {
[ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "DidSelectContactProperties", Selector = "contactPicker:didSelectContactProperties:", ParameterType = new Type [] { typeof (ContactsUI.CNContactPickerViewController), typeof (CNContactProperty[]) }, ParameterByRef = new bool [] { false, false })]
public partial interface ICNContactPickerDelegate : INativeObject, IDisposable
{
+ [OptionalMember]
+ [Export ("contactPickerDidCancel:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void ContactPickerDidCancel (CNContactPickerViewController picker)
+ {
+ _ContactPickerDidCancel (this, picker);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _ContactPickerDidCancel (ICNContactPickerDelegate This, CNContactPickerViewController picker)
+ {
+ var picker__handle__ = picker!.GetNonNullHandle (nameof (picker));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (This.Handle, Selector.GetHandle ("contactPickerDidCancel:"), picker__handle__);
+ }
+ [OptionalMember]
+ [Export ("contactPicker:didSelectContact:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidSelectContact (CNContactPickerViewController picker, global::Contacts.CNContact contact)
+ {
+ _DidSelectContact (this, picker, contact);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidSelectContact (ICNContactPickerDelegate This, CNContactPickerViewController picker, global::Contacts.CNContact contact)
+ {
+ var picker__handle__ = picker!.GetNonNullHandle (nameof (picker));
+ var contact__handle__ = contact!.GetNonNullHandle (nameof (contact));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("contactPicker:didSelectContact:"), picker__handle__, contact__handle__);
+ }
+ [OptionalMember]
+ [Export ("contactPicker:didSelectContactProperty:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidSelectContactProperty (CNContactPickerViewController picker, global::Contacts.CNContactProperty contactProperty)
+ {
+ _DidSelectContactProperty (this, picker, contactProperty);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidSelectContactProperty (ICNContactPickerDelegate This, CNContactPickerViewController picker, global::Contacts.CNContactProperty contactProperty)
+ {
+ var picker__handle__ = picker!.GetNonNullHandle (nameof (picker));
+ var contactProperty__handle__ = contactProperty!.GetNonNullHandle (nameof (contactProperty));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("contactPicker:didSelectContactProperty:"), picker__handle__, contactProperty__handle__);
+ }
+ [OptionalMember]
+ [Export ("contactPicker:didSelectContacts:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidSelectContacts (CNContactPickerViewController picker, global::Contacts.CNContact[] contacts)
+ {
+ _DidSelectContacts (this, picker, contacts);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidSelectContacts (ICNContactPickerDelegate This, CNContactPickerViewController picker, global::Contacts.CNContact[] contacts)
+ {
+ var picker__handle__ = picker!.GetNonNullHandle (nameof (picker));
+ if (contacts is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (contacts));
+ var nsa_contacts = NSArray.FromNSObjects (contacts);
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("contactPicker:didSelectContacts:"), picker__handle__, nsa_contacts.Handle);
+ nsa_contacts.Dispose ();
+ }
+ [OptionalMember]
+ [Export ("contactPicker:didSelectContactProperties:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidSelectContactProperties (CNContactPickerViewController picker, global::Contacts.CNContactProperty[] contactProperties)
+ {
+ _DidSelectContactProperties (this, picker, contactProperties);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidSelectContactProperties (ICNContactPickerDelegate This, CNContactPickerViewController picker, global::Contacts.CNContactProperty[] contactProperties)
+ {
+ var picker__handle__ = picker!.GetNonNullHandle (nameof (picker));
+ if (contactProperties is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (contactProperties));
+ var nsa_contactProperties = NSArray.FromNSObjects (contactProperties);
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("contactPicker:didSelectContactProperties:"), picker__handle__, nsa_contactProperties.Handle);
+ nsa_contactProperties.Dispose ();
+ }
}
/// <summary>Extension methods to the <see cref="ICNContactPickerDelegate" /> interface to support all the methods from the CNContactPickerDelegate protocol.</summary>
/// <remarks>
diff --git a/old/dotnet/ios/generated-sources/ContactsUI/CNContactViewControllerDelegate.g.cs b/new/dotnet/ios/generated-sources/ContactsUI/CNContactViewControllerDelegate.g.cs
index af23322..e397de4 100644
--- a/old/dotnet/ios/generated-sources/ContactsUI/CNContactViewControllerDelegate.g.cs
+++ b/new/dotnet/ios/generated-sources/ContactsUI/CNContactViewControllerDelegate.g.cs
@@ -57,6 +57,36 @@ namespace ContactsUI {
[ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "DidComplete", Selector = "contactViewController:didCompleteWithContact:", ParameterType = new Type [] { typeof (ContactsUI.CNContactViewController), typeof (CNContact) }, ParameterByRef = new bool [] { false, false })]
public partial interface ICNContactViewControllerDelegate : INativeObject, IDisposable
{
+ [OptionalMember]
+ [Export ("contactViewController:shouldPerformDefaultActionForContactProperty:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual bool ShouldPerformDefaultAction (CNContactViewController viewController, global::Contacts.CNContactProperty property)
+ {
+ return _ShouldPerformDefaultAction (this, viewController, property);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static bool _ShouldPerformDefaultAction (ICNContactViewControllerDelegate This, CNContactViewController viewController, global::Contacts.CNContactProperty property)
+ {
+ var viewController__handle__ = viewController!.GetNonNullHandle (nameof (viewController));
+ var property__handle__ = property!.GetNonNullHandle (nameof (property));
+ byte ret;
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("contactViewController:shouldPerformDefaultActionForContactProperty:"), viewController__handle__, property__handle__);
+ return ret != 0;
+ }
+ [OptionalMember]
+ [Export ("contactViewController:didCompleteWithContact:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidComplete (CNContactViewController viewController, global::Contacts.CNContact? contact)
+ {
+ _DidComplete (this, viewController, contact);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidComplete (ICNContactViewControllerDelegate This, CNContactViewController viewController, global::Contacts.CNContact? contact)
+ {
+ var viewController__handle__ = viewController!.GetNonNullHandle (nameof (viewController));
+ var contact__handle__ = contact.GetHandle ();
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("contactViewController:didCompleteWithContact:"), viewController__handle__, contact__handle__);
+ }
}
/// <summary>Extension methods to the <see cref="ICNContactViewControllerDelegate" /> interface to support all the methods from the CNContactViewControllerDelegate protocol.</summary>
/// <remarks>
diff --git a/old/dotnet/ios/generated-sources/CoreAnimation/CAAction.g.cs b/new/dotnet/ios/generated-sources/CoreAnimation/CAAction.g.cs
index 7ae2ac7..e83ce29 100644
--- a/old/dotnet/ios/generated-sources/CoreAnimation/CAAction.g.cs
+++ b/new/dotnet/ios/generated-sources/CoreAnimation/CAAction.g.cs
@@ -53,10 +53,18 @@ namespace CoreAnimation {
[ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "RunAction", Selector = "runActionForKey:object:arguments:", ParameterType = new Type [] { typeof (string), typeof (NSObject), typeof (NSDictionary) }, ParameterByRef = new bool [] { false, false, false })]
public partial interface ICAAction : INativeObject, IDisposable
{
- [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [RequiredMember]
[Export ("runActionForKey:object:arguments:")]
- [Preserve (Conditional = true)]
- void RunAction (string eventKey, NSObject obj, NSDictionary? arguments);
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void RunAction (string eventKey, NSObject obj, NSDictionary? arguments)
+ {
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _RunAction (ICAAction This, string eventKey, NSObject obj, NSDictionary? arguments)
+ {
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ }
}
internal unsafe sealed class CAActionWrapper : BaseWrapper, ICAAction {
[Preserve (Conditional = true)]
diff --git a/old/dotnet/ios/generated-sources/CoreAnimation/CAAnimationDelegate.g.cs b/new/dotnet/ios/generated-sources/CoreAnimation/CAAnimationDelegate.g.cs
index 9910d27..a9899cc 100644
--- a/old/dotnet/ios/generated-sources/CoreAnimation/CAAnimationDelegate.g.cs
+++ b/new/dotnet/ios/generated-sources/CoreAnimation/CAAnimationDelegate.g.cs
@@ -54,6 +54,32 @@ namespace CoreAnimation {
[ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "AnimationStopped", Selector = "animationDidStop:finished:", ParameterType = new Type [] { typeof (CAAnimation), typeof (bool) }, ParameterByRef = new bool [] { false, false })]
public partial interface ICAAnimationDelegate : INativeObject, IDisposable
{
+ [OptionalMember]
+ [Export ("animationDidStart:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void AnimationStarted (CAAnimation anim)
+ {
+ _AnimationStarted (this, anim);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _AnimationStarted (ICAAnimationDelegate This, CAAnimation anim)
+ {
+ var anim__handle__ = anim!.GetNonNullHandle (nameof (anim));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (This.Handle, Selector.GetHandle ("animationDidStart:"), anim__handle__);
+ }
+ [OptionalMember]
+ [Export ("animationDidStop:finished:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void AnimationStopped (CAAnimation anim, bool finished)
+ {
+ _AnimationStopped (this, anim, finished);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _AnimationStopped (ICAAnimationDelegate This, CAAnimation anim, bool finished)
+ {
+ var anim__handle__ = anim!.GetNonNullHandle (nameof (anim));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_bool (This.Handle, Selector.GetHandle ("animationDidStop:finished:"), anim__handle__, finished ? (byte) 1 : (byte) 0);
+ }
}
/// <summary>Extension methods to the <see cref="ICAAnimationDelegate" /> interface to support all the methods from the CAAnimationDelegate protocol.</summary>
/// <remarks>
diff --git a/old/dotnet/ios/generated-sources/CoreAnimation/CALayerDelegate.g.cs b/new/dotnet/ios/generated-sources/CoreAnimation/CALayerDelegate.g.cs
index fa279c8..0fc3802 100644
--- a/old/dotnet/ios/generated-sources/CoreAnimation/CALayerDelegate.g.cs
+++ b/new/dotnet/ios/generated-sources/CoreAnimation/CALayerDelegate.g.cs
@@ -57,6 +57,86 @@ namespace CoreAnimation {
[ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "ActionForLayer", Selector = "actionForLayer:forKey:", ReturnType = typeof (NSObject), ParameterType = new Type [] { typeof (CALayer), typeof (string) }, ParameterByRef = new bool [] { false, false })]
public partial interface ICALayerDelegate : INativeObject, IDisposable
{
+ [OptionalMember]
+ [Export ("displayLayer:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DisplayLayer (CALayer layer)
+ {
+ _DisplayLayer (this, layer);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DisplayLayer (ICALayerDelegate This, CALayer layer)
+ {
+ var layer__handle__ = layer!.GetNonNullHandle (nameof (layer));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (This.Handle, Selector.GetHandle ("displayLayer:"), layer__handle__);
+ }
+ [OptionalMember]
+ [Export ("drawLayer:inContext:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DrawLayer (CALayer layer, CGContext context)
+ {
+ _DrawLayer (this, layer, context);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DrawLayer (ICALayerDelegate This, CALayer layer, CGContext context)
+ {
+ var layer__handle__ = layer!.GetNonNullHandle (nameof (layer));
+ var context__handle__ = context!.GetNonNullHandle (nameof (context));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("drawLayer:inContext:"), layer__handle__, context.Handle);
+ }
+ [OptionalMember]
+ [Export ("layerWillDraw:")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("tvos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void WillDrawLayer (CALayer layer)
+ {
+ _WillDrawLayer (this, layer);
+ }
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("tvos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _WillDrawLayer (ICALayerDelegate This, CALayer layer)
+ {
+ var layer__handle__ = layer!.GetNonNullHandle (nameof (layer));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (This.Handle, Selector.GetHandle ("layerWillDraw:"), layer__handle__);
+ }
+ [OptionalMember]
+ [Export ("layoutSublayersOfLayer:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void LayoutSublayersOfLayer (CALayer layer)
+ {
+ _LayoutSublayersOfLayer (this, layer);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _LayoutSublayersOfLayer (ICALayerDelegate This, CALayer layer)
+ {
+ var layer__handle__ = layer!.GetNonNullHandle (nameof (layer));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (This.Handle, Selector.GetHandle ("layoutSublayersOfLayer:"), layer__handle__);
+ }
+ [OptionalMember]
+ [Export ("actionForLayer:forKey:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual NSObject? ActionForLayer (CALayer layer, string eventKey)
+ {
+ return _ActionForLayer (this, layer, eventKey);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static NSObject? _ActionForLayer (ICALayerDelegate This, CALayer layer, string eventKey)
+ {
+ var layer__handle__ = layer!.GetNonNullHandle (nameof (layer));
+ if (eventKey is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (eventKey));
+ var nseventKey = CFString.CreateNative (eventKey);
+ NSObject? ret;
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("actionForLayer:forKey:"), layer__handle__, nseventKey))!;
+ CFString.ReleaseNative (nseventKey);
+ return ret!;
+ }
}
/// <summary>Extension methods to the <see cref="ICALayerDelegate" /> interface to support all the methods from the CALayerDelegate protocol.</summary>
/// <remarks>
diff --git a/old/dotnet/ios/generated-sources/CoreAnimation/CAMediaTiming.g.cs b/new/dotnet/ios/generated-sources/CoreAnimation/CAMediaTiming.g.cs
index 39a4d66..9dce3af 100644
--- a/old/dotnet/ios/generated-sources/CoreAnimation/CAMediaTiming.g.cs
+++ b/new/dotnet/ios/generated-sources/CoreAnimation/CAMediaTiming.g.cs
@@ -60,61 +60,187 @@ namespace CoreAnimation {
[ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "FillMode", Selector = "fillMode", PropertyType = typeof (string), GetterSelector = "fillMode", SetterSelector = "setFillMode:", ArgumentSemantic = ArgumentSemantic.Copy)]
public partial interface ICAMediaTiming : INativeObject, IDisposable
{
- [Preserve (Conditional = true)]
- double BeginTime {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [RequiredMember]
+ public virtual double BeginTime {
[Export ("beginTime")]
- get;
+ get {
+ return _GetBeginTime (this);
+ }
[Export ("setBeginTime:")]
- set;
+ set {
+ _SetBeginTime (this, value);
+ }
}
- [Preserve (Conditional = true)]
- double Duration {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static double _GetBeginTime (ICAMediaTiming This)
+ {
+ return global::ObjCRuntime.Messaging.Double_objc_msgSend (This.Handle, Selector.GetHandle ("beginTime"));
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _SetBeginTime (ICAMediaTiming This, double value)
+ {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_Double (This.Handle, Selector.GetHandle ("setBeginTime:"), value);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [RequiredMember]
+ public virtual double Duration {
[Export ("duration")]
- get;
+ get {
+ return _GetDuration (this);
+ }
[Export ("setDuration:")]
- set;
+ set {
+ _SetDuration (this, value);
+ }
}
- [Preserve (Conditional = true)]
- float Speed {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static double _GetDuration (ICAMediaTiming This)
+ {
+ return global::ObjCRuntime.Messaging.Double_objc_msgSend (This.Handle, Selector.GetHandle ("duration"));
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _SetDuration (ICAMediaTiming This, double value)
+ {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_Double (This.Handle, Selector.GetHandle ("setDuration:"), value);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [RequiredMember]
+ public virtual float Speed {
[Export ("speed")]
- get;
+ get {
+ return _GetSpeed (this);
+ }
[Export ("setSpeed:")]
- set;
+ set {
+ _SetSpeed (this, value);
+ }
}
- [Preserve (Conditional = true)]
- double TimeOffset {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static float _GetSpeed (ICAMediaTiming This)
+ {
+ return global::ObjCRuntime.Messaging.float_objc_msgSend (This.Handle, Selector.GetHandle ("speed"));
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _SetSpeed (ICAMediaTiming This, float value)
+ {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_float (This.Handle, Selector.GetHandle ("setSpeed:"), value);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [RequiredMember]
+ public virtual double TimeOffset {
[Export ("timeOffset")]
- get;
+ get {
+ return _GetTimeOffset (this);
+ }
[Export ("setTimeOffset:")]
- set;
+ set {
+ _SetTimeOffset (this, value);
+ }
}
- [Preserve (Conditional = true)]
- float RepeatCount {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static double _GetTimeOffset (ICAMediaTiming This)
+ {
+ return global::ObjCRuntime.Messaging.Double_objc_msgSend (This.Handle, Selector.GetHandle ("timeOffset"));
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _SetTimeOffset (ICAMediaTiming This, double value)
+ {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_Double (This.Handle, Selector.GetHandle ("setTimeOffset:"), value);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [RequiredMember]
+ public virtual float RepeatCount {
[Export ("repeatCount")]
- get;
+ get {
+ return _GetRepeatCount (this);
+ }
[Export ("setRepeatCount:")]
- set;
+ set {
+ _SetRepeatCount (this, value);
+ }
}
- [Preserve (Conditional = true)]
- double RepeatDuration {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static float _GetRepeatCount (ICAMediaTiming This)
+ {
+ return global::ObjCRuntime.Messaging.float_objc_msgSend (This.Handle, Selector.GetHandle ("repeatCount"));
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _SetRepeatCount (ICAMediaTiming This, float value)
+ {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_float (This.Handle, Selector.GetHandle ("setRepeatCount:"), value);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [RequiredMember]
+ public virtual double RepeatDuration {
[Export ("repeatDuration")]
- get;
+ get {
+ return _GetRepeatDuration (this);
+ }
[Export ("setRepeatDuration:")]
- set;
+ set {
+ _SetRepeatDuration (this, value);
+ }
}
- [Preserve (Conditional = true)]
- bool AutoReverses {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static double _GetRepeatDuration (ICAMediaTiming This)
+ {
+ return global::ObjCRuntime.Messaging.Double_objc_msgSend (This.Handle, Selector.GetHandle ("repeatDuration"));
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _SetRepeatDuration (ICAMediaTiming This, double value)
+ {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_Double (This.Handle, Selector.GetHandle ("setRepeatDuration:"), value);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [RequiredMember]
+ public virtual bool AutoReverses {
[Export ("autoreverses")]
- get;
+ get {
+ return _GetAutoReverses (this);
+ }
[Export ("setAutoreverses:")]
- set;
+ set {
+ _SetAutoReverses (this, value);
+ }
}
- [Preserve (Conditional = true)]
- string FillMode {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static bool _GetAutoReverses (ICAMediaTiming This)
+ {
+ byte ret;
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend (This.Handle, Selector.GetHandle ("autoreverses"));
+ return ret != 0;
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _SetAutoReverses (ICAMediaTiming This, bool value)
+ {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_bool (This.Handle, Selector.GetHandle ("setAutoreverses:"), value ? (byte) 1 : (byte) 0);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [RequiredMember]
+ public virtual string FillMode {
[Export ("fillMode", ArgumentSemantic.Copy)]
- get;
+ get {
+ return _GetFillMode (this);
+ }
[Export ("setFillMode:", ArgumentSemantic.Copy)]
- set;
+ set {
+ _SetFillMode (this, value);
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static string _GetFillMode (ICAMediaTiming This)
+ {
+ return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (This.Handle, Selector.GetHandle ("fillMode")))!;
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _SetFillMode (ICAMediaTiming This, string value)
+ {
+ if (value is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (value));
+ var nsvalue = CFString.CreateNative (value);
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (This.Handle, Selector.GetHandle ("setFillMode:"), nsvalue);
+ CFString.ReleaseNative (nsvalue);
}
}
internal unsafe sealed class CAMediaTimingWrapper : BaseWrapper, ICAMediaTiming {
diff --git a/old/dotnet/ios/generated-sources/CoreAnimation/CAMetalDrawable.g.cs b/new/dotnet/ios/generated-sources/CoreAnimation/CAMetalDrawable.g.cs
index be360c2..840a2f4 100644
--- a/old/dotnet/ios/generated-sources/CoreAnimation/CAMetalDrawable.g.cs
+++ b/new/dotnet/ios/generated-sources/CoreAnimation/CAMetalDrawable.g.cs
@@ -59,15 +59,31 @@ namespace CoreAnimation {
public partial interface ICAMetalDrawable : INativeObject, IDisposable,
Metal.IMTLDrawable
{
- [Preserve (Conditional = true)]
- global::Metal.IMTLTexture Texture {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [RequiredMember]
+ public virtual global::Metal.IMTLTexture Texture {
[Export ("texture")]
- get;
+ get {
+ return _GetTexture (this);
+ }
}
- [Preserve (Conditional = true)]
- CAMetalLayer Layer {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static global::Metal.IMTLTexture _GetTexture (ICAMetalDrawable This)
+ {
+ return Runtime.GetINativeObject<global::Metal.IMTLTexture> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (This.Handle, Selector.GetHandle ("texture")), false)!;
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [RequiredMember]
+ public virtual CAMetalLayer Layer {
[Export ("layer")]
- get;
+ get {
+ return _GetLayer (this);
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static CAMetalLayer _GetLayer (ICAMetalDrawable This)
+ {
+ return Runtime.GetNSObject<CAMetalLayer> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (This.Handle, Selector.GetHandle ("layer")))!;
}
}
internal unsafe sealed class CAMetalDrawableWrapper : BaseWrapper, ICAMetalDrawable {
diff --git a/old/dotnet/ios/generated-sources/CoreBluetooth/CBCentralManagerDelegate.g.cs b/new/dotnet/ios/generated-sources/CoreBluetooth/CBCentralManagerDelegate.g.cs
index da99664..d4035c2 100644
--- a/old/dotnet/ios/generated-sources/CoreBluetooth/CBCentralManagerDelegate.g.cs
+++ b/new/dotnet/ios/generated-sources/CoreBluetooth/CBCentralManagerDelegate.g.cs
@@ -65,10 +65,183 @@ namespace CoreBluetooth {
[ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "DidDisconnectPeripheral", Selector = "centralManager:didDisconnectPeripheral:timestamp:isReconnecting:error:", ParameterType = new Type [] { typeof (CoreBluetooth.CBCentralManager), typeof (CoreBluetooth.CBPeripheral), typeof (double), typeof (bool), typeof (NSError) }, ParameterByRef = new bool [] { false, false, false, false, false })]
public partial interface ICBCentralManagerDelegate : INativeObject, IDisposable
{
- [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [RequiredMember]
[Export ("centralManagerDidUpdateState:")]
- [Preserve (Conditional = true)]
- void UpdatedState (CBCentralManager central);
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void UpdatedState (CBCentralManager central)
+ {
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _UpdatedState (ICBCentralManagerDelegate This, CBCentralManager central)
+ {
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ }
+ [OptionalMember]
+ [Export ("centralManager:didDiscoverPeripheral:advertisementData:RSSI:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DiscoveredPeripheral (CBCentralManager central, CBPeripheral peripheral, NSDictionary advertisementData, NSNumber RSSI)
+ {
+ _DiscoveredPeripheral (this, central, peripheral, advertisementData, RSSI);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DiscoveredPeripheral (ICBCentralManagerDelegate This, CBCentralManager central, CBPeripheral peripheral, NSDictionary advertisementData, NSNumber RSSI)
+ {
+ var central__handle__ = central!.GetNonNullHandle (nameof (central));
+ var peripheral__handle__ = peripheral!.GetNonNullHandle (nameof (peripheral));
+ var advertisementData__handle__ = advertisementData!.GetNonNullHandle (nameof (advertisementData));
+ var RSSI__handle__ = RSSI!.GetNonNullHandle (nameof (RSSI));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("centralManager:didDiscoverPeripheral:advertisementData:RSSI:"), central__handle__, peripheral__handle__, advertisementData__handle__, RSSI__handle__);
+ }
+ [OptionalMember]
+ [Export ("centralManager:didConnectPeripheral:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void ConnectedPeripheral (CBCentralManager central, CBPeripheral peripheral)
+ {
+ _ConnectedPeripheral (this, central, peripheral);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _ConnectedPeripheral (ICBCentralManagerDelegate This, CBCentralManager central, CBPeripheral peripheral)
+ {
+ var central__handle__ = central!.GetNonNullHandle (nameof (central));
+ var peripheral__handle__ = peripheral!.GetNonNullHandle (nameof (peripheral));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("centralManager:didConnectPeripheral:"), central__handle__, peripheral__handle__);
+ }
+ [OptionalMember]
+ [Export ("centralManager:didFailToConnectPeripheral:error:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void FailedToConnectPeripheral (CBCentralManager central, CBPeripheral peripheral, NSError? error)
+ {
+ _FailedToConnectPeripheral (this, central, peripheral, error);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _FailedToConnectPeripheral (ICBCentralManagerDelegate This, CBCentralManager central, CBPeripheral peripheral, NSError? error)
+ {
+ var central__handle__ = central!.GetNonNullHandle (nameof (central));
+ var peripheral__handle__ = peripheral!.GetNonNullHandle (nameof (peripheral));
+ var error__handle__ = error.GetHandle ();
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("centralManager:didFailToConnectPeripheral:error:"), central__handle__, peripheral__handle__, error__handle__);
+ }
+ [OptionalMember]
+ [Export ("centralManager:didDisconnectPeripheral:error:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DisconnectedPeripheral (CBCentralManager central, CBPeripheral peripheral, NSError? error)
+ {
+ _DisconnectedPeripheral (this, central, peripheral, error);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DisconnectedPeripheral (ICBCentralManagerDelegate This, CBCentralManager central, CBPeripheral peripheral, NSError? error)
+ {
+ var central__handle__ = central!.GetNonNullHandle (nameof (central));
+ var peripheral__handle__ = peripheral!.GetNonNullHandle (nameof (peripheral));
+ var error__handle__ = error.GetHandle ();
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("centralManager:didDisconnectPeripheral:error:"), central__handle__, peripheral__handle__, error__handle__);
+ }
+ [OptionalMember]
+ [Export ("centralManager:willRestoreState:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void WillRestoreState (CBCentralManager central, NSDictionary dict)
+ {
+ _WillRestoreState (this, central, dict);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _WillRestoreState (ICBCentralManagerDelegate This, CBCentralManager central, NSDictionary dict)
+ {
+ var central__handle__ = central!.GetNonNullHandle (nameof (central));
+ var dict__handle__ = dict!.GetNonNullHandle (nameof (dict));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("centralManager:willRestoreState:"), central__handle__, dict__handle__);
+ }
+ [OptionalMember]
+ [Export ("centralManager:connectionEventDidOccur:forPeripheral:")]
+ [SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("tvos13.0")]
+ [UnsupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void ConnectionEventDidOccur (CBCentralManager central, CBConnectionEvent connectionEvent, CBPeripheral peripheral)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ _ConnectionEventDidOccur (this, central, connectionEvent, peripheral);
+ #endif
+ }
+ [SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("tvos13.0")]
+ [UnsupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _ConnectionEventDidOccur (ICBCentralManagerDelegate This, CBCentralManager central, CBConnectionEvent connectionEvent, CBPeripheral peripheral)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var central__handle__ = central!.GetNonNullHandle (nameof (central));
+ var peripheral__handle__ = peripheral!.GetNonNullHandle (nameof (peripheral));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_IntPtr_NativeHandle (This.Handle, Selector.GetHandle ("centralManager:connectionEventDidOccur:forPeripheral:"), central__handle__, (IntPtr) (long) connectionEvent, peripheral__handle__);
+ #endif
+ }
+ [OptionalMember]
+ [Export ("centralManager:didUpdateANCSAuthorizationForPeripheral:")]
+ [SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("tvos13.0")]
+ [UnsupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidUpdateAncsAuthorization (CBCentralManager central, CBPeripheral peripheral)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ _DidUpdateAncsAuthorization (this, central, peripheral);
+ #endif
+ }
+ [SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("tvos13.0")]
+ [UnsupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidUpdateAncsAuthorization (ICBCentralManagerDelegate This, CBCentralManager central, CBPeripheral peripheral)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var central__handle__ = central!.GetNonNullHandle (nameof (central));
+ var peripheral__handle__ = peripheral!.GetNonNullHandle (nameof (peripheral));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("centralManager:didUpdateANCSAuthorizationForPeripheral:"), central__handle__, peripheral__handle__);
+ #endif
+ }
+ [OptionalMember]
+ [Export ("centralManager:didDisconnectPeripheral:timestamp:isReconnecting:error:")]
+ [SupportedOSPlatform ("ios17.0")]
+ [SupportedOSPlatform ("tvos17.0")]
+ [SupportedOSPlatform ("macos14.0")]
+ [SupportedOSPlatform ("maccatalyst17.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidDisconnectPeripheral (CBCentralManager central, CBPeripheral peripheral, double timestamp, bool isReconnecting, NSError? error)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ _DidDisconnectPeripheral (this, central, peripheral, timestamp, isReconnecting, error);
+ #endif
+ }
+ [SupportedOSPlatform ("ios17.0")]
+ [SupportedOSPlatform ("tvos17.0")]
+ [SupportedOSPlatform ("macos14.0")]
+ [SupportedOSPlatform ("maccatalyst17.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidDisconnectPeripheral (ICBCentralManagerDelegate This, CBCentralManager central, CBPeripheral peripheral, double timestamp, bool isReconnecting, NSError? error)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var central__handle__ = central!.GetNonNullHandle (nameof (central));
+ var peripheral__handle__ = peripheral!.GetNonNullHandle (nameof (peripheral));
+ var error__handle__ = error.GetHandle ();
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle_Double_bool_NativeHandle (This.Handle, Selector.GetHandle ("centralManager:didDisconnectPeripheral:timestamp:isReconnecting:error:"), central__handle__, peripheral__handle__, timestamp, isReconnecting ? (byte) 1 : (byte) 0, error__handle__);
+ #endif
+ }
}
/// <summary>Extension methods to the <see cref="ICBCentralManagerDelegate" /> interface to support all the methods from the CBCentralManagerDelegate protocol.</summary>
/// <remarks>
diff --git a/old/dotnet/ios/generated-sources/CoreBluetooth/CBPeripheralDelegate.g.cs b/new/dotnet/ios/generated-sources/CoreBluetooth/CBPeripheralDelegate.g.cs
index 5a5afc4..fcd123a 100644
--- a/old/dotnet/ios/generated-sources/CoreBluetooth/CBPeripheralDelegate.g.cs
+++ b/new/dotnet/ios/generated-sources/CoreBluetooth/CBPeripheralDelegate.g.cs
@@ -71,6 +71,267 @@ namespace CoreBluetooth {
[ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "IsReadyToSendWriteWithoutResponse", Selector = "peripheralIsReadyToSendWriteWithoutResponse:", ParameterType = new Type [] { typeof (CoreBluetooth.CBPeripheral) }, ParameterByRef = new bool [] { false })]
public partial interface ICBPeripheralDelegate : INativeObject, IDisposable
{
+ [OptionalMember]
+ [Export ("peripheralDidUpdateRSSI:error:")]
+ [ObsoletedOSPlatform ("macos10.13", "Use 'RssiRead' instead.")]
+ [ObsoletedOSPlatform ("ios8.0", "Use 'RssiRead' instead.")]
+ [ObsoletedOSPlatform ("tvos9.0", "Use 'RssiRead' instead.")]
+ [ObsoletedOSPlatform ("maccatalyst13.1", "Use 'RssiRead' instead.")]
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void RssiUpdated (CBPeripheral peripheral, NSError? error)
+ {
+ _RssiUpdated (this, peripheral, error);
+ }
+ [ObsoletedOSPlatform ("macos10.13", "Use 'RssiRead' instead.")]
+ [ObsoletedOSPlatform ("ios8.0", "Use 'RssiRead' instead.")]
+ [ObsoletedOSPlatform ("tvos9.0", "Use 'RssiRead' instead.")]
+ [ObsoletedOSPlatform ("maccatalyst13.1", "Use 'RssiRead' instead.")]
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _RssiUpdated (ICBPeripheralDelegate This, CBPeripheral peripheral, NSError? error)
+ {
+ var peripheral__handle__ = peripheral!.GetNonNullHandle (nameof (peripheral));
+ var error__handle__ = error.GetHandle ();
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("peripheralDidUpdateRSSI:error:"), peripheral__handle__, error__handle__);
+ }
+ [OptionalMember]
+ [Export ("peripheral:didReadRSSI:error:")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("tvos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void RssiRead (CBPeripheral peripheral, NSNumber rssi, NSError? error)
+ {
+ _RssiRead (this, peripheral, rssi, error);
+ }
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("tvos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _RssiRead (ICBPeripheralDelegate This, CBPeripheral peripheral, NSNumber rssi, NSError? error)
+ {
+ var peripheral__handle__ = peripheral!.GetNonNullHandle (nameof (peripheral));
+ var rssi__handle__ = rssi!.GetNonNullHandle (nameof (rssi));
+ var error__handle__ = error.GetHandle ();
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("peripheral:didReadRSSI:error:"), peripheral__handle__, rssi__handle__, error__handle__);
+ }
+ [OptionalMember]
+ [Export ("peripheral:didDiscoverServices:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DiscoveredService (CBPeripheral peripheral, NSError? error)
+ {
+ _DiscoveredService (this, peripheral, error);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DiscoveredService (ICBPeripheralDelegate This, CBPeripheral peripheral, NSError? error)
+ {
+ var peripheral__handle__ = peripheral!.GetNonNullHandle (nameof (peripheral));
+ var error__handle__ = error.GetHandle ();
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("peripheral:didDiscoverServices:"), peripheral__handle__, error__handle__);
+ }
+ [OptionalMember]
+ [Export ("peripheral:didDiscoverIncludedServicesForService:error:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DiscoveredIncludedService (CBPeripheral peripheral, CBService service, NSError? error)
+ {
+ _DiscoveredIncludedService (this, peripheral, service, error);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DiscoveredIncludedService (ICBPeripheralDelegate This, CBPeripheral peripheral, CBService service, NSError? error)
+ {
+ var peripheral__handle__ = peripheral!.GetNonNullHandle (nameof (peripheral));
+ var service__handle__ = service!.GetNonNullHandle (nameof (service));
+ var error__handle__ = error.GetHandle ();
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("peripheral:didDiscoverIncludedServicesForService:error:"), peripheral__handle__, service__handle__, error__handle__);
+ }
+ [OptionalMember]
+ [Export ("peripheral:didDiscoverCharacteristicsForService:error:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DiscoveredCharacteristics (CBPeripheral peripheral, CBService service, NSError? error)
+ {
+ _DiscoveredCharacteristics (this, peripheral, service, error);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DiscoveredCharacteristics (ICBPeripheralDelegate This, CBPeripheral peripheral, CBService service, NSError? error)
+ {
+ var peripheral__handle__ = peripheral!.GetNonNullHandle (nameof (peripheral));
+ var service__handle__ = service!.GetNonNullHandle (nameof (service));
+ var error__handle__ = error.GetHandle ();
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("peripheral:didDiscoverCharacteristicsForService:error:"), peripheral__handle__, service__handle__, error__handle__);
+ }
+ [OptionalMember]
+ [Export ("peripheral:didUpdateValueForCharacteristic:error:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void UpdatedCharacterteristicValue (CBPeripheral peripheral, CBCharacteristic characteristic, NSError? error)
+ {
+ _UpdatedCharacterteristicValue (this, peripheral, characteristic, error);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _UpdatedCharacterteristicValue (ICBPeripheralDelegate This, CBPeripheral peripheral, CBCharacteristic characteristic, NSError? error)
+ {
+ var peripheral__handle__ = peripheral!.GetNonNullHandle (nameof (peripheral));
+ var characteristic__handle__ = characteristic!.GetNonNullHandle (nameof (characteristic));
+ var error__handle__ = error.GetHandle ();
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("peripheral:didUpdateValueForCharacteristic:error:"), peripheral__handle__, characteristic__handle__, error__handle__);
+ }
+ [OptionalMember]
+ [Export ("peripheral:didWriteValueForCharacteristic:error:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void WroteCharacteristicValue (CBPeripheral peripheral, CBCharacteristic characteristic, NSError? error)
+ {
+ _WroteCharacteristicValue (this, peripheral, characteristic, error);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _WroteCharacteristicValue (ICBPeripheralDelegate This, CBPeripheral peripheral, CBCharacteristic characteristic, NSError? error)
+ {
+ var peripheral__handle__ = peripheral!.GetNonNullHandle (nameof (peripheral));
+ var characteristic__handle__ = characteristic!.GetNonNullHandle (nameof (characteristic));
+ var error__handle__ = error.GetHandle ();
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("peripheral:didWriteValueForCharacteristic:error:"), peripheral__handle__, characteristic__handle__, error__handle__);
+ }
+ [OptionalMember]
+ [Export ("peripheral:didUpdateNotificationStateForCharacteristic:error:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void UpdatedNotificationState (CBPeripheral peripheral, CBCharacteristic characteristic, NSError? error)
+ {
+ _UpdatedNotificationState (this, peripheral, characteristic, error);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _UpdatedNotificationState (ICBPeripheralDelegate This, CBPeripheral peripheral, CBCharacteristic characteristic, NSError? error)
+ {
+ var peripheral__handle__ = peripheral!.GetNonNullHandle (nameof (peripheral));
+ var characteristic__handle__ = characteristic!.GetNonNullHandle (nameof (characteristic));
+ var error__handle__ = error.GetHandle ();
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("peripheral:didUpdateNotificationStateForCharacteristic:error:"), peripheral__handle__, characteristic__handle__, error__handle__);
+ }
+ [OptionalMember]
+ [Export ("peripheral:didDiscoverDescriptorsForCharacteristic:error:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DiscoveredDescriptor (CBPeripheral peripheral, CBCharacteristic characteristic, NSError? error)
+ {
+ _DiscoveredDescriptor (this, peripheral, characteristic, error);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DiscoveredDescriptor (ICBPeripheralDelegate This, CBPeripheral peripheral, CBCharacteristic characteristic, NSError? error)
+ {
+ var peripheral__handle__ = peripheral!.GetNonNullHandle (nameof (peripheral));
+ var characteristic__handle__ = characteristic!.GetNonNullHandle (nameof (characteristic));
+ var error__handle__ = error.GetHandle ();
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("peripheral:didDiscoverDescriptorsForCharacteristic:error:"), peripheral__handle__, characteristic__handle__, error__handle__);
+ }
+ [OptionalMember]
+ [Export ("peripheral:didUpdateValueForDescriptor:error:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void UpdatedValue (CBPeripheral peripheral, CBDescriptor descriptor, NSError? error)
+ {
+ _UpdatedValue (this, peripheral, descriptor, error);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _UpdatedValue (ICBPeripheralDelegate This, CBPeripheral peripheral, CBDescriptor descriptor, NSError? error)
+ {
+ var peripheral__handle__ = peripheral!.GetNonNullHandle (nameof (peripheral));
+ var descriptor__handle__ = descriptor!.GetNonNullHandle (nameof (descriptor));
+ var error__handle__ = error.GetHandle ();
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("peripheral:didUpdateValueForDescriptor:error:"), peripheral__handle__, descriptor__handle__, error__handle__);
+ }
+ [OptionalMember]
+ [Export ("peripheral:didWriteValueForDescriptor:error:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void WroteDescriptorValue (CBPeripheral peripheral, CBDescriptor descriptor, NSError? error)
+ {
+ _WroteDescriptorValue (this, peripheral, descriptor, error);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _WroteDescriptorValue (ICBPeripheralDelegate This, CBPeripheral peripheral, CBDescriptor descriptor, NSError? error)
+ {
+ var peripheral__handle__ = peripheral!.GetNonNullHandle (nameof (peripheral));
+ var descriptor__handle__ = descriptor!.GetNonNullHandle (nameof (descriptor));
+ var error__handle__ = error.GetHandle ();
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("peripheral:didWriteValueForDescriptor:error:"), peripheral__handle__, descriptor__handle__, error__handle__);
+ }
+ [OptionalMember]
+ [Export ("peripheralDidUpdateName:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void UpdatedName (CBPeripheral peripheral)
+ {
+ _UpdatedName (this, peripheral);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _UpdatedName (ICBPeripheralDelegate This, CBPeripheral peripheral)
+ {
+ var peripheral__handle__ = peripheral!.GetNonNullHandle (nameof (peripheral));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (This.Handle, Selector.GetHandle ("peripheralDidUpdateName:"), peripheral__handle__);
+ }
+ [OptionalMember]
+ [Export ("peripheral:didModifyServices:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void ModifiedServices (CBPeripheral peripheral, CBService[] services)
+ {
+ _ModifiedServices (this, peripheral, services);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _ModifiedServices (ICBPeripheralDelegate This, CBPeripheral peripheral, CBService[] services)
+ {
+ var peripheral__handle__ = peripheral!.GetNonNullHandle (nameof (peripheral));
+ if (services is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (services));
+ var nsa_services = NSArray.FromNSObjects (services);
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("peripheral:didModifyServices:"), peripheral__handle__, nsa_services.Handle);
+ nsa_services.Dispose ();
+ }
+ [OptionalMember]
+ [Export ("peripheral:didOpenL2CAPChannel:error:")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("tvos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidOpenL2CapChannel (CBPeripheral peripheral, CBL2CapChannel? channel, NSError? error)
+ {
+ _DidOpenL2CapChannel (this, peripheral, channel, error);
+ }
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("tvos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidOpenL2CapChannel (ICBPeripheralDelegate This, CBPeripheral peripheral, CBL2CapChannel? channel, NSError? error)
+ {
+ var peripheral__handle__ = peripheral!.GetNonNullHandle (nameof (peripheral));
+ var channel__handle__ = channel.GetHandle ();
+ var error__handle__ = error.GetHandle ();
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("peripheral:didOpenL2CAPChannel:error:"), peripheral__handle__, channel__handle__, error__handle__);
+ }
+ [OptionalMember]
+ [Export ("peripheralIsReadyToSendWriteWithoutResponse:")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("tvos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void IsReadyToSendWriteWithoutResponse (CBPeripheral peripheral)
+ {
+ _IsReadyToSendWriteWithoutResponse (this, peripheral);
+ }
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("tvos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _IsReadyToSendWriteWithoutResponse (ICBPeripheralDelegate This, CBPeripheral peripheral)
+ {
+ var peripheral__handle__ = peripheral!.GetNonNullHandle (nameof (peripheral));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (This.Handle, Selector.GetHandle ("peripheralIsReadyToSendWriteWithoutResponse:"), peripheral__handle__);
+ }
}
/// <summary>Extension methods to the <see cref="ICBPeripheralDelegate" /> interface to support all the methods from the CBPeripheralDelegate protocol.</summary>
/// <remarks>
diff --git a/old/dotnet/ios/generated-sources/CoreBluetooth/CBPeripheralManagerDelegate.g.cs b/new/dotnet/ios/generated-sources/CoreBluetooth/CBPeripheralManagerDelegate.g.cs
index 1e5e531..1bddc1d 100644
--- a/old/dotnet/ios/generated-sources/CoreBluetooth/CBPeripheralManagerDelegate.g.cs
+++ b/new/dotnet/ios/generated-sources/CoreBluetooth/CBPeripheralManagerDelegate.g.cs
@@ -68,10 +68,202 @@ namespace CoreBluetooth {
[ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "DidPublishL2CapChannel", Selector = "peripheralManager:didPublishL2CAPChannel:error:", ParameterType = new Type [] { typeof (CoreBluetooth.CBPeripheralManager), typeof (UInt16), typeof (NSError) }, ParameterByRef = new bool [] { false, false, false })]
public partial interface ICBPeripheralManagerDelegate : INativeObject, IDisposable
{
- [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [RequiredMember]
[Export ("peripheralManagerDidUpdateState:")]
- [Preserve (Conditional = true)]
- void StateUpdated (CBPeripheralManager peripheral);
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void StateUpdated (CBPeripheralManager peripheral)
+ {
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _StateUpdated (ICBPeripheralManagerDelegate This, CBPeripheralManager peripheral)
+ {
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ }
+ [OptionalMember]
+ [Export ("peripheralManager:willRestoreState:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void WillRestoreState (CBPeripheralManager peripheral, NSDictionary dict)
+ {
+ _WillRestoreState (this, peripheral, dict);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _WillRestoreState (ICBPeripheralManagerDelegate This, CBPeripheralManager peripheral, NSDictionary dict)
+ {
+ var peripheral__handle__ = peripheral!.GetNonNullHandle (nameof (peripheral));
+ var dict__handle__ = dict!.GetNonNullHandle (nameof (dict));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("peripheralManager:willRestoreState:"), peripheral__handle__, dict__handle__);
+ }
+ [OptionalMember]
+ [Export ("peripheralManagerDidStartAdvertising:error:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void AdvertisingStarted (CBPeripheralManager peripheral, NSError? error)
+ {
+ _AdvertisingStarted (this, peripheral, error);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _AdvertisingStarted (ICBPeripheralManagerDelegate This, CBPeripheralManager peripheral, NSError? error)
+ {
+ var peripheral__handle__ = peripheral!.GetNonNullHandle (nameof (peripheral));
+ var error__handle__ = error.GetHandle ();
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("peripheralManagerDidStartAdvertising:error:"), peripheral__handle__, error__handle__);
+ }
+ [OptionalMember]
+ [Export ("peripheralManager:didAddService:error:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void ServiceAdded (CBPeripheralManager peripheral, CBService service, NSError? error)
+ {
+ _ServiceAdded (this, peripheral, service, error);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _ServiceAdded (ICBPeripheralManagerDelegate This, CBPeripheralManager peripheral, CBService service, NSError? error)
+ {
+ var peripheral__handle__ = peripheral!.GetNonNullHandle (nameof (peripheral));
+ var service__handle__ = service!.GetNonNullHandle (nameof (service));
+ var error__handle__ = error.GetHandle ();
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("peripheralManager:didAddService:error:"), peripheral__handle__, service__handle__, error__handle__);
+ }
+ [OptionalMember]
+ [Export ("peripheralManager:central:didSubscribeToCharacteristic:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void CharacteristicSubscribed (CBPeripheralManager peripheral, CBCentral central, CBCharacteristic characteristic)
+ {
+ _CharacteristicSubscribed (this, peripheral, central, characteristic);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _CharacteristicSubscribed (ICBPeripheralManagerDelegate This, CBPeripheralManager peripheral, CBCentral central, CBCharacteristic characteristic)
+ {
+ var peripheral__handle__ = peripheral!.GetNonNullHandle (nameof (peripheral));
+ var central__handle__ = central!.GetNonNullHandle (nameof (central));
+ var characteristic__handle__ = characteristic!.GetNonNullHandle (nameof (characteristic));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("peripheralManager:central:didSubscribeToCharacteristic:"), peripheral__handle__, central__handle__, characteristic__handle__);
+ }
+ [OptionalMember]
+ [Export ("peripheralManager:central:didUnsubscribeFromCharacteristic:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void CharacteristicUnsubscribed (CBPeripheralManager peripheral, CBCentral central, CBCharacteristic characteristic)
+ {
+ _CharacteristicUnsubscribed (this, peripheral, central, characteristic);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _CharacteristicUnsubscribed (ICBPeripheralManagerDelegate This, CBPeripheralManager peripheral, CBCentral central, CBCharacteristic characteristic)
+ {
+ var peripheral__handle__ = peripheral!.GetNonNullHandle (nameof (peripheral));
+ var central__handle__ = central!.GetNonNullHandle (nameof (central));
+ var characteristic__handle__ = characteristic!.GetNonNullHandle (nameof (characteristic));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("peripheralManager:central:didUnsubscribeFromCharacteristic:"), peripheral__handle__, central__handle__, characteristic__handle__);
+ }
+ [OptionalMember]
+ [Export ("peripheralManager:didReceiveReadRequest:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void ReadRequestReceived (CBPeripheralManager peripheral, CBATTRequest request)
+ {
+ _ReadRequestReceived (this, peripheral, request);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _ReadRequestReceived (ICBPeripheralManagerDelegate This, CBPeripheralManager peripheral, CBATTRequest request)
+ {
+ var peripheral__handle__ = peripheral!.GetNonNullHandle (nameof (peripheral));
+ var request__handle__ = request!.GetNonNullHandle (nameof (request));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("peripheralManager:didReceiveReadRequest:"), peripheral__handle__, request__handle__);
+ }
+ [OptionalMember]
+ [Export ("peripheralManager:didReceiveWriteRequests:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void WriteRequestsReceived (CBPeripheralManager peripheral, CBATTRequest[] requests)
+ {
+ _WriteRequestsReceived (this, peripheral, requests);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _WriteRequestsReceived (ICBPeripheralManagerDelegate This, CBPeripheralManager peripheral, CBATTRequest[] requests)
+ {
+ var peripheral__handle__ = peripheral!.GetNonNullHandle (nameof (peripheral));
+ if (requests is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (requests));
+ var nsa_requests = NSArray.FromNSObjects (requests);
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("peripheralManager:didReceiveWriteRequests:"), peripheral__handle__, nsa_requests.Handle);
+ nsa_requests.Dispose ();
+ }
+ [OptionalMember]
+ [Export ("peripheralManagerIsReadyToUpdateSubscribers:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void ReadyToUpdateSubscribers (CBPeripheralManager peripheral)
+ {
+ _ReadyToUpdateSubscribers (this, peripheral);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _ReadyToUpdateSubscribers (ICBPeripheralManagerDelegate This, CBPeripheralManager peripheral)
+ {
+ var peripheral__handle__ = peripheral!.GetNonNullHandle (nameof (peripheral));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (This.Handle, Selector.GetHandle ("peripheralManagerIsReadyToUpdateSubscribers:"), peripheral__handle__);
+ }
+ [OptionalMember]
+ [Export ("peripheralManager:didOpenL2CAPChannel:error:")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("tvos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidOpenL2CapChannel (CBPeripheralManager peripheral, CBL2CapChannel? channel, NSError? error)
+ {
+ _DidOpenL2CapChannel (this, peripheral, channel, error);
+ }
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("tvos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidOpenL2CapChannel (ICBPeripheralManagerDelegate This, CBPeripheralManager peripheral, CBL2CapChannel? channel, NSError? error)
+ {
+ var peripheral__handle__ = peripheral!.GetNonNullHandle (nameof (peripheral));
+ var channel__handle__ = channel.GetHandle ();
+ var error__handle__ = error.GetHandle ();
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("peripheralManager:didOpenL2CAPChannel:error:"), peripheral__handle__, channel__handle__, error__handle__);
+ }
+ [OptionalMember]
+ [Export ("peripheralManager:didUnpublishL2CAPChannel:error:")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("tvos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidUnpublishL2CapChannel (CBPeripheralManager peripheral, ushort psm, NSError? error)
+ {
+ _DidUnpublishL2CapChannel (this, peripheral, psm, error);
+ }
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("tvos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidUnpublishL2CapChannel (ICBPeripheralManagerDelegate This, CBPeripheralManager peripheral, ushort psm, NSError? error)
+ {
+ var peripheral__handle__ = peripheral!.GetNonNullHandle (nameof (peripheral));
+ var error__handle__ = error.GetHandle ();
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_UInt16_NativeHandle (This.Handle, Selector.GetHandle ("peripheralManager:didUnpublishL2CAPChannel:error:"), peripheral__handle__, psm, error__handle__);
+ }
+ [OptionalMember]
+ [Export ("peripheralManager:didPublishL2CAPChannel:error:")]
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("tvos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidPublishL2CapChannel (CBPeripheralManager peripheral, ushort psm, NSError? error)
+ {
+ _DidPublishL2CapChannel (this, peripheral, psm, error);
+ }
+ [SupportedOSPlatform ("maccatalyst")]
+ [SupportedOSPlatform ("ios")]
+ [SupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("tvos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidPublishL2CapChannel (ICBPeripheralManagerDelegate This, CBPeripheralManager peripheral, ushort psm, NSError? error)
+ {
+ var peripheral__handle__ = peripheral!.GetNonNullHandle (nameof (peripheral));
+ var error__handle__ = error.GetHandle ();
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_UInt16_NativeHandle (This.Handle, Selector.GetHandle ("peripheralManager:didPublishL2CAPChannel:error:"), peripheral__handle__, psm, error__handle__);
+ }
}
/// <summary>Extension methods to the <see cref="ICBPeripheralManagerDelegate" /> interface to support all the methods from the CBPeripheralManagerDelegate protocol.</summary>
/// <remarks>
diff --git a/old/dotnet/ios/generated-sources/CoreData/NSFetchedResultsControllerDelegate.g.cs b/new/dotnet/ios/generated-sources/CoreData/NSFetchedResultsControllerDelegate.g.cs
index 5c7e975..e96bc9c 100644
--- a/old/dotnet/ios/generated-sources/CoreData/NSFetchedResultsControllerDelegate.g.cs
+++ b/new/dotnet/ios/generated-sources/CoreData/NSFetchedResultsControllerDelegate.g.cs
@@ -61,6 +61,81 @@ namespace CoreData {
[ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "SectionFor", Selector = "controller:sectionIndexTitleForSectionName:", ReturnType = typeof (string), ParameterType = new Type [] { typeof (CoreData.NSFetchedResultsController), typeof (string) }, ParameterByRef = new bool [] { false, false })]
public partial interface INSFetchedResultsControllerDelegate : INativeObject, IDisposable
{
+ [OptionalMember]
+ [Export ("controllerWillChangeContent:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void WillChangeContent (NSFetchedResultsController controller)
+ {
+ _WillChangeContent (this, controller);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _WillChangeContent (INSFetchedResultsControllerDelegate This, NSFetchedResultsController controller)
+ {
+ var controller__handle__ = controller!.GetNonNullHandle (nameof (controller));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (This.Handle, Selector.GetHandle ("controllerWillChangeContent:"), controller__handle__);
+ }
+ [OptionalMember]
+ [Export ("controller:didChangeObject:atIndexPath:forChangeType:newIndexPath:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidChangeObject (NSFetchedResultsController controller, NSObject anObject, NSIndexPath? indexPath, NSFetchedResultsChangeType type, NSIndexPath? newIndexPath)
+ {
+ _DidChangeObject (this, controller, anObject, indexPath, type, newIndexPath);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidChangeObject (INSFetchedResultsControllerDelegate This, NSFetchedResultsController controller, NSObject anObject, NSIndexPath? indexPath, NSFetchedResultsChangeType type, NSIndexPath? newIndexPath)
+ {
+ var controller__handle__ = controller!.GetNonNullHandle (nameof (controller));
+ var anObject__handle__ = anObject!.GetNonNullHandle (nameof (anObject));
+ var indexPath__handle__ = indexPath.GetHandle ();
+ var newIndexPath__handle__ = newIndexPath.GetHandle ();
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle_NativeHandle_UIntPtr_NativeHandle (This.Handle, Selector.GetHandle ("controller:didChangeObject:atIndexPath:forChangeType:newIndexPath:"), controller__handle__, anObject__handle__, indexPath__handle__, (UIntPtr) (ulong) type, newIndexPath__handle__);
+ }
+ [OptionalMember]
+ [Export ("controller:didChangeSection:atIndex:forChangeType:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidChangeSection (NSFetchedResultsController controller, INSFetchedResultsSectionInfo sectionInfo, nuint sectionIndex, NSFetchedResultsChangeType type)
+ {
+ _DidChangeSection (this, controller, sectionInfo, sectionIndex, type);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidChangeSection (INSFetchedResultsControllerDelegate This, NSFetchedResultsController controller, INSFetchedResultsSectionInfo sectionInfo, nuint sectionIndex, NSFetchedResultsChangeType type)
+ {
+ var controller__handle__ = controller!.GetNonNullHandle (nameof (controller));
+ var sectionInfo__handle__ = sectionInfo!.GetNonNullHandle (nameof (sectionInfo));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle_UIntPtr_UIntPtr (This.Handle, Selector.GetHandle ("controller:didChangeSection:atIndex:forChangeType:"), controller__handle__, sectionInfo__handle__, sectionIndex, (UIntPtr) (ulong) type);
+ }
+ [OptionalMember]
+ [Export ("controllerDidChangeContent:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void DidChangeContent (NSFetchedResultsController controller)
+ {
+ _DidChangeContent (this, controller);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _DidChangeContent (INSFetchedResultsControllerDelegate This, NSFetchedResultsController controller)
+ {
+ var controller__handle__ = controller!.GetNonNullHandle (nameof (controller));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (This.Handle, Selector.GetHandle ("controllerDidChangeContent:"), controller__handle__);
+ }
+ [OptionalMember]
+ [Export ("controller:sectionIndexTitleForSectionName:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual string? SectionFor (NSFetchedResultsController controller, string sectionName)
+ {
+ return _SectionFor (this, controller, sectionName);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static string? _SectionFor (INSFetchedResultsControllerDelegate This, NSFetchedResultsController controller, string sectionName)
+ {
+ var controller__handle__ = controller!.GetNonNullHandle (nameof (controller));
+ if (sectionName is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (sectionName));
+ var nssectionName = CFString.CreateNative (sectionName);
+ string? ret;
+ ret = CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("controller:sectionIndexTitleForSectionName:"), controller__handle__, nssectionName))!;
+ CFString.ReleaseNative (nssectionName);
+ return ret!;
+ }
}
/// <summary>Extension methods to the <see cref="INSFetchedResultsControllerDelegate" /> interface to support all the methods from the NSFetchedResultsControllerDelegate protocol.</summary>
/// <remarks>
diff --git a/old/dotnet/ios/generated-sources/CoreData/NSFetchedResultsSectionInfo.g.cs b/new/dotnet/ios/generated-sources/CoreData/NSFetchedResultsSectionInfo.g.cs
index e561a48..490dd75 100644
--- a/old/dotnet/ios/generated-sources/CoreData/NSFetchedResultsSectionInfo.g.cs
+++ b/new/dotnet/ios/generated-sources/CoreData/NSFetchedResultsSectionInfo.g.cs
@@ -60,25 +60,57 @@ namespace CoreData {
[ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "IndexTitle", Selector = "indexTitle", PropertyType = typeof (string), GetterSelector = "indexTitle", ArgumentSemantic = ArgumentSemantic.None)]
public partial interface INSFetchedResultsSectionInfo : INativeObject, IDisposable
{
- [Preserve (Conditional = true)]
- nint Count {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [RequiredMember]
+ public virtual nint Count {
[Export ("numberOfObjects")]
- get;
+ get {
+ return _GetCount (this);
+ }
}
- [Preserve (Conditional = true)]
- NSObject[]? Objects {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static nint _GetCount (INSFetchedResultsSectionInfo This)
+ {
+ return global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (This.Handle, Selector.GetHandle ("numberOfObjects"));
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [RequiredMember]
+ public virtual NSObject[]? Objects {
[Export ("objects")]
- get;
+ get {
+ return _GetObjects (this);
+ }
}
- [Preserve (Conditional = true)]
- string Name {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static NSObject[] _GetObjects (INSFetchedResultsSectionInfo This)
+ {
+ return CFArray.ArrayFromHandle<NSObject>(global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (This.Handle, Selector.GetHandle ("objects")))!;
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [RequiredMember]
+ public virtual string Name {
[Export ("name")]
- get;
+ get {
+ return _GetName (this);
+ }
}
- [Preserve (Conditional = true)]
- string? IndexTitle {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static string _GetName (INSFetchedResultsSectionInfo This)
+ {
+ return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (This.Handle, Selector.GetHandle ("name")))!;
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [RequiredMember]
+ public virtual string? IndexTitle {
[Export ("indexTitle")]
- get;
+ get {
+ return _GetIndexTitle (this);
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static string _GetIndexTitle (INSFetchedResultsSectionInfo This)
+ {
+ return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (This.Handle, Selector.GetHandle ("indexTitle")))!;
}
}
internal unsafe sealed class NSFetchedResultsSectionInfoWrapper : BaseWrapper, INSFetchedResultsSectionInfo {
diff --git a/old/dotnet/ios/generated-sources/CoreHaptics/CHHapticAdvancedPatternPlayer.g.cs b/new/dotnet/ios/generated-sources/CoreHaptics/CHHapticAdvancedPatternPlayer.g.cs
index 62b7f55..701357d 100644
--- a/old/dotnet/ios/generated-sources/CoreHaptics/CHHapticAdvancedPatternPlayer.g.cs
+++ b/new/dotnet/ios/generated-sources/CoreHaptics/CHHapticAdvancedPatternPlayer.g.cs
@@ -64,54 +64,228 @@ namespace CoreHaptics {
public partial interface ICHHapticAdvancedPatternPlayer : INativeObject, IDisposable,
CoreHaptics.ICHHapticPatternPlayer
{
- [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [RequiredMember]
[Export ("pauseAtTime:error:")]
- [Preserve (Conditional = true)]
- unsafe bool Pause (double time, out NSError? outError);
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe virtual bool Pause (double time, out NSError? outError)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal unsafe static bool _Pause (ICHHapticAdvancedPatternPlayer This, double time, out NSError? outError)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ #endif
+ }
+ [RequiredMember]
[Export ("resumeAtTime:error:")]
- [Preserve (Conditional = true)]
- unsafe bool Resume (double time, out NSError? outError);
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe virtual bool Resume (double time, out NSError? outError)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal unsafe static bool _Resume (ICHHapticAdvancedPatternPlayer This, double time, out NSError? outError)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ #endif
+ }
+ [RequiredMember]
[Export ("seekToOffset:error:")]
- [Preserve (Conditional = true)]
- unsafe bool Seek (double offsetTime, out NSError? outError);
- [Preserve (Conditional = true)]
- bool LoopEnabled {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe virtual bool Seek (double offsetTime, out NSError? outError)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal unsafe static bool _Seek (ICHHapticAdvancedPatternPlayer This, double offsetTime, out NSError? outError)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ throw new You_Should_Not_Call_base_In_This_Method ();
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [RequiredMember]
+ public virtual bool LoopEnabled {
[Export ("loopEnabled")]
- get;
+ get {
+ return _GetLoopEnabled (this);
+ }
[Export ("setLoopEnabled:")]
- set;
+ set {
+ _SetLoopEnabled (this, value);
+ }
}
- [Preserve (Conditional = true)]
- double LoopEnd {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static bool _GetLoopEnabled (ICHHapticAdvancedPatternPlayer This)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ byte ret;
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend (This.Handle, Selector.GetHandle ("loopEnabled"));
+ return ret != 0;
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _SetLoopEnabled (ICHHapticAdvancedPatternPlayer This, bool value)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::ObjCRuntime.Messaging.void_objc_msgSend_bool (This.Handle, Selector.GetHandle ("setLoopEnabled:"), value ? (byte) 1 : (byte) 0);
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [RequiredMember]
+ public virtual double LoopEnd {
[Export ("loopEnd")]
- get;
+ get {
+ return _GetLoopEnd (this);
+ }
[Export ("setLoopEnd:")]
- set;
+ set {
+ _SetLoopEnd (this, value);
+ }
}
- [Preserve (Conditional = true)]
- float PlaybackRate {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static double _GetLoopEnd (ICHHapticAdvancedPatternPlayer This)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ return global::ObjCRuntime.Messaging.Double_objc_msgSend (This.Handle, Selector.GetHandle ("loopEnd"));
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ internal static void _SetLoopEnd (ICHHapticAdvancedPatternPlayer This, double value)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::ObjCRuntime.Messaging.void_objc_msgSend_Double (This.Handle, Selector.GetHandle ("setLoopEnd:"), value);
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [RequiredMember]
+ public virtual float PlaybackRate {
[Export ("playbackRate")]
- get;
+ get {
+ return _GetPlaybackRate (this);
+ }
[Export ("setPlaybackRate:")]
- set;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment