Skip to content

Instantly share code, notes, and snippets.

@vs-mobiletools-engineering-service2
Created October 24, 2023 14:00
Show Gist options
  • Save vs-mobiletools-engineering-service2/44c0289ae05fd0efd6fece4bb5a71c06 to your computer and use it in GitHub Desktop.
Save vs-mobiletools-engineering-service2/44c0289ae05fd0efd6fece4bb5a71c06 to your computer and use it in GitHub Desktop.
generator-diff/generator.diff
diff --git a/old/dotnet/IDE/obj/common/bgen/bgen.AssemblyInfo.cs b/new/dotnet/IDE/obj/common/bgen/bgen.AssemblyInfo.cs
index 754302e..0aa45c7 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+e41a5a3499fbddd2a4719c860679b2a5332b550b")]
+[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+e1db920d4e92fc66e92dc811fc43102eebf42a01")]
[assembly: System.Reflection.AssemblyProductAttribute("bgen")]
[assembly: System.Reflection.AssemblyTitleAttribute("bgen")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
diff --git a/old/dotnet/IDE/obj/common/bgen/bgen.sourcelink.json b/new/dotnet/IDE/obj/common/bgen/bgen.sourcelink.json
index 70b5a36..ec0c14f 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/1/a/change-detection/tmp/src/xamarin-macios/*":"https://raw.githubusercontent.com/xamarin/xamarin-macios/e41a5a3499fbddd2a4719c860679b2a5332b550b/*","/Users/builder/azdo/_work/1/a/change-detection/tmp/src/xamarin-macios/external/api-tools/*":"https://raw.githubusercontent.com/rolfbjarne/api-tools/c7d5208967d6d46fdebcac82ade488f00e1fcc50/*","/Users/builder/azdo/_work/1/a/change-detection/tmp/src/xamarin-macios/external/macios-binaries/*":"https://raw.githubusercontent.com/xamarin/macios-binaries/7813391e75d7373ee073ef2d5716e3c607c8636a/*","/Users/builder/azdo/_work/1/a/change-detection/tmp/src/xamarin-macios/external/MonoTouch.Dialog/*":"https://raw.githubusercontent.com/migueldeicaza/MonoTouch.Dialog/f500f9a48dbf856c693b255078e1507cf1e8edde/*","/Users/builder/azdo/_work/1/a/change-detection/tmp/src/xamarin-macios/external/opentk/*":"https://raw.githubusercontent.com/mono/opentk/396bc90c7ac2e7ce442840a5e8bd91e5e79b381e/*","/Users/builder/azdo/_work/1/a/change-detection/tmp/src/xamarin-macios/external/Touch.Unit/*":"https://raw.githubusercontent.com/spouliot/Touch.Unit/5739adefc261b7bfeb70ff718c7b2d97bdfa42ee/*","/Users/builder/azdo/_work/1/a/change-detection/tmp/src/xamarin-macios/external/Xamarin.MacDev/*":"https://raw.githubusercontent.com/xamarin/Xamarin.MacDev/b454d454a687d9aa26a382ad16f1a9361b06b074/*"}}
\ No newline at end of file
+{"documents":{"/Users/builder/azdo/_work/1/s/xamarin-macios/*":"https://raw.githubusercontent.com/xamarin/xamarin-macios/e1db920d4e92fc66e92dc811fc43102eebf42a01/*","/Users/builder/azdo/_work/1/s/xamarin-macios/external/api-tools/*":"https://raw.githubusercontent.com/rolfbjarne/api-tools/c7d5208967d6d46fdebcac82ade488f00e1fcc50/*","/Users/builder/azdo/_work/1/s/xamarin-macios/external/macios-binaries/*":"https://raw.githubusercontent.com/xamarin/macios-binaries/7813391e75d7373ee073ef2d5716e3c607c8636a/*","/Users/builder/azdo/_work/1/s/xamarin-macios/external/MonoTouch.Dialog/*":"https://raw.githubusercontent.com/migueldeicaza/MonoTouch.Dialog/f500f9a48dbf856c693b255078e1507cf1e8edde/*","/Users/builder/azdo/_work/1/s/xamarin-macios/external/opentk/*":"https://raw.githubusercontent.com/mono/opentk/396bc90c7ac2e7ce442840a5e8bd91e5e79b381e/*","/Users/builder/azdo/_work/1/s/xamarin-macios/external/Touch.Unit/*":"https://raw.githubusercontent.com/spouliot/Touch.Unit/5739adefc261b7bfeb70ff718c7b2d97bdfa42ee/*","/Users/builder/azdo/_work/1/s/xamarin-macios/external/Xamarin.MacDev/*":"https://raw.githubusercontent.com/xamarin/Xamarin.MacDev/b454d454a687d9aa26a382ad16f1a9361b06b074/*"}}
\ No newline at end of file
diff --git a/old/dotnet/ios/generated-sources/NearbyInteraction/NIDeviceCapability.g.cs b/new/dotnet/ios/generated-sources/NearbyInteraction/NIDeviceCapability.g.cs
index 8d2b5d7..3ee1f6c 100644
--- a/old/dotnet/ios/generated-sources/NearbyInteraction/NIDeviceCapability.g.cs
+++ b/new/dotnet/ios/generated-sources/NearbyInteraction/NIDeviceCapability.g.cs
@@ -57,6 +57,7 @@ namespace NearbyInteraction {
[ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "SupportsPreciseDistanceMeasurement", Selector = "supportsPreciseDistanceMeasurement", PropertyType = typeof (bool), GetterSelector = "supportsPreciseDistanceMeasurement", ArgumentSemantic = ArgumentSemantic.None)]
[ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "SupportsDirectionMeasurement", Selector = "supportsDirectionMeasurement", PropertyType = typeof (bool), GetterSelector = "supportsDirectionMeasurement", ArgumentSemantic = ArgumentSemantic.None)]
[ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "SupportsCameraAssistance", Selector = "supportsCameraAssistance", PropertyType = typeof (bool), GetterSelector = "supportsCameraAssistance", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = false, IsProperty = true, IsStatic = false, Name = "SupportsExtendedDistanceMeasurement", Selector = "supportsExtendedDistanceMeasurement", PropertyType = typeof (bool), GetterSelector = "supportsExtendedDistanceMeasurement", ArgumentSemantic = ArgumentSemantic.None)]
public partial interface INIDeviceCapability : INativeObject, IDisposable
{
[Preserve (Conditional = true)]
@@ -75,6 +76,19 @@ namespace NearbyInteraction {
get;
}
}
+ public unsafe static partial class NIDeviceCapability_Extensions {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static bool GetSupportsExtendedDistanceMeasurement (this INIDeviceCapability 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 ("supportsExtendedDistanceMeasurement"));
+ return ret != 0;
+ #endif
+ }
+ }
internal unsafe sealed class NIDeviceCapabilityWrapper : BaseWrapper, INIDeviceCapability {
[Preserve (Conditional = true)]
public NIDeviceCapabilityWrapper (NativeHandle handle, bool owns)
diff --git a/old/dotnet/ios/generated-sources/NearbyInteraction/NIDiscoveryToken.g.cs b/new/dotnet/ios/generated-sources/NearbyInteraction/NIDiscoveryToken.g.cs
index 0878d95..959fd6a 100644
--- a/old/dotnet/ios/generated-sources/NearbyInteraction/NIDiscoveryToken.g.cs
+++ b/new/dotnet/ios/generated-sources/NearbyInteraction/NIDiscoveryToken.g.cs
@@ -128,5 +128,26 @@ namespace NearbyInteraction {
global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("encodeWithCoder:"), encoder__handle__);
}
}
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
+ [UnsupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("ios17.0")]
+ [SupportedOSPlatform ("maccatalyst17.0")]
+ public virtual INIDeviceCapability DeviceCapabilities {
+ [Export ("deviceCapabilities", ArgumentSemantic.Copy)]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ INIDeviceCapability? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetINativeObject<INIDeviceCapability> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("deviceCapabilities")), false)!;
+ } else {
+ ret = Runtime.GetINativeObject<INIDeviceCapability> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("deviceCapabilities")), false)!;
+ }
+ return ret!;
+ #endif
+ }
+ }
} /* class NIDiscoveryToken */
}
diff --git a/old/dotnet/ios/generated-sources/NearbyInteraction/NIErrorCode.g.cs b/new/dotnet/ios/generated-sources/NearbyInteraction/NIErrorCode.g.cs
index 4597217..3f385fd 100644
--- a/old/dotnet/ios/generated-sources/NearbyInteraction/NIErrorCode.g.cs
+++ b/new/dotnet/ios/generated-sources/NearbyInteraction/NIErrorCode.g.cs
@@ -63,6 +63,8 @@ namespace NearbyInteraction {
UserDidNotAllow = -5884,
AccessoryPeerDeviceUnavailable = -5882,
InvalidARConfiguration = -5883,
+ IncompatiblePeerDevice = -5881,
+ ActiveExtendedDistanceSessionsLimitExceeded = -5880,
}
[UnsupportedOSPlatform ("tvos")]
[UnsupportedOSPlatform ("macos")]
diff --git a/old/dotnet/ios/generated-sources/NearbyInteraction/NINearbyPeerConfiguration.g.cs b/new/dotnet/ios/generated-sources/NearbyInteraction/NINearbyPeerConfiguration.g.cs
index 33c64e3..3080492 100644
--- a/old/dotnet/ios/generated-sources/NearbyInteraction/NINearbyPeerConfiguration.g.cs
+++ b/new/dotnet/ios/generated-sources/NearbyInteraction/NINearbyPeerConfiguration.g.cs
@@ -143,6 +143,39 @@ namespace NearbyInteraction {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
+ [UnsupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("ios17.0")]
+ [SupportedOSPlatform ("maccatalyst17.0")]
+ public virtual bool ExtendedDistanceMeasurementEnabled {
+ [Export ("isExtendedDistanceMeasurementEnabled")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ byte ret;
+ if (IsDirectBinding) {
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend (this.Handle, Selector.GetHandle ("isExtendedDistanceMeasurementEnabled"));
+ } else {
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("isExtendedDistanceMeasurementEnabled"));
+ }
+ return ret != 0;
+ #endif
+ }
+ [Export ("setExtendedDistanceMeasurementEnabled:")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_bool (this.Handle, Selector.GetHandle ("setExtendedDistanceMeasurementEnabled:"), value ? (byte) 1 : (byte) 0);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_bool (this.SuperHandle, Selector.GetHandle ("setExtendedDistanceMeasurementEnabled:"), value ? (byte) 1 : (byte) 0);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual NIDiscoveryToken PeerDiscoveryToken {
[Export ("peerDiscoveryToken", ArgumentSemantic.Copy)]
get {
diff --git a/old/dotnet/maccatalyst/generated-sources/NearbyInteraction/NIDeviceCapability.g.cs b/new/dotnet/maccatalyst/generated-sources/NearbyInteraction/NIDeviceCapability.g.cs
index ed807ec..12bcdd6 100644
--- a/old/dotnet/maccatalyst/generated-sources/NearbyInteraction/NIDeviceCapability.g.cs
+++ b/new/dotnet/maccatalyst/generated-sources/NearbyInteraction/NIDeviceCapability.g.cs
@@ -57,6 +57,7 @@ namespace NearbyInteraction {
[ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "SupportsPreciseDistanceMeasurement", Selector = "supportsPreciseDistanceMeasurement", PropertyType = typeof (bool), GetterSelector = "supportsPreciseDistanceMeasurement", ArgumentSemantic = ArgumentSemantic.None)]
[ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "SupportsDirectionMeasurement", Selector = "supportsDirectionMeasurement", PropertyType = typeof (bool), GetterSelector = "supportsDirectionMeasurement", ArgumentSemantic = ArgumentSemantic.None)]
[ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "SupportsCameraAssistance", Selector = "supportsCameraAssistance", PropertyType = typeof (bool), GetterSelector = "supportsCameraAssistance", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = false, IsProperty = true, IsStatic = false, Name = "SupportsExtendedDistanceMeasurement", Selector = "supportsExtendedDistanceMeasurement", PropertyType = typeof (bool), GetterSelector = "supportsExtendedDistanceMeasurement", ArgumentSemantic = ArgumentSemantic.None)]
public partial interface INIDeviceCapability : INativeObject, IDisposable
{
[Preserve (Conditional = true)]
@@ -75,6 +76,15 @@ namespace NearbyInteraction {
get;
}
}
+ public unsafe static partial class NIDeviceCapability_Extensions {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static bool GetSupportsExtendedDistanceMeasurement (this INIDeviceCapability This)
+ {
+ byte ret;
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend (This.Handle, Selector.GetHandle ("supportsExtendedDistanceMeasurement"));
+ return ret != 0;
+ }
+ }
internal unsafe sealed class NIDeviceCapabilityWrapper : BaseWrapper, INIDeviceCapability {
[Preserve (Conditional = true)]
public NIDeviceCapabilityWrapper (NativeHandle handle, bool owns)
diff --git a/old/dotnet/maccatalyst/generated-sources/NearbyInteraction/NIDiscoveryToken.g.cs b/new/dotnet/maccatalyst/generated-sources/NearbyInteraction/NIDiscoveryToken.g.cs
index 571675d..8e520f7 100644
--- a/old/dotnet/maccatalyst/generated-sources/NearbyInteraction/NIDiscoveryToken.g.cs
+++ b/new/dotnet/maccatalyst/generated-sources/NearbyInteraction/NIDiscoveryToken.g.cs
@@ -118,5 +118,22 @@ namespace NearbyInteraction {
global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("encodeWithCoder:"), encoder__handle__);
}
}
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
+ [UnsupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("ios17.0")]
+ [SupportedOSPlatform ("maccatalyst17.0")]
+ public virtual INIDeviceCapability DeviceCapabilities {
+ [Export ("deviceCapabilities", ArgumentSemantic.Copy)]
+ get {
+ INIDeviceCapability? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetINativeObject<INIDeviceCapability> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("deviceCapabilities")), false)!;
+ } else {
+ ret = Runtime.GetINativeObject<INIDeviceCapability> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("deviceCapabilities")), false)!;
+ }
+ return ret!;
+ }
+ }
} /* class NIDiscoveryToken */
}
diff --git a/old/dotnet/maccatalyst/generated-sources/NearbyInteraction/NIErrorCode.g.cs b/new/dotnet/maccatalyst/generated-sources/NearbyInteraction/NIErrorCode.g.cs
index 4227f6f..56f2fdd 100644
--- a/old/dotnet/maccatalyst/generated-sources/NearbyInteraction/NIErrorCode.g.cs
+++ b/new/dotnet/maccatalyst/generated-sources/NearbyInteraction/NIErrorCode.g.cs
@@ -63,6 +63,8 @@ namespace NearbyInteraction {
UserDidNotAllow = -5884,
AccessoryPeerDeviceUnavailable = -5882,
InvalidARConfiguration = -5883,
+ IncompatiblePeerDevice = -5881,
+ ActiveExtendedDistanceSessionsLimitExceeded = -5880,
}
[UnsupportedOSPlatform ("tvos")]
[UnsupportedOSPlatform ("macos")]
diff --git a/old/dotnet/maccatalyst/generated-sources/NearbyInteraction/NINearbyPeerConfiguration.g.cs b/new/dotnet/maccatalyst/generated-sources/NearbyInteraction/NINearbyPeerConfiguration.g.cs
index b563713..f541144 100644
--- a/old/dotnet/maccatalyst/generated-sources/NearbyInteraction/NINearbyPeerConfiguration.g.cs
+++ b/new/dotnet/maccatalyst/generated-sources/NearbyInteraction/NINearbyPeerConfiguration.g.cs
@@ -121,6 +121,31 @@ namespace NearbyInteraction {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
+ [UnsupportedOSPlatform ("macos")]
+ [SupportedOSPlatform ("ios17.0")]
+ [SupportedOSPlatform ("maccatalyst17.0")]
+ public virtual bool ExtendedDistanceMeasurementEnabled {
+ [Export ("isExtendedDistanceMeasurementEnabled")]
+ get {
+ byte ret;
+ if (IsDirectBinding) {
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend (this.Handle, Selector.GetHandle ("isExtendedDistanceMeasurementEnabled"));
+ } else {
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("isExtendedDistanceMeasurementEnabled"));
+ }
+ return ret != 0;
+ }
+ [Export ("setExtendedDistanceMeasurementEnabled:")]
+ set {
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_bool (this.Handle, Selector.GetHandle ("setExtendedDistanceMeasurementEnabled:"), value ? (byte) 1 : (byte) 0);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_bool (this.SuperHandle, Selector.GetHandle ("setExtendedDistanceMeasurementEnabled:"), value ? (byte) 1 : (byte) 0);
+ }
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual NIDiscoveryToken PeerDiscoveryToken {
[Export ("peerDiscoveryToken", ArgumentSemantic.Copy)]
get {
diff --git a/old/ios/native/NearbyInteraction/NIDeviceCapability.g.cs b/new/ios/native/NearbyInteraction/NIDeviceCapability.g.cs
index 969a742..913bff1 100644
--- a/old/ios/native/NearbyInteraction/NIDeviceCapability.g.cs
+++ b/new/ios/native/NearbyInteraction/NIDeviceCapability.g.cs
@@ -57,6 +57,7 @@ namespace NearbyInteraction {
[ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "SupportsPreciseDistanceMeasurement", Selector = "supportsPreciseDistanceMeasurement", PropertyType = typeof (bool), GetterSelector = "supportsPreciseDistanceMeasurement", ArgumentSemantic = ArgumentSemantic.None)]
[ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "SupportsDirectionMeasurement", Selector = "supportsDirectionMeasurement", PropertyType = typeof (bool), GetterSelector = "supportsDirectionMeasurement", ArgumentSemantic = ArgumentSemantic.None)]
[ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "SupportsCameraAssistance", Selector = "supportsCameraAssistance", PropertyType = typeof (bool), GetterSelector = "supportsCameraAssistance", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = false, IsProperty = true, IsStatic = false, Name = "SupportsExtendedDistanceMeasurement", Selector = "supportsExtendedDistanceMeasurement", PropertyType = typeof (bool), GetterSelector = "supportsExtendedDistanceMeasurement", ArgumentSemantic = ArgumentSemantic.None)]
public partial interface INIDeviceCapability : INativeObject, IDisposable
{
[Preserve (Conditional = true)]
@@ -75,6 +76,19 @@ namespace NearbyInteraction {
get;
}
}
+ public unsafe static partial class NIDeviceCapability_Extensions {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static bool GetSupportsExtendedDistanceMeasurement (this INIDeviceCapability 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 ("supportsExtendedDistanceMeasurement"));
+ return ret != 0;
+ #endif
+ }
+ }
internal unsafe sealed class NIDeviceCapabilityWrapper : BaseWrapper, INIDeviceCapability {
[Preserve (Conditional = true)]
public NIDeviceCapabilityWrapper (IntPtr handle, bool owns)
diff --git a/old/ios/native/NearbyInteraction/NIDiscoveryToken.g.cs b/new/ios/native/NearbyInteraction/NIDiscoveryToken.g.cs
index 67d16e5..6680e30 100644
--- a/old/ios/native/NearbyInteraction/NIDiscoveryToken.g.cs
+++ b/new/ios/native/NearbyInteraction/NIDiscoveryToken.g.cs
@@ -120,5 +120,28 @@ namespace NearbyInteraction {
global::ObjCRuntime.Messaging.void_objc_msgSendSuper_IntPtr (this.SuperHandle, Selector.GetHandle ("encodeWithCoder:"), encoder__handle__);
}
}
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [Introduced (PlatformName.WatchOS, 10,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Introduced (PlatformName.iOS, 17,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Introduced (PlatformName.MacCatalyst, 17,0, ObjCRuntime.PlatformArchitecture.All)]
+ public virtual INIDeviceCapability DeviceCapabilities {
+ [Introduced (PlatformName.WatchOS, 10,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Introduced (PlatformName.iOS, 17,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Introduced (PlatformName.MacCatalyst, 17,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Export ("deviceCapabilities", ArgumentSemantic.Copy)]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ INIDeviceCapability? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetINativeObject<INIDeviceCapability> (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("deviceCapabilities")), false)!;
+ } else {
+ ret = Runtime.GetINativeObject<INIDeviceCapability> (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("deviceCapabilities")), false)!;
+ }
+ return ret!;
+ #endif
+ }
+ }
} /* class NIDiscoveryToken */
}
diff --git a/old/ios/native/NearbyInteraction/NIErrorCode.g.cs b/new/ios/native/NearbyInteraction/NIErrorCode.g.cs
index 5ce5d44..c9ad3e6 100644
--- a/old/ios/native/NearbyInteraction/NIErrorCode.g.cs
+++ b/new/ios/native/NearbyInteraction/NIErrorCode.g.cs
@@ -63,6 +63,8 @@ namespace NearbyInteraction {
UserDidNotAllow = -5884,
AccessoryPeerDeviceUnavailable = -5882,
InvalidARConfiguration = -5883,
+ IncompatiblePeerDevice = -5881,
+ ActiveExtendedDistanceSessionsLimitExceeded = -5880,
}
[Introduced (PlatformName.WatchOS, 8,0, ObjCRuntime.PlatformArchitecture.All)]
[Unavailable (PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All)]
diff --git a/old/ios/native/NearbyInteraction/NINearbyPeerConfiguration.g.cs b/new/ios/native/NearbyInteraction/NINearbyPeerConfiguration.g.cs
index a08b2a0..190c390 100644
--- a/old/ios/native/NearbyInteraction/NINearbyPeerConfiguration.g.cs
+++ b/new/ios/native/NearbyInteraction/NINearbyPeerConfiguration.g.cs
@@ -148,6 +148,44 @@ namespace NearbyInteraction {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [Introduced (PlatformName.WatchOS, 10,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Introduced (PlatformName.iOS, 17,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Introduced (PlatformName.MacCatalyst, 17,0, ObjCRuntime.PlatformArchitecture.All)]
+ public virtual bool ExtendedDistanceMeasurementEnabled {
+ [Introduced (PlatformName.WatchOS, 10,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Introduced (PlatformName.iOS, 17,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Introduced (PlatformName.MacCatalyst, 17,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Export ("isExtendedDistanceMeasurementEnabled")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ byte ret;
+ if (IsDirectBinding) {
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend (this.Handle, Selector.GetHandle ("isExtendedDistanceMeasurementEnabled"));
+ } else {
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("isExtendedDistanceMeasurementEnabled"));
+ }
+ return ret != 0;
+ #endif
+ }
+ [Introduced (PlatformName.WatchOS, 10,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Introduced (PlatformName.iOS, 17,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Introduced (PlatformName.MacCatalyst, 17,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Export ("setExtendedDistanceMeasurementEnabled:")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_bool (this.Handle, Selector.GetHandle ("setExtendedDistanceMeasurementEnabled:"), value ? (byte) 1 : (byte) 0);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_bool (this.SuperHandle, Selector.GetHandle ("setExtendedDistanceMeasurementEnabled:"), value ? (byte) 1 : (byte) 0);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual NIDiscoveryToken PeerDiscoveryToken {
[Export ("peerDiscoveryToken", ArgumentSemantic.Copy)]
get {
diff --git a/old/watch/watch/NearbyInteraction/NIDeviceCapability.g.cs b/new/watch/watch/NearbyInteraction/NIDeviceCapability.g.cs
index 538de77..82e3165 100644
--- a/old/watch/watch/NearbyInteraction/NIDeviceCapability.g.cs
+++ b/new/watch/watch/NearbyInteraction/NIDeviceCapability.g.cs
@@ -39,6 +39,7 @@ namespace NearbyInteraction {
[ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "SupportsPreciseDistanceMeasurement", Selector = "supportsPreciseDistanceMeasurement", PropertyType = typeof (bool), GetterSelector = "supportsPreciseDistanceMeasurement", ArgumentSemantic = ArgumentSemantic.None)]
[ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "SupportsDirectionMeasurement", Selector = "supportsDirectionMeasurement", PropertyType = typeof (bool), GetterSelector = "supportsDirectionMeasurement", ArgumentSemantic = ArgumentSemantic.None)]
[ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "SupportsCameraAssistance", Selector = "supportsCameraAssistance", PropertyType = typeof (bool), GetterSelector = "supportsCameraAssistance", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = false, IsProperty = true, IsStatic = false, Name = "SupportsExtendedDistanceMeasurement", Selector = "supportsExtendedDistanceMeasurement", PropertyType = typeof (bool), GetterSelector = "supportsExtendedDistanceMeasurement", ArgumentSemantic = ArgumentSemantic.None)]
public partial interface INIDeviceCapability : INativeObject, IDisposable
{
[Preserve (Conditional = true)]
@@ -57,6 +58,15 @@ namespace NearbyInteraction {
get;
}
}
+ public unsafe static partial class NIDeviceCapability_Extensions {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static bool GetSupportsExtendedDistanceMeasurement (this INIDeviceCapability This)
+ {
+ byte ret;
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend (This.Handle, Selector.GetHandle ("supportsExtendedDistanceMeasurement"));
+ return ret != 0;
+ }
+ }
internal unsafe sealed class NIDeviceCapabilityWrapper : BaseWrapper, INIDeviceCapability {
[Preserve (Conditional = true)]
public NIDeviceCapabilityWrapper (IntPtr handle, bool owns)
diff --git a/old/watch/watch/NearbyInteraction/NIDiscoveryToken.g.cs b/new/watch/watch/NearbyInteraction/NIDiscoveryToken.g.cs
index 1064305..68ee1e2 100644
--- a/old/watch/watch/NearbyInteraction/NIDiscoveryToken.g.cs
+++ b/new/watch/watch/NearbyInteraction/NIDiscoveryToken.g.cs
@@ -92,5 +92,24 @@ namespace NearbyInteraction {
global::ObjCRuntime.Messaging.void_objc_msgSendSuper_IntPtr (this.SuperHandle, Selector.GetHandle ("encodeWithCoder:"), encoder__handle__);
}
}
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [Introduced (PlatformName.WatchOS, 10,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Introduced (PlatformName.iOS, 17,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Introduced (PlatformName.MacCatalyst, 17,0, ObjCRuntime.PlatformArchitecture.All)]
+ public virtual INIDeviceCapability DeviceCapabilities {
+ [Introduced (PlatformName.WatchOS, 10,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Introduced (PlatformName.iOS, 17,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Introduced (PlatformName.MacCatalyst, 17,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Export ("deviceCapabilities", ArgumentSemantic.Copy)]
+ get {
+ INIDeviceCapability? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetINativeObject<INIDeviceCapability> (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("deviceCapabilities")), false)!;
+ } else {
+ ret = Runtime.GetINativeObject<INIDeviceCapability> (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("deviceCapabilities")), false)!;
+ }
+ return ret!;
+ }
+ }
} /* class NIDiscoveryToken */
}
diff --git a/old/watch/watch/NearbyInteraction/NIErrorCode.g.cs b/new/watch/watch/NearbyInteraction/NIErrorCode.g.cs
index 801934e..15af1b0 100644
--- a/old/watch/watch/NearbyInteraction/NIErrorCode.g.cs
+++ b/new/watch/watch/NearbyInteraction/NIErrorCode.g.cs
@@ -45,6 +45,8 @@ namespace NearbyInteraction {
UserDidNotAllow = -5884,
AccessoryPeerDeviceUnavailable = -5882,
InvalidARConfiguration = -5883,
+ IncompatiblePeerDevice = -5881,
+ ActiveExtendedDistanceSessionsLimitExceeded = -5880,
}
[Introduced (PlatformName.WatchOS, 8,0, ObjCRuntime.PlatformArchitecture.All)]
[Unavailable (PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All)]
diff --git a/old/watch/watch/NearbyInteraction/NINearbyPeerConfiguration.g.cs b/new/watch/watch/NearbyInteraction/NINearbyPeerConfiguration.g.cs
index 430c9f7..ecc2082 100644
--- a/old/watch/watch/NearbyInteraction/NINearbyPeerConfiguration.g.cs
+++ b/new/watch/watch/NearbyInteraction/NINearbyPeerConfiguration.g.cs
@@ -78,6 +78,36 @@ namespace NearbyInteraction {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [Introduced (PlatformName.WatchOS, 10,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Introduced (PlatformName.iOS, 17,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Introduced (PlatformName.MacCatalyst, 17,0, ObjCRuntime.PlatformArchitecture.All)]
+ public virtual bool ExtendedDistanceMeasurementEnabled {
+ [Introduced (PlatformName.WatchOS, 10,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Introduced (PlatformName.iOS, 17,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Introduced (PlatformName.MacCatalyst, 17,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Export ("isExtendedDistanceMeasurementEnabled")]
+ get {
+ byte ret;
+ if (IsDirectBinding) {
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend (this.Handle, Selector.GetHandle ("isExtendedDistanceMeasurementEnabled"));
+ } else {
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("isExtendedDistanceMeasurementEnabled"));
+ }
+ return ret != 0;
+ }
+ [Introduced (PlatformName.WatchOS, 10,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Introduced (PlatformName.iOS, 17,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Introduced (PlatformName.MacCatalyst, 17,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Export ("setExtendedDistanceMeasurementEnabled:")]
+ set {
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_bool (this.Handle, Selector.GetHandle ("setExtendedDistanceMeasurementEnabled:"), value ? (byte) 1 : (byte) 0);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_bool (this.SuperHandle, Selector.GetHandle ("setExtendedDistanceMeasurementEnabled:"), value ? (byte) 1 : (byte) 0);
+ }
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual NIDiscoveryToken PeerDiscoveryToken {
[Export ("peerDiscoveryToken", ArgumentSemantic.Copy)]
get {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment