Skip to content

Instantly share code, notes, and snippets.

@vs-mobiletools-engineering-service2
Created August 31, 2022 18:52
Show Gist options
  • Save vs-mobiletools-engineering-service2/cc7dcb5d14033ded6e542eb4933aa350 to your computer and use it in GitHub Desktop.
Save vs-mobiletools-engineering-service2/cc7dcb5d14033ded6e542eb4933aa350 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/Constants.macos.generated.cs b/new/Constants.macos.generated.cs
index 13f652f..515419e 100644
--- a/old/Constants.macos.generated.cs
+++ b/new/Constants.macos.generated.cs
@@ -177,6 +177,7 @@ namespace ObjCRuntime {
// MacOSX 13.0
public const string BackgroundAssetsLibrary = "/System/Library/Frameworks/BackgroundAssets.framework/BackgroundAssets";
+ public const string HealthKitLibrary = "/System/Library/Frameworks/HealthKit.framework/HealthKit";
public const string SharedWithYouCoreLibrary = "/System/Library/Frameworks/SharedWithYouCore.framework/SharedWithYouCore";
}
diff --git a/old/dotnet/Constants.macos.generated.cs b/new/dotnet/Constants.macos.generated.cs
index 0331a06..29babbe 100644
--- a/old/dotnet/Constants.macos.generated.cs
+++ b/new/dotnet/Constants.macos.generated.cs
@@ -175,6 +175,7 @@ namespace ObjCRuntime {
// MacOSX 13.0
public const string BackgroundAssetsLibrary = "/System/Library/Frameworks/BackgroundAssets.framework/BackgroundAssets";
+ public const string HealthKitLibrary = "/System/Library/Frameworks/HealthKit.framework/HealthKit";
public const string SharedWithYouCoreLibrary = "/System/Library/Frameworks/SharedWithYouCore.framework/SharedWithYouCore";
}
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKActivityMoveMode.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKActivityMoveMode.g.cs
index 52c586d..d3780c4 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKActivityMoveMode.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKActivityMoveMode.g.cs
@@ -50,6 +50,7 @@ using NativeHandle = System.IntPtr;
#endif
namespace HealthKit {
[SupportedOSPlatform ("ios14.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
[Native]
public enum HKActivityMoveMode : long {
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKActivityMoveModeObject.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKActivityMoveModeObject.g.cs
index c09fb4c..a6d79ec 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKActivityMoveModeObject.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKActivityMoveModeObject.g.cs
@@ -51,6 +51,7 @@ using NativeHandle = System.IntPtr;
namespace HealthKit {
[Register("HKActivityMoveModeObject", true)]
[SupportedOSPlatform ("ios14.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
public unsafe partial class HKActivityMoveModeObject : NSObject, INSCoding, INSCopying, INSSecureCoding {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -94,9 +95,9 @@ namespace HealthKit {
[Export ("copyWithZone:")]
[return: ReleaseAttribute ()]
[SupportedOSPlatform ("ios14.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
[UnsupportedOSPlatform ("tvos")]
- [UnsupportedOSPlatform ("macos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual NSObject Copy (NSZone? zone)
{
@@ -113,9 +114,9 @@ namespace HealthKit {
}
[Export ("encodeWithCoder:")]
[SupportedOSPlatform ("ios14.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
[UnsupportedOSPlatform ("tvos")]
- [UnsupportedOSPlatform ("macos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual void EncodeTo (NSCoder encoder)
{
@@ -128,10 +129,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios14.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
public virtual HKActivityMoveMode ActivityMoveMode {
[Export ("activityMoveMode")]
[SupportedOSPlatform ("ios14.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
get {
#if ARCH_32
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKActivitySummary.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKActivitySummary.g.cs
index c319956..07ba8ec 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKActivitySummary.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKActivitySummary.g.cs
@@ -51,6 +51,7 @@ using NativeHandle = System.IntPtr;
namespace HealthKit {
[Register("HKActivitySummary", true)]
[SupportedOSPlatform ("ios9.3")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst9.3")]
public unsafe partial class HKActivitySummary : NSObject, INSCoding, INSCopying, INSSecureCoding {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -96,9 +97,9 @@ namespace HealthKit {
[Export ("copyWithZone:")]
[return: ReleaseAttribute ()]
[SupportedOSPlatform ("ios9.3")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst9.3")]
[UnsupportedOSPlatform ("tvos")]
- [UnsupportedOSPlatform ("macos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual NSObject Copy (NSZone? zone)
{
@@ -115,6 +116,7 @@ namespace HealthKit {
}
[Export ("dateComponentsForCalendar:")]
[SupportedOSPlatform ("ios9.3")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst9.3")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual NSDateComponents DateComponentsForCalendar (NSCalendar calendar)
@@ -128,9 +130,9 @@ namespace HealthKit {
}
[Export ("encodeWithCoder:")]
[SupportedOSPlatform ("ios9.3")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst9.3")]
[UnsupportedOSPlatform ("tvos")]
- [UnsupportedOSPlatform ("macos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual void EncodeTo (NSCoder encoder)
{
@@ -143,10 +145,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios9.3")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst9.3")]
public virtual HKQuantity ActiveEnergyBurned {
[Export ("activeEnergyBurned", ArgumentSemantic.Retain)]
[SupportedOSPlatform ("ios9.3")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst9.3")]
get {
HKQuantity? ret;
@@ -159,6 +163,7 @@ namespace HealthKit {
}
[Export ("setActiveEnergyBurned:", ArgumentSemantic.Retain)]
[SupportedOSPlatform ("ios9.3")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst9.3")]
set {
var value__handle__ = value!.GetNonNullHandle (nameof (value));
@@ -171,10 +176,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios9.3")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst9.3")]
public virtual HKQuantity ActiveEnergyBurnedGoal {
[Export ("activeEnergyBurnedGoal", ArgumentSemantic.Retain)]
[SupportedOSPlatform ("ios9.3")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst9.3")]
get {
HKQuantity? ret;
@@ -187,6 +194,7 @@ namespace HealthKit {
}
[Export ("setActiveEnergyBurnedGoal:", ArgumentSemantic.Retain)]
[SupportedOSPlatform ("ios9.3")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst9.3")]
set {
var value__handle__ = value!.GetNonNullHandle (nameof (value));
@@ -200,9 +208,11 @@ namespace HealthKit {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios14.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
+ [SupportedOSPlatform ("macos13.0")]
public virtual HKActivityMoveMode ActivityMoveMode {
[Export ("activityMoveMode", ArgumentSemantic.UnsafeUnretained)]
[SupportedOSPlatform ("ios9.3")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst9.3")]
get {
#if ARCH_32
@@ -219,6 +229,7 @@ namespace HealthKit {
}
[Export ("setActivityMoveMode:", ArgumentSemantic.UnsafeUnretained)]
[SupportedOSPlatform ("ios9.3")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst9.3")]
set {
#if ARCH_32
@@ -234,10 +245,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios9.3")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst9.3")]
public virtual HKQuantity AppleExerciseTime {
[Export ("appleExerciseTime", ArgumentSemantic.Retain)]
[SupportedOSPlatform ("ios9.3")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst9.3")]
get {
HKQuantity? ret;
@@ -250,6 +263,7 @@ namespace HealthKit {
}
[Export ("setAppleExerciseTime:", ArgumentSemantic.Retain)]
[SupportedOSPlatform ("ios9.3")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst9.3")]
set {
var value__handle__ = value!.GetNonNullHandle (nameof (value));
@@ -261,11 +275,29 @@ namespace HealthKit {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ #if __IOS__
+ [Advice ("Starting with ios16.0.")]
+ #endif
+ [UnsupportedOSPlatform ("ios16.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst16.0.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("ios9.3")]
[SupportedOSPlatform ("maccatalyst9.3")]
public virtual HKQuantity AppleExerciseTimeGoal {
[Export ("appleExerciseTimeGoal", ArgumentSemantic.Retain)]
+ #if __IOS__
+ [Advice ("Starting with ios16.0.")]
+ #endif
+ [UnsupportedOSPlatform ("ios16.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst16.0.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst16.0")]
[SupportedOSPlatform ("ios9.3")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst9.3")]
get {
HKQuantity? ret;
@@ -277,7 +309,16 @@ namespace HealthKit {
return ret!;
}
[Export ("setAppleExerciseTimeGoal:", ArgumentSemantic.Retain)]
+ #if __IOS__
+ [Advice ("Starting with ios16.0.")]
+ #endif
+ [UnsupportedOSPlatform ("ios16.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst16.0.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst16.0")]
[SupportedOSPlatform ("ios9.3")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst9.3")]
set {
var value__handle__ = value!.GetNonNullHandle (nameof (value));
@@ -291,9 +332,11 @@ namespace HealthKit {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios14.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
+ [SupportedOSPlatform ("macos13.0")]
public virtual HKQuantity AppleMoveTime {
[Export ("appleMoveTime", ArgumentSemantic.Retain)]
[SupportedOSPlatform ("ios9.3")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst9.3")]
get {
#if ARCH_32
@@ -310,6 +353,7 @@ namespace HealthKit {
}
[Export ("setAppleMoveTime:", ArgumentSemantic.Retain)]
[SupportedOSPlatform ("ios9.3")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst9.3")]
set {
#if ARCH_32
@@ -327,9 +371,11 @@ namespace HealthKit {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios14.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
+ [SupportedOSPlatform ("macos13.0")]
public virtual HKQuantity AppleMoveTimeGoal {
[Export ("appleMoveTimeGoal", ArgumentSemantic.Retain)]
[SupportedOSPlatform ("ios9.3")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst9.3")]
get {
#if ARCH_32
@@ -346,6 +392,7 @@ namespace HealthKit {
}
[Export ("setAppleMoveTimeGoal:", ArgumentSemantic.Retain)]
[SupportedOSPlatform ("ios9.3")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst9.3")]
set {
#if ARCH_32
@@ -362,10 +409,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios9.3")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst9.3")]
public virtual HKQuantity AppleStandHours {
[Export ("appleStandHours", ArgumentSemantic.Retain)]
[SupportedOSPlatform ("ios9.3")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst9.3")]
get {
HKQuantity? ret;
@@ -378,6 +427,7 @@ namespace HealthKit {
}
[Export ("setAppleStandHours:", ArgumentSemantic.Retain)]
[SupportedOSPlatform ("ios9.3")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst9.3")]
set {
var value__handle__ = value!.GetNonNullHandle (nameof (value));
@@ -389,11 +439,29 @@ namespace HealthKit {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ #if __IOS__
+ [Advice ("Starting with ios16.0.")]
+ #endif
+ [UnsupportedOSPlatform ("ios16.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst16.0.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst16.0")]
[SupportedOSPlatform ("ios9.3")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst9.3")]
public virtual HKQuantity AppleStandHoursGoal {
[Export ("appleStandHoursGoal", ArgumentSemantic.Retain)]
+ #if __IOS__
+ [Advice ("Starting with ios16.0.")]
+ #endif
+ [UnsupportedOSPlatform ("ios16.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst16.0.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst16.0")]
[SupportedOSPlatform ("ios9.3")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst9.3")]
get {
HKQuantity? ret;
@@ -405,7 +473,16 @@ namespace HealthKit {
return ret!;
}
[Export ("setAppleStandHoursGoal:", ArgumentSemantic.Retain)]
+ #if __IOS__
+ [Advice ("Starting with ios16.0.")]
+ #endif
+ [UnsupportedOSPlatform ("ios16.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst16.0.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst16.0")]
[SupportedOSPlatform ("ios9.3")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst9.3")]
set {
var value__handle__ = value!.GetNonNullHandle (nameof (value));
@@ -416,5 +493,89 @@ namespace HealthKit {
}
}
}
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ public virtual HKQuantity? ExerciseTimeGoal {
+ [Export ("exerciseTimeGoal", ArgumentSemantic.Retain)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios9.3")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ HKQuantity? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<HKQuantity> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("exerciseTimeGoal")))!;
+ } else {
+ ret = Runtime.GetNSObject<HKQuantity> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("exerciseTimeGoal")))!;
+ }
+ return ret!;
+ #endif
+ }
+ [Export ("setExerciseTimeGoal:", ArgumentSemantic.Retain)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios9.3")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var value__handle__ = value.GetHandle ();
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setExerciseTimeGoal:"), value__handle__);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("setExerciseTimeGoal:"), value__handle__);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ public virtual HKQuantity? StandHoursGoal {
+ [Export ("standHoursGoal", ArgumentSemantic.Retain)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios9.3")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ HKQuantity? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<HKQuantity> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("standHoursGoal")))!;
+ } else {
+ ret = Runtime.GetNSObject<HKQuantity> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("standHoursGoal")))!;
+ }
+ return ret!;
+ #endif
+ }
+ [Export ("setStandHoursGoal:", ArgumentSemantic.Retain)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios9.3")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var value__handle__ = value.GetHandle ();
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setStandHoursGoal:"), value__handle__);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("setStandHoursGoal:"), value__handle__);
+ }
+ #endif
+ }
+ }
} /* class HKActivitySummary */
}
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKActivitySummaryQuery.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKActivitySummaryQuery.g.cs
index 3646d53..be9a658 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKActivitySummaryQuery.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKActivitySummaryQuery.g.cs
@@ -51,6 +51,7 @@ using NativeHandle = System.IntPtr;
namespace HealthKit {
[Register("HKActivitySummaryQuery", true)]
[SupportedOSPlatform ("ios9.3")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst9.3")]
public unsafe partial class HKActivitySummaryQuery : HKQuery {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -70,6 +71,7 @@ namespace HealthKit {
[Export ("initWithPredicate:resultsHandler:")]
[SupportedOSPlatform ("ios9.3")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst9.3")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public unsafe HKActivitySummaryQuery (NSPredicate? predicate, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity3V5))]global::System.Action<HKActivitySummaryQuery, HKActivitySummary[], NSError> handler)
@@ -92,11 +94,13 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios9.3")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst9.3")]
public unsafe virtual global::System.Action<HKActivitySummaryQuery, HKActivitySummary[], NSError>? UpdateHandler {
[return: DelegateProxy (typeof (ObjCRuntime.Trampolines.SDActionArity3V5))]
[Export ("updateHandler", ArgumentSemantic.Copy)]
[SupportedOSPlatform ("ios9.3")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst9.3")]
get {
NativeHandle ret;
@@ -110,6 +114,7 @@ namespace HealthKit {
[param: BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity3V5))]
[Export ("setUpdateHandler:", ArgumentSemantic.Copy)]
[SupportedOSPlatform ("ios9.3")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst9.3")]
set {
BlockLiteral *block_ptr_value;
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKActivitySummaryType.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKActivitySummaryType.g.cs
index a8be5e7..b8fcffc 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKActivitySummaryType.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKActivitySummaryType.g.cs
@@ -51,6 +51,7 @@ using NativeHandle = System.IntPtr;
namespace HealthKit {
[Register("HKActivitySummaryType", true)]
[SupportedOSPlatform ("ios9.3")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst9.3")]
public unsafe partial class HKActivitySummaryType : HKObjectType {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKAnchoredObjectQuery.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKAnchoredObjectQuery.g.cs
index 214c7b0..a969b7a 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKAnchoredObjectQuery.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKAnchoredObjectQuery.g.cs
@@ -51,6 +51,7 @@ using NativeHandle = System.IntPtr;
namespace HealthKit {
[Register("HKAnchoredObjectQuery", true)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public unsafe partial class HKAnchoredObjectQuery : HKQuery {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -78,6 +79,7 @@ namespace HealthKit {
#endif
[UnsupportedOSPlatform ("maccatalyst9.0")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public unsafe HKAnchoredObjectQuery (HKSampleType type, NSPredicate? predicate, nuint anchor, nuint limit, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDHKAnchoredObjectResultHandler))]HKAnchoredObjectResultHandler completion)
@@ -102,6 +104,7 @@ namespace HealthKit {
[Export ("initWithType:predicate:anchor:limit:resultsHandler:")]
[SupportedOSPlatform ("ios9.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
+ [SupportedOSPlatform ("macos13.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public unsafe HKAnchoredObjectQuery (HKSampleType type, NSPredicate? predicate, HKQueryAnchor? anchor, nuint limit, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDHKAnchoredObjectUpdateHandler))]HKAnchoredObjectUpdateHandler handler)
: base (NSObjectFlag.Empty)
@@ -126,6 +129,7 @@ namespace HealthKit {
[Export ("initWithQueryDescriptors:anchor:limit:resultsHandler:")]
[SupportedOSPlatform ("ios15.0")]
[SupportedOSPlatform ("maccatalyst15.0")]
+ [SupportedOSPlatform ("macos13.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public unsafe HKAnchoredObjectQuery (HKQueryDescriptor[] queryDescriptors, HKQueryAnchor? anchor, nint limit, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDHKAnchoredObjectUpdateHandler))]HKAnchoredObjectUpdateHandler resultsHandler)
: base (NSObjectFlag.Empty)
@@ -156,10 +160,12 @@ namespace HealthKit {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios9.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
+ [SupportedOSPlatform ("macos13.0")]
public unsafe virtual HKAnchoredObjectUpdateHandler? UpdateHandler {
[return: DelegateProxy (typeof (ObjCRuntime.Trampolines.SDHKAnchoredObjectUpdateHandler))]
[Export ("updateHandler", ArgumentSemantic.Copy)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
NativeHandle ret;
@@ -173,6 +179,7 @@ namespace HealthKit {
[param: BlockProxy (typeof (ObjCRuntime.Trampolines.NIDHKAnchoredObjectUpdateHandler))]
[Export ("setUpdateHandler:", ArgumentSemantic.Copy)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
set {
BlockLiteral *block_ptr_value;
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKAppleEcgAlgorithmVersion.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKAppleEcgAlgorithmVersion.g.cs
index 0fe9e2b..6476fbe 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKAppleEcgAlgorithmVersion.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKAppleEcgAlgorithmVersion.g.cs
@@ -50,6 +50,7 @@ using NativeHandle = System.IntPtr;
#endif
namespace HealthKit {
[SupportedOSPlatform ("ios14.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
[Native]
public enum HKAppleEcgAlgorithmVersion : long {
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKAppleWalkingSteadinessClassification.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKAppleWalkingSteadinessClassification.g.cs
index e22fec2..72123c3 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKAppleWalkingSteadinessClassification.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKAppleWalkingSteadinessClassification.g.cs
@@ -50,6 +50,7 @@ using NativeHandle = System.IntPtr;
#endif
namespace HealthKit {
[SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst15.0")]
[Native]
public enum HKAppleWalkingSteadinessClassification : long {
diff --git a/new/dotnet/ios/generated-sources/HealthKit/HKAttachment.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKAttachment.g.cs
new file mode 100644
index 0000000..41f9940
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKAttachment.g.cs
@@ -0,0 +1,278 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace HealthKit {
+ [Register("HKAttachment", true)]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ public unsafe partial class HKAttachment : NSObject, INSCoding, INSCopying, INSSecureCoding {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ #if ARCH_32
+ #pragma warning disable 649
+ static readonly NativeHandle class_ptr;
+ #pragma warning restore 649
+ #else
+ static readonly NativeHandle class_ptr = Class.GetHandle ("HKAttachment");
+ #endif
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [DesignatedInitializer]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("initWithCoder:")]
+ public HKAttachment (NSCoder coder) : base (NSObjectFlag.Empty)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("initWithCoder:"), coder.Handle), "initWithCoder:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_IntPtr (this.SuperHandle, Selector.GetHandle ("initWithCoder:"), coder.Handle), "initWithCoder:");
+ }
+ #endif
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected HKAttachment (NSObjectFlag t) : base (t)
+ {
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal HKAttachment (NativeHandle handle) : base (handle)
+ {
+ }
+
+ [Export ("copyWithZone:")]
+ [return: ReleaseAttribute ()]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual NSObject Copy (NSZone? zone)
+ {
+ var zone__handle__ = zone.GetHandle ();
+ NSObject? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("copyWithZone:"), zone__handle__))!;
+ } else {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("copyWithZone:"), zone__handle__))!;
+ }
+ if (ret != null)
+ global::ObjCRuntime.Messaging.void_objc_msgSend (ret.Handle, Selector.GetHandle ("release"));
+ return ret!;
+ }
+ [Export ("encodeWithCoder:")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void EncodeTo (NSCoder encoder)
+ {
+ var encoder__handle__ = encoder!.GetNonNullHandle (nameof (encoder));
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("encodeWithCoder:"), encoder__handle__);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("encodeWithCoder:"), encoder__handle__);
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ public virtual global::UniformTypeIdentifiers.UTType ContentType {
+ [Export ("contentType", ArgumentSemantic.Copy)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::UniformTypeIdentifiers.UTType? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<global::UniformTypeIdentifiers.UTType> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("contentType")))!;
+ } else {
+ ret = Runtime.GetNSObject<global::UniformTypeIdentifiers.UTType> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("contentType")))!;
+ }
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ public virtual NSDate CreationDate {
+ [Export ("creationDate", ArgumentSemantic.Copy)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ NSDate? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<NSDate> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("creationDate")))!;
+ } else {
+ ret = Runtime.GetNSObject<NSDate> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("creationDate")))!;
+ }
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ public virtual NSUuid Identifier {
+ [Export ("identifier", ArgumentSemantic.Copy)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ NSUuid? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<NSUuid> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("identifier")))!;
+ } else {
+ ret = Runtime.GetNSObject<NSUuid> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("identifier")))!;
+ }
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ public virtual NSDictionary<NSString, NSObject>? Metadata {
+ [Export ("metadata", ArgumentSemantic.Copy)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ NSDictionary<NSString, NSObject>? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<NSDictionary<NSString, NSObject>> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("metadata")))!;
+ } else {
+ ret = Runtime.GetNSObject<NSDictionary<NSString, NSObject>> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("metadata")))!;
+ }
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ public virtual string Name {
+ [Export ("name")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("name")))!;
+ } else {
+ return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("name")))!;
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ public virtual nint Size {
+ [Export ("size")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("size"));
+ } else {
+ return global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("size"));
+ }
+ #endif
+ }
+ }
+ } /* class HKAttachment */
+}
diff --git a/new/dotnet/ios/generated-sources/HealthKit/HKAttachmentStore.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKAttachmentStore.g.cs
new file mode 100644
index 0000000..f373a8a
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKAttachmentStore.g.cs
@@ -0,0 +1,340 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace HealthKit {
+ [Register("HKAttachmentStore", true)]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ public unsafe partial class HKAttachmentStore : NSObject {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ #if ARCH_32
+ #pragma warning disable 649
+ static readonly NativeHandle class_ptr;
+ #pragma warning restore 649
+ #else
+ static readonly NativeHandle class_ptr = Class.GetHandle ("HKAttachmentStore");
+ #endif
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("init")]
+ public HKAttachmentStore () : base (NSObjectFlag.Empty)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, global::ObjCRuntime.Selector.GetHandle ("init")), "init");
+ }
+ #endif
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected HKAttachmentStore (NSObjectFlag t) : base (t)
+ {
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal HKAttachmentStore (NativeHandle handle) : base (handle)
+ {
+ }
+
+ [Export ("initWithHealthStore:")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public HKAttachmentStore (HKHealthStore healthStore)
+ : base (NSObjectFlag.Empty)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var healthStore__handle__ = healthStore!.GetNonNullHandle (nameof (healthStore));
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("initWithHealthStore:"), healthStore__handle__), "initWithHealthStore:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("initWithHealthStore:"), healthStore__handle__), "initWithHealthStore:");
+ }
+ #endif
+ }
+ [Export ("addAttachmentToObject:name:contentType:URL:metadata:completion:")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe virtual void AddAttachment (HKObject @object, string name, global::UniformTypeIdentifiers.UTType contentType, NSUrl URL, NSDictionary<NSString, NSObject>? metadata, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity2V98))]global::System.Action<HKAttachment, NSError> completion)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var @object__handle__ = @object!.GetNonNullHandle (nameof (@object));
+ if (name is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (name));
+ var contentType__handle__ = contentType!.GetNonNullHandle (nameof (contentType));
+ var URL__handle__ = URL!.GetNonNullHandle (nameof (URL));
+ var metadata__handle__ = metadata.GetHandle ();
+ if (completion is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (completion));
+ var nsname = CFString.CreateNative (name);
+ BlockLiteral *block_ptr_completion;
+ BlockLiteral block_completion;
+ block_completion = new BlockLiteral ();
+ block_ptr_completion = &block_completion;
+ block_completion.SetupBlockUnsafe (Trampolines.SDActionArity2V98.Handler, completion);
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle_NativeHandle_NativeHandle_NativeHandle_NativeHandle (this.Handle, Selector.GetHandle ("addAttachmentToObject:name:contentType:URL:metadata:completion:"), @object__handle__, nsname, contentType__handle__, URL__handle__, metadata__handle__, (IntPtr) block_ptr_completion);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle_NativeHandle_NativeHandle_NativeHandle_NativeHandle_NativeHandle (this.SuperHandle, Selector.GetHandle ("addAttachmentToObject:name:contentType:URL:metadata:completion:"), @object__handle__, nsname, contentType__handle__, URL__handle__, metadata__handle__, (IntPtr) block_ptr_completion);
+ }
+ CFString.ReleaseNative (nsname);
+ block_ptr_completion->CleanupBlock ();
+ #endif
+ }
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe virtual Task<HKAttachment> AddAttachmentAsync (HKObject @object, string name, global::UniformTypeIdentifiers.UTType contentType, NSUrl URL, NSDictionary<NSString, NSObject>? metadata)
+ {
+ var tcs = new TaskCompletionSource<HKAttachment> ();
+ AddAttachment(@object, name, contentType, URL, metadata, (arg1_, arg2_) => {
+ if (arg2_ != null)
+ tcs.SetException (new NSErrorException(arg2_));
+ else
+ tcs.SetResult (arg1_!);
+ });
+ return tcs.Task;
+ }
+ [Export ("getAttachmentsForObject:completion:")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe virtual void GetAttachments (HKObject @object, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDHKAttachmentStoreGetAttachmentCompletionHandler))]HKAttachmentStoreGetAttachmentCompletionHandler completion)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var @object__handle__ = @object!.GetNonNullHandle (nameof (@object));
+ if (completion is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (completion));
+ BlockLiteral *block_ptr_completion;
+ BlockLiteral block_completion;
+ block_completion = new BlockLiteral ();
+ block_ptr_completion = &block_completion;
+ block_completion.SetupBlockUnsafe (Trampolines.SDHKAttachmentStoreGetAttachmentCompletionHandler.Handler, completion);
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (this.Handle, Selector.GetHandle ("getAttachmentsForObject:completion:"), @object__handle__, (IntPtr) block_ptr_completion);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle_NativeHandle (this.SuperHandle, Selector.GetHandle ("getAttachmentsForObject:completion:"), @object__handle__, (IntPtr) block_ptr_completion);
+ }
+ block_ptr_completion->CleanupBlock ();
+ #endif
+ }
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe virtual Task<HKAttachment[]> GetAttachmentsAsync (HKObject @object)
+ {
+ var tcs = new TaskCompletionSource<HKAttachment[]> ();
+ GetAttachments(@object, (attachments_, error_) => {
+ if (error_ != null)
+ tcs.SetException (new NSErrorException(error_));
+ else
+ tcs.SetResult (attachments_!);
+ });
+ return tcs.Task;
+ }
+ [Export ("getDataForAttachment:completion:")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe virtual NSProgress GetData (HKAttachment attachment, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity2V19))]global::System.Action<NSData, NSError> completion)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var attachment__handle__ = attachment!.GetNonNullHandle (nameof (attachment));
+ if (completion is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (completion));
+ BlockLiteral *block_ptr_completion;
+ BlockLiteral block_completion;
+ block_completion = new BlockLiteral ();
+ block_ptr_completion = &block_completion;
+ block_completion.SetupBlockUnsafe (Trampolines.SDActionArity2V19.Handler, completion);
+ NSProgress? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<NSProgress> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_NativeHandle (this.Handle, Selector.GetHandle ("getDataForAttachment:completion:"), attachment__handle__, (IntPtr) block_ptr_completion))!;
+ } else {
+ ret = Runtime.GetNSObject<NSProgress> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle_NativeHandle (this.SuperHandle, Selector.GetHandle ("getDataForAttachment:completion:"), attachment__handle__, (IntPtr) block_ptr_completion))!;
+ }
+ block_ptr_completion->CleanupBlock ();
+ return ret!;
+ #endif
+ }
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe virtual Task<NSData> GetDataAsync (HKAttachment attachment)
+ {
+ var tcs = new TaskCompletionSource<NSData> ();
+ GetData(attachment, (arg1_, arg2_) => {
+ if (arg2_ != null)
+ tcs.SetException (new NSErrorException(arg2_));
+ else
+ tcs.SetResult (arg1_!);
+ });
+ return tcs.Task;
+ }
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe virtual Task<NSData> GetDataAsync (HKAttachment attachment, out NSProgress result)
+ {
+ var tcs = new TaskCompletionSource<NSData> ();
+ result = GetData(attachment, (arg1_, arg2_) => {
+ if (arg2_ != null)
+ tcs.SetException (new NSErrorException(arg2_));
+ else
+ tcs.SetResult (arg1_!);
+ })!;
+ return tcs.Task;
+ }
+ [Export ("removeAttachment:fromObject:completion:")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe virtual void RemoveAttachment (HKAttachment attachment, HKObject @object, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDHKAttachmentStoreCompletionHandler))]HKAttachmentStoreCompletionHandler completion)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var attachment__handle__ = attachment!.GetNonNullHandle (nameof (attachment));
+ var @object__handle__ = @object!.GetNonNullHandle (nameof (@object));
+ if (completion is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (completion));
+ BlockLiteral *block_ptr_completion;
+ BlockLiteral block_completion;
+ block_completion = new BlockLiteral ();
+ block_ptr_completion = &block_completion;
+ block_completion.SetupBlockUnsafe (Trampolines.SDHKAttachmentStoreCompletionHandler.Handler, completion);
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle_NativeHandle (this.Handle, Selector.GetHandle ("removeAttachment:fromObject:completion:"), attachment__handle__, @object__handle__, (IntPtr) block_ptr_completion);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle_NativeHandle_NativeHandle (this.SuperHandle, Selector.GetHandle ("removeAttachment:fromObject:completion:"), attachment__handle__, @object__handle__, (IntPtr) block_ptr_completion);
+ }
+ block_ptr_completion->CleanupBlock ();
+ #endif
+ }
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe virtual Task<Tuple<bool,NSError>> RemoveAttachmentAsync (HKAttachment attachment, HKObject @object)
+ {
+ var tcs = new TaskCompletionSource<Tuple<bool,NSError>> ();
+ RemoveAttachment(attachment, @object, (success_, error_) => {
+ tcs.SetResult (new Tuple<bool,NSError> (success_, error_));
+ });
+ return tcs.Task;
+ }
+ [Export ("streamDataForAttachment:dataHandler:")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe virtual NSProgress StreamData (HKAttachment attachment, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDHKAttachmentStoreDataHandler))]HKAttachmentStoreDataHandler dataHandler)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var attachment__handle__ = attachment!.GetNonNullHandle (nameof (attachment));
+ if (dataHandler is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (dataHandler));
+ BlockLiteral *block_ptr_dataHandler;
+ BlockLiteral block_dataHandler;
+ block_dataHandler = new BlockLiteral ();
+ block_ptr_dataHandler = &block_dataHandler;
+ block_dataHandler.SetupBlockUnsafe (Trampolines.SDHKAttachmentStoreDataHandler.Handler, dataHandler);
+ NSProgress? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<NSProgress> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_NativeHandle (this.Handle, Selector.GetHandle ("streamDataForAttachment:dataHandler:"), attachment__handle__, (IntPtr) block_ptr_dataHandler))!;
+ } else {
+ ret = Runtime.GetNSObject<NSProgress> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle_NativeHandle (this.SuperHandle, Selector.GetHandle ("streamDataForAttachment:dataHandler:"), attachment__handle__, (IntPtr) block_ptr_dataHandler))!;
+ }
+ block_ptr_dataHandler->CleanupBlock ();
+ return ret!;
+ #endif
+ }
+ } /* class HKAttachmentStore */
+}
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKAudiogramSample.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKAudiogramSample.g.cs
index 0ca0c2c..9a63867 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKAudiogramSample.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKAudiogramSample.g.cs
@@ -51,6 +51,7 @@ using NativeHandle = System.IntPtr;
namespace HealthKit {
[Register("HKAudiogramSample", true)]
[SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
public unsafe partial class HKAudiogramSample : HKSample {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -93,6 +94,7 @@ namespace HealthKit {
[Export ("audiogramSampleWithSensitivityPoints:startDate:endDate:metadata:")]
[SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public static HKAudiogramSample GetAudiogramSample (HKAudiogramSensitivityPoint[] sensitivityPoints, NSDate startDate, NSDate endDate, NSDictionary<NSString, NSObject>? metadata)
@@ -114,10 +116,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
public virtual HKAudiogramSensitivityPoint[] SensitivityPoints {
[Export ("sensitivityPoints", ArgumentSemantic.Copy)]
[SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
get {
#if ARCH_32
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKAudiogramSampleType.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKAudiogramSampleType.g.cs
index 76654e6..2683613 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKAudiogramSampleType.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKAudiogramSampleType.g.cs
@@ -51,6 +51,7 @@ using NativeHandle = System.IntPtr;
namespace HealthKit {
[Register("HKAudiogramSampleType", true)]
[SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
public unsafe partial class HKAudiogramSampleType : HKSampleType {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKAudiogramSensitivityPoint.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKAudiogramSensitivityPoint.g.cs
index b2c6e17..b617c63 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKAudiogramSensitivityPoint.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKAudiogramSensitivityPoint.g.cs
@@ -51,6 +51,7 @@ using NativeHandle = System.IntPtr;
namespace HealthKit {
[Register("HKAudiogramSensitivityPoint", true)]
[SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
public unsafe partial class HKAudiogramSensitivityPoint : NSObject {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -76,6 +77,7 @@ namespace HealthKit {
[Export ("sensitivityPointWithFrequency:leftEarSensitivity:rightEarSensitivity:error:")]
[SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public static HKAudiogramSensitivityPoint? GetSensitivityPoint (HKQuantity frequency, HKQuantity? leftEarSensitivity, HKQuantity? rightEarSensitivity, out NSError? error)
@@ -95,10 +97,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
public virtual HKQuantity Frequency {
[Export ("frequency", ArgumentSemantic.Copy)]
[SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
get {
#if ARCH_32
@@ -116,10 +120,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
public virtual HKQuantity? LeftEarSensitivity {
[Export ("leftEarSensitivity", ArgumentSemantic.Copy)]
[SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
get {
#if ARCH_32
@@ -137,10 +143,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
public virtual HKQuantity? RightEarSensitivity {
[Export ("rightEarSensitivity", ArgumentSemantic.Copy)]
[SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
get {
#if ARCH_32
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKAuthorizationRequestStatus.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKAuthorizationRequestStatus.g.cs
index ef71548..88d14fa 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKAuthorizationRequestStatus.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKAuthorizationRequestStatus.g.cs
@@ -50,6 +50,7 @@ using NativeHandle = System.IntPtr;
#endif
namespace HealthKit {
[SupportedOSPlatform ("ios12.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
[Native]
public enum HKAuthorizationRequestStatus : long {
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKAuthorizationStatus.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKAuthorizationStatus.g.cs
index fc9c8bc..c7732aa 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKAuthorizationStatus.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKAuthorizationStatus.g.cs
@@ -50,6 +50,7 @@ using NativeHandle = System.IntPtr;
#endif
namespace HealthKit {
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[Native]
public enum HKAuthorizationStatus : long {
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKBiologicalSex.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKBiologicalSex.g.cs
index 1f7f841..fcccb51 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKBiologicalSex.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKBiologicalSex.g.cs
@@ -50,6 +50,7 @@ using NativeHandle = System.IntPtr;
#endif
namespace HealthKit {
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[Native]
public enum HKBiologicalSex : long {
@@ -58,6 +59,7 @@ namespace HealthKit {
Male = 2,
[SupportedOSPlatform ("ios8.2")]
[SupportedOSPlatform ("maccatalyst8.2")]
+ [SupportedOSPlatform ("macos13.0")]
Other = 3,
}
}
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKBiologicalSexObject.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKBiologicalSexObject.g.cs
index dede8a9..8b7b0cf 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKBiologicalSexObject.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKBiologicalSexObject.g.cs
@@ -51,6 +51,7 @@ using NativeHandle = System.IntPtr;
namespace HealthKit {
[Register("HKBiologicalSexObject", true)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public unsafe partial class HKBiologicalSexObject : NSObject, INSCoding, INSCopying, INSSecureCoding {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -96,9 +97,9 @@ namespace HealthKit {
[Export ("copyWithZone:")]
[return: ReleaseAttribute ()]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[UnsupportedOSPlatform ("tvos")]
- [UnsupportedOSPlatform ("macos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual NSObject Copy (NSZone? zone)
{
@@ -115,9 +116,9 @@ namespace HealthKit {
}
[Export ("encodeWithCoder:")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[UnsupportedOSPlatform ("tvos")]
- [UnsupportedOSPlatform ("macos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual void EncodeTo (NSCoder encoder)
{
@@ -130,10 +131,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public virtual HKBiologicalSex BiologicalSex {
[Export ("biologicalSex")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
HKBiologicalSex ret;
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKBloodGlucoseMealTime.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKBloodGlucoseMealTime.g.cs
index fc23d98..c3fc11b 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKBloodGlucoseMealTime.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKBloodGlucoseMealTime.g.cs
@@ -50,6 +50,7 @@ using NativeHandle = System.IntPtr;
#endif
namespace HealthKit {
[SupportedOSPlatform ("ios11.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst11.0")]
[Native]
public enum HKBloodGlucoseMealTime : long {
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKBloodType.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKBloodType.g.cs
index b3e15c1..e524c6a 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKBloodType.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKBloodType.g.cs
@@ -50,6 +50,7 @@ using NativeHandle = System.IntPtr;
#endif
namespace HealthKit {
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[Native]
public enum HKBloodType : long {
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKBloodTypeObject.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKBloodTypeObject.g.cs
index 6a9574e..02df4dc 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKBloodTypeObject.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKBloodTypeObject.g.cs
@@ -51,6 +51,7 @@ using NativeHandle = System.IntPtr;
namespace HealthKit {
[Register("HKBloodTypeObject", true)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public unsafe partial class HKBloodTypeObject : NSObject, INSCoding, INSCopying, INSSecureCoding {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -96,9 +97,9 @@ namespace HealthKit {
[Export ("copyWithZone:")]
[return: ReleaseAttribute ()]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[UnsupportedOSPlatform ("tvos")]
- [UnsupportedOSPlatform ("macos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual NSObject Copy (NSZone? zone)
{
@@ -115,9 +116,9 @@ namespace HealthKit {
}
[Export ("encodeWithCoder:")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[UnsupportedOSPlatform ("tvos")]
- [UnsupportedOSPlatform ("macos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual void EncodeTo (NSCoder encoder)
{
@@ -130,10 +131,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public virtual HKBloodType BloodType {
[Export ("bloodType")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
HKBloodType ret;
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKBodyTemperatureSensorLocation.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKBodyTemperatureSensorLocation.g.cs
index a9a1421..53d1932 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKBodyTemperatureSensorLocation.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKBodyTemperatureSensorLocation.g.cs
@@ -50,6 +50,7 @@ using NativeHandle = System.IntPtr;
#endif
namespace HealthKit {
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[Native]
public enum HKBodyTemperatureSensorLocation : long {
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKCategorySample.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKCategorySample.g.cs
index a739f67..ced4580 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKCategorySample.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKCategorySample.g.cs
@@ -51,6 +51,7 @@ using NativeHandle = System.IntPtr;
namespace HealthKit {
[Register("HKCategorySample", true)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public unsafe partial class HKCategorySample : HKSample {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -84,6 +85,7 @@ namespace HealthKit {
[Export ("categorySampleWithType:value:startDate:endDate:metadata:")]
[EditorBrowsable (EditorBrowsableState.Advanced)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public static HKCategorySample FromType (HKCategoryType type, nint value, NSDate startDate, NSDate endDate, NSDictionary? metadata)
@@ -95,6 +97,7 @@ namespace HealthKit {
return Runtime.GetNSObject<HKCategorySample> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_IntPtr_NativeHandle_NativeHandle_NativeHandle (class_ptr, Selector.GetHandle ("categorySampleWithType:value:startDate:endDate:metadata:"), type__handle__, value, startDate__handle__, endDate__handle__, metadata__handle__))!;
}
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public static HKCategorySample FromType (HKCategoryType type, nint value, NSDate startDate, NSDate endDate, HKMetadata metadata)
@@ -103,6 +106,7 @@ namespace HealthKit {
}
[Export ("categorySampleWithType:value:startDate:endDate:")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public static HKCategorySample FromType (HKCategoryType type, nint value, NSDate startDate, NSDate endDate)
@@ -115,6 +119,7 @@ namespace HealthKit {
[Export ("categorySampleWithType:value:startDate:endDate:device:metadata:")]
[SupportedOSPlatform ("ios9.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
+ [SupportedOSPlatform ("macos13.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public static HKCategorySample FromType (HKCategoryType type, nint value, NSDate startDate, NSDate endDate, HKDevice? device, NSDictionary<NSString, NSObject>? metadata)
{
@@ -127,10 +132,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public virtual HKCategoryType CategoryType {
[Export ("categoryType")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
HKCategoryType? ret;
@@ -144,10 +151,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public virtual nint Value {
[Export ("value")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
if (IsDirectBinding) {
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKCategoryType.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKCategoryType.g.cs
index dd2c8d5..fd4b3a2 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKCategoryType.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKCategoryType.g.cs
@@ -51,6 +51,7 @@ using NativeHandle = System.IntPtr;
namespace HealthKit {
[Register("HKCategoryType", true)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public unsafe partial class HKCategoryType : HKSampleType {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKCategoryTypeIdentifier.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKCategoryTypeIdentifier.g.cs
index 42d43ef..8d343e0 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKCategoryTypeIdentifier.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKCategoryTypeIdentifier.g.cs
@@ -50,199 +50,263 @@ using NativeHandle = System.IntPtr;
#endif
namespace HealthKit {
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public enum HKCategoryTypeIdentifier : int {
SleepAnalysis = 0,
[SupportedOSPlatform ("ios9.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
+ [SupportedOSPlatform ("macos13.0")]
AppleStandHour = 1,
[SupportedOSPlatform ("ios9.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
+ [SupportedOSPlatform ("macos13.0")]
CervicalMucusQuality = 2,
[SupportedOSPlatform ("ios9.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
+ [SupportedOSPlatform ("macos13.0")]
OvulationTestResult = 3,
[SupportedOSPlatform ("ios9.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
+ [SupportedOSPlatform ("macos13.0")]
MenstrualFlow = 4,
[SupportedOSPlatform ("ios9.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
+ [SupportedOSPlatform ("macos13.0")]
IntermenstrualBleeding = 5,
[SupportedOSPlatform ("ios9.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
+ [SupportedOSPlatform ("macos13.0")]
SexualActivity = 6,
[SupportedOSPlatform ("ios10.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
+ [SupportedOSPlatform ("macos13.0")]
MindfulSession = 7,
[SupportedOSPlatform ("ios12.2")]
[SupportedOSPlatform ("maccatalyst12.2")]
+ [SupportedOSPlatform ("macos13.0")]
HighHeartRateEvent = 8,
[SupportedOSPlatform ("ios12.2")]
[SupportedOSPlatform ("maccatalyst12.2")]
+ [SupportedOSPlatform ("macos13.0")]
LowHeartRateEvent = 9,
[SupportedOSPlatform ("ios12.2")]
[SupportedOSPlatform ("maccatalyst12.2")]
+ [SupportedOSPlatform ("macos13.0")]
IrregularHeartRhythmEvent = 10,
[SupportedOSPlatform ("ios13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
+ [SupportedOSPlatform ("macos13.0")]
AudioExposureEvent = 11,
[SupportedOSPlatform ("ios13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
+ [SupportedOSPlatform ("macos13.0")]
ToothbrushingEvent = 12,
[SupportedOSPlatform ("ios13.6")]
[SupportedOSPlatform ("maccatalyst13.6")]
+ [SupportedOSPlatform ("macos13.0")]
AbdominalCramps = 13,
[SupportedOSPlatform ("ios13.6")]
[SupportedOSPlatform ("maccatalyst13.6")]
+ [SupportedOSPlatform ("macos13.0")]
Acne = 14,
[SupportedOSPlatform ("ios13.6")]
[SupportedOSPlatform ("maccatalyst13.6")]
+ [SupportedOSPlatform ("macos13.0")]
AppetiteChanges = 15,
[SupportedOSPlatform ("ios13.6")]
[SupportedOSPlatform ("maccatalyst13.6")]
+ [SupportedOSPlatform ("macos13.0")]
GeneralizedBodyAche = 16,
[SupportedOSPlatform ("ios13.6")]
[SupportedOSPlatform ("maccatalyst13.6")]
+ [SupportedOSPlatform ("macos13.0")]
Bloating = 17,
[SupportedOSPlatform ("ios13.6")]
[SupportedOSPlatform ("maccatalyst13.6")]
+ [SupportedOSPlatform ("macos13.0")]
BreastPain = 18,
[SupportedOSPlatform ("ios13.6")]
[SupportedOSPlatform ("maccatalyst13.6")]
+ [SupportedOSPlatform ("macos13.0")]
ChestTightnessOrPain = 19,
[SupportedOSPlatform ("ios13.6")]
[SupportedOSPlatform ("maccatalyst13.6")]
+ [SupportedOSPlatform ("macos13.0")]
Chills = 20,
[SupportedOSPlatform ("ios13.6")]
[SupportedOSPlatform ("maccatalyst13.6")]
+ [SupportedOSPlatform ("macos13.0")]
Constipation = 21,
[SupportedOSPlatform ("ios13.6")]
[SupportedOSPlatform ("maccatalyst13.6")]
+ [SupportedOSPlatform ("macos13.0")]
Coughing = 22,
[SupportedOSPlatform ("ios13.6")]
[SupportedOSPlatform ("maccatalyst13.6")]
+ [SupportedOSPlatform ("macos13.0")]
Diarrhea = 23,
[SupportedOSPlatform ("ios13.6")]
[SupportedOSPlatform ("maccatalyst13.6")]
+ [SupportedOSPlatform ("macos13.0")]
Dizziness = 24,
[SupportedOSPlatform ("ios13.6")]
[SupportedOSPlatform ("maccatalyst13.6")]
+ [SupportedOSPlatform ("macos13.0")]
Fainting = 25,
[SupportedOSPlatform ("ios13.6")]
[SupportedOSPlatform ("maccatalyst13.6")]
+ [SupportedOSPlatform ("macos13.0")]
Fatigue = 26,
[SupportedOSPlatform ("ios13.6")]
[SupportedOSPlatform ("maccatalyst13.6")]
+ [SupportedOSPlatform ("macos13.0")]
Fever = 27,
[SupportedOSPlatform ("ios13.6")]
[SupportedOSPlatform ("maccatalyst13.6")]
+ [SupportedOSPlatform ("macos13.0")]
Headache = 28,
[SupportedOSPlatform ("ios13.6")]
[SupportedOSPlatform ("maccatalyst13.6")]
+ [SupportedOSPlatform ("macos13.0")]
Heartburn = 29,
[SupportedOSPlatform ("ios13.6")]
[SupportedOSPlatform ("maccatalyst13.6")]
+ [SupportedOSPlatform ("macos13.0")]
HotFlashes = 30,
[SupportedOSPlatform ("ios13.6")]
[SupportedOSPlatform ("maccatalyst13.6")]
+ [SupportedOSPlatform ("macos13.0")]
LowerBackPain = 31,
[SupportedOSPlatform ("ios13.6")]
[SupportedOSPlatform ("maccatalyst13.6")]
+ [SupportedOSPlatform ("macos13.0")]
LossOfSmell = 32,
[SupportedOSPlatform ("ios13.6")]
[SupportedOSPlatform ("maccatalyst13.6")]
+ [SupportedOSPlatform ("macos13.0")]
LossOfTaste = 33,
[SupportedOSPlatform ("ios13.6")]
[SupportedOSPlatform ("maccatalyst13.6")]
+ [SupportedOSPlatform ("macos13.0")]
MoodChanges = 34,
[SupportedOSPlatform ("ios13.6")]
[SupportedOSPlatform ("maccatalyst13.6")]
+ [SupportedOSPlatform ("macos13.0")]
Nausea = 35,
[SupportedOSPlatform ("ios13.6")]
[SupportedOSPlatform ("maccatalyst13.6")]
+ [SupportedOSPlatform ("macos13.0")]
PelvicPain = 36,
[SupportedOSPlatform ("ios13.6")]
[SupportedOSPlatform ("maccatalyst13.6")]
+ [SupportedOSPlatform ("macos13.0")]
RapidPoundingOrFlutteringHeartbeat = 37,
[SupportedOSPlatform ("ios13.6")]
[SupportedOSPlatform ("maccatalyst13.6")]
+ [SupportedOSPlatform ("macos13.0")]
RunnyNose = 38,
[SupportedOSPlatform ("ios13.6")]
[SupportedOSPlatform ("maccatalyst13.6")]
+ [SupportedOSPlatform ("macos13.0")]
ShortnessOfBreath = 39,
[SupportedOSPlatform ("ios13.6")]
[SupportedOSPlatform ("maccatalyst13.6")]
+ [SupportedOSPlatform ("macos13.0")]
SinusCongestion = 40,
[SupportedOSPlatform ("ios13.6")]
[SupportedOSPlatform ("maccatalyst13.6")]
+ [SupportedOSPlatform ("macos13.0")]
SkippedHeartbeat = 41,
[SupportedOSPlatform ("ios13.6")]
[SupportedOSPlatform ("maccatalyst13.6")]
+ [SupportedOSPlatform ("macos13.0")]
SleepChanges = 42,
[SupportedOSPlatform ("ios13.6")]
[SupportedOSPlatform ("maccatalyst13.6")]
+ [SupportedOSPlatform ("macos13.0")]
SoreThroat = 43,
[SupportedOSPlatform ("ios13.6")]
[SupportedOSPlatform ("maccatalyst13.6")]
+ [SupportedOSPlatform ("macos13.0")]
Vomiting = 44,
[SupportedOSPlatform ("ios13.6")]
[SupportedOSPlatform ("maccatalyst13.6")]
+ [SupportedOSPlatform ("macos13.0")]
Wheezing = 45,
[SupportedOSPlatform ("ios14.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
+ [SupportedOSPlatform ("macos13.0")]
BladderIncontinence = 46,
[SupportedOSPlatform ("ios14.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
+ [SupportedOSPlatform ("macos13.0")]
DrySkin = 47,
[SupportedOSPlatform ("ios14.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
+ [SupportedOSPlatform ("macos13.0")]
HairLoss = 48,
[SupportedOSPlatform ("ios14.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
+ [SupportedOSPlatform ("macos13.0")]
VaginalDryness = 49,
[SupportedOSPlatform ("ios14.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
+ [SupportedOSPlatform ("macos13.0")]
MemoryLapse = 50,
[SupportedOSPlatform ("ios14.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
+ [SupportedOSPlatform ("macos13.0")]
NightSweats = 51,
[SupportedOSPlatform ("ios14.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
+ [SupportedOSPlatform ("macos13.0")]
EnvironmentalAudioExposureEvent = 52,
[SupportedOSPlatform ("ios14.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
+ [SupportedOSPlatform ("macos13.0")]
HandwashingEvent = 53,
[SupportedOSPlatform ("ios14.2")]
[SupportedOSPlatform ("maccatalyst14.2")]
+ [SupportedOSPlatform ("macos13.0")]
HeadphoneAudioExposureEvent = 54,
[SupportedOSPlatform ("ios14.3")]
[SupportedOSPlatform ("maccatalyst14.3")]
+ [SupportedOSPlatform ("macos13.0")]
Pregnancy = 55,
[SupportedOSPlatform ("ios14.3")]
[SupportedOSPlatform ("maccatalyst14.3")]
+ [SupportedOSPlatform ("macos13.0")]
Lactation = 56,
[SupportedOSPlatform ("ios14.3")]
[SupportedOSPlatform ("maccatalyst14.3")]
+ [SupportedOSPlatform ("macos13.0")]
Contraceptive = 57,
[SupportedOSPlatform ("ios14.3")]
[SupportedOSPlatform ("maccatalyst14.3")]
+ [SupportedOSPlatform ("macos13.0")]
LowCardioFitnessEvent = 58,
[SupportedOSPlatform ("ios15.0")]
[SupportedOSPlatform ("maccatalyst15.0")]
+ [SupportedOSPlatform ("macos13.0")]
AppleWalkingSteadinessEvent = 59,
[SupportedOSPlatform ("ios15.0")]
[SupportedOSPlatform ("maccatalyst15.0")]
+ [SupportedOSPlatform ("macos13.0")]
PregnancyTestResult = 60,
[SupportedOSPlatform ("ios15.0")]
[SupportedOSPlatform ("maccatalyst15.0")]
+ [SupportedOSPlatform ("macos13.0")]
ProgesteroneTestResult = 61,
}
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
static public partial class HKCategoryTypeIdentifierExtensions {
static IntPtr[] values = new IntPtr [62];
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[Field ("HKCategoryTypeIdentifierSleepAnalysis", "HealthKit")]
internal unsafe static IntPtr HKCategoryTypeIdentifierSleepAnalysis {
@@ -253,6 +317,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios9.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
+ [SupportedOSPlatform ("macos13.0")]
[Field ("HKCategoryTypeIdentifierAppleStandHour", "HealthKit")]
internal unsafe static IntPtr HKCategoryTypeIdentifierAppleStandHour {
get {
@@ -262,6 +327,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios9.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
+ [SupportedOSPlatform ("macos13.0")]
[Field ("HKCategoryTypeIdentifierCervicalMucusQuality", "HealthKit")]
internal unsafe static IntPtr HKCategoryTypeIdentifierCervicalMucusQuality {
get {
@@ -271,6 +337,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios9.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
+ [SupportedOSPlatform ("macos13.0")]
[Field ("HKCategoryTypeIdentifierOvulationTestResult", "HealthKit")]
internal unsafe static IntPtr HKCategoryTypeIdentifierOvulationTestResult {
get {
@@ -280,6 +347,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios9.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
+ [SupportedOSPlatform ("macos13.0")]
[Field ("HKCategoryTypeIdentifierMenstrualFlow", "HealthKit")]
internal unsafe static IntPtr HKCategoryTypeIdentifierMenstrualFlow {
get {
@@ -289,6 +357,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios9.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
+ [SupportedOSPlatform ("macos13.0")]
[Field ("HKCategoryTypeIdentifierIntermenstrualBleeding", "HealthKit")]
internal unsafe static IntPtr HKCategoryTypeIdentifierIntermenstrualBleeding {
get {
@@ -298,6 +367,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios9.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
+ [SupportedOSPlatform ("macos13.0")]
[Field ("HKCategoryTypeIdentifierSexualActivity", "HealthKit")]
internal unsafe static IntPtr HKCategoryTypeIdentifierSexualActivity {
get {
@@ -307,6 +377,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios10.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
+ [SupportedOSPlatform ("macos13.0")]
[Field ("HKCategoryTypeIdentifierMindfulSession", "HealthKit")]
internal unsafe static IntPtr HKCategoryTypeIdentifierMindfulSession {
get {
@@ -316,6 +387,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios12.2")]
[SupportedOSPlatform ("maccatalyst12.2")]
+ [SupportedOSPlatform ("macos13.0")]
[Field ("HKCategoryTypeIdentifierHighHeartRateEvent", "HealthKit")]
internal unsafe static IntPtr HKCategoryTypeIdentifierHighHeartRateEvent {
get {
@@ -325,6 +397,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios12.2")]
[SupportedOSPlatform ("maccatalyst12.2")]
+ [SupportedOSPlatform ("macos13.0")]
[Field ("HKCategoryTypeIdentifierLowHeartRateEvent", "HealthKit")]
internal unsafe static IntPtr HKCategoryTypeIdentifierLowHeartRateEvent {
get {
@@ -334,6 +407,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios12.2")]
[SupportedOSPlatform ("maccatalyst12.2")]
+ [SupportedOSPlatform ("macos13.0")]
[Field ("HKCategoryTypeIdentifierIrregularHeartRhythmEvent", "HealthKit")]
internal unsafe static IntPtr HKCategoryTypeIdentifierIrregularHeartRhythmEvent {
get {
@@ -343,6 +417,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
+ [SupportedOSPlatform ("macos13.0")]
[Field ("HKCategoryTypeIdentifierAudioExposureEvent", "HealthKit")]
internal unsafe static IntPtr HKCategoryTypeIdentifierAudioExposureEvent {
get {
@@ -352,6 +427,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
+ [SupportedOSPlatform ("macos13.0")]
[Field ("HKCategoryTypeIdentifierToothbrushingEvent", "HealthKit")]
internal unsafe static IntPtr HKCategoryTypeIdentifierToothbrushingEvent {
get {
@@ -361,6 +437,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios13.6")]
[SupportedOSPlatform ("maccatalyst13.6")]
+ [SupportedOSPlatform ("macos13.0")]
[Field ("HKCategoryTypeIdentifierAbdominalCramps", "HealthKit")]
internal unsafe static IntPtr HKCategoryTypeIdentifierAbdominalCramps {
get {
@@ -370,6 +447,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios13.6")]
[SupportedOSPlatform ("maccatalyst13.6")]
+ [SupportedOSPlatform ("macos13.0")]
[Field ("HKCategoryTypeIdentifierAcne", "HealthKit")]
internal unsafe static IntPtr HKCategoryTypeIdentifierAcne {
get {
@@ -379,6 +457,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios13.6")]
[SupportedOSPlatform ("maccatalyst13.6")]
+ [SupportedOSPlatform ("macos13.0")]
[Field ("HKCategoryTypeIdentifierAppetiteChanges", "HealthKit")]
internal unsafe static IntPtr HKCategoryTypeIdentifierAppetiteChanges {
get {
@@ -388,6 +467,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios13.6")]
[SupportedOSPlatform ("maccatalyst13.6")]
+ [SupportedOSPlatform ("macos13.0")]
[Field ("HKCategoryTypeIdentifierGeneralizedBodyAche", "HealthKit")]
internal unsafe static IntPtr HKCategoryTypeIdentifierGeneralizedBodyAche {
get {
@@ -397,6 +477,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios13.6")]
[SupportedOSPlatform ("maccatalyst13.6")]
+ [SupportedOSPlatform ("macos13.0")]
[Field ("HKCategoryTypeIdentifierBloating", "HealthKit")]
internal unsafe static IntPtr HKCategoryTypeIdentifierBloating {
get {
@@ -406,6 +487,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios13.6")]
[SupportedOSPlatform ("maccatalyst13.6")]
+ [SupportedOSPlatform ("macos13.0")]
[Field ("HKCategoryTypeIdentifierBreastPain", "HealthKit")]
internal unsafe static IntPtr HKCategoryTypeIdentifierBreastPain {
get {
@@ -415,6 +497,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios13.6")]
[SupportedOSPlatform ("maccatalyst13.6")]
+ [SupportedOSPlatform ("macos13.0")]
[Field ("HKCategoryTypeIdentifierChestTightnessOrPain", "HealthKit")]
internal unsafe static IntPtr HKCategoryTypeIdentifierChestTightnessOrPain {
get {
@@ -424,6 +507,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios13.6")]
[SupportedOSPlatform ("maccatalyst13.6")]
+ [SupportedOSPlatform ("macos13.0")]
[Field ("HKCategoryTypeIdentifierChills", "HealthKit")]
internal unsafe static IntPtr HKCategoryTypeIdentifierChills {
get {
@@ -433,6 +517,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios13.6")]
[SupportedOSPlatform ("maccatalyst13.6")]
+ [SupportedOSPlatform ("macos13.0")]
[Field ("HKCategoryTypeIdentifierConstipation", "HealthKit")]
internal unsafe static IntPtr HKCategoryTypeIdentifierConstipation {
get {
@@ -442,6 +527,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios13.6")]
[SupportedOSPlatform ("maccatalyst13.6")]
+ [SupportedOSPlatform ("macos13.0")]
[Field ("HKCategoryTypeIdentifierCoughing", "HealthKit")]
internal unsafe static IntPtr HKCategoryTypeIdentifierCoughing {
get {
@@ -451,6 +537,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios13.6")]
[SupportedOSPlatform ("maccatalyst13.6")]
+ [SupportedOSPlatform ("macos13.0")]
[Field ("HKCategoryTypeIdentifierDiarrhea", "HealthKit")]
internal unsafe static IntPtr HKCategoryTypeIdentifierDiarrhea {
get {
@@ -460,6 +547,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios13.6")]
[SupportedOSPlatform ("maccatalyst13.6")]
+ [SupportedOSPlatform ("macos13.0")]
[Field ("HKCategoryTypeIdentifierDizziness", "HealthKit")]
internal unsafe static IntPtr HKCategoryTypeIdentifierDizziness {
get {
@@ -469,6 +557,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios13.6")]
[SupportedOSPlatform ("maccatalyst13.6")]
+ [SupportedOSPlatform ("macos13.0")]
[Field ("HKCategoryTypeIdentifierFainting", "HealthKit")]
internal unsafe static IntPtr HKCategoryTypeIdentifierFainting {
get {
@@ -478,6 +567,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios13.6")]
[SupportedOSPlatform ("maccatalyst13.6")]
+ [SupportedOSPlatform ("macos13.0")]
[Field ("HKCategoryTypeIdentifierFatigue", "HealthKit")]
internal unsafe static IntPtr HKCategoryTypeIdentifierFatigue {
get {
@@ -487,6 +577,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios13.6")]
[SupportedOSPlatform ("maccatalyst13.6")]
+ [SupportedOSPlatform ("macos13.0")]
[Field ("HKCategoryTypeIdentifierFever", "HealthKit")]
internal unsafe static IntPtr HKCategoryTypeIdentifierFever {
get {
@@ -496,6 +587,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios13.6")]
[SupportedOSPlatform ("maccatalyst13.6")]
+ [SupportedOSPlatform ("macos13.0")]
[Field ("HKCategoryTypeIdentifierHeadache", "HealthKit")]
internal unsafe static IntPtr HKCategoryTypeIdentifierHeadache {
get {
@@ -505,6 +597,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios13.6")]
[SupportedOSPlatform ("maccatalyst13.6")]
+ [SupportedOSPlatform ("macos13.0")]
[Field ("HKCategoryTypeIdentifierHeartburn", "HealthKit")]
internal unsafe static IntPtr HKCategoryTypeIdentifierHeartburn {
get {
@@ -514,6 +607,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios13.6")]
[SupportedOSPlatform ("maccatalyst13.6")]
+ [SupportedOSPlatform ("macos13.0")]
[Field ("HKCategoryTypeIdentifierHotFlashes", "HealthKit")]
internal unsafe static IntPtr HKCategoryTypeIdentifierHotFlashes {
get {
@@ -523,6 +617,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios13.6")]
[SupportedOSPlatform ("maccatalyst13.6")]
+ [SupportedOSPlatform ("macos13.0")]
[Field ("HKCategoryTypeIdentifierLowerBackPain", "HealthKit")]
internal unsafe static IntPtr HKCategoryTypeIdentifierLowerBackPain {
get {
@@ -532,6 +627,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios13.6")]
[SupportedOSPlatform ("maccatalyst13.6")]
+ [SupportedOSPlatform ("macos13.0")]
[Field ("HKCategoryTypeIdentifierLossOfSmell", "HealthKit")]
internal unsafe static IntPtr HKCategoryTypeIdentifierLossOfSmell {
get {
@@ -541,6 +637,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios13.6")]
[SupportedOSPlatform ("maccatalyst13.6")]
+ [SupportedOSPlatform ("macos13.0")]
[Field ("HKCategoryTypeIdentifierLossOfTaste", "HealthKit")]
internal unsafe static IntPtr HKCategoryTypeIdentifierLossOfTaste {
get {
@@ -550,6 +647,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios13.6")]
[SupportedOSPlatform ("maccatalyst13.6")]
+ [SupportedOSPlatform ("macos13.0")]
[Field ("HKCategoryTypeIdentifierMoodChanges", "HealthKit")]
internal unsafe static IntPtr HKCategoryTypeIdentifierMoodChanges {
get {
@@ -559,6 +657,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios13.6")]
[SupportedOSPlatform ("maccatalyst13.6")]
+ [SupportedOSPlatform ("macos13.0")]
[Field ("HKCategoryTypeIdentifierNausea", "HealthKit")]
internal unsafe static IntPtr HKCategoryTypeIdentifierNausea {
get {
@@ -568,6 +667,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios13.6")]
[SupportedOSPlatform ("maccatalyst13.6")]
+ [SupportedOSPlatform ("macos13.0")]
[Field ("HKCategoryTypeIdentifierPelvicPain", "HealthKit")]
internal unsafe static IntPtr HKCategoryTypeIdentifierPelvicPain {
get {
@@ -577,6 +677,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios13.6")]
[SupportedOSPlatform ("maccatalyst13.6")]
+ [SupportedOSPlatform ("macos13.0")]
[Field ("HKCategoryTypeIdentifierRapidPoundingOrFlutteringHeartbeat", "HealthKit")]
internal unsafe static IntPtr HKCategoryTypeIdentifierRapidPoundingOrFlutteringHeartbeat {
get {
@@ -586,6 +687,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios13.6")]
[SupportedOSPlatform ("maccatalyst13.6")]
+ [SupportedOSPlatform ("macos13.0")]
[Field ("HKCategoryTypeIdentifierRunnyNose", "HealthKit")]
internal unsafe static IntPtr HKCategoryTypeIdentifierRunnyNose {
get {
@@ -595,6 +697,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios13.6")]
[SupportedOSPlatform ("maccatalyst13.6")]
+ [SupportedOSPlatform ("macos13.0")]
[Field ("HKCategoryTypeIdentifierShortnessOfBreath", "HealthKit")]
internal unsafe static IntPtr HKCategoryTypeIdentifierShortnessOfBreath {
get {
@@ -604,6 +707,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios13.6")]
[SupportedOSPlatform ("maccatalyst13.6")]
+ [SupportedOSPlatform ("macos13.0")]
[Field ("HKCategoryTypeIdentifierSinusCongestion", "HealthKit")]
internal unsafe static IntPtr HKCategoryTypeIdentifierSinusCongestion {
get {
@@ -613,6 +717,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios13.6")]
[SupportedOSPlatform ("maccatalyst13.6")]
+ [SupportedOSPlatform ("macos13.0")]
[Field ("HKCategoryTypeIdentifierSkippedHeartbeat", "HealthKit")]
internal unsafe static IntPtr HKCategoryTypeIdentifierSkippedHeartbeat {
get {
@@ -622,6 +727,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios13.6")]
[SupportedOSPlatform ("maccatalyst13.6")]
+ [SupportedOSPlatform ("macos13.0")]
[Field ("HKCategoryTypeIdentifierSleepChanges", "HealthKit")]
internal unsafe static IntPtr HKCategoryTypeIdentifierSleepChanges {
get {
@@ -631,6 +737,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios13.6")]
[SupportedOSPlatform ("maccatalyst13.6")]
+ [SupportedOSPlatform ("macos13.0")]
[Field ("HKCategoryTypeIdentifierSoreThroat", "HealthKit")]
internal unsafe static IntPtr HKCategoryTypeIdentifierSoreThroat {
get {
@@ -640,6 +747,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios13.6")]
[SupportedOSPlatform ("maccatalyst13.6")]
+ [SupportedOSPlatform ("macos13.0")]
[Field ("HKCategoryTypeIdentifierVomiting", "HealthKit")]
internal unsafe static IntPtr HKCategoryTypeIdentifierVomiting {
get {
@@ -649,6 +757,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios13.6")]
[SupportedOSPlatform ("maccatalyst13.6")]
+ [SupportedOSPlatform ("macos13.0")]
[Field ("HKCategoryTypeIdentifierWheezing", "HealthKit")]
internal unsafe static IntPtr HKCategoryTypeIdentifierWheezing {
get {
@@ -658,6 +767,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios14.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
+ [SupportedOSPlatform ("macos13.0")]
[Field ("HKCategoryTypeIdentifierBladderIncontinence", "HealthKit")]
internal unsafe static IntPtr HKCategoryTypeIdentifierBladderIncontinence {
get {
@@ -667,6 +777,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios14.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
+ [SupportedOSPlatform ("macos13.0")]
[Field ("HKCategoryTypeIdentifierDrySkin", "HealthKit")]
internal unsafe static IntPtr HKCategoryTypeIdentifierDrySkin {
get {
@@ -676,6 +787,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios14.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
+ [SupportedOSPlatform ("macos13.0")]
[Field ("HKCategoryTypeIdentifierHairLoss", "HealthKit")]
internal unsafe static IntPtr HKCategoryTypeIdentifierHairLoss {
get {
@@ -685,6 +797,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios14.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
+ [SupportedOSPlatform ("macos13.0")]
[Field ("HKCategoryTypeIdentifierVaginalDryness", "HealthKit")]
internal unsafe static IntPtr HKCategoryTypeIdentifierVaginalDryness {
get {
@@ -694,6 +807,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios14.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
+ [SupportedOSPlatform ("macos13.0")]
[Field ("HKCategoryTypeIdentifierMemoryLapse", "HealthKit")]
internal unsafe static IntPtr HKCategoryTypeIdentifierMemoryLapse {
get {
@@ -703,6 +817,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios14.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
+ [SupportedOSPlatform ("macos13.0")]
[Field ("HKCategoryTypeIdentifierNightSweats", "HealthKit")]
internal unsafe static IntPtr HKCategoryTypeIdentifierNightSweats {
get {
@@ -712,6 +827,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios14.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
+ [SupportedOSPlatform ("macos13.0")]
[Field ("HKCategoryTypeIdentifierEnvironmentalAudioExposureEvent", "HealthKit")]
internal unsafe static IntPtr HKCategoryTypeIdentifierEnvironmentalAudioExposureEvent {
get {
@@ -721,6 +837,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios14.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
+ [SupportedOSPlatform ("macos13.0")]
[Field ("HKCategoryTypeIdentifierHandwashingEvent", "HealthKit")]
internal unsafe static IntPtr HKCategoryTypeIdentifierHandwashingEvent {
get {
@@ -730,6 +847,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios14.2")]
[SupportedOSPlatform ("maccatalyst14.2")]
+ [SupportedOSPlatform ("macos13.0")]
[Field ("HKCategoryTypeIdentifierHeadphoneAudioExposureEvent", "HealthKit")]
internal unsafe static IntPtr HKCategoryTypeIdentifierHeadphoneAudioExposureEvent {
get {
@@ -739,6 +857,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios14.3")]
[SupportedOSPlatform ("maccatalyst14.3")]
+ [SupportedOSPlatform ("macos13.0")]
[Field ("HKCategoryTypeIdentifierPregnancy", "HealthKit")]
internal unsafe static IntPtr HKCategoryTypeIdentifierPregnancy {
get {
@@ -748,6 +867,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios14.3")]
[SupportedOSPlatform ("maccatalyst14.3")]
+ [SupportedOSPlatform ("macos13.0")]
[Field ("HKCategoryTypeIdentifierLactation", "HealthKit")]
internal unsafe static IntPtr HKCategoryTypeIdentifierLactation {
get {
@@ -757,6 +877,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios14.3")]
[SupportedOSPlatform ("maccatalyst14.3")]
+ [SupportedOSPlatform ("macos13.0")]
[Field ("HKCategoryTypeIdentifierContraceptive", "HealthKit")]
internal unsafe static IntPtr HKCategoryTypeIdentifierContraceptive {
get {
@@ -766,6 +887,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios14.3")]
[SupportedOSPlatform ("maccatalyst14.3")]
+ [SupportedOSPlatform ("macos13.0")]
[Field ("HKCategoryTypeIdentifierLowCardioFitnessEvent", "HealthKit")]
internal unsafe static IntPtr HKCategoryTypeIdentifierLowCardioFitnessEvent {
get {
@@ -775,6 +897,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios15.0")]
[SupportedOSPlatform ("maccatalyst15.0")]
+ [SupportedOSPlatform ("macos13.0")]
[Field ("HKCategoryTypeIdentifierAppleWalkingSteadinessEvent", "HealthKit")]
internal unsafe static IntPtr HKCategoryTypeIdentifierAppleWalkingSteadinessEvent {
get {
@@ -784,6 +907,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios15.0")]
[SupportedOSPlatform ("maccatalyst15.0")]
+ [SupportedOSPlatform ("macos13.0")]
[Field ("HKCategoryTypeIdentifierPregnancyTestResult", "HealthKit")]
internal unsafe static IntPtr HKCategoryTypeIdentifierPregnancyTestResult {
get {
@@ -793,6 +917,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios15.0")]
[SupportedOSPlatform ("maccatalyst15.0")]
+ [SupportedOSPlatform ("macos13.0")]
[Field ("HKCategoryTypeIdentifierProgesteroneTestResult", "HealthKit")]
internal unsafe static IntPtr HKCategoryTypeIdentifierProgesteroneTestResult {
get {
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKCategoryValue.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKCategoryValue.g.cs
index 987b146..63c5680 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKCategoryValue.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKCategoryValue.g.cs
@@ -50,6 +50,7 @@ using NativeHandle = System.IntPtr;
#endif
namespace HealthKit {
[SupportedOSPlatform ("ios9.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
[Native]
public enum HKCategoryValue : long {
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKCategoryValueAppetiteChanges.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKCategoryValueAppetiteChanges.g.cs
index 04b4632..1561b80 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKCategoryValueAppetiteChanges.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKCategoryValueAppetiteChanges.g.cs
@@ -50,6 +50,7 @@ using NativeHandle = System.IntPtr;
#endif
namespace HealthKit {
[SupportedOSPlatform ("ios13.6")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst13.6")]
[Native]
public enum HKCategoryValueAppetiteChanges : long {
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKCategoryValueAppleStandHour.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKCategoryValueAppleStandHour.g.cs
index 1492ae4..48e8107 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKCategoryValueAppleStandHour.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKCategoryValueAppleStandHour.g.cs
@@ -50,6 +50,7 @@ using NativeHandle = System.IntPtr;
#endif
namespace HealthKit {
[SupportedOSPlatform ("ios9.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
[Native]
public enum HKCategoryValueAppleStandHour : long {
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKCategoryValueAppleWalkingSteadinessEvent.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKCategoryValueAppleWalkingSteadinessEvent.g.cs
index 1a60847..dc85b70 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKCategoryValueAppleWalkingSteadinessEvent.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKCategoryValueAppleWalkingSteadinessEvent.g.cs
@@ -50,6 +50,7 @@ using NativeHandle = System.IntPtr;
#endif
namespace HealthKit {
[SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst15.0")]
[Native]
public enum HKCategoryValueAppleWalkingSteadinessEvent : long {
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKCategoryValueAudioExposureEvent.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKCategoryValueAudioExposureEvent.g.cs
index 4fdd924..08a91ba 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKCategoryValueAudioExposureEvent.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKCategoryValueAudioExposureEvent.g.cs
@@ -50,6 +50,7 @@ using NativeHandle = System.IntPtr;
#endif
namespace HealthKit {
[SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
[Native]
public enum HKCategoryValueAudioExposureEvent : long {
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKCategoryValueCervicalMucusQuality.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKCategoryValueCervicalMucusQuality.g.cs
index a68aa42..265a8ca 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKCategoryValueCervicalMucusQuality.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKCategoryValueCervicalMucusQuality.g.cs
@@ -50,6 +50,7 @@ using NativeHandle = System.IntPtr;
#endif
namespace HealthKit {
[SupportedOSPlatform ("ios9.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
[Native]
public enum HKCategoryValueCervicalMucusQuality : long {
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKCategoryValueContraceptive.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKCategoryValueContraceptive.g.cs
index 0fd90b4..ddd1458 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKCategoryValueContraceptive.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKCategoryValueContraceptive.g.cs
@@ -50,6 +50,7 @@ using NativeHandle = System.IntPtr;
#endif
namespace HealthKit {
[SupportedOSPlatform ("ios14.3")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst14.3")]
[Native]
public enum HKCategoryValueContraceptive : long {
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKCategoryValueEnvironmentalAudioExposureEvent.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKCategoryValueEnvironmentalAudioExposureEvent.g.cs
index 932a37b..df6bb45 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKCategoryValueEnvironmentalAudioExposureEvent.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKCategoryValueEnvironmentalAudioExposureEvent.g.cs
@@ -50,6 +50,7 @@ using NativeHandle = System.IntPtr;
#endif
namespace HealthKit {
[SupportedOSPlatform ("ios14.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
[Native]
public enum HKCategoryValueEnvironmentalAudioExposureEvent : long {
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKCategoryValueHeadphoneAudioExposureEvent.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKCategoryValueHeadphoneAudioExposureEvent.g.cs
index abe5ccd..fa448e5 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKCategoryValueHeadphoneAudioExposureEvent.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKCategoryValueHeadphoneAudioExposureEvent.g.cs
@@ -50,6 +50,7 @@ using NativeHandle = System.IntPtr;
#endif
namespace HealthKit {
[SupportedOSPlatform ("ios14.2")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst14.2")]
[Native]
public enum HKCategoryValueHeadphoneAudioExposureEvent : long {
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKCategoryValueLowCardioFitnessEvent.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKCategoryValueLowCardioFitnessEvent.g.cs
index 1a59ea6..f2c961e 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKCategoryValueLowCardioFitnessEvent.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKCategoryValueLowCardioFitnessEvent.g.cs
@@ -50,6 +50,7 @@ using NativeHandle = System.IntPtr;
#endif
namespace HealthKit {
[SupportedOSPlatform ("ios14.3")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst14.3")]
[Native]
public enum HKCategoryValueLowCardioFitnessEvent : long {
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKCategoryValueMenstrualFlow.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKCategoryValueMenstrualFlow.g.cs
index c24dfdd..b1596fd 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKCategoryValueMenstrualFlow.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKCategoryValueMenstrualFlow.g.cs
@@ -50,6 +50,7 @@ using NativeHandle = System.IntPtr;
#endif
namespace HealthKit {
[SupportedOSPlatform ("ios9.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
[Native]
public enum HKCategoryValueMenstrualFlow : long {
@@ -60,6 +61,7 @@ namespace HealthKit {
Heavy = 4,
[SupportedOSPlatform ("ios12.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
+ [SupportedOSPlatform ("macos13.0")]
None = 5,
}
}
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKCategoryValueOvulationTestResult.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKCategoryValueOvulationTestResult.g.cs
index 702631e..76dc704 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKCategoryValueOvulationTestResult.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKCategoryValueOvulationTestResult.g.cs
@@ -50,6 +50,7 @@ using NativeHandle = System.IntPtr;
#endif
namespace HealthKit {
[SupportedOSPlatform ("ios9.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
[Native]
public enum HKCategoryValueOvulationTestResult : long {
@@ -57,6 +58,7 @@ namespace HealthKit {
Negative = 1,
[SupportedOSPlatform ("ios13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
+ [SupportedOSPlatform ("macos13.0")]
LuteinizingHormoneSurge = 2,
#if __IOS__
[Advice ("Starting with ios13.0 Use 'HKCategoryValueOvulationTestResult.LuteinizingHormoneSurge' instead.")]
@@ -67,11 +69,13 @@ namespace HealthKit {
#endif
[UnsupportedOSPlatform ("maccatalyst13.0")]
[SupportedOSPlatform ("ios9.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
Positive = 2,
Indeterminate = 3,
[SupportedOSPlatform ("ios13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
+ [SupportedOSPlatform ("macos13.0")]
EstrogenSurge = 4,
}
}
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKCategoryValuePregnancyTestResult.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKCategoryValuePregnancyTestResult.g.cs
index 5ccd5ce..86d9a9e 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKCategoryValuePregnancyTestResult.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKCategoryValuePregnancyTestResult.g.cs
@@ -50,6 +50,7 @@ using NativeHandle = System.IntPtr;
#endif
namespace HealthKit {
[SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst15.0")]
[Native]
public enum HKCategoryValuePregnancyTestResult : long {
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKCategoryValuePresence.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKCategoryValuePresence.g.cs
index 0ad09f6..bf6c668 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKCategoryValuePresence.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKCategoryValuePresence.g.cs
@@ -50,6 +50,7 @@ using NativeHandle = System.IntPtr;
#endif
namespace HealthKit {
[SupportedOSPlatform ("ios13.6")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst13.6")]
[Native]
public enum HKCategoryValuePresence : long {
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKCategoryValueProgesteroneTestResult.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKCategoryValueProgesteroneTestResult.g.cs
index 0f74b1a..bdf056e 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKCategoryValueProgesteroneTestResult.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKCategoryValueProgesteroneTestResult.g.cs
@@ -50,6 +50,7 @@ using NativeHandle = System.IntPtr;
#endif
namespace HealthKit {
[SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst15.0")]
[Native]
public enum HKCategoryValueProgesteroneTestResult : long {
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKCategoryValueSeverity.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKCategoryValueSeverity.g.cs
index 68430b0..3008f71 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKCategoryValueSeverity.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKCategoryValueSeverity.g.cs
@@ -50,6 +50,7 @@ using NativeHandle = System.IntPtr;
#endif
namespace HealthKit {
[SupportedOSPlatform ("ios13.6")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst13.6")]
[Native]
public enum HKCategoryValueSeverity : long {
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKCategoryValueSleepAnalysis.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKCategoryValueSleepAnalysis.g.cs
index 8ce6267..9eb806b 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKCategoryValueSleepAnalysis.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKCategoryValueSleepAnalysis.g.cs
@@ -50,6 +50,7 @@ using NativeHandle = System.IntPtr;
#endif
namespace HealthKit {
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[Native]
public enum HKCategoryValueSleepAnalysis : long {
@@ -57,6 +58,22 @@ namespace HealthKit {
Asleep = 1,
[SupportedOSPlatform ("ios10.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
+ [SupportedOSPlatform ("macos13.0")]
Awake = 2,
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ AsleepCore = 3,
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ AsleepDeep = 4,
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ AsleepREM = 5,
}
}
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKCdaDocument.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKCdaDocument.g.cs
index 150672f..a449145 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKCdaDocument.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKCdaDocument.g.cs
@@ -51,6 +51,7 @@ using NativeHandle = System.IntPtr;
namespace HealthKit {
[Register("HKCDADocument", true)]
[SupportedOSPlatform ("ios10.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
public unsafe partial class HKCdaDocument : NSObject {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -70,10 +71,12 @@ namespace HealthKit {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios10.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
public virtual string AuthorName {
[Export ("authorName")]
[SupportedOSPlatform ("ios10.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
get {
if (IsDirectBinding) {
@@ -85,10 +88,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios10.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
public virtual string CustodianName {
[Export ("custodianName")]
[SupportedOSPlatform ("ios10.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
get {
if (IsDirectBinding) {
@@ -100,10 +105,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios10.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
public virtual NSData? DocumentData {
[Export ("documentData", ArgumentSemantic.Copy)]
[SupportedOSPlatform ("ios10.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
get {
NSData? ret;
@@ -117,10 +124,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios10.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
public virtual string PatientName {
[Export ("patientName")]
[SupportedOSPlatform ("ios10.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
get {
if (IsDirectBinding) {
@@ -132,10 +141,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios10.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
public virtual string Title {
[Export ("title")]
[SupportedOSPlatform ("ios10.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
get {
if (IsDirectBinding) {
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKCdaDocumentSample.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKCdaDocumentSample.g.cs
index 79aba93..f59696c 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKCdaDocumentSample.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKCdaDocumentSample.g.cs
@@ -51,6 +51,7 @@ using NativeHandle = System.IntPtr;
namespace HealthKit {
[Register("HKCDADocumentSample", true)]
[SupportedOSPlatform ("ios10.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
public unsafe partial class HKCdaDocumentSample : HKDocumentSample {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -83,6 +84,7 @@ namespace HealthKit {
[Export ("CDADocumentSampleWithData:startDate:endDate:metadata:validationError:")]
[SupportedOSPlatform ("ios10.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public static HKCdaDocumentSample? Create (NSData documentData, NSDate startDate, NSDate endDate, NSDictionary? metadata, out NSError validationError)
@@ -98,6 +100,7 @@ namespace HealthKit {
return ret!;
}
[SupportedOSPlatform ("ios10.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public static HKCdaDocumentSample? Create (NSData documentData, NSDate startDate, NSDate endDate, HKMetadata metadata, out NSError validationError)
@@ -106,10 +109,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios10.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
public virtual HKCdaDocument? Document {
[Export ("document")]
[SupportedOSPlatform ("ios10.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
get {
HKCdaDocument? ret;
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKCharacteristicType.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKCharacteristicType.g.cs
index fd7c4de..d76c8f4 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKCharacteristicType.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKCharacteristicType.g.cs
@@ -51,6 +51,7 @@ using NativeHandle = System.IntPtr;
namespace HealthKit {
[Register("HKCharacteristicType", true)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public unsafe partial class HKCharacteristicType : HKObjectType {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKCharacteristicTypeIdentifier.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKCharacteristicTypeIdentifier.g.cs
index 5ef0bc2..63073d8 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKCharacteristicTypeIdentifier.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKCharacteristicTypeIdentifier.g.cs
@@ -50,6 +50,7 @@ using NativeHandle = System.IntPtr;
#endif
namespace HealthKit {
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public enum HKCharacteristicTypeIdentifier : int {
BiologicalSex = 0,
@@ -57,20 +58,25 @@ namespace HealthKit {
DateOfBirth = 2,
[SupportedOSPlatform ("ios9.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
+ [SupportedOSPlatform ("macos13.0")]
FitzpatrickSkinType = 3,
[SupportedOSPlatform ("ios10.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
+ [SupportedOSPlatform ("macos13.0")]
WheelchairUse = 4,
[SupportedOSPlatform ("ios14.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
+ [SupportedOSPlatform ("macos13.0")]
ActivityMoveMode = 5,
}
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
static public partial class HKCharacteristicTypeIdentifierExtensions {
static IntPtr[] values = new IntPtr [6];
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[Field ("HKCharacteristicTypeIdentifierBiologicalSex", "HealthKit")]
internal unsafe static IntPtr HKCharacteristicTypeIdentifierBiologicalSex {
@@ -80,6 +86,7 @@ namespace HealthKit {
}
}
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[Field ("HKCharacteristicTypeIdentifierBloodType", "HealthKit")]
internal unsafe static IntPtr HKCharacteristicTypeIdentifierBloodType {
@@ -89,6 +96,7 @@ namespace HealthKit {
}
}
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[Field ("HKCharacteristicTypeIdentifierDateOfBirth", "HealthKit")]
internal unsafe static IntPtr HKCharacteristicTypeIdentifierDateOfBirth {
@@ -99,6 +107,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios9.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
+ [SupportedOSPlatform ("macos13.0")]
[Field ("HKCharacteristicTypeIdentifierFitzpatrickSkinType", "HealthKit")]
internal unsafe static IntPtr HKCharacteristicTypeIdentifierFitzpatrickSkinType {
get {
@@ -108,6 +117,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios10.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
+ [SupportedOSPlatform ("macos13.0")]
[Field ("HKCharacteristicTypeIdentifierWheelchairUse", "HealthKit")]
internal unsafe static IntPtr HKCharacteristicTypeIdentifierWheelchairUse {
get {
@@ -117,6 +127,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios14.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
+ [SupportedOSPlatform ("macos13.0")]
[Field ("HKCharacteristicTypeIdentifierActivityMoveMode", "HealthKit")]
internal unsafe static IntPtr HKCharacteristicTypeIdentifierActivityMoveMode {
get {
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKClinicalRecord.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKClinicalRecord.g.cs
index f0c4f54..46351ba 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKClinicalRecord.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKClinicalRecord.g.cs
@@ -51,6 +51,7 @@ using NativeHandle = System.IntPtr;
namespace HealthKit {
[Register("HKClinicalRecord", true)]
[SupportedOSPlatform ("ios12.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
public unsafe partial class HKClinicalRecord : HKSample, INSCoding, INSCopying, INSSecureCoding {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -94,9 +95,9 @@ namespace HealthKit {
[Export ("copyWithZone:")]
[return: ReleaseAttribute ()]
[SupportedOSPlatform ("ios12.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
[UnsupportedOSPlatform ("tvos")]
- [UnsupportedOSPlatform ("macos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual NSObject Copy (NSZone? zone)
{
@@ -113,9 +114,9 @@ namespace HealthKit {
}
[Export ("encodeWithCoder:")]
[SupportedOSPlatform ("ios12.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
[UnsupportedOSPlatform ("tvos")]
- [UnsupportedOSPlatform ("macos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public new virtual void EncodeTo (NSCoder encoder)
{
@@ -128,10 +129,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios12.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
public virtual HKClinicalType ClinicalType {
[Export ("clinicalType", ArgumentSemantic.Copy)]
[SupportedOSPlatform ("ios12.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
get {
#if ARCH_32
@@ -149,10 +152,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios12.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
public virtual string DisplayName {
[Export ("displayName")]
[SupportedOSPlatform ("ios12.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
get {
#if ARCH_32
@@ -168,10 +173,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios12.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
public virtual HKFhirResource? FhirResource {
[Export ("FHIRResource", ArgumentSemantic.Copy)]
[SupportedOSPlatform ("ios12.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
get {
#if ARCH_32
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKClinicalType.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKClinicalType.g.cs
index 1df1c45..b85303a 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKClinicalType.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKClinicalType.g.cs
@@ -51,6 +51,7 @@ using NativeHandle = System.IntPtr;
namespace HealthKit {
[Register("HKClinicalType", true)]
[SupportedOSPlatform ("ios12.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
public unsafe partial class HKClinicalType : HKSampleType {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKClinicalTypeIdentifier.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKClinicalTypeIdentifier.g.cs
index 8d35fa7..07bac9b 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKClinicalTypeIdentifier.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKClinicalTypeIdentifier.g.cs
@@ -50,6 +50,7 @@ using NativeHandle = System.IntPtr;
#endif
namespace HealthKit {
[SupportedOSPlatform ("ios12.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
public enum HKClinicalTypeIdentifier : int {
AllergyRecord = 0,
@@ -61,14 +62,17 @@ namespace HealthKit {
VitalSignRecord = 6,
[SupportedOSPlatform ("ios14.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
+ [SupportedOSPlatform ("macos13.0")]
CoverageRecord = 7,
}
[SupportedOSPlatform ("ios12.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
static public partial class HKClinicalTypeIdentifierExtensions {
static IntPtr[] values = new IntPtr [8];
[SupportedOSPlatform ("ios12.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
[Field ("HKClinicalTypeIdentifierAllergyRecord", "HealthKit")]
internal unsafe static IntPtr HKClinicalTypeIdentifierAllergyRecord {
@@ -78,6 +82,7 @@ namespace HealthKit {
}
}
[SupportedOSPlatform ("ios12.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
[Field ("HKClinicalTypeIdentifierConditionRecord", "HealthKit")]
internal unsafe static IntPtr HKClinicalTypeIdentifierConditionRecord {
@@ -87,6 +92,7 @@ namespace HealthKit {
}
}
[SupportedOSPlatform ("ios12.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
[Field ("HKClinicalTypeIdentifierImmunizationRecord", "HealthKit")]
internal unsafe static IntPtr HKClinicalTypeIdentifierImmunizationRecord {
@@ -96,6 +102,7 @@ namespace HealthKit {
}
}
[SupportedOSPlatform ("ios12.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
[Field ("HKClinicalTypeIdentifierLabResultRecord", "HealthKit")]
internal unsafe static IntPtr HKClinicalTypeIdentifierLabResultRecord {
@@ -105,6 +112,7 @@ namespace HealthKit {
}
}
[SupportedOSPlatform ("ios12.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
[Field ("HKClinicalTypeIdentifierMedicationRecord", "HealthKit")]
internal unsafe static IntPtr HKClinicalTypeIdentifierMedicationRecord {
@@ -114,6 +122,7 @@ namespace HealthKit {
}
}
[SupportedOSPlatform ("ios12.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
[Field ("HKClinicalTypeIdentifierProcedureRecord", "HealthKit")]
internal unsafe static IntPtr HKClinicalTypeIdentifierProcedureRecord {
@@ -123,6 +132,7 @@ namespace HealthKit {
}
}
[SupportedOSPlatform ("ios12.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
[Field ("HKClinicalTypeIdentifierVitalSignRecord", "HealthKit")]
internal unsafe static IntPtr HKClinicalTypeIdentifierVitalSignRecord {
@@ -133,6 +143,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios14.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
+ [SupportedOSPlatform ("macos13.0")]
[Field ("HKClinicalTypeIdentifierCoverageRecord", "HealthKit")]
internal unsafe static IntPtr HKClinicalTypeIdentifierCoverageRecord {
get {
diff --git a/new/dotnet/ios/generated-sources/HealthKit/HKContactsLensSpecification.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKContactsLensSpecification.g.cs
new file mode 100644
index 0000000..7d5aaf2
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKContactsLensSpecification.g.cs
@@ -0,0 +1,207 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace HealthKit {
+ [Register("HKContactsLensSpecification", true)]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ public unsafe partial class HKContactsLensSpecification : HKLensSpecification, INSCoding, INSCopying, INSSecureCoding {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ #if ARCH_32
+ #pragma warning disable 649
+ static readonly NativeHandle class_ptr;
+ #pragma warning restore 649
+ #else
+ static readonly NativeHandle class_ptr = Class.GetHandle ("HKContactsLensSpecification");
+ #endif
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [DesignatedInitializer]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("initWithCoder:")]
+ public HKContactsLensSpecification (NSCoder coder) : base (NSObjectFlag.Empty)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("initWithCoder:"), coder.Handle), "initWithCoder:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_IntPtr (this.SuperHandle, Selector.GetHandle ("initWithCoder:"), coder.Handle), "initWithCoder:");
+ }
+ #endif
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected HKContactsLensSpecification (NSObjectFlag t) : base (t)
+ {
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal HKContactsLensSpecification (NativeHandle handle) : base (handle)
+ {
+ }
+
+ [Export ("initWithSphere:cylinder:axis:addPower:baseCurve:diameter:")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public HKContactsLensSpecification (HKQuantity sphere, HKQuantity? cylinder, HKQuantity? axis, HKQuantity? addPower, HKQuantity? baseCurve, HKQuantity? diameter)
+ : base (NSObjectFlag.Empty)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var sphere__handle__ = sphere!.GetNonNullHandle (nameof (sphere));
+ var cylinder__handle__ = cylinder.GetHandle ();
+ var axis__handle__ = axis.GetHandle ();
+ var addPower__handle__ = addPower.GetHandle ();
+ var baseCurve__handle__ = baseCurve.GetHandle ();
+ var diameter__handle__ = diameter.GetHandle ();
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_NativeHandle_NativeHandle_NativeHandle_NativeHandle_NativeHandle (this.Handle, Selector.GetHandle ("initWithSphere:cylinder:axis:addPower:baseCurve:diameter:"), sphere__handle__, cylinder__handle__, axis__handle__, addPower__handle__, baseCurve__handle__, diameter__handle__), "initWithSphere:cylinder:axis:addPower:baseCurve:diameter:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle_NativeHandle_NativeHandle_NativeHandle_NativeHandle_NativeHandle (this.SuperHandle, Selector.GetHandle ("initWithSphere:cylinder:axis:addPower:baseCurve:diameter:"), sphere__handle__, cylinder__handle__, axis__handle__, addPower__handle__, baseCurve__handle__, diameter__handle__), "initWithSphere:cylinder:axis:addPower:baseCurve:diameter:");
+ }
+ #endif
+ }
+ [Export ("copyWithZone:")]
+ [return: ReleaseAttribute ()]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual NSObject Copy (NSZone? zone)
+ {
+ var zone__handle__ = zone.GetHandle ();
+ NSObject? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("copyWithZone:"), zone__handle__))!;
+ } else {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("copyWithZone:"), zone__handle__))!;
+ }
+ if (ret != null)
+ global::ObjCRuntime.Messaging.void_objc_msgSend (ret.Handle, Selector.GetHandle ("release"));
+ return ret!;
+ }
+ [Export ("encodeWithCoder:")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void EncodeTo (NSCoder encoder)
+ {
+ var encoder__handle__ = encoder!.GetNonNullHandle (nameof (encoder));
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("encodeWithCoder:"), encoder__handle__);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("encodeWithCoder:"), encoder__handle__);
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ public virtual HKQuantity? BaseCurve {
+ [Export ("baseCurve", ArgumentSemantic.Copy)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ HKQuantity? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<HKQuantity> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("baseCurve")))!;
+ } else {
+ ret = Runtime.GetNSObject<HKQuantity> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("baseCurve")))!;
+ }
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ public virtual HKQuantity? Diameter {
+ [Export ("diameter", ArgumentSemantic.Copy)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ HKQuantity? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<HKQuantity> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("diameter")))!;
+ } else {
+ ret = Runtime.GetNSObject<HKQuantity> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("diameter")))!;
+ }
+ return ret!;
+ #endif
+ }
+ }
+ } /* class HKContactsLensSpecification */
+}
diff --git a/new/dotnet/ios/generated-sources/HealthKit/HKContactsPrescription.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKContactsPrescription.g.cs
new file mode 100644
index 0000000..cee5cd1
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKContactsPrescription.g.cs
@@ -0,0 +1,196 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace HealthKit {
+ [Register("HKContactsPrescription", true)]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ public unsafe partial class HKContactsPrescription : HKVisionPrescription {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ #if ARCH_32
+ #pragma warning disable 649
+ static readonly NativeHandle class_ptr;
+ #pragma warning restore 649
+ #else
+ static readonly NativeHandle class_ptr = Class.GetHandle ("HKContactsPrescription");
+ #endif
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [DesignatedInitializer]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("initWithCoder:")]
+ public HKContactsPrescription (NSCoder coder) : base (NSObjectFlag.Empty)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("initWithCoder:"), coder.Handle), "initWithCoder:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_IntPtr (this.SuperHandle, Selector.GetHandle ("initWithCoder:"), coder.Handle), "initWithCoder:");
+ }
+ #endif
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected HKContactsPrescription (NSObjectFlag t) : base (t)
+ {
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal HKContactsPrescription (NativeHandle handle) : base (handle)
+ {
+ }
+
+ [Export ("prescriptionWithRightEyeSpecification:leftEyeSpecification:brand:dateIssued:expirationDate:device:metadata:")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static HKContactsPrescription GetPrescription (HKContactsLensSpecification? rightEyeSpecification, HKContactsLensSpecification? leftEyeSpecification, string brand, NSDate dateIssued, NSDate? expirationDate, HKDevice? device, NSDictionary<NSString, NSObject>? metadata)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var rightEyeSpecification__handle__ = rightEyeSpecification.GetHandle ();
+ var leftEyeSpecification__handle__ = leftEyeSpecification.GetHandle ();
+ if (brand is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (brand));
+ var dateIssued__handle__ = dateIssued!.GetNonNullHandle (nameof (dateIssued));
+ var expirationDate__handle__ = expirationDate.GetHandle ();
+ var device__handle__ = device.GetHandle ();
+ var metadata__handle__ = metadata.GetHandle ();
+ var nsbrand = CFString.CreateNative (brand);
+ HKContactsPrescription? ret;
+ ret = Runtime.GetNSObject<HKContactsPrescription> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_NativeHandle_NativeHandle_NativeHandle_NativeHandle_NativeHandle_NativeHandle (class_ptr, Selector.GetHandle ("prescriptionWithRightEyeSpecification:leftEyeSpecification:brand:dateIssued:expirationDate:device:metadata:"), rightEyeSpecification__handle__, leftEyeSpecification__handle__, nsbrand, dateIssued__handle__, expirationDate__handle__, device__handle__, metadata__handle__))!;
+ CFString.ReleaseNative (nsbrand);
+ return ret!;
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ public virtual string Brand {
+ [Export ("brand")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("brand")))!;
+ } else {
+ return CFString.FromHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("brand")))!;
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ public virtual HKContactsLensSpecification? LeftEye {
+ [Export ("leftEye", ArgumentSemantic.Copy)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ HKContactsLensSpecification? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<HKContactsLensSpecification> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("leftEye")))!;
+ } else {
+ ret = Runtime.GetNSObject<HKContactsLensSpecification> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("leftEye")))!;
+ }
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ public virtual HKContactsLensSpecification? RightEye {
+ [Export ("rightEye", ArgumentSemantic.Copy)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ HKContactsLensSpecification? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<HKContactsLensSpecification> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("rightEye")))!;
+ } else {
+ ret = Runtime.GetNSObject<HKContactsLensSpecification> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("rightEye")))!;
+ }
+ return ret!;
+ #endif
+ }
+ }
+ } /* class HKContactsPrescription */
+}
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKCorrelation.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKCorrelation.g.cs
index a8127b9..65b7e21 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKCorrelation.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKCorrelation.g.cs
@@ -51,6 +51,7 @@ using NativeHandle = System.IntPtr;
namespace HealthKit {
[Register("HKCorrelation", true)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public unsafe partial class HKCorrelation : HKSample, INSCoding, INSSecureCoding {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -84,6 +85,7 @@ namespace HealthKit {
[Export ("correlationWithType:startDate:endDate:objects:metadata:")]
[EditorBrowsable (EditorBrowsableState.Advanced)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public static HKCorrelation Create (HKCorrelationType correlationType, NSDate startDate, NSDate endDate, NSSet objects, NSDictionary? metadata)
@@ -96,6 +98,7 @@ namespace HealthKit {
return Runtime.GetNSObject<HKCorrelation> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_NativeHandle_NativeHandle_NativeHandle_NativeHandle (class_ptr, Selector.GetHandle ("correlationWithType:startDate:endDate:objects:metadata:"), correlationType__handle__, startDate__handle__, endDate__handle__, objects__handle__, metadata__handle__))!;
}
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public static HKCorrelation Create (HKCorrelationType correlationType, NSDate startDate, NSDate endDate, NSSet objects, HKMetadata metadata)
@@ -104,6 +107,7 @@ namespace HealthKit {
}
[Export ("correlationWithType:startDate:endDate:objects:")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public static HKCorrelation Create (HKCorrelationType correlationType, NSDate startDate, NSDate endDate, NSSet objects)
@@ -117,6 +121,7 @@ namespace HealthKit {
[Export ("correlationWithType:startDate:endDate:objects:device:metadata:")]
[SupportedOSPlatform ("ios9.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
+ [SupportedOSPlatform ("macos13.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public static HKCorrelation Create (HKCorrelationType correlationType, NSDate startDate, NSDate endDate, NSSet<HKSample> objects, HKDevice? device, NSDictionary<NSString, NSObject>? metadata)
{
@@ -130,9 +135,9 @@ namespace HealthKit {
}
[Export ("encodeWithCoder:")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[UnsupportedOSPlatform ("tvos")]
- [UnsupportedOSPlatform ("macos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public new virtual void EncodeTo (NSCoder encoder)
{
@@ -145,6 +150,7 @@ namespace HealthKit {
}
[Export ("objectsForType:")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual NSSet GetObjects (HKObjectType objectType)
@@ -158,10 +164,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public virtual HKCorrelationType CorrelationType {
[Export ("correlationType")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
HKCorrelationType? ret;
@@ -175,10 +183,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public virtual NSSet Objects {
[Export ("objects")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
NSSet? ret;
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKCorrelationQuery.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKCorrelationQuery.g.cs
index 30b6cc2..1139630 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKCorrelationQuery.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKCorrelationQuery.g.cs
@@ -51,6 +51,7 @@ using NativeHandle = System.IntPtr;
namespace HealthKit {
[Register("HKCorrelationQuery", true)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public unsafe partial class HKCorrelationQuery : HKQuery {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -70,6 +71,7 @@ namespace HealthKit {
[Export ("initWithType:predicate:samplePredicates:completion:")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public unsafe HKCorrelationQuery (HKCorrelationType correlationType, NSPredicate? predicate, NSDictionary? samplePredicates, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDHKCorrelationQueryResultHandler))]HKCorrelationQueryResultHandler completion)
@@ -94,10 +96,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public virtual HKCorrelationType CorrelationType {
[Export ("correlationType", ArgumentSemantic.Copy)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
HKCorrelationType? ret;
@@ -111,10 +115,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public virtual NSDictionary? SamplePredicates {
[Export ("samplePredicates", ArgumentSemantic.Copy)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
NSDictionary? ret;
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKCorrelationType.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKCorrelationType.g.cs
index 59b403f..b82827d 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKCorrelationType.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKCorrelationType.g.cs
@@ -51,6 +51,7 @@ using NativeHandle = System.IntPtr;
namespace HealthKit {
[Register("HKCorrelationType", true)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public unsafe partial class HKCorrelationType : HKSampleType {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKCorrelationTypeIdentifier.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKCorrelationTypeIdentifier.g.cs
index 7343723..728b7f4 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKCorrelationTypeIdentifier.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKCorrelationTypeIdentifier.g.cs
@@ -50,17 +50,20 @@ using NativeHandle = System.IntPtr;
#endif
namespace HealthKit {
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public enum HKCorrelationTypeIdentifier : int {
BloodPressure = 0,
Food = 1,
}
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
static public partial class HKCorrelationTypeIdentifierExtensions {
static IntPtr[] values = new IntPtr [2];
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[Field ("HKCorrelationTypeIdentifierBloodPressure", "HealthKit")]
internal unsafe static IntPtr HKCorrelationTypeIdentifierBloodPressure {
@@ -70,6 +73,7 @@ namespace HealthKit {
}
}
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[Field ("HKCorrelationTypeIdentifierFood", "HealthKit")]
internal unsafe static IntPtr HKCorrelationTypeIdentifierFood {
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKCumulativeQuantitySample.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKCumulativeQuantitySample.g.cs
index 644a3f3..8999bbe 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKCumulativeQuantitySample.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKCumulativeQuantitySample.g.cs
@@ -51,6 +51,7 @@ using NativeHandle = System.IntPtr;
namespace HealthKit {
[Register("HKCumulativeQuantitySample", true)]
[SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
public unsafe partial class HKCumulativeQuantitySample : HKQuantitySample {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -93,10 +94,12 @@ namespace HealthKit {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
public virtual HKQuantity SumQuantity {
[Export ("sumQuantity", ArgumentSemantic.Copy)]
[SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
get {
#if ARCH_32
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKCumulativeQuantitySeriesSample.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKCumulativeQuantitySeriesSample.g.cs
index b91a06f..3fc38c2 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKCumulativeQuantitySeriesSample.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKCumulativeQuantitySeriesSample.g.cs
@@ -51,6 +51,7 @@ using NativeHandle = System.IntPtr;
namespace HealthKit {
[Register("HKCumulativeQuantitySeriesSample", true)]
[SupportedOSPlatform ("ios12.0")]
+ [SupportedOSPlatform ("macos13.0")]
#if __IOS__
[Advice ("Starting with ios13.0 Use HKCumulativeQuantitySample instead.")]
#endif
@@ -109,6 +110,7 @@ namespace HealthKit {
#endif
[UnsupportedOSPlatform ("maccatalyst13.0")]
[SupportedOSPlatform ("ios12.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
public virtual HKQuantity Sum {
[Export ("sum", ArgumentSemantic.Copy)]
@@ -121,6 +123,7 @@ namespace HealthKit {
#endif
[UnsupportedOSPlatform ("maccatalyst13.0")]
[SupportedOSPlatform ("ios12.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
get {
#if ARCH_32
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKDataTypeIdentifier.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKDataTypeIdentifier.g.cs
index ca8cd37..2d87013 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKDataTypeIdentifier.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKDataTypeIdentifier.g.cs
@@ -50,16 +50,19 @@ using NativeHandle = System.IntPtr;
#endif
namespace HealthKit {
[SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
public enum HKDataTypeIdentifier : int {
HeartbeatSeries = 0,
}
[SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
static public partial class HKDataTypeIdentifierExtensions {
static IntPtr[] values = new IntPtr [1];
[SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
[Field ("HKDataTypeIdentifierHeartbeatSeries", "HealthKit")]
internal unsafe static IntPtr HKDataTypeIdentifierHeartbeatSeries {
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKDeletedObject.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKDeletedObject.g.cs
index 4db3fd3..193f357 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKDeletedObject.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKDeletedObject.g.cs
@@ -51,6 +51,7 @@ using NativeHandle = System.IntPtr;
namespace HealthKit {
[Register("HKDeletedObject", true)]
[SupportedOSPlatform ("ios9.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
public unsafe partial class HKDeletedObject : NSObject, INSCoding, INSSecureCoding {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -83,9 +84,9 @@ namespace HealthKit {
[Export ("encodeWithCoder:")]
[SupportedOSPlatform ("ios9.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
[UnsupportedOSPlatform ("tvos")]
- [UnsupportedOSPlatform ("macos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual void EncodeTo (NSCoder encoder)
{
@@ -99,8 +100,10 @@ namespace HealthKit {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios11.0")]
[SupportedOSPlatform ("maccatalyst11.0")]
+ [SupportedOSPlatform ("macos13.0")]
public HKMetadata Metadata {
[SupportedOSPlatform ("ios9.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
get {
var src = WeakMetadata != null ? new NSMutableDictionary (WeakMetadata) : null;
@@ -109,10 +112,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios9.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
public virtual NSUuid Uuid {
[Export ("UUID", ArgumentSemantic.Retain)]
[SupportedOSPlatform ("ios9.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
get {
NSUuid? ret;
@@ -127,9 +132,11 @@ namespace HealthKit {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios11.0")]
[SupportedOSPlatform ("maccatalyst11.0")]
+ [SupportedOSPlatform ("macos13.0")]
public virtual NSDictionary? WeakMetadata {
[Export ("metadata", ArgumentSemantic.Copy)]
[SupportedOSPlatform ("ios9.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
get {
#if ARCH_32
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKDetailedCdaErrorKeys.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKDetailedCdaErrorKeys.g.cs
index b1373a3..86786a3 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKDetailedCdaErrorKeys.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKDetailedCdaErrorKeys.g.cs
@@ -50,15 +50,18 @@ using NativeHandle = System.IntPtr;
#endif
namespace HealthKit {
[SupportedOSPlatform ("ios10.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
internal unsafe static partial class HKDetailedCdaErrorKeys {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
static NSString? _ValidationErrorKey;
[Field ("HKDetailedCDAValidationErrorKey", "HealthKit")]
[SupportedOSPlatform ("ios10.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
public static NSString ValidationErrorKey {
[SupportedOSPlatform ("ios10.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
get {
if (_ValidationErrorKey is null)
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKDetailedCdaErrors.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKDetailedCdaErrors.g.cs
index d49fb14..90945e1 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKDetailedCdaErrors.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKDetailedCdaErrors.g.cs
@@ -51,6 +51,7 @@ using NativeHandle = System.IntPtr;
namespace HealthKit {
[SupportedOSPlatform ("ios10.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
+ [SupportedOSPlatform ("macos")]
public partial class HKDetailedCdaErrors : DictionaryContainer {
#if !COREBUILD
[Preserve (Conditional = true)]
@@ -58,6 +59,7 @@ namespace HealthKit {
[Preserve (Conditional = true)]
public HKDetailedCdaErrors (NSDictionary? dictionary) : base (dictionary) {}
[SupportedOSPlatform ("ios10.0")]
+ [SupportedOSPlatform ("macos")]
[SupportedOSPlatform ("maccatalyst10.0")]
public NSString? ValidationError {
get {
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKDevice.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKDevice.g.cs
index c98b590..0bc298a 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKDevice.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKDevice.g.cs
@@ -51,6 +51,7 @@ using NativeHandle = System.IntPtr;
namespace HealthKit {
[Register("HKDevice", true)]
[SupportedOSPlatform ("ios9.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
public unsafe partial class HKDevice : NSObject, INSCoding, INSCopying, INSSecureCoding {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -83,6 +84,7 @@ namespace HealthKit {
[Export ("initWithName:manufacturer:model:hardwareVersion:firmwareVersion:softwareVersion:localIdentifier:UDIDeviceIdentifier:")]
[SupportedOSPlatform ("ios9.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public HKDevice (string? name, string? manufacturer, string? model, string? hardwareVersion, string? firmwareVersion, string? softwareVersion, string? localIdentifier, string? udiDeviceIdentifier)
@@ -113,9 +115,9 @@ namespace HealthKit {
[Export ("copyWithZone:")]
[return: ReleaseAttribute ()]
[SupportedOSPlatform ("ios9.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
[UnsupportedOSPlatform ("tvos")]
- [UnsupportedOSPlatform ("macos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual NSObject Copy (NSZone? zone)
{
@@ -132,9 +134,9 @@ namespace HealthKit {
}
[Export ("encodeWithCoder:")]
[SupportedOSPlatform ("ios9.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
[UnsupportedOSPlatform ("tvos")]
- [UnsupportedOSPlatform ("macos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual void EncodeTo (NSCoder encoder)
{
@@ -147,10 +149,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios9.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
public virtual string? FirmwareVersion {
[Export ("firmwareVersion")]
[SupportedOSPlatform ("ios9.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
get {
if (IsDirectBinding) {
@@ -162,10 +166,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios9.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
public virtual string? HardwareVersion {
[Export ("hardwareVersion")]
[SupportedOSPlatform ("ios9.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
get {
if (IsDirectBinding) {
@@ -177,10 +183,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios9.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
public static HKDevice LocalDevice {
[Export ("localDevice")]
[SupportedOSPlatform ("ios9.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
get {
HKDevice? ret;
@@ -190,10 +198,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios9.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
public virtual string? LocalIdentifier {
[Export ("localIdentifier")]
[SupportedOSPlatform ("ios9.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
get {
if (IsDirectBinding) {
@@ -205,10 +215,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios9.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
public virtual string? Manufacturer {
[Export ("manufacturer")]
[SupportedOSPlatform ("ios9.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
get {
if (IsDirectBinding) {
@@ -220,10 +232,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios9.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
public virtual string? Model {
[Export ("model")]
[SupportedOSPlatform ("ios9.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
get {
if (IsDirectBinding) {
@@ -235,10 +249,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios9.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
public virtual string? Name {
[Export ("name")]
[SupportedOSPlatform ("ios9.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
get {
if (IsDirectBinding) {
@@ -250,10 +266,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios9.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
public virtual string? SoftwareVersion {
[Export ("softwareVersion")]
[SupportedOSPlatform ("ios9.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
get {
if (IsDirectBinding) {
@@ -265,10 +283,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios9.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
public virtual string? UdiDeviceIdentifier {
[Export ("UDIDeviceIdentifier")]
[SupportedOSPlatform ("ios9.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
get {
if (IsDirectBinding) {
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKDevicePlacementSide.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKDevicePlacementSide.g.cs
index 5e29420..895a4cf 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKDevicePlacementSide.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKDevicePlacementSide.g.cs
@@ -50,6 +50,7 @@ using NativeHandle = System.IntPtr;
#endif
namespace HealthKit {
[SupportedOSPlatform ("ios14.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
[Native]
public enum HKDevicePlacementSide : long {
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKDevicePropertyKey.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKDevicePropertyKey.g.cs
index 16cb4df..6730dd5 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKDevicePropertyKey.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKDevicePropertyKey.g.cs
@@ -50,15 +50,18 @@ using NativeHandle = System.IntPtr;
#endif
namespace HealthKit {
[SupportedOSPlatform ("ios9.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
public unsafe static partial class HKDevicePropertyKey {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
static NSString? _FirmwareVersion;
[Field ("HKDevicePropertyKeyFirmwareVersion", "HealthKit")]
[SupportedOSPlatform ("ios9.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
public static NSString FirmwareVersion {
[SupportedOSPlatform ("ios9.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
get {
if (_FirmwareVersion is null)
@@ -70,9 +73,11 @@ namespace HealthKit {
static NSString? _HardwareVersion;
[Field ("HKDevicePropertyKeyHardwareVersion", "HealthKit")]
[SupportedOSPlatform ("ios9.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
public static NSString HardwareVersion {
[SupportedOSPlatform ("ios9.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
get {
if (_HardwareVersion is null)
@@ -84,9 +89,11 @@ namespace HealthKit {
static NSString? _LocalIdentifier;
[Field ("HKDevicePropertyKeyLocalIdentifier", "HealthKit")]
[SupportedOSPlatform ("ios9.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
public static NSString LocalIdentifier {
[SupportedOSPlatform ("ios9.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
get {
if (_LocalIdentifier is null)
@@ -98,9 +105,11 @@ namespace HealthKit {
static NSString? _Manufacturer;
[Field ("HKDevicePropertyKeyManufacturer", "HealthKit")]
[SupportedOSPlatform ("ios9.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
public static NSString Manufacturer {
[SupportedOSPlatform ("ios9.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
get {
if (_Manufacturer is null)
@@ -112,9 +121,11 @@ namespace HealthKit {
static NSString? _Model;
[Field ("HKDevicePropertyKeyModel", "HealthKit")]
[SupportedOSPlatform ("ios9.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
public static NSString Model {
[SupportedOSPlatform ("ios9.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
get {
if (_Model is null)
@@ -126,9 +137,11 @@ namespace HealthKit {
static NSString? _Name;
[Field ("HKDevicePropertyKeyName", "HealthKit")]
[SupportedOSPlatform ("ios9.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
public static NSString Name {
[SupportedOSPlatform ("ios9.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
get {
if (_Name is null)
@@ -140,9 +153,11 @@ namespace HealthKit {
static NSString? _SoftwareVersion;
[Field ("HKDevicePropertyKeySoftwareVersion", "HealthKit")]
[SupportedOSPlatform ("ios9.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
public static NSString SoftwareVersion {
[SupportedOSPlatform ("ios9.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
get {
if (_SoftwareVersion is null)
@@ -154,9 +169,11 @@ namespace HealthKit {
static NSString? _UdiDeviceIdentifier;
[Field ("HKDevicePropertyKeyUDIDeviceIdentifier", "HealthKit")]
[SupportedOSPlatform ("ios9.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
public static NSString UdiDeviceIdentifier {
[SupportedOSPlatform ("ios9.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
get {
if (_UdiDeviceIdentifier is null)
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKDiscreteQuantitySample.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKDiscreteQuantitySample.g.cs
index e33d4b7..bcaba9f 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKDiscreteQuantitySample.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKDiscreteQuantitySample.g.cs
@@ -51,6 +51,7 @@ using NativeHandle = System.IntPtr;
namespace HealthKit {
[Register("HKDiscreteQuantitySample", true)]
[SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
public unsafe partial class HKDiscreteQuantitySample : HKQuantitySample {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -93,10 +94,12 @@ namespace HealthKit {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
public virtual HKQuantity Average {
[Export ("averageQuantity", ArgumentSemantic.Copy)]
[SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
get {
#if ARCH_32
@@ -114,10 +117,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
public virtual HKQuantity Maximum {
[Export ("maximumQuantity", ArgumentSemantic.Copy)]
[SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
get {
#if ARCH_32
@@ -135,10 +140,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
public virtual HKQuantity Minimum {
[Export ("minimumQuantity", ArgumentSemantic.Copy)]
[SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
get {
#if ARCH_32
@@ -156,10 +163,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
public virtual HKQuantity MostRecent {
[Export ("mostRecentQuantity", ArgumentSemantic.Copy)]
[SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
get {
#if ARCH_32
@@ -177,10 +186,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
public virtual NSDateInterval MostRecentDateInterval {
[Export ("mostRecentQuantityDateInterval", ArgumentSemantic.Copy)]
[SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
get {
#if ARCH_32
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKDocumentQuery.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKDocumentQuery.g.cs
index e39a729..32f825a 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKDocumentQuery.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKDocumentQuery.g.cs
@@ -51,6 +51,7 @@ using NativeHandle = System.IntPtr;
namespace HealthKit {
[Register("HKDocumentQuery", true)]
[SupportedOSPlatform ("ios10.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
public unsafe partial class HKDocumentQuery : HKQuery {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -70,6 +71,7 @@ namespace HealthKit {
[Export ("initWithDocumentType:predicate:limit:sortDescriptors:includeDocumentData:resultsHandler:")]
[SupportedOSPlatform ("ios10.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public unsafe HKDocumentQuery (HKDocumentType documentType, NSPredicate? predicate, nuint limit, NSSortDescriptor[]? sortDescriptors, bool includeDocumentData, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity4V0))]global::System.Action<HKDocumentQuery, HKDocumentSample[], bool, NSError> resultsHandler)
@@ -96,10 +98,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios10.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
public virtual bool IncludeDocumentData {
[Export ("includeDocumentData")]
[SupportedOSPlatform ("ios10.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
get {
if (IsDirectBinding) {
@@ -111,10 +115,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios10.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
public virtual nuint Limit {
[Export ("limit")]
[SupportedOSPlatform ("ios10.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
get {
if (IsDirectBinding) {
@@ -126,10 +132,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios10.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
public virtual NSSortDescriptor[]? SortDescriptors {
[Export ("sortDescriptors", ArgumentSemantic.Copy)]
[SupportedOSPlatform ("ios10.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
get {
NSSortDescriptor[]? ret;
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKDocumentSample.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKDocumentSample.g.cs
index 79ac99b..aa152dc 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKDocumentSample.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKDocumentSample.g.cs
@@ -51,6 +51,7 @@ using NativeHandle = System.IntPtr;
namespace HealthKit {
[Register("HKDocumentSample", true)]
[SupportedOSPlatform ("ios10.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
public unsafe partial class HKDocumentSample : HKSample {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -83,10 +84,12 @@ namespace HealthKit {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios10.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
public virtual HKDocumentType DocumentType {
[Export ("documentType", ArgumentSemantic.Retain)]
[SupportedOSPlatform ("ios10.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
get {
HKDocumentType? ret;
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKDocumentType.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKDocumentType.g.cs
index bbb39dc..382ca79 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKDocumentType.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKDocumentType.g.cs
@@ -51,6 +51,7 @@ using NativeHandle = System.IntPtr;
namespace HealthKit {
[Register("HKDocumentType", true)]
[SupportedOSPlatform ("ios10.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
public unsafe partial class HKDocumentType : HKSampleType {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKDocumentTypeIdentifier.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKDocumentTypeIdentifier.g.cs
index 1779620..520e7fc 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKDocumentTypeIdentifier.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKDocumentTypeIdentifier.g.cs
@@ -50,16 +50,19 @@ using NativeHandle = System.IntPtr;
#endif
namespace HealthKit {
[SupportedOSPlatform ("ios10.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
public enum HKDocumentTypeIdentifier : int {
Cda = 0,
}
[SupportedOSPlatform ("ios10.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
static public partial class HKDocumentTypeIdentifierExtensions {
static IntPtr[] values = new IntPtr [1];
[SupportedOSPlatform ("ios10.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
[Field ("HKDocumentTypeIdentifierCDA", "HealthKit")]
internal unsafe static IntPtr HKDocumentTypeIdentifierCDA {
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKElectrocardiogram.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKElectrocardiogram.g.cs
index d53b1f9..26e7fad 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKElectrocardiogram.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKElectrocardiogram.g.cs
@@ -51,6 +51,7 @@ using NativeHandle = System.IntPtr;
namespace HealthKit {
[Register("HKElectrocardiogram", true)]
[SupportedOSPlatform ("ios14.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
public unsafe partial class HKElectrocardiogram : HKSample {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -93,10 +94,12 @@ namespace HealthKit {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios14.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
public virtual HKQuantity? AverageHeartRate {
[Export ("averageHeartRate", ArgumentSemantic.Copy)]
[SupportedOSPlatform ("ios14.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
get {
#if ARCH_32
@@ -114,10 +117,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios14.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
public virtual HKElectrocardiogramClassification Classification {
[Export ("classification", ArgumentSemantic.UnsafeUnretained)]
[SupportedOSPlatform ("ios14.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
get {
#if ARCH_32
@@ -135,10 +140,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios14.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
public virtual nint NumberOfVoltageMeasurements {
[Export ("numberOfVoltageMeasurements")]
[SupportedOSPlatform ("ios14.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
get {
#if ARCH_32
@@ -154,10 +161,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios14.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
public virtual HKQuantity? SamplingFrequency {
[Export ("samplingFrequency", ArgumentSemantic.Copy)]
[SupportedOSPlatform ("ios14.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
get {
#if ARCH_32
@@ -175,10 +184,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios14.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
public virtual HKElectrocardiogramSymptomsStatus SymptomsStatus {
[Export ("symptomsStatus", ArgumentSemantic.UnsafeUnretained)]
[SupportedOSPlatform ("ios14.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
get {
#if ARCH_32
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKElectrocardiogramClassification.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKElectrocardiogramClassification.g.cs
index 1fa2a8c..c729b2b 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKElectrocardiogramClassification.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKElectrocardiogramClassification.g.cs
@@ -50,6 +50,7 @@ using NativeHandle = System.IntPtr;
#endif
namespace HealthKit {
[SupportedOSPlatform ("ios14.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
[Native]
public enum HKElectrocardiogramClassification : long {
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKElectrocardiogramLead.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKElectrocardiogramLead.g.cs
index 91289f6..5ff29b3 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKElectrocardiogramLead.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKElectrocardiogramLead.g.cs
@@ -50,6 +50,7 @@ using NativeHandle = System.IntPtr;
#endif
namespace HealthKit {
[SupportedOSPlatform ("ios14.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
[Native]
public enum HKElectrocardiogramLead : long {
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKElectrocardiogramQuery.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKElectrocardiogramQuery.g.cs
index ab9bffc..70d5397 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKElectrocardiogramQuery.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKElectrocardiogramQuery.g.cs
@@ -51,6 +51,7 @@ using NativeHandle = System.IntPtr;
namespace HealthKit {
[Register("HKElectrocardiogramQuery", true)]
[SupportedOSPlatform ("ios14.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
public unsafe partial class HKElectrocardiogramQuery : HKQuery {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -76,6 +77,7 @@ namespace HealthKit {
[Export ("initWithElectrocardiogram:dataHandler:")]
[SupportedOSPlatform ("ios14.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
[DesignatedInitializer]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKElectrocardiogramSymptomsStatus.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKElectrocardiogramSymptomsStatus.g.cs
index 0595713..9121841 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKElectrocardiogramSymptomsStatus.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKElectrocardiogramSymptomsStatus.g.cs
@@ -50,6 +50,7 @@ using NativeHandle = System.IntPtr;
#endif
namespace HealthKit {
[SupportedOSPlatform ("ios14.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
[Native]
public enum HKElectrocardiogramSymptomsStatus : long {
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKElectrocardiogramType.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKElectrocardiogramType.g.cs
index 08d57d2..0bf6e79 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKElectrocardiogramType.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKElectrocardiogramType.g.cs
@@ -51,6 +51,7 @@ using NativeHandle = System.IntPtr;
namespace HealthKit {
[Register("HKElectrocardiogramType", true)]
[SupportedOSPlatform ("ios14.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
public unsafe partial class HKElectrocardiogramType : HKSampleType {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKElectrocardiogramVoltageMeasurement.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKElectrocardiogramVoltageMeasurement.g.cs
index d924084..50058ba 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKElectrocardiogramVoltageMeasurement.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKElectrocardiogramVoltageMeasurement.g.cs
@@ -51,8 +51,9 @@ using NativeHandle = System.IntPtr;
namespace HealthKit {
[Register("HKElectrocardiogramVoltageMeasurement", true)]
[SupportedOSPlatform ("ios14.0")]
- [SupportedOSPlatform ("maccatalyst14.0")]
- public unsafe partial class HKElectrocardiogramVoltageMeasurement : NSObject {
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public unsafe partial class HKElectrocardiogramVoltageMeasurement : NSObject, INSCopying {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
#if ARCH_32
#pragma warning disable 649
@@ -74,9 +75,30 @@ namespace HealthKit {
{
}
+ [Export ("copyWithZone:")]
+ [return: ReleaseAttribute ()]
+ [SupportedOSPlatform ("ios14.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual NSObject Copy (NSZone? zone)
+ {
+ var zone__handle__ = zone.GetHandle ();
+ NSObject? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("copyWithZone:"), zone__handle__))!;
+ } else {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("copyWithZone:"), zone__handle__))!;
+ }
+ if (ret != null)
+ global::ObjCRuntime.Messaging.void_objc_msgSend (ret.Handle, Selector.GetHandle ("release"));
+ return ret!;
+ }
[Export ("quantityForLead:")]
[SupportedOSPlatform ("ios14.0")]
- [SupportedOSPlatform ("maccatalyst14.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual HKQuantity? GetQuantity (HKElectrocardiogramLead lead)
{
@@ -92,11 +114,13 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios14.0")]
- [SupportedOSPlatform ("maccatalyst14.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
public virtual double TimeSinceSampleStart {
[Export ("timeSinceSampleStart")]
[SupportedOSPlatform ("ios14.0")]
- [SupportedOSPlatform ("maccatalyst14.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
get {
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKErrorCode.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKErrorCode.g.cs
index 6f5e329..91915f0 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKErrorCode.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKErrorCode.g.cs
@@ -50,6 +50,7 @@ using NativeHandle = System.IntPtr;
#endif
namespace HealthKit {
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[Native]
public enum HKErrorCode : long {
@@ -67,6 +68,7 @@ namespace HealthKit {
NoData = 11,
}
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
static public partial class HKErrorCodeExtensions {
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKFhirRelease.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKFhirRelease.g.cs
index 06d629f..83e41f4 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKFhirRelease.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKFhirRelease.g.cs
@@ -50,6 +50,7 @@ using NativeHandle = System.IntPtr;
#endif
namespace HealthKit {
[SupportedOSPlatform ("ios14.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
public enum HKFhirRelease : int {
Dstu2 = 0,
@@ -57,11 +58,13 @@ namespace HealthKit {
Unknown = 2,
}
[SupportedOSPlatform ("ios14.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
static public partial class HKFhirReleaseExtensions {
static IntPtr[] values = new IntPtr [3];
[SupportedOSPlatform ("ios14.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
[Field ("HKFHIRReleaseDSTU2", "HealthKit")]
internal unsafe static IntPtr HKFHIRReleaseDSTU2 {
@@ -71,6 +74,7 @@ namespace HealthKit {
}
}
[SupportedOSPlatform ("ios14.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
[Field ("HKFHIRReleaseR4", "HealthKit")]
internal unsafe static IntPtr HKFHIRReleaseR4 {
@@ -80,6 +84,7 @@ namespace HealthKit {
}
}
[SupportedOSPlatform ("ios14.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
[Field ("HKFHIRReleaseUnknown", "HealthKit")]
internal unsafe static IntPtr HKFHIRReleaseUnknown {
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKFhirResource.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKFhirResource.g.cs
index 77f3520..a058eea 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKFhirResource.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKFhirResource.g.cs
@@ -51,6 +51,7 @@ using NativeHandle = System.IntPtr;
namespace HealthKit {
[Register("HKFHIRResource", true)]
[SupportedOSPlatform ("ios12.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
public unsafe partial class HKFhirResource : NSObject, INSCoding, INSCopying, INSSecureCoding {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -94,9 +95,9 @@ namespace HealthKit {
[Export ("copyWithZone:")]
[return: ReleaseAttribute ()]
[SupportedOSPlatform ("ios12.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
[UnsupportedOSPlatform ("tvos")]
- [UnsupportedOSPlatform ("macos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual NSObject Copy (NSZone? zone)
{
@@ -113,9 +114,9 @@ namespace HealthKit {
}
[Export ("encodeWithCoder:")]
[SupportedOSPlatform ("ios12.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
[UnsupportedOSPlatform ("tvos")]
- [UnsupportedOSPlatform ("macos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual void EncodeTo (NSCoder encoder)
{
@@ -128,10 +129,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios12.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
public virtual NSData Data {
[Export ("data", ArgumentSemantic.Copy)]
[SupportedOSPlatform ("ios12.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
get {
#if ARCH_32
@@ -150,9 +153,11 @@ namespace HealthKit {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios14.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
+ [SupportedOSPlatform ("macos13.0")]
public virtual HKFhirVersion FhirVersion {
[Export ("FHIRVersion", ArgumentSemantic.Copy)]
[SupportedOSPlatform ("ios12.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
get {
#if ARCH_32
@@ -170,10 +175,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios12.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
public virtual string Identifier {
[Export ("identifier")]
[SupportedOSPlatform ("ios12.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
get {
#if ARCH_32
@@ -189,11 +196,14 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios12.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
public virtual HKFhirResourceType ResourceType {
[SupportedOSPlatform ("ios12.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
[SupportedOSPlatform ("ios12.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
get {
return HKFhirResourceTypeExtensions.GetValue (_ResourceType);
@@ -201,10 +211,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios12.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
public virtual NSUrl? SourceUrl {
[Export ("sourceURL", ArgumentSemantic.Copy)]
[SupportedOSPlatform ("ios12.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
get {
#if ARCH_32
@@ -222,10 +234,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios12.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
internal virtual NSString _ResourceType {
[Export ("resourceType")]
[SupportedOSPlatform ("ios12.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
get {
#if ARCH_32
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKFhirResourceType.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKFhirResourceType.g.cs
index 9997e4b..a3e40ca 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKFhirResourceType.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKFhirResourceType.g.cs
@@ -50,6 +50,7 @@ using NativeHandle = System.IntPtr;
#endif
namespace HealthKit {
[SupportedOSPlatform ("ios12.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
public enum HKFhirResourceType : int {
AllergyIntolerance = 0,
@@ -62,17 +63,21 @@ namespace HealthKit {
Procedure = 7,
[SupportedOSPlatform ("ios14.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
+ [SupportedOSPlatform ("macos13.0")]
MedicationRequest = 8,
[SupportedOSPlatform ("ios14.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
+ [SupportedOSPlatform ("macos13.0")]
Coverage = 9,
}
[SupportedOSPlatform ("ios12.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
static public partial class HKFhirResourceTypeExtensions {
static IntPtr[] values = new IntPtr [10];
[SupportedOSPlatform ("ios12.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
[Field ("HKFHIRResourceTypeAllergyIntolerance", "HealthKit")]
internal unsafe static IntPtr HKFHIRResourceTypeAllergyIntolerance {
@@ -82,6 +87,7 @@ namespace HealthKit {
}
}
[SupportedOSPlatform ("ios12.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
[Field ("HKFHIRResourceTypeCondition", "HealthKit")]
internal unsafe static IntPtr HKFHIRResourceTypeCondition {
@@ -91,6 +97,7 @@ namespace HealthKit {
}
}
[SupportedOSPlatform ("ios12.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
[Field ("HKFHIRResourceTypeImmunization", "HealthKit")]
internal unsafe static IntPtr HKFHIRResourceTypeImmunization {
@@ -100,6 +107,7 @@ namespace HealthKit {
}
}
[SupportedOSPlatform ("ios12.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
[Field ("HKFHIRResourceTypeMedicationDispense", "HealthKit")]
internal unsafe static IntPtr HKFHIRResourceTypeMedicationDispense {
@@ -109,6 +117,7 @@ namespace HealthKit {
}
}
[SupportedOSPlatform ("ios12.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
[Field ("HKFHIRResourceTypeMedicationOrder", "HealthKit")]
internal unsafe static IntPtr HKFHIRResourceTypeMedicationOrder {
@@ -118,6 +127,7 @@ namespace HealthKit {
}
}
[SupportedOSPlatform ("ios12.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
[Field ("HKFHIRResourceTypeMedicationStatement", "HealthKit")]
internal unsafe static IntPtr HKFHIRResourceTypeMedicationStatement {
@@ -127,6 +137,7 @@ namespace HealthKit {
}
}
[SupportedOSPlatform ("ios12.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
[Field ("HKFHIRResourceTypeObservation", "HealthKit")]
internal unsafe static IntPtr HKFHIRResourceTypeObservation {
@@ -136,6 +147,7 @@ namespace HealthKit {
}
}
[SupportedOSPlatform ("ios12.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
[Field ("HKFHIRResourceTypeProcedure", "HealthKit")]
internal unsafe static IntPtr HKFHIRResourceTypeProcedure {
@@ -146,6 +158,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios14.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
+ [SupportedOSPlatform ("macos13.0")]
[Field ("HKFHIRResourceTypeMedicationRequest", "HealthKit")]
internal unsafe static IntPtr HKFHIRResourceTypeMedicationRequest {
get {
@@ -155,6 +168,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios14.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
+ [SupportedOSPlatform ("macos13.0")]
[Field ("HKFHIRResourceTypeCoverage", "HealthKit")]
internal unsafe static IntPtr HKFHIRResourceTypeCoverage {
get {
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKFhirVersion.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKFhirVersion.g.cs
index 278921c..cbf2def 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKFhirVersion.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKFhirVersion.g.cs
@@ -51,6 +51,7 @@ using NativeHandle = System.IntPtr;
namespace HealthKit {
[Register("HKFHIRVersion", true)]
[SupportedOSPlatform ("ios14.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
public unsafe partial class HKFhirVersion : NSObject, INSCoding, INSCopying, INSSecureCoding {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -94,9 +95,9 @@ namespace HealthKit {
[Export ("copyWithZone:")]
[return: ReleaseAttribute ()]
[SupportedOSPlatform ("ios14.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
[UnsupportedOSPlatform ("tvos")]
- [UnsupportedOSPlatform ("macos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual NSObject Copy (NSZone? zone)
{
@@ -113,9 +114,9 @@ namespace HealthKit {
}
[Export ("encodeWithCoder:")]
[SupportedOSPlatform ("ios14.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
[UnsupportedOSPlatform ("tvos")]
- [UnsupportedOSPlatform ("macos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual void EncodeTo (NSCoder encoder)
{
@@ -128,6 +129,7 @@ namespace HealthKit {
}
[Export ("versionFromVersionString:error:")]
[SupportedOSPlatform ("ios14.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public static HKFhirVersion? GetVersion (string versionString, out NSError? errorOut)
@@ -148,10 +150,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios14.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
public virtual string FhirRelease {
[Export ("FHIRRelease", ArgumentSemantic.Retain)]
[SupportedOSPlatform ("ios14.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
get {
#if ARCH_32
@@ -167,10 +171,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios14.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
public virtual nint MajorVersion {
[Export ("majorVersion")]
[SupportedOSPlatform ("ios14.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
get {
#if ARCH_32
@@ -186,10 +192,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios14.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
public virtual nint MinorVersion {
[Export ("minorVersion")]
[SupportedOSPlatform ("ios14.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
get {
#if ARCH_32
@@ -205,10 +213,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios14.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
public virtual nint PatchVersion {
[Export ("patchVersion")]
[SupportedOSPlatform ("ios14.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
get {
#if ARCH_32
@@ -224,10 +234,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios14.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
public static HKFhirVersion PrimaryDstu2Version {
[Export ("primaryDSTU2Version")]
[SupportedOSPlatform ("ios14.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
get {
#if ARCH_32
@@ -241,10 +253,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios14.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
public static HKFhirVersion PrimaryR4Version {
[Export ("primaryR4Version")]
[SupportedOSPlatform ("ios14.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
get {
#if ARCH_32
@@ -258,10 +272,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios14.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
public virtual string StringRepresentation {
[Export ("stringRepresentation")]
[SupportedOSPlatform ("ios14.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
get {
#if ARCH_32
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKFitzpatrickSkinType.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKFitzpatrickSkinType.g.cs
index d034a34..96d1d88 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKFitzpatrickSkinType.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKFitzpatrickSkinType.g.cs
@@ -50,6 +50,7 @@ using NativeHandle = System.IntPtr;
#endif
namespace HealthKit {
[SupportedOSPlatform ("ios9.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
[Native]
public enum HKFitzpatrickSkinType : long {
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKFitzpatrickSkinTypeObject.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKFitzpatrickSkinTypeObject.g.cs
index 1079205..962b55e 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKFitzpatrickSkinTypeObject.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKFitzpatrickSkinTypeObject.g.cs
@@ -51,6 +51,7 @@ using NativeHandle = System.IntPtr;
namespace HealthKit {
[Register("HKFitzpatrickSkinTypeObject", true)]
[SupportedOSPlatform ("ios9.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
public unsafe partial class HKFitzpatrickSkinTypeObject : NSObject, INSCoding, INSCopying, INSSecureCoding {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -96,9 +97,9 @@ namespace HealthKit {
[Export ("copyWithZone:")]
[return: ReleaseAttribute ()]
[SupportedOSPlatform ("ios9.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
[UnsupportedOSPlatform ("tvos")]
- [UnsupportedOSPlatform ("macos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual NSObject Copy (NSZone? zone)
{
@@ -115,9 +116,9 @@ namespace HealthKit {
}
[Export ("encodeWithCoder:")]
[SupportedOSPlatform ("ios9.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
[UnsupportedOSPlatform ("tvos")]
- [UnsupportedOSPlatform ("macos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual void EncodeTo (NSCoder encoder)
{
@@ -130,10 +131,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios9.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
public virtual HKFitzpatrickSkinType SkinType {
[Export ("skinType")]
[SupportedOSPlatform ("ios9.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
get {
HKFitzpatrickSkinType ret;
diff --git a/new/dotnet/ios/generated-sources/HealthKit/HKGlassesLensSpecification.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKGlassesLensSpecification.g.cs
new file mode 100644
index 0000000..2754259
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKGlassesLensSpecification.g.cs
@@ -0,0 +1,259 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace HealthKit {
+ [Register("HKGlassesLensSpecification", true)]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ public unsafe partial class HKGlassesLensSpecification : HKLensSpecification, INSCoding, INSCopying, INSSecureCoding {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ #if ARCH_32
+ #pragma warning disable 649
+ static readonly NativeHandle class_ptr;
+ #pragma warning restore 649
+ #else
+ static readonly NativeHandle class_ptr = Class.GetHandle ("HKGlassesLensSpecification");
+ #endif
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [DesignatedInitializer]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("initWithCoder:")]
+ public HKGlassesLensSpecification (NSCoder coder) : base (NSObjectFlag.Empty)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("initWithCoder:"), coder.Handle), "initWithCoder:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_IntPtr (this.SuperHandle, Selector.GetHandle ("initWithCoder:"), coder.Handle), "initWithCoder:");
+ }
+ #endif
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected HKGlassesLensSpecification (NSObjectFlag t) : base (t)
+ {
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal HKGlassesLensSpecification (NativeHandle handle) : base (handle)
+ {
+ }
+
+ [Export ("initWithSphere:cylinder:axis:addPower:vertexDistance:prism:farPupillaryDistance:nearPupillaryDistance:")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public HKGlassesLensSpecification (HKQuantity sphere, HKQuantity? cylinder, HKQuantity? axis, HKQuantity? addPower, HKQuantity? vertexDistance, HKVisionPrism? prism, HKQuantity? farPupillaryDistance, HKQuantity? nearPupillaryDistance)
+ : base (NSObjectFlag.Empty)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var sphere__handle__ = sphere!.GetNonNullHandle (nameof (sphere));
+ var cylinder__handle__ = cylinder.GetHandle ();
+ var axis__handle__ = axis.GetHandle ();
+ var addPower__handle__ = addPower.GetHandle ();
+ var vertexDistance__handle__ = vertexDistance.GetHandle ();
+ var prism__handle__ = prism.GetHandle ();
+ var farPupillaryDistance__handle__ = farPupillaryDistance.GetHandle ();
+ var nearPupillaryDistance__handle__ = nearPupillaryDistance.GetHandle ();
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_NativeHandle_NativeHandle_NativeHandle_NativeHandle_NativeHandle_NativeHandle_NativeHandle (this.Handle, Selector.GetHandle ("initWithSphere:cylinder:axis:addPower:vertexDistance:prism:farPupillaryDistance:nearPupillaryDistance:"), sphere__handle__, cylinder__handle__, axis__handle__, addPower__handle__, vertexDistance__handle__, prism__handle__, farPupillaryDistance__handle__, nearPupillaryDistance__handle__), "initWithSphere:cylinder:axis:addPower:vertexDistance:prism:farPupillaryDistance:nearPupillaryDistance:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle_NativeHandle_NativeHandle_NativeHandle_NativeHandle_NativeHandle_NativeHandle_NativeHandle (this.SuperHandle, Selector.GetHandle ("initWithSphere:cylinder:axis:addPower:vertexDistance:prism:farPupillaryDistance:nearPupillaryDistance:"), sphere__handle__, cylinder__handle__, axis__handle__, addPower__handle__, vertexDistance__handle__, prism__handle__, farPupillaryDistance__handle__, nearPupillaryDistance__handle__), "initWithSphere:cylinder:axis:addPower:vertexDistance:prism:farPupillaryDistance:nearPupillaryDistance:");
+ }
+ #endif
+ }
+ [Export ("copyWithZone:")]
+ [return: ReleaseAttribute ()]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual NSObject Copy (NSZone? zone)
+ {
+ var zone__handle__ = zone.GetHandle ();
+ NSObject? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("copyWithZone:"), zone__handle__))!;
+ } else {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("copyWithZone:"), zone__handle__))!;
+ }
+ if (ret != null)
+ global::ObjCRuntime.Messaging.void_objc_msgSend (ret.Handle, Selector.GetHandle ("release"));
+ return ret!;
+ }
+ [Export ("encodeWithCoder:")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void EncodeTo (NSCoder encoder)
+ {
+ var encoder__handle__ = encoder!.GetNonNullHandle (nameof (encoder));
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("encodeWithCoder:"), encoder__handle__);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("encodeWithCoder:"), encoder__handle__);
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ public virtual HKQuantity? FarPupillaryDistance {
+ [Export ("farPupillaryDistance", ArgumentSemantic.Copy)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ HKQuantity? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<HKQuantity> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("farPupillaryDistance")))!;
+ } else {
+ ret = Runtime.GetNSObject<HKQuantity> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("farPupillaryDistance")))!;
+ }
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ public virtual HKQuantity? NearPupillaryDistance {
+ [Export ("nearPupillaryDistance", ArgumentSemantic.Copy)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ HKQuantity? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<HKQuantity> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("nearPupillaryDistance")))!;
+ } else {
+ ret = Runtime.GetNSObject<HKQuantity> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("nearPupillaryDistance")))!;
+ }
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ public virtual HKVisionPrism? Prism {
+ [Export ("prism", ArgumentSemantic.Copy)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ HKVisionPrism? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<HKVisionPrism> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("prism")))!;
+ } else {
+ ret = Runtime.GetNSObject<HKVisionPrism> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("prism")))!;
+ }
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ public virtual HKQuantity? VertexDistance {
+ [Export ("vertexDistance", ArgumentSemantic.Copy)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ HKQuantity? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<HKQuantity> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("vertexDistance")))!;
+ } else {
+ ret = Runtime.GetNSObject<HKQuantity> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("vertexDistance")))!;
+ }
+ return ret!;
+ #endif
+ }
+ }
+ } /* class HKGlassesLensSpecification */
+}
diff --git a/new/dotnet/ios/generated-sources/HealthKit/HKGlassesPrescription.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKGlassesPrescription.g.cs
new file mode 100644
index 0000000..db435a2
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKGlassesPrescription.g.cs
@@ -0,0 +1,167 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace HealthKit {
+ [Register("HKGlassesPrescription", true)]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ public unsafe partial class HKGlassesPrescription : HKVisionPrescription {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ #if ARCH_32
+ #pragma warning disable 649
+ static readonly NativeHandle class_ptr;
+ #pragma warning restore 649
+ #else
+ static readonly NativeHandle class_ptr = Class.GetHandle ("HKGlassesPrescription");
+ #endif
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [DesignatedInitializer]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("initWithCoder:")]
+ public HKGlassesPrescription (NSCoder coder) : base (NSObjectFlag.Empty)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("initWithCoder:"), coder.Handle), "initWithCoder:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_IntPtr (this.SuperHandle, Selector.GetHandle ("initWithCoder:"), coder.Handle), "initWithCoder:");
+ }
+ #endif
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected HKGlassesPrescription (NSObjectFlag t) : base (t)
+ {
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal HKGlassesPrescription (NativeHandle handle) : base (handle)
+ {
+ }
+
+ [Export ("prescriptionWithRightEyeSpecification:leftEyeSpecification:dateIssued:expirationDate:device:metadata:")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static HKGlassesPrescription GetPrescription (HKGlassesLensSpecification? rightEyeSpecification, HKGlassesLensSpecification? leftEyeSpecification, NSDate dateIssued, NSDate? expirationDate, HKDevice? device, NSDictionary<NSString, NSObject>? metadata)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var rightEyeSpecification__handle__ = rightEyeSpecification.GetHandle ();
+ var leftEyeSpecification__handle__ = leftEyeSpecification.GetHandle ();
+ var dateIssued__handle__ = dateIssued!.GetNonNullHandle (nameof (dateIssued));
+ var expirationDate__handle__ = expirationDate.GetHandle ();
+ var device__handle__ = device.GetHandle ();
+ var metadata__handle__ = metadata.GetHandle ();
+ return Runtime.GetNSObject<HKGlassesPrescription> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_NativeHandle_NativeHandle_NativeHandle_NativeHandle_NativeHandle (class_ptr, Selector.GetHandle ("prescriptionWithRightEyeSpecification:leftEyeSpecification:dateIssued:expirationDate:device:metadata:"), rightEyeSpecification__handle__, leftEyeSpecification__handle__, dateIssued__handle__, expirationDate__handle__, device__handle__, metadata__handle__))!;
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ public virtual HKGlassesLensSpecification? LeftEye {
+ [Export ("leftEye", ArgumentSemantic.Copy)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ HKGlassesLensSpecification? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<HKGlassesLensSpecification> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("leftEye")))!;
+ } else {
+ ret = Runtime.GetNSObject<HKGlassesLensSpecification> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("leftEye")))!;
+ }
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ public virtual HKGlassesLensSpecification? RightEye {
+ [Export ("rightEye", ArgumentSemantic.Copy)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ HKGlassesLensSpecification? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<HKGlassesLensSpecification> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("rightEye")))!;
+ } else {
+ ret = Runtime.GetNSObject<HKGlassesLensSpecification> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("rightEye")))!;
+ }
+ return ret!;
+ #endif
+ }
+ }
+ } /* class HKGlassesPrescription */
+}
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKHealthStore.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKHealthStore.g.cs
index 3908dfe..ecce98b 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKHealthStore.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKHealthStore.g.cs
@@ -51,6 +51,7 @@ using NativeHandle = System.IntPtr;
namespace HealthKit {
[Register("HKHealthStore", true)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public unsafe partial class HKHealthStore : NSObject {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -82,6 +83,7 @@ namespace HealthKit {
[Export ("addSamples:toWorkout:completion:")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public unsafe virtual void AddSamples (HKSample[] samples, HKWorkout workout, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDHKStoreSampleAddedCallback))]HKStoreSampleAddedCallback callback)
@@ -107,6 +109,7 @@ namespace HealthKit {
}
[Export ("deleteObject:withCompletion:")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public unsafe virtual void DeleteObject (HKObject obj, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity2V0))]global::System.Action<bool, NSError> completion)
@@ -127,6 +130,7 @@ namespace HealthKit {
block_ptr_completion->CleanupBlock ();
}
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public unsafe virtual Task<Tuple<bool,NSError>> DeleteObjectAsync (HKObject obj)
@@ -140,6 +144,7 @@ namespace HealthKit {
[Export ("deleteObjects:withCompletion:")]
[SupportedOSPlatform ("ios9.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
+ [SupportedOSPlatform ("macos13.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public unsafe virtual void DeleteObjects (HKObject[] objects, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity2V0))]global::System.Action<bool, NSError> completion)
{
@@ -163,6 +168,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios9.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
+ [SupportedOSPlatform ("macos13.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public unsafe virtual Task<Tuple<bool,NSError>> DeleteObjectsAsync (HKObject[] objects)
{
@@ -175,6 +181,7 @@ namespace HealthKit {
[Export ("deleteObjectsOfType:predicate:withCompletion:")]
[SupportedOSPlatform ("ios9.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
+ [SupportedOSPlatform ("macos13.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public unsafe virtual void DeleteObjects (HKObjectType objectType, NSPredicate predicate, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity3V6))]global::System.Action<bool, nuint, NSError> completion)
{
@@ -196,6 +203,7 @@ namespace HealthKit {
}
[Export ("disableAllBackgroundDeliveryWithCompletion:")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public unsafe virtual void DisableAllBackgroundDelivery ([BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity2V0))]global::System.Action<bool, NSError> completion)
@@ -215,6 +223,7 @@ namespace HealthKit {
block_ptr_completion->CleanupBlock ();
}
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public unsafe virtual Task<Tuple<bool,NSError>> DisableAllBackgroundDeliveryAsync ()
@@ -227,6 +236,7 @@ namespace HealthKit {
}
[Export ("disableBackgroundDeliveryForType:withCompletion:")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public unsafe virtual void DisableBackgroundDelivery (HKObjectType type, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity2V0))]global::System.Action<bool, NSError> completion)
@@ -247,6 +257,7 @@ namespace HealthKit {
block_ptr_completion->CleanupBlock ();
}
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public unsafe virtual Task<Tuple<bool,NSError>> DisableBackgroundDeliveryAsync (HKObjectType type)
@@ -259,6 +270,7 @@ namespace HealthKit {
}
[Export ("enableBackgroundDeliveryForType:frequency:withCompletion:")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public unsafe virtual void EnableBackgroundDelivery (HKObjectType type, HKUpdateFrequency frequency, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity2V0))]global::System.Action<bool, NSError> completion)
@@ -279,6 +291,7 @@ namespace HealthKit {
block_ptr_completion->CleanupBlock ();
}
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public unsafe virtual Task<Tuple<bool,NSError>> EnableBackgroundDeliveryAsync (HKObjectType type, HKUpdateFrequency frequency)
@@ -291,6 +304,7 @@ namespace HealthKit {
}
[Export ("executeQuery:")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual void ExecuteQuery (HKQuery query)
@@ -305,6 +319,7 @@ namespace HealthKit {
[Export ("activityMoveModeWithError:")]
[SupportedOSPlatform ("ios14.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
+ [SupportedOSPlatform ("macos13.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual HKActivityMoveModeObject? GetActivityMoveMode (out NSError? error)
{
@@ -324,6 +339,7 @@ namespace HealthKit {
}
[Export ("authorizationStatusForType:")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual HKAuthorizationStatus GetAuthorizationStatus (HKObjectType type)
@@ -339,6 +355,7 @@ namespace HealthKit {
}
[Export ("biologicalSexWithError:")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual HKBiologicalSexObject? GetBiologicalSex (out NSError error)
@@ -355,6 +372,7 @@ namespace HealthKit {
}
[Export ("bloodTypeWithError:")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual HKBloodTypeObject? GetBloodType (out NSError error)
@@ -379,9 +397,10 @@ namespace HealthKit {
#endif
[UnsupportedOSPlatform ("maccatalyst10.0")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public virtual NSDate GetDateOfBirth (out NSError error)
+ public virtual NSDate? GetDateOfBirth (out NSError error)
{
NativeHandle errorValue = IntPtr.Zero;
NSDate? ret;
@@ -396,6 +415,7 @@ namespace HealthKit {
[Export ("dateOfBirthComponentsWithError:")]
[SupportedOSPlatform ("ios10.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
+ [SupportedOSPlatform ("macos13.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual NSDateComponents? GetDateOfBirthComponents (out NSError error)
{
@@ -412,6 +432,7 @@ namespace HealthKit {
[Export ("fitzpatrickSkinTypeWithError:")]
[SupportedOSPlatform ("ios9.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
+ [SupportedOSPlatform ("macos13.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual HKFitzpatrickSkinTypeObject? GetFitzpatrickSkinType (out NSError error)
{
@@ -428,8 +449,9 @@ namespace HealthKit {
[Export ("preferredUnitsForQuantityTypes:completion:")]
[SupportedOSPlatform ("ios8.2")]
[SupportedOSPlatform ("maccatalyst8.2")]
+ [SupportedOSPlatform ("macos13.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe virtual void GetPreferredUnits (NSSet quantityTypes, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity2V98))]global::System.Action<NSDictionary, NSError> completion)
+ public unsafe virtual void GetPreferredUnits (NSSet quantityTypes, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity2V99))]global::System.Action<NSDictionary, NSError> completion)
{
var quantityTypes__handle__ = quantityTypes!.GetNonNullHandle (nameof (quantityTypes));
if (completion is null)
@@ -438,7 +460,7 @@ namespace HealthKit {
BlockLiteral block_completion;
block_completion = new BlockLiteral ();
block_ptr_completion = &block_completion;
- block_completion.SetupBlockUnsafe (Trampolines.SDActionArity2V98.Handler, completion);
+ block_completion.SetupBlockUnsafe (Trampolines.SDActionArity2V99.Handler, completion);
if (IsDirectBinding) {
global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (this.Handle, Selector.GetHandle ("preferredUnitsForQuantityTypes:completion:"), quantityTypes__handle__, (IntPtr) block_ptr_completion);
} else {
@@ -448,6 +470,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios8.2")]
[SupportedOSPlatform ("maccatalyst8.2")]
+ [SupportedOSPlatform ("macos13.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public unsafe virtual Task<NSDictionary> GetPreferredUnitsAsync (NSSet quantityTypes)
{
@@ -463,6 +486,7 @@ namespace HealthKit {
[Export ("getRequestStatusForAuthorizationToShareTypes:readTypes:completion:")]
[SupportedOSPlatform ("ios12.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
+ [SupportedOSPlatform ("macos13.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public unsafe virtual void GetRequestStatusForAuthorizationToShare (NSSet<HKSampleType> typesToShare, NSSet<HKObjectType> typesToRead, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDHKHealthStoreGetRequestStatusForAuthorizationToShareHandler))]HKHealthStoreGetRequestStatusForAuthorizationToShareHandler completion)
{
@@ -488,6 +512,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios12.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
+ [SupportedOSPlatform ("macos13.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public unsafe virtual Task<HKAuthorizationRequestStatus> GetRequestStatusForAuthorizationToShareAsync (NSSet<HKSampleType> typesToShare, NSSet<HKObjectType> typesToRead)
{
@@ -503,6 +528,7 @@ namespace HealthKit {
[Export ("wheelchairUseWithError:")]
[SupportedOSPlatform ("ios10.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
+ [SupportedOSPlatform ("macos13.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual HKWheelchairUseObject? GetWheelchairUse (out NSError error)
{
@@ -519,6 +545,7 @@ namespace HealthKit {
[Export ("handleAuthorizationForExtensionWithCompletion:")]
[SupportedOSPlatform ("ios9.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
+ [SupportedOSPlatform ("macos13.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public unsafe virtual void HandleAuthorizationForExtension ([BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity2V0))]global::System.Action<bool, NSError> completion)
{
@@ -538,6 +565,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios9.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
+ [SupportedOSPlatform ("macos13.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public unsafe virtual Task<Tuple<bool,NSError>> HandleAuthorizationForExtensionAsync ()
{
@@ -550,6 +578,7 @@ namespace HealthKit {
[Export ("recalibrateEstimatesForSampleType:atDate:completion:")]
[SupportedOSPlatform ("ios15.0")]
[SupportedOSPlatform ("maccatalyst15.0")]
+ [SupportedOSPlatform ("macos13.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public unsafe virtual void RecalibrateEstimates (HKSampleType sampleType, NSDate date, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity2V0))]global::System.Action<bool, NSError> completion)
{
@@ -575,6 +604,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios15.0")]
[SupportedOSPlatform ("maccatalyst15.0")]
+ [SupportedOSPlatform ("macos13.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public unsafe virtual Task<Tuple<bool,NSError>> RecalibrateEstimatesAsync (HKSampleType sampleType, NSDate date)
{
@@ -586,6 +616,7 @@ namespace HealthKit {
}
[Export ("requestAuthorizationToShareTypes:readTypes:completion:")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public unsafe virtual void RequestAuthorizationToShare (NSSet? typesToShare, NSSet? typesToRead, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity2V0))]global::System.Action<bool, NSError> completion)
@@ -607,6 +638,7 @@ namespace HealthKit {
block_ptr_completion->CleanupBlock ();
}
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public unsafe virtual Task<Tuple<bool,NSError>> RequestAuthorizationToShareAsync (NSSet? typesToShare, NSSet? typesToRead)
@@ -617,8 +649,50 @@ namespace HealthKit {
});
return tcs.Task;
}
+ [Export ("requestPerObjectReadAuthorizationForType:predicate:completion:")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe virtual void RequestPerObjectReadAuthorization (HKObjectType objectType, NSPredicate? predicate, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDHKHealthStoreCompletionHandler))]HKHealthStoreCompletionHandler completion)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var objectType__handle__ = objectType!.GetNonNullHandle (nameof (objectType));
+ var predicate__handle__ = predicate.GetHandle ();
+ if (completion is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (completion));
+ BlockLiteral *block_ptr_completion;
+ BlockLiteral block_completion;
+ block_completion = new BlockLiteral ();
+ block_ptr_completion = &block_completion;
+ block_completion.SetupBlockUnsafe (Trampolines.SDHKHealthStoreCompletionHandler.Handler, completion);
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle_NativeHandle (this.Handle, Selector.GetHandle ("requestPerObjectReadAuthorizationForType:predicate:completion:"), objectType__handle__, predicate__handle__, (IntPtr) block_ptr_completion);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle_NativeHandle_NativeHandle (this.SuperHandle, Selector.GetHandle ("requestPerObjectReadAuthorizationForType:predicate:completion:"), objectType__handle__, predicate__handle__, (IntPtr) block_ptr_completion);
+ }
+ block_ptr_completion->CleanupBlock ();
+ #endif
+ }
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe virtual Task<Tuple<bool,NSError>> RequestPerObjectReadAuthorizationAsync (HKObjectType objectType, NSPredicate? predicate)
+ {
+ var tcs = new TaskCompletionSource<Tuple<bool,NSError>> ();
+ RequestPerObjectReadAuthorization(objectType, predicate, (success_, error_) => {
+ tcs.SetResult (new Tuple<bool,NSError> (success_, error_));
+ });
+ return tcs.Task;
+ }
[Export ("saveObject:withCompletion:")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public unsafe virtual void SaveObject (HKObject obj, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity2V0))]global::System.Action<bool, NSError> completion)
@@ -639,6 +713,7 @@ namespace HealthKit {
block_ptr_completion->CleanupBlock ();
}
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public unsafe virtual Task<Tuple<bool,NSError>> SaveObjectAsync (HKObject obj)
@@ -651,6 +726,7 @@ namespace HealthKit {
}
[Export ("saveObjects:withCompletion:")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public unsafe virtual void SaveObjects (HKObject[] objects, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity2V0))]global::System.Action<bool, NSError> completion)
@@ -674,6 +750,7 @@ namespace HealthKit {
block_ptr_completion->CleanupBlock ();
}
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public unsafe virtual Task<Tuple<bool,NSError>> SaveObjectsAsync (HKObject[] objects)
@@ -695,6 +772,7 @@ namespace HealthKit {
[Advice ("Starting with maccatalyst11.0.")]
#endif
[UnsupportedOSPlatform ("maccatalyst11.0")]
+ [SupportedOSPlatform ("macos13.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public unsafe virtual void SplitTotalEnergy (HKQuantity totalEnergy, NSDate startDate, NSDate endDate, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity3V7))]global::System.Action<HKQuantity, HKQuantity, NSError> resultsHandler)
{
@@ -718,6 +796,7 @@ namespace HealthKit {
[Export ("startWatchAppWithWorkoutConfiguration:completion:")]
[SupportedOSPlatform ("ios10.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
+ [SupportedOSPlatform ("macos13.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public unsafe virtual void StartWatchApp (HKWorkoutConfiguration workoutConfiguration, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity2V0))]global::System.Action<bool, NSError> completion)
{
@@ -738,6 +817,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios10.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
+ [SupportedOSPlatform ("macos13.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public unsafe virtual Task<Tuple<bool,NSError>> StartWatchAppAsync (HKWorkoutConfiguration workoutConfiguration)
{
@@ -749,6 +829,7 @@ namespace HealthKit {
}
[Export ("stopQuery:")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual void StopQuery (HKQuery query)
@@ -763,9 +844,11 @@ namespace HealthKit {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios9.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
+ [SupportedOSPlatform ("macos13.0")]
public virtual NSDate EarliestPermittedSampleDate {
[Export ("earliestPermittedSampleDate")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
NSDate? ret;
@@ -779,10 +862,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public static bool IsHealthDataAvailable {
[Export ("isHealthDataAvailable")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
return global::ObjCRuntime.Messaging.bool_objc_msgSend (class_ptr, Selector.GetHandle ("isHealthDataAvailable"));
@@ -791,9 +876,11 @@ namespace HealthKit {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios12.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
+ [SupportedOSPlatform ("macos13.0")]
public virtual bool SupportsHealthRecords {
[Export ("supportsHealthRecords")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
#if ARCH_32
@@ -812,10 +899,12 @@ namespace HealthKit {
[Field ("HKUserPreferencesDidChangeNotification", "HealthKit")]
[SupportedOSPlatform ("ios8.2")]
[SupportedOSPlatform ("maccatalyst8.2")]
+ [SupportedOSPlatform ("macos13.0")]
[Advice ("Use HKHealthStore.Notifications.ObserveUserPreferencesDidChange helper method instead.")]
public static NSString UserPreferencesDidChangeNotification {
[SupportedOSPlatform ("ios8.2")]
[SupportedOSPlatform ("maccatalyst8.2")]
+ [SupportedOSPlatform ("macos13.0")]
get {
if (_UserPreferencesDidChangeNotification is null)
_UserPreferencesDidChangeNotification = Dlfcn.GetStringConstant (Libraries.HealthKit.Handle, "HKUserPreferencesDidChangeNotification")!;
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKHeartRateMotionContext.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKHeartRateMotionContext.g.cs
index 04913a7..7fc3302 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKHeartRateMotionContext.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKHeartRateMotionContext.g.cs
@@ -50,6 +50,7 @@ using NativeHandle = System.IntPtr;
#endif
namespace HealthKit {
[SupportedOSPlatform ("ios11.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst11.0")]
[Native]
public enum HKHeartRateMotionContext : long {
diff --git a/new/dotnet/ios/generated-sources/HealthKit/HKHeartRateRecoveryTestType.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKHeartRateRecoveryTestType.g.cs
new file mode 100644
index 0000000..de64700
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKHeartRateRecoveryTestType.g.cs
@@ -0,0 +1,62 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace HealthKit {
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ [Native]
+ public enum HKHeartRateRecoveryTestType : long {
+ MaxExercise = 1,
+ PredictionSubMaxExercise = 2,
+ PredictionNonExercise = 3,
+ }
+}
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKHeartRateSensorLocation.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKHeartRateSensorLocation.g.cs
index 89216da..b4633ea 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKHeartRateSensorLocation.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKHeartRateSensorLocation.g.cs
@@ -50,6 +50,7 @@ using NativeHandle = System.IntPtr;
#endif
namespace HealthKit {
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[Native]
public enum HKHeartRateSensorLocation : long {
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKHeartbeatSeriesBuilder.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKHeartbeatSeriesBuilder.g.cs
index e203e10..96c4695 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKHeartbeatSeriesBuilder.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKHeartbeatSeriesBuilder.g.cs
@@ -51,6 +51,7 @@ using NativeHandle = System.IntPtr;
namespace HealthKit {
[Register("HKHeartbeatSeriesBuilder", true)]
[SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
public unsafe partial class HKHeartbeatSeriesBuilder : HKSeriesBuilder {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -93,6 +94,7 @@ namespace HealthKit {
[Export ("initWithHealthStore:device:startDate:")]
[SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
[DesignatedInitializer]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -114,6 +116,7 @@ namespace HealthKit {
}
[Export ("addHeartbeatWithTimeIntervalSinceSeriesStartDate:precededByGap:completion:")]
[SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public unsafe virtual void AddHeartbeat (double timeInterval, bool precededByGap, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDHKHeartbeatSeriesBuilderCompletionHandler))]HKHeartbeatSeriesBuilderCompletionHandler completion)
@@ -137,6 +140,7 @@ namespace HealthKit {
#endif
}
[SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public unsafe virtual Task<Tuple<bool,NSError>> AddHeartbeatAsync (double timeInterval, bool precededByGap)
@@ -149,6 +153,7 @@ namespace HealthKit {
}
[Export ("addMetadata:completion:")]
[SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public unsafe virtual void AddMetadata (NSDictionary<NSString, NSObject> metadata, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDHKHeartbeatSeriesBuilderCompletionHandler))]HKHeartbeatSeriesBuilderCompletionHandler completion)
@@ -173,6 +178,7 @@ namespace HealthKit {
#endif
}
[SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public unsafe virtual Task<Tuple<bool,NSError>> AddMetadataAsync (NSDictionary<NSString, NSObject> metadata)
@@ -185,9 +191,10 @@ namespace HealthKit {
}
[Export ("finishSeriesWithCompletion:")]
[SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe virtual void FinishSeries ([BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity2V99))]global::System.Action<HKHeartbeatSeriesSample, NSError> completion)
+ public unsafe virtual void FinishSeries ([BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity2V100))]global::System.Action<HKHeartbeatSeriesSample, NSError> completion)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
@@ -198,7 +205,7 @@ namespace HealthKit {
BlockLiteral block_completion;
block_completion = new BlockLiteral ();
block_ptr_completion = &block_completion;
- block_completion.SetupBlockUnsafe (Trampolines.SDActionArity2V99.Handler, completion);
+ block_completion.SetupBlockUnsafe (Trampolines.SDActionArity2V100.Handler, completion);
if (IsDirectBinding) {
global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("finishSeriesWithCompletion:"), (IntPtr) block_ptr_completion);
} else {
@@ -208,6 +215,7 @@ namespace HealthKit {
#endif
}
[SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public unsafe virtual Task<HKHeartbeatSeriesSample> FinishSeriesAsync ()
@@ -223,10 +231,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
public static nuint MaximumCount {
[Export ("maximumCount")]
[SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
get {
#if ARCH_32
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKHeartbeatSeriesQuery.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKHeartbeatSeriesQuery.g.cs
index 3af737a..c2635b4 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKHeartbeatSeriesQuery.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKHeartbeatSeriesQuery.g.cs
@@ -51,6 +51,7 @@ using NativeHandle = System.IntPtr;
namespace HealthKit {
[Register("HKHeartbeatSeriesQuery", true)]
[SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
public unsafe partial class HKHeartbeatSeriesQuery : HKQuery {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -92,6 +93,7 @@ namespace HealthKit {
[Export ("initWithHeartbeatSeries:dataHandler:")]
[SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
[DesignatedInitializer]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKHeartbeatSeriesSample.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKHeartbeatSeriesSample.g.cs
index 2048364..51ca7de 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKHeartbeatSeriesSample.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKHeartbeatSeriesSample.g.cs
@@ -51,6 +51,7 @@ using NativeHandle = System.IntPtr;
namespace HealthKit {
[Register("HKHeartbeatSeriesSample", true)]
[SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
public unsafe partial class HKHeartbeatSeriesSample : HKSeriesSample, INSCoding, INSSecureCoding {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -93,9 +94,9 @@ namespace HealthKit {
[Export ("encodeWithCoder:")]
[SupportedOSPlatform ("ios13.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
[UnsupportedOSPlatform ("tvos")]
- [UnsupportedOSPlatform ("macos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public new virtual void EncodeTo (NSCoder encoder)
{
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKInsulinDeliveryReason.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKInsulinDeliveryReason.g.cs
index 085235c..f8fff47 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKInsulinDeliveryReason.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKInsulinDeliveryReason.g.cs
@@ -50,6 +50,7 @@ using NativeHandle = System.IntPtr;
#endif
namespace HealthKit {
[SupportedOSPlatform ("ios11.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst11.0")]
[Native]
public enum HKInsulinDeliveryReason : long {
diff --git a/new/dotnet/ios/generated-sources/HealthKit/HKLensSpecification.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKLensSpecification.g.cs
new file mode 100644
index 0000000..a7b3758
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKLensSpecification.g.cs
@@ -0,0 +1,180 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace HealthKit {
+ [Register("HKLensSpecification", true)]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ public unsafe partial class HKLensSpecification : NSObject {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ #if ARCH_32
+ #pragma warning disable 649
+ static readonly NativeHandle class_ptr;
+ #pragma warning restore 649
+ #else
+ static readonly NativeHandle class_ptr = Class.GetHandle ("HKLensSpecification");
+ #endif
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected HKLensSpecification (NSObjectFlag t) : base (t)
+ {
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal HKLensSpecification (NativeHandle handle) : base (handle)
+ {
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ public virtual HKQuantity? AddPower {
+ [Export ("addPower", ArgumentSemantic.Copy)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ HKQuantity? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<HKQuantity> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("addPower")))!;
+ } else {
+ ret = Runtime.GetNSObject<HKQuantity> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("addPower")))!;
+ }
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ public virtual HKQuantity? Axis {
+ [Export ("axis", ArgumentSemantic.Copy)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ HKQuantity? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<HKQuantity> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("axis")))!;
+ } else {
+ ret = Runtime.GetNSObject<HKQuantity> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("axis")))!;
+ }
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ public virtual HKQuantity? Cylinder {
+ [Export ("cylinder", ArgumentSemantic.Copy)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ HKQuantity? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<HKQuantity> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("cylinder")))!;
+ } else {
+ ret = Runtime.GetNSObject<HKQuantity> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("cylinder")))!;
+ }
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ public virtual HKQuantity Sphere {
+ [Export ("sphere", ArgumentSemantic.Copy)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ HKQuantity? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<HKQuantity> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("sphere")))!;
+ } else {
+ ret = Runtime.GetNSObject<HKQuantity> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("sphere")))!;
+ }
+ return ret!;
+ #endif
+ }
+ }
+ } /* class HKLensSpecification */
+}
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKMetadata.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKMetadata.g.cs
index f510ae6..73cb012 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKMetadata.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKMetadata.g.cs
@@ -209,6 +209,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios9.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
+ [SupportedOSPlatform ("macos")]
public bool? SexualActivityProtectionUsed {
get {
return GetBoolValue (HKMetadataKey.SexualActivityProtectionUsed!);
@@ -219,6 +220,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios9.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
+ [SupportedOSPlatform ("macos")]
public bool? MenstrualCycleStart {
get {
return GetBoolValue (HKMetadataKey.MenstrualCycleStart!);
@@ -229,6 +231,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios10.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
+ [SupportedOSPlatform ("macos")]
public HKWeatherCondition? WeatherCondition {
get {
return (HKWeatherCondition?) GetLongValue (HKMetadataKey.WeatherCondition!);
@@ -236,6 +239,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios10.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
+ [SupportedOSPlatform ("macos")]
public HKQuantity? WeatherTemperature {
get {
return Dictionary [HKMetadataKey.WeatherTemperature!] as HealthKit.HKQuantity;
@@ -243,6 +247,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios10.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
+ [SupportedOSPlatform ("macos")]
public HKQuantity? WeatherHumidity {
get {
return Dictionary [HKMetadataKey.WeatherHumidity!] as HealthKit.HKQuantity;
@@ -250,6 +255,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios10.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
+ [SupportedOSPlatform ("macos")]
public NSString? LapLength {
get {
return GetNSStringValue (HKMetadataKey.LapLength!);
@@ -257,6 +263,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios10.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
+ [SupportedOSPlatform ("macos")]
public NSString? SwimmingLocationType {
get {
return GetNSStringValue (HKMetadataKey.SwimmingLocationType!);
@@ -264,6 +271,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios10.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
+ [SupportedOSPlatform ("macos")]
public NSString? SwimmingStrokeStyle {
get {
return GetNSStringValue (HKMetadataKey.SwimmingStrokeStyle!);
@@ -271,6 +279,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios11.0")]
[SupportedOSPlatform ("maccatalyst11.0")]
+ [SupportedOSPlatform ("macos")]
public string? SyncIdentifier {
get {
return GetStringValue (HKMetadataKey.SyncIdentifier!);
@@ -278,6 +287,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios11.0")]
[SupportedOSPlatform ("maccatalyst11.0")]
+ [SupportedOSPlatform ("macos")]
public int? SyncVersion {
get {
return GetInt32Value (HKMetadataKey.SyncVersion!);
@@ -285,6 +295,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios11.0")]
[SupportedOSPlatform ("maccatalyst11.0")]
+ [SupportedOSPlatform ("macos")]
public HKInsulinDeliveryReason? InsulinDeliveryReason {
get {
return (HKInsulinDeliveryReason?) GetLongValue (HKMetadataKey.InsulinDeliveryReason!);
@@ -292,6 +303,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios11.0")]
[SupportedOSPlatform ("maccatalyst11.0")]
+ [SupportedOSPlatform ("macos")]
public HKBloodGlucoseMealTime? BloodGlucoseMealTime {
get {
return (HKBloodGlucoseMealTime?) GetLongValue (HKMetadataKey.BloodGlucoseMealTime!);
@@ -299,6 +311,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios11.0")]
[SupportedOSPlatform ("maccatalyst11.0")]
+ [SupportedOSPlatform ("macos")]
public HKVO2MaxTestType? VO2MaxTestType {
get {
return (HKVO2MaxTestType?) GetLongValue (HKMetadataKey.VO2MaxTestType!);
@@ -306,6 +319,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios11.0")]
[SupportedOSPlatform ("maccatalyst11.0")]
+ [SupportedOSPlatform ("macos")]
public HKHeartRateMotionContext? HeartRateMotionContext {
get {
return (HKHeartRateMotionContext?) GetLongValue (HKMetadataKey.HeartRateMotionContext!);
@@ -313,6 +327,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios11.2")]
[SupportedOSPlatform ("maccatalyst11.2")]
+ [SupportedOSPlatform ("macos")]
public HKQuantity? AverageSpeed {
get {
return Dictionary [HKMetadataKey.AverageSpeed!] as HealthKit.HKQuantity;
@@ -323,6 +338,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios11.2")]
[SupportedOSPlatform ("maccatalyst11.2")]
+ [SupportedOSPlatform ("macos")]
public HKQuantity? MaximumSpeed {
get {
return Dictionary [HKMetadataKey.MaximumSpeed!] as HealthKit.HKQuantity;
@@ -333,6 +349,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios11.2")]
[SupportedOSPlatform ("maccatalyst11.2")]
+ [SupportedOSPlatform ("macos")]
public HKQuantity? AlpineSlopeGrade {
get {
return Dictionary [HKMetadataKey.AlpineSlopeGrade!] as HealthKit.HKQuantity;
@@ -343,6 +360,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios11.2")]
[SupportedOSPlatform ("maccatalyst11.2")]
+ [SupportedOSPlatform ("macos")]
public HKQuantity? ElevationAscended {
get {
return Dictionary [HKMetadataKey.ElevationAscended!] as HealthKit.HKQuantity;
@@ -353,6 +371,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios11.2")]
[SupportedOSPlatform ("maccatalyst11.2")]
+ [SupportedOSPlatform ("macos")]
public HKQuantity? ElevationDescended {
get {
return Dictionary [HKMetadataKey.ElevationDescended!] as HealthKit.HKQuantity;
@@ -363,6 +382,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios12.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
+ [SupportedOSPlatform ("macos")]
public HKQuantity? FitnessMachineDuration {
get {
return Dictionary [HKMetadataKey.FitnessMachineDuration!] as HealthKit.HKQuantity;
@@ -373,6 +393,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios12.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
+ [SupportedOSPlatform ("macos")]
public HKQuantity? IndoorBikeDistance {
get {
return Dictionary [HKMetadataKey.IndoorBikeDistance!] as HealthKit.HKQuantity;
@@ -383,6 +404,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios12.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
+ [SupportedOSPlatform ("macos")]
public HKQuantity? CrossTrainerDistance {
get {
return Dictionary [HKMetadataKey.CrossTrainerDistance!] as HealthKit.HKQuantity;
@@ -393,6 +415,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios12.2")]
[SupportedOSPlatform ("maccatalyst12.2")]
+ [SupportedOSPlatform ("macos")]
public HKQuantity? HeartRateEventThreshold {
get {
return Dictionary [HKMetadataKey.HeartRateEventThreshold!] as HealthKit.HKQuantity;
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKMetadataKey.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKMetadataKey.g.cs
index fdf7f32..479eca2 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKMetadataKey.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKMetadataKey.g.cs
@@ -50,6 +50,7 @@ using NativeHandle = System.IntPtr;
#endif
namespace HealthKit {
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public unsafe static partial class HKMetadataKey {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -57,9 +58,11 @@ namespace HealthKit {
[Field ("HKMetadataKeyAlgorithmVersion", "HealthKit")]
[SupportedOSPlatform ("ios15.0")]
[SupportedOSPlatform ("maccatalyst15.0")]
+ [SupportedOSPlatform ("macos13.0")]
public static NSString AlgorithmVersion {
[SupportedOSPlatform ("ios15.0")]
[SupportedOSPlatform ("maccatalyst15.0")]
+ [SupportedOSPlatform ("macos13.0")]
get {
if (_AlgorithmVersion is null)
_AlgorithmVersion = Dlfcn.GetStringConstant (Libraries.HealthKit.Handle, "HKMetadataKeyAlgorithmVersion")!;
@@ -71,9 +74,11 @@ namespace HealthKit {
[Field ("HKMetadataKeyAlpineSlopeGrade", "HealthKit")]
[SupportedOSPlatform ("ios11.2")]
[SupportedOSPlatform ("maccatalyst11.2")]
+ [SupportedOSPlatform ("macos13.0")]
public static NSString AlpineSlopeGrade {
[SupportedOSPlatform ("ios11.2")]
[SupportedOSPlatform ("maccatalyst11.2")]
+ [SupportedOSPlatform ("macos13.0")]
get {
if (_AlpineSlopeGrade is null)
_AlpineSlopeGrade = Dlfcn.GetStringConstant (Libraries.HealthKit.Handle, "HKMetadataKeyAlpineSlopeGrade")!;
@@ -85,9 +90,11 @@ namespace HealthKit {
[Field ("HKMetadataKeyAppleDeviceCalibrated", "HealthKit")]
[SupportedOSPlatform ("ios14.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
+ [SupportedOSPlatform ("macos13.0")]
public static NSString AppleDeviceCalibrated {
[SupportedOSPlatform ("ios14.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
+ [SupportedOSPlatform ("macos13.0")]
get {
if (_AppleDeviceCalibrated is null)
_AppleDeviceCalibrated = Dlfcn.GetStringConstant (Libraries.HealthKit.Handle, "HKMetadataKeyAppleDeviceCalibrated")!;
@@ -99,9 +106,11 @@ namespace HealthKit {
[Field ("HKMetadataKeyAppleECGAlgorithmVersion", "HealthKit")]
[SupportedOSPlatform ("ios14.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
+ [SupportedOSPlatform ("macos13.0")]
public static NSString AppleEcgAlgorithmVersion {
[SupportedOSPlatform ("ios14.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
+ [SupportedOSPlatform ("macos13.0")]
get {
if (_AppleEcgAlgorithmVersion is null)
_AppleEcgAlgorithmVersion = Dlfcn.GetStringConstant (Libraries.HealthKit.Handle, "HKMetadataKeyAppleECGAlgorithmVersion")!;
@@ -113,9 +122,11 @@ namespace HealthKit {
[Field ("HKMetadataKeyAudioExposureDuration", "HealthKit")]
[SupportedOSPlatform ("ios14.2")]
[SupportedOSPlatform ("maccatalyst14.2")]
+ [SupportedOSPlatform ("macos13.0")]
public static NSString AudioExposureDuration {
[SupportedOSPlatform ("ios14.2")]
[SupportedOSPlatform ("maccatalyst14.2")]
+ [SupportedOSPlatform ("macos13.0")]
get {
if (_AudioExposureDuration is null)
_AudioExposureDuration = Dlfcn.GetStringConstant (Libraries.HealthKit.Handle, "HKMetadataKeyAudioExposureDuration")!;
@@ -127,9 +138,11 @@ namespace HealthKit {
[Field ("HKMetadataKeyAudioExposureLevel", "HealthKit")]
[SupportedOSPlatform ("ios13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
+ [SupportedOSPlatform ("macos13.0")]
public static NSString AudioExposureLevel {
[SupportedOSPlatform ("ios13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
+ [SupportedOSPlatform ("macos13.0")]
get {
if (_AudioExposureLevel is null)
_AudioExposureLevel = Dlfcn.GetStringConstant (Libraries.HealthKit.Handle, "HKMetadataKeyAudioExposureLevel")!;
@@ -141,9 +154,11 @@ namespace HealthKit {
[Field ("HKMetadataKeyAverageMETs", "HealthKit")]
[SupportedOSPlatform ("ios13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
+ [SupportedOSPlatform ("macos13.0")]
public static NSString AverageMets {
[SupportedOSPlatform ("ios13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
+ [SupportedOSPlatform ("macos13.0")]
get {
if (_AverageMets is null)
_AverageMets = Dlfcn.GetStringConstant (Libraries.HealthKit.Handle, "HKMetadataKeyAverageMETs")!;
@@ -155,9 +170,11 @@ namespace HealthKit {
[Field ("HKMetadataKeyAverageSpeed", "HealthKit")]
[SupportedOSPlatform ("ios11.2")]
[SupportedOSPlatform ("maccatalyst11.2")]
+ [SupportedOSPlatform ("macos13.0")]
public static NSString AverageSpeed {
[SupportedOSPlatform ("ios11.2")]
[SupportedOSPlatform ("maccatalyst11.2")]
+ [SupportedOSPlatform ("macos13.0")]
get {
if (_AverageSpeed is null)
_AverageSpeed = Dlfcn.GetStringConstant (Libraries.HealthKit.Handle, "HKMetadataKeyAverageSpeed")!;
@@ -169,9 +186,11 @@ namespace HealthKit {
[Field ("HKMetadataKeyBarometricPressure", "HealthKit")]
[SupportedOSPlatform ("ios14.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
+ [SupportedOSPlatform ("macos13.0")]
public static NSString BarometricPressure {
[SupportedOSPlatform ("ios14.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
+ [SupportedOSPlatform ("macos13.0")]
get {
if (_BarometricPressure is null)
_BarometricPressure = Dlfcn.GetStringConstant (Libraries.HealthKit.Handle, "HKMetadataKeyBarometricPressure")!;
@@ -183,9 +202,11 @@ namespace HealthKit {
[Field ("HKMetadataKeyBloodGlucoseMealTime", "HealthKit")]
[SupportedOSPlatform ("ios11.0")]
[SupportedOSPlatform ("maccatalyst11.0")]
+ [SupportedOSPlatform ("macos13.0")]
public static NSString BloodGlucoseMealTime {
[SupportedOSPlatform ("ios11.0")]
[SupportedOSPlatform ("maccatalyst11.0")]
+ [SupportedOSPlatform ("macos13.0")]
get {
if (_BloodGlucoseMealTime is null)
_BloodGlucoseMealTime = Dlfcn.GetStringConstant (Libraries.HealthKit.Handle, "HKMetadataKeyBloodGlucoseMealTime")!;
@@ -196,9 +217,11 @@ namespace HealthKit {
static NSString? _BodyTemperatureSensorLocation;
[Field ("HKMetadataKeyBodyTemperatureSensorLocation", "HealthKit")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public static NSString BodyTemperatureSensorLocation {
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
if (_BodyTemperatureSensorLocation is null)
@@ -210,9 +233,11 @@ namespace HealthKit {
static NSString? _CoachedWorkout;
[Field ("HKMetadataKeyCoachedWorkout", "HealthKit")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public static NSString CoachedWorkout {
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
if (_CoachedWorkout is null)
@@ -225,9 +250,11 @@ namespace HealthKit {
[Field ("HKMetadataKeyCrossTrainerDistance", "HealthKit")]
[SupportedOSPlatform ("ios12.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
+ [SupportedOSPlatform ("macos13.0")]
public static NSString CrossTrainerDistance {
[SupportedOSPlatform ("ios12.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
+ [SupportedOSPlatform ("macos13.0")]
get {
if (_CrossTrainerDistance is null)
_CrossTrainerDistance = Dlfcn.GetStringConstant (Libraries.HealthKit.Handle, "HKMetadataKeyCrossTrainerDistance")!;
@@ -239,9 +266,11 @@ namespace HealthKit {
[Field ("HKMetadataKeyDateOfEarliestDataUsedForEstimate", "HealthKit")]
[SupportedOSPlatform ("ios15.0")]
[SupportedOSPlatform ("maccatalyst15.0")]
+ [SupportedOSPlatform ("macos13.0")]
public static NSString DateOfEarliestDataUsedForEstimate {
[SupportedOSPlatform ("ios15.0")]
[SupportedOSPlatform ("maccatalyst15.0")]
+ [SupportedOSPlatform ("macos13.0")]
get {
if (_DateOfEarliestDataUsedForEstimate is null)
_DateOfEarliestDataUsedForEstimate = Dlfcn.GetStringConstant (Libraries.HealthKit.Handle, "HKMetadataKeyDateOfEarliestDataUsedForEstimate")!;
@@ -252,9 +281,11 @@ namespace HealthKit {
static NSString? _DeviceManufacturerName;
[Field ("HKMetadataKeyDeviceManufacturerName", "HealthKit")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public static NSString DeviceManufacturerName {
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
if (_DeviceManufacturerName is null)
@@ -266,9 +297,11 @@ namespace HealthKit {
static NSString? _DeviceName;
[Field ("HKMetadataKeyDeviceName", "HealthKit")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public static NSString DeviceName {
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
if (_DeviceName is null)
@@ -281,9 +314,11 @@ namespace HealthKit {
[Field ("HKMetadataKeyDevicePlacementSide", "HealthKit")]
[SupportedOSPlatform ("ios14.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
+ [SupportedOSPlatform ("macos13.0")]
public static NSString DevicePlacementSide {
[SupportedOSPlatform ("ios14.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
+ [SupportedOSPlatform ("macos13.0")]
get {
if (_DevicePlacementSide is null)
_DevicePlacementSide = Dlfcn.GetStringConstant (Libraries.HealthKit.Handle, "HKMetadataKeyDevicePlacementSide")!;
@@ -294,9 +329,11 @@ namespace HealthKit {
static NSString? _DeviceSerialNumber;
[Field ("HKMetadataKeyDeviceSerialNumber", "HealthKit")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public static NSString DeviceSerialNumber {
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
if (_DeviceSerialNumber is null)
@@ -308,9 +345,11 @@ namespace HealthKit {
static NSString? _DigitalSignature;
[Field ("HKMetadataKeyDigitalSignature", "HealthKit")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public static NSString DigitalSignature {
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
if (_DigitalSignature is null)
@@ -323,9 +362,11 @@ namespace HealthKit {
[Field ("HKMetadataKeyElevationAscended", "HealthKit")]
[SupportedOSPlatform ("ios11.2")]
[SupportedOSPlatform ("maccatalyst11.2")]
+ [SupportedOSPlatform ("macos13.0")]
public static NSString ElevationAscended {
[SupportedOSPlatform ("ios11.2")]
[SupportedOSPlatform ("maccatalyst11.2")]
+ [SupportedOSPlatform ("macos13.0")]
get {
if (_ElevationAscended is null)
_ElevationAscended = Dlfcn.GetStringConstant (Libraries.HealthKit.Handle, "HKMetadataKeyElevationAscended")!;
@@ -337,9 +378,11 @@ namespace HealthKit {
[Field ("HKMetadataKeyElevationDescended", "HealthKit")]
[SupportedOSPlatform ("ios11.2")]
[SupportedOSPlatform ("maccatalyst11.2")]
+ [SupportedOSPlatform ("macos13.0")]
public static NSString ElevationDescended {
[SupportedOSPlatform ("ios11.2")]
[SupportedOSPlatform ("maccatalyst11.2")]
+ [SupportedOSPlatform ("macos13.0")]
get {
if (_ElevationDescended is null)
_ElevationDescended = Dlfcn.GetStringConstant (Libraries.HealthKit.Handle, "HKMetadataKeyElevationDescended")!;
@@ -350,9 +393,11 @@ namespace HealthKit {
static NSString? _ExternalUuid;
[Field ("HKMetadataKeyExternalUUID", "HealthKit")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public static NSString ExternalUuid {
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
if (_ExternalUuid is null)
@@ -365,9 +410,11 @@ namespace HealthKit {
[Field ("HKMetadataKeyFitnessMachineDuration", "HealthKit")]
[SupportedOSPlatform ("ios12.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
+ [SupportedOSPlatform ("macos13.0")]
public static NSString FitnessMachineDuration {
[SupportedOSPlatform ("ios12.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
+ [SupportedOSPlatform ("macos13.0")]
get {
if (_FitnessMachineDuration is null)
_FitnessMachineDuration = Dlfcn.GetStringConstant (Libraries.HealthKit.Handle, "HKMetadataKeyFitnessMachineDuration")!;
@@ -378,9 +425,11 @@ namespace HealthKit {
static NSString? _FoodType;
[Field ("HKMetadataKeyFoodType", "HealthKit")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public static NSString FoodType {
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
if (_FoodType is null)
@@ -389,12 +438,30 @@ namespace HealthKit {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ static NSString? _GlassesPrescriptionDescription;
+ [Field ("HKMetadataKeyGlassesPrescriptionDescription", "HealthKit")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ public static NSString GlassesPrescriptionDescription {
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ get {
+ if (_GlassesPrescriptionDescription is null)
+ _GlassesPrescriptionDescription = Dlfcn.GetStringConstant (Libraries.HealthKit.Handle, "HKMetadataKeyGlassesPrescriptionDescription")!;
+ return _GlassesPrescriptionDescription;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
static NSString? _GroupFitness;
[Field ("HKMetadataKeyGroupFitness", "HealthKit")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public static NSString GroupFitness {
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
if (_GroupFitness is null)
@@ -407,9 +474,11 @@ namespace HealthKit {
[Field ("HKMetadataKeyHeartRateEventThreshold", "HealthKit")]
[SupportedOSPlatform ("ios12.2")]
[SupportedOSPlatform ("maccatalyst12.2")]
+ [SupportedOSPlatform ("macos13.0")]
public static NSString HeartRateEventThreshold {
[SupportedOSPlatform ("ios12.2")]
[SupportedOSPlatform ("maccatalyst12.2")]
+ [SupportedOSPlatform ("macos13.0")]
get {
if (_HeartRateEventThreshold is null)
_HeartRateEventThreshold = Dlfcn.GetStringConstant (Libraries.HealthKit.Handle, "HKMetadataKeyHeartRateEventThreshold")!;
@@ -421,9 +490,11 @@ namespace HealthKit {
[Field ("HKMetadataKeyHeartRateMotionContext", "HealthKit")]
[SupportedOSPlatform ("ios11.0")]
[SupportedOSPlatform ("maccatalyst11.0")]
+ [SupportedOSPlatform ("macos13.0")]
public static NSString HeartRateMotionContext {
[SupportedOSPlatform ("ios11.0")]
[SupportedOSPlatform ("maccatalyst11.0")]
+ [SupportedOSPlatform ("macos13.0")]
get {
if (_HeartRateMotionContext is null)
_HeartRateMotionContext = Dlfcn.GetStringConstant (Libraries.HealthKit.Handle, "HKMetadataKeyHeartRateMotionContext")!;
@@ -431,12 +502,78 @@ namespace HealthKit {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ static NSString? _HeartRateRecoveryActivityDuration;
+ [Field ("HKMetadataKeyHeartRateRecoveryActivityDuration", "HealthKit")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ public static NSString HeartRateRecoveryActivityDuration {
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ get {
+ if (_HeartRateRecoveryActivityDuration is null)
+ _HeartRateRecoveryActivityDuration = Dlfcn.GetStringConstant (Libraries.HealthKit.Handle, "HKMetadataKeyHeartRateRecoveryActivityDuration")!;
+ return _HeartRateRecoveryActivityDuration;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ static NSString? _HeartRateRecoveryActivityType;
+ [Field ("HKMetadataKeyHeartRateRecoveryActivityType", "HealthKit")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ public static NSString HeartRateRecoveryActivityType {
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ get {
+ if (_HeartRateRecoveryActivityType is null)
+ _HeartRateRecoveryActivityType = Dlfcn.GetStringConstant (Libraries.HealthKit.Handle, "HKMetadataKeyHeartRateRecoveryActivityType")!;
+ return _HeartRateRecoveryActivityType;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ static NSString? _HeartRateRecoveryMaxObservedRecoveryHeartRate;
+ [Field ("HKMetadataKeyHeartRateRecoveryMaxObservedRecoveryHeartRate", "HealthKit")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ public static NSString HeartRateRecoveryMaxObservedRecoveryHeartRate {
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ get {
+ if (_HeartRateRecoveryMaxObservedRecoveryHeartRate is null)
+ _HeartRateRecoveryMaxObservedRecoveryHeartRate = Dlfcn.GetStringConstant (Libraries.HealthKit.Handle, "HKMetadataKeyHeartRateRecoveryMaxObservedRecoveryHeartRate")!;
+ return _HeartRateRecoveryMaxObservedRecoveryHeartRate;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ static NSString? _HeartRateRecoveryTestType;
+ [Field ("HKMetadataKeyHeartRateRecoveryTestType", "HealthKit")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ public static NSString HeartRateRecoveryTestType {
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ get {
+ if (_HeartRateRecoveryTestType is null)
+ _HeartRateRecoveryTestType = Dlfcn.GetStringConstant (Libraries.HealthKit.Handle, "HKMetadataKeyHeartRateRecoveryTestType")!;
+ return _HeartRateRecoveryTestType;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
static NSString? _HeartRateSensorLocation;
[Field ("HKMetadataKeyHeartRateSensorLocation", "HealthKit")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public static NSString HeartRateSensorLocation {
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
if (_HeartRateSensorLocation is null)
@@ -449,9 +586,11 @@ namespace HealthKit {
[Field ("HKMetadataKeyIndoorBikeDistance", "HealthKit")]
[SupportedOSPlatform ("ios12.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
+ [SupportedOSPlatform ("macos13.0")]
public static NSString IndoorBikeDistance {
[SupportedOSPlatform ("ios12.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
+ [SupportedOSPlatform ("macos13.0")]
get {
if (_IndoorBikeDistance is null)
_IndoorBikeDistance = Dlfcn.GetStringConstant (Libraries.HealthKit.Handle, "HKMetadataKeyIndoorBikeDistance")!;
@@ -462,9 +601,11 @@ namespace HealthKit {
static NSString? _IndoorWorkout;
[Field ("HKMetadataKeyIndoorWorkout", "HealthKit")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public static NSString IndoorWorkout {
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
if (_IndoorWorkout is null)
@@ -477,9 +618,11 @@ namespace HealthKit {
[Field ("HKMetadataKeyInsulinDeliveryReason", "HealthKit")]
[SupportedOSPlatform ("ios11.0")]
[SupportedOSPlatform ("maccatalyst11.0")]
+ [SupportedOSPlatform ("macos13.0")]
public static NSString InsulinDeliveryReason {
[SupportedOSPlatform ("ios11.0")]
[SupportedOSPlatform ("maccatalyst11.0")]
+ [SupportedOSPlatform ("macos13.0")]
get {
if (_InsulinDeliveryReason is null)
_InsulinDeliveryReason = Dlfcn.GetStringConstant (Libraries.HealthKit.Handle, "HKMetadataKeyInsulinDeliveryReason")!;
@@ -491,9 +634,11 @@ namespace HealthKit {
[Field ("HKMetadataKeyLapLength", "HealthKit")]
[SupportedOSPlatform ("ios10.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
+ [SupportedOSPlatform ("macos13.0")]
public static NSString LapLength {
[SupportedOSPlatform ("ios10.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
+ [SupportedOSPlatform ("macos13.0")]
get {
if (_LapLength is null)
_LapLength = Dlfcn.GetStringConstant (Libraries.HealthKit.Handle, "HKMetadataKeyLapLength")!;
@@ -505,9 +650,11 @@ namespace HealthKit {
[Field ("HKMetadataKeyLowCardioFitnessEventThreshold", "HealthKit")]
[SupportedOSPlatform ("ios14.3")]
[SupportedOSPlatform ("maccatalyst14.3")]
+ [SupportedOSPlatform ("macos13.0")]
public static NSString LowCardioFitnessEventThreshold {
[SupportedOSPlatform ("ios14.3")]
[SupportedOSPlatform ("maccatalyst14.3")]
+ [SupportedOSPlatform ("macos13.0")]
get {
if (_LowCardioFitnessEventThreshold is null)
_LowCardioFitnessEventThreshold = Dlfcn.GetStringConstant (Libraries.HealthKit.Handle, "HKMetadataKeyLowCardioFitnessEventThreshold")!;
@@ -519,9 +666,11 @@ namespace HealthKit {
[Field ("HKMetadataKeyMaximumSpeed", "HealthKit")]
[SupportedOSPlatform ("ios11.2")]
[SupportedOSPlatform ("maccatalyst11.2")]
+ [SupportedOSPlatform ("macos13.0")]
public static NSString MaximumSpeed {
[SupportedOSPlatform ("ios11.2")]
[SupportedOSPlatform ("maccatalyst11.2")]
+ [SupportedOSPlatform ("macos13.0")]
get {
if (_MaximumSpeed is null)
_MaximumSpeed = Dlfcn.GetStringConstant (Libraries.HealthKit.Handle, "HKMetadataKeyMaximumSpeed")!;
@@ -533,9 +682,11 @@ namespace HealthKit {
[Field ("HKMetadataKeyMenstrualCycleStart", "HealthKit")]
[SupportedOSPlatform ("ios9.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
+ [SupportedOSPlatform ("macos13.0")]
public static NSString MenstrualCycleStart {
[SupportedOSPlatform ("ios9.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
+ [SupportedOSPlatform ("macos13.0")]
get {
if (_MenstrualCycleStart is null)
_MenstrualCycleStart = Dlfcn.GetStringConstant (Libraries.HealthKit.Handle, "HKMetadataKeyMenstrualCycleStart")!;
@@ -543,12 +694,46 @@ namespace HealthKit {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ static NSString? _QuantityClampedToLowerBound;
+ [Field ("HKMetadataKeyQuantityClampedToLowerBound", "HealthKit")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ public static NSString QuantityClampedToLowerBound {
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ get {
+ if (_QuantityClampedToLowerBound is null)
+ _QuantityClampedToLowerBound = Dlfcn.GetStringConstant (Libraries.HealthKit.Handle, "HKMetadataKeyQuantityClampedToLowerBound")!;
+ return _QuantityClampedToLowerBound;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ static NSString? _QuantityClampedToUpperBound;
+ [Field ("HKMetadataKeyQuantityClampedToUpperBound", "HealthKit")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ public static NSString QuantityClampedToUpperBound {
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ get {
+ if (_QuantityClampedToUpperBound is null)
+ _QuantityClampedToUpperBound = Dlfcn.GetStringConstant (Libraries.HealthKit.Handle, "HKMetadataKeyQuantityClampedToUpperBound")!;
+ return _QuantityClampedToUpperBound;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
static NSString? _ReferenceRangeLowerLimit;
[Field ("HKMetadataKeyReferenceRangeLowerLimit", "HealthKit")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public static NSString ReferenceRangeLowerLimit {
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
if (_ReferenceRangeLowerLimit is null)
@@ -560,9 +745,11 @@ namespace HealthKit {
static NSString? _ReferenceRangeUpperLimit;
[Field ("HKMetadataKeyReferenceRangeUpperLimit", "HealthKit")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public static NSString ReferenceRangeUpperLimit {
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
if (_ReferenceRangeUpperLimit is null)
@@ -571,13 +758,31 @@ namespace HealthKit {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ static NSString? _SessionEstimate;
+ [Field ("HKMetadataKeySessionEstimate", "HealthKit")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ public static NSString SessionEstimate {
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ get {
+ if (_SessionEstimate is null)
+ _SessionEstimate = Dlfcn.GetStringConstant (Libraries.HealthKit.Handle, "HKMetadataKeySessionEstimate")!;
+ return _SessionEstimate;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
static NSString? _SexualActivityProtectionUsed;
[Field ("HKMetadataKeySexualActivityProtectionUsed", "HealthKit")]
[SupportedOSPlatform ("ios9.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
+ [SupportedOSPlatform ("macos13.0")]
public static NSString SexualActivityProtectionUsed {
[SupportedOSPlatform ("ios9.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
+ [SupportedOSPlatform ("macos13.0")]
get {
if (_SexualActivityProtectionUsed is null)
_SexualActivityProtectionUsed = Dlfcn.GetStringConstant (Libraries.HealthKit.Handle, "HKMetadataKeySexualActivityProtectionUsed")!;
@@ -589,9 +794,11 @@ namespace HealthKit {
[Field ("HKMetadataKeySwimmingLocationType", "HealthKit")]
[SupportedOSPlatform ("ios10.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
+ [SupportedOSPlatform ("macos13.0")]
public static NSString SwimmingLocationType {
[SupportedOSPlatform ("ios10.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
+ [SupportedOSPlatform ("macos13.0")]
get {
if (_SwimmingLocationType is null)
_SwimmingLocationType = Dlfcn.GetStringConstant (Libraries.HealthKit.Handle, "HKMetadataKeySwimmingLocationType")!;
@@ -603,9 +810,11 @@ namespace HealthKit {
[Field ("HKMetadataKeySwimmingStrokeStyle", "HealthKit")]
[SupportedOSPlatform ("ios10.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
+ [SupportedOSPlatform ("macos13.0")]
public static NSString SwimmingStrokeStyle {
[SupportedOSPlatform ("ios10.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
+ [SupportedOSPlatform ("macos13.0")]
get {
if (_SwimmingStrokeStyle is null)
_SwimmingStrokeStyle = Dlfcn.GetStringConstant (Libraries.HealthKit.Handle, "HKMetadataKeySwimmingStrokeStyle")!;
@@ -613,13 +822,31 @@ namespace HealthKit {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ static NSString? _SwolfScore;
+ [Field ("HKMetadataKeySWOLFScore", "HealthKit")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ public static NSString SwolfScore {
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ get {
+ if (_SwolfScore is null)
+ _SwolfScore = Dlfcn.GetStringConstant (Libraries.HealthKit.Handle, "HKMetadataKeySWOLFScore")!;
+ return _SwolfScore;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
static NSString? _SyncIdentifier;
[Field ("HKMetadataKeySyncIdentifier", "HealthKit")]
[SupportedOSPlatform ("ios11.0")]
[SupportedOSPlatform ("maccatalyst11.0")]
+ [SupportedOSPlatform ("macos13.0")]
public static NSString SyncIdentifier {
[SupportedOSPlatform ("ios11.0")]
[SupportedOSPlatform ("maccatalyst11.0")]
+ [SupportedOSPlatform ("macos13.0")]
get {
if (_SyncIdentifier is null)
_SyncIdentifier = Dlfcn.GetStringConstant (Libraries.HealthKit.Handle, "HKMetadataKeySyncIdentifier")!;
@@ -631,9 +858,11 @@ namespace HealthKit {
[Field ("HKMetadataKeySyncVersion", "HealthKit")]
[SupportedOSPlatform ("ios11.0")]
[SupportedOSPlatform ("maccatalyst11.0")]
+ [SupportedOSPlatform ("macos13.0")]
public static NSString SyncVersion {
[SupportedOSPlatform ("ios11.0")]
[SupportedOSPlatform ("maccatalyst11.0")]
+ [SupportedOSPlatform ("macos13.0")]
get {
if (_SyncVersion is null)
_SyncVersion = Dlfcn.GetStringConstant (Libraries.HealthKit.Handle, "HKMetadataKeySyncVersion")!;
@@ -644,9 +873,11 @@ namespace HealthKit {
static NSString? _TimeZone;
[Field ("HKMetadataKeyTimeZone", "HealthKit")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public static NSString TimeZone {
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
if (_TimeZone is null)
@@ -658,9 +889,11 @@ namespace HealthKit {
static NSString? _UdiDeviceIdentifier;
[Field ("HKMetadataKeyUDIDeviceIdentifier", "HealthKit")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public static NSString UdiDeviceIdentifier {
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
if (_UdiDeviceIdentifier is null)
@@ -672,9 +905,11 @@ namespace HealthKit {
static NSString? _UdiProductionIdentifier;
[Field ("HKMetadataKeyUDIProductionIdentifier", "HealthKit")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public static NSString UdiProductionIdentifier {
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
if (_UdiProductionIdentifier is null)
@@ -683,13 +918,31 @@ namespace HealthKit {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ static NSString? _UserMotionContext;
+ [Field ("HKMetadataKeyUserMotionContext", "HealthKit")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ public static NSString UserMotionContext {
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ get {
+ if (_UserMotionContext is null)
+ _UserMotionContext = Dlfcn.GetStringConstant (Libraries.HealthKit.Handle, "HKMetadataKeyUserMotionContext")!;
+ return _UserMotionContext;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
static NSString? _VO2MaxTestType;
[Field ("HKMetadataKeyVO2MaxTestType", "HealthKit")]
[SupportedOSPlatform ("ios11.0")]
[SupportedOSPlatform ("maccatalyst11.0")]
+ [SupportedOSPlatform ("macos13.0")]
public static NSString VO2MaxTestType {
[SupportedOSPlatform ("ios11.0")]
[SupportedOSPlatform ("maccatalyst11.0")]
+ [SupportedOSPlatform ("macos13.0")]
get {
if (_VO2MaxTestType is null)
_VO2MaxTestType = Dlfcn.GetStringConstant (Libraries.HealthKit.Handle, "HKMetadataKeyVO2MaxTestType")!;
@@ -701,9 +954,11 @@ namespace HealthKit {
[Field ("HKMetadataKeyVO2MaxValue", "HealthKit")]
[SupportedOSPlatform ("ios14.3")]
[SupportedOSPlatform ("maccatalyst14.3")]
+ [SupportedOSPlatform ("macos13.0")]
public static NSString VO2MaxValue {
[SupportedOSPlatform ("ios14.3")]
[SupportedOSPlatform ("maccatalyst14.3")]
+ [SupportedOSPlatform ("macos13.0")]
get {
if (_VO2MaxValue is null)
_VO2MaxValue = Dlfcn.GetStringConstant (Libraries.HealthKit.Handle, "HKMetadataKeyVO2MaxValue")!;
@@ -714,9 +969,11 @@ namespace HealthKit {
static NSString? _WasTakenInLab;
[Field ("HKMetadataKeyWasTakenInLab", "HealthKit")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public static NSString WasTakenInLab {
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
if (_WasTakenInLab is null)
@@ -728,9 +985,11 @@ namespace HealthKit {
static NSString? _WasUserEntered;
[Field ("HKMetadataKeyWasUserEntered", "HealthKit")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public static NSString WasUserEntered {
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
if (_WasUserEntered is null)
@@ -743,9 +1002,11 @@ namespace HealthKit {
[Field ("HKMetadataKeyWeatherCondition", "HealthKit")]
[SupportedOSPlatform ("ios10.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
+ [SupportedOSPlatform ("macos13.0")]
public static NSString WeatherCondition {
[SupportedOSPlatform ("ios10.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
+ [SupportedOSPlatform ("macos13.0")]
get {
if (_WeatherCondition is null)
_WeatherCondition = Dlfcn.GetStringConstant (Libraries.HealthKit.Handle, "HKMetadataKeyWeatherCondition")!;
@@ -757,9 +1018,11 @@ namespace HealthKit {
[Field ("HKMetadataKeyWeatherHumidity", "HealthKit")]
[SupportedOSPlatform ("ios10.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
+ [SupportedOSPlatform ("macos13.0")]
public static NSString WeatherHumidity {
[SupportedOSPlatform ("ios10.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
+ [SupportedOSPlatform ("macos13.0")]
get {
if (_WeatherHumidity is null)
_WeatherHumidity = Dlfcn.GetStringConstant (Libraries.HealthKit.Handle, "HKMetadataKeyWeatherHumidity")!;
@@ -771,9 +1034,11 @@ namespace HealthKit {
[Field ("HKMetadataKeyWeatherTemperature", "HealthKit")]
[SupportedOSPlatform ("ios10.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
+ [SupportedOSPlatform ("macos13.0")]
public static NSString WeatherTemperature {
[SupportedOSPlatform ("ios10.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
+ [SupportedOSPlatform ("macos13.0")]
get {
if (_WeatherTemperature is null)
_WeatherTemperature = Dlfcn.GetStringConstant (Libraries.HealthKit.Handle, "HKMetadataKeyWeatherTemperature")!;
@@ -784,9 +1049,11 @@ namespace HealthKit {
static NSString? _WorkoutBrandName;
[Field ("HKMetadataKeyWorkoutBrandName", "HealthKit")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public static NSString WorkoutBrandName {
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
if (_WorkoutBrandName is null)
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKMetricPrefix.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKMetricPrefix.g.cs
index 12047b9..4e8e946 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKMetricPrefix.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKMetricPrefix.g.cs
@@ -50,6 +50,7 @@ using NativeHandle = System.IntPtr;
#endif
namespace HealthKit {
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[Native]
public enum HKMetricPrefix : long {
@@ -68,6 +69,7 @@ namespace HealthKit {
Tera = 12,
[SupportedOSPlatform ("ios13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
+ [SupportedOSPlatform ("macos13.0")]
Femto = 13,
}
}
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKObject.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKObject.g.cs
index b161c88..8e94b7b 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKObject.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKObject.g.cs
@@ -51,6 +51,7 @@ using NativeHandle = System.IntPtr;
namespace HealthKit {
[Register("HKObject", true)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public unsafe partial class HKObject : NSObject, INSCoding, INSSecureCoding {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -83,9 +84,9 @@ namespace HealthKit {
[Export ("encodeWithCoder:")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[UnsupportedOSPlatform ("tvos")]
- [UnsupportedOSPlatform ("macos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual void EncodeTo (NSCoder encoder)
{
@@ -99,9 +100,11 @@ namespace HealthKit {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios9.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
+ [SupportedOSPlatform ("macos13.0")]
public virtual HKDevice? Device {
[Export ("device", ArgumentSemantic.Retain)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
HKDevice? ret;
@@ -115,9 +118,11 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public HKMetadata Metadata {
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
var src = WeakMetadata != null ? new NSMutableDictionary (WeakMetadata) : null;
@@ -134,6 +139,7 @@ namespace HealthKit {
#endif
[UnsupportedOSPlatform ("maccatalyst9.0")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public virtual HKSource Source {
[Export ("source", ArgumentSemantic.Retain)]
@@ -146,6 +152,7 @@ namespace HealthKit {
#endif
[UnsupportedOSPlatform ("maccatalyst9.0")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
HKSource? ret;
@@ -160,9 +167,11 @@ namespace HealthKit {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios9.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
+ [SupportedOSPlatform ("macos13.0")]
public virtual HKSourceRevision SourceRevision {
[Export ("sourceRevision", ArgumentSemantic.Retain)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
HKSourceRevision? ret;
@@ -176,10 +185,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public virtual NSUuid Uuid {
[Export ("UUID", ArgumentSemantic.Retain)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
NSUuid? ret;
@@ -193,10 +204,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public virtual NSDictionary? WeakMetadata {
[Export ("metadata", ArgumentSemantic.Copy)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
NSDictionary? ret;
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKObjectType.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKObjectType.g.cs
index 100f935..a00e238 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKObjectType.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKObjectType.g.cs
@@ -51,6 +51,7 @@ using NativeHandle = System.IntPtr;
namespace HealthKit {
[Register("HKObjectType", true)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public unsafe partial class HKObjectType : NSObject, INSCoding, INSCopying, INSSecureCoding {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -84,9 +85,9 @@ namespace HealthKit {
[Export ("copyWithZone:")]
[return: ReleaseAttribute ()]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[UnsupportedOSPlatform ("tvos")]
- [UnsupportedOSPlatform ("macos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual NSObject Copy (NSZone? zone)
{
@@ -103,9 +104,9 @@ namespace HealthKit {
}
[Export ("encodeWithCoder:")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[UnsupportedOSPlatform ("tvos")]
- [UnsupportedOSPlatform ("macos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual void EncodeTo (NSCoder encoder)
{
@@ -118,6 +119,7 @@ namespace HealthKit {
}
[Export ("categoryTypeForIdentifier:")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
internal static HKCategoryType? GetCategoryType (NSString? hkCategoryTypeIdentifier)
@@ -127,6 +129,7 @@ namespace HealthKit {
}
[Export ("characteristicTypeForIdentifier:")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
internal static HKCharacteristicType? GetCharacteristicType (NSString? hkCharacteristicTypeIdentifier)
@@ -137,6 +140,7 @@ namespace HealthKit {
[Export ("clinicalTypeForIdentifier:")]
[SupportedOSPlatform ("ios12.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
+ [SupportedOSPlatform ("macos13.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
internal static HKClinicalType? GetClinicalType (NSString identifier)
{
@@ -149,6 +153,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios12.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
+ [SupportedOSPlatform ("macos13.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public static HKClinicalType? GetClinicalType (HKClinicalTypeIdentifier identifier)
{
@@ -160,6 +165,7 @@ namespace HealthKit {
}
[Export ("correlationTypeForIdentifier:")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
internal static HKCorrelationType? GetCorrelationType (NSString? hkCorrelationTypeIdentifier)
@@ -169,6 +175,7 @@ namespace HealthKit {
}
[Export ("quantityTypeForIdentifier:")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
internal static HKQuantityType? GetQuantityType (NSString? hkTypeIdentifier)
@@ -179,6 +186,7 @@ namespace HealthKit {
[Export ("seriesTypeForIdentifier:")]
[SupportedOSPlatform ("ios11.0")]
[SupportedOSPlatform ("maccatalyst11.0")]
+ [SupportedOSPlatform ("macos13.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public static HKSeriesType? GetSeriesType (string identifier)
{
@@ -197,6 +205,7 @@ namespace HealthKit {
[Export ("documentTypeForIdentifier:")]
[SupportedOSPlatform ("ios10.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
+ [SupportedOSPlatform ("macos13.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
internal static HKDocumentType? _GetDocumentType (NSString? hkDocumentTypeIdentifier)
{
@@ -205,10 +214,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios9.3")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst9.3")]
public static HKActivitySummaryType ActivitySummaryType {
[Export ("activitySummaryType")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
HKActivitySummaryType? ret;
@@ -219,9 +230,11 @@ namespace HealthKit {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
+ [SupportedOSPlatform ("macos13.0")]
public static HKAudiogramSampleType AudiogramSampleType {
[Export ("audiogramSampleType")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
#if ARCH_32
@@ -236,9 +249,11 @@ namespace HealthKit {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios14.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
+ [SupportedOSPlatform ("macos13.0")]
public static HKElectrocardiogramType ElectrocardiogramType {
[Export ("electrocardiogramType")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
#if ARCH_32
@@ -252,10 +267,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public virtual NSString Identifier {
[Export ("identifier")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
NSString? ret;
@@ -268,11 +285,57 @@ namespace HealthKit {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public virtual bool RequiresPerObjectAuthorization {
+ [Export ("requiresPerObjectAuthorization")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.bool_objc_msgSend (this.Handle, Selector.GetHandle ("requiresPerObjectAuthorization"));
+ } else {
+ return global::ObjCRuntime.Messaging.bool_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("requiresPerObjectAuthorization"));
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ public static HKPrescriptionType VisionPrescriptionType {
+ [Export ("visionPrescriptionType")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ HKPrescriptionType? ret;
+ ret = Runtime.GetNSObject<HKPrescriptionType> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (class_ptr, Selector.GetHandle ("visionPrescriptionType")))!;
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public static HKWorkoutType WorkoutType {
[Export ("workoutType")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
HKWorkoutType? ret;
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKObserverQuery.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKObserverQuery.g.cs
index dd70df5..c41c47e 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKObserverQuery.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKObserverQuery.g.cs
@@ -51,6 +51,7 @@ using NativeHandle = System.IntPtr;
namespace HealthKit {
[Register("HKObserverQuery", true)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public unsafe partial class HKObserverQuery : HKQuery {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -70,6 +71,7 @@ namespace HealthKit {
[Export ("initWithSampleType:predicate:updateHandler:")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public unsafe HKObserverQuery (HKSampleType sampleType, NSPredicate? predicate, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDHKObserverQueryUpdateHandler))]HKObserverQueryUpdateHandler updateHandler)
@@ -94,6 +96,7 @@ namespace HealthKit {
[Export ("initWithQueryDescriptors:updateHandler:")]
[SupportedOSPlatform ("ios15.0")]
[SupportedOSPlatform ("maccatalyst15.0")]
+ [SupportedOSPlatform ("macos13.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public unsafe HKObserverQuery (HKQueryDescriptor[] queryDescriptors, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDHKObserverQueryDescriptorUpdateHandler))]HKObserverQueryDescriptorUpdateHandler updateHandler)
: base (NSObjectFlag.Empty)
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKPredicateKeyPath.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKPredicateKeyPath.g.cs
index d87bca5..d58f5e4 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKPredicateKeyPath.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKPredicateKeyPath.g.cs
@@ -50,6 +50,7 @@ using NativeHandle = System.IntPtr;
#endif
namespace HealthKit {
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public unsafe static partial class HKPredicateKeyPath {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -57,9 +58,11 @@ namespace HealthKit {
[Field ("HKPredicateKeyPathAverage", "HealthKit")]
[SupportedOSPlatform ("ios13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
+ [SupportedOSPlatform ("macos13.0")]
public static NSString Average {
[SupportedOSPlatform ("ios13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
+ [SupportedOSPlatform ("macos13.0")]
get {
if (_Average is null)
_Average = Dlfcn.GetStringConstant (Libraries.HealthKit.Handle, "HKPredicateKeyPathAverage")!;
@@ -71,9 +74,11 @@ namespace HealthKit {
[Field ("HKPredicateKeyPathAverageHeartRate", "HealthKit")]
[SupportedOSPlatform ("ios14.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
+ [SupportedOSPlatform ("macos13.0")]
public static NSString AverageHeartRate {
[SupportedOSPlatform ("ios14.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
+ [SupportedOSPlatform ("macos13.0")]
get {
if (_AverageHeartRate is null)
_AverageHeartRate = Dlfcn.GetStringConstant (Libraries.HealthKit.Handle, "HKPredicateKeyPathAverageHeartRate")!;
@@ -84,9 +89,11 @@ namespace HealthKit {
static NSString? _CategoryValue;
[Field ("HKPredicateKeyPathCategoryValue", "HealthKit")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public static NSString CategoryValue {
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
if (_CategoryValue is null)
@@ -99,9 +106,11 @@ namespace HealthKit {
[Field ("HKPredicateKeyPathCDAAuthorName", "HealthKit")]
[SupportedOSPlatform ("ios10.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
+ [SupportedOSPlatform ("macos13.0")]
public static NSString CdaAuthorName {
[SupportedOSPlatform ("ios10.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
+ [SupportedOSPlatform ("macos13.0")]
get {
if (_CdaAuthorName is null)
_CdaAuthorName = Dlfcn.GetStringConstant (Libraries.HealthKit.Handle, "HKPredicateKeyPathCDAAuthorName")!;
@@ -113,9 +122,11 @@ namespace HealthKit {
[Field ("HKPredicateKeyPathCDACustodianName", "HealthKit")]
[SupportedOSPlatform ("ios10.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
+ [SupportedOSPlatform ("macos13.0")]
public static NSString CdaCustodianName {
[SupportedOSPlatform ("ios10.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
+ [SupportedOSPlatform ("macos13.0")]
get {
if (_CdaCustodianName is null)
_CdaCustodianName = Dlfcn.GetStringConstant (Libraries.HealthKit.Handle, "HKPredicateKeyPathCDACustodianName")!;
@@ -127,9 +138,11 @@ namespace HealthKit {
[Field ("HKPredicateKeyPathCDAPatientName", "HealthKit")]
[SupportedOSPlatform ("ios10.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
+ [SupportedOSPlatform ("macos13.0")]
public static NSString CdaPatientName {
[SupportedOSPlatform ("ios10.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
+ [SupportedOSPlatform ("macos13.0")]
get {
if (_CdaPatientName is null)
_CdaPatientName = Dlfcn.GetStringConstant (Libraries.HealthKit.Handle, "HKPredicateKeyPathCDAPatientName")!;
@@ -141,9 +154,11 @@ namespace HealthKit {
[Field ("HKPredicateKeyPathCDATitle", "HealthKit")]
[SupportedOSPlatform ("ios10.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
+ [SupportedOSPlatform ("macos13.0")]
public static NSString CdaTitle {
[SupportedOSPlatform ("ios10.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
+ [SupportedOSPlatform ("macos13.0")]
get {
if (_CdaTitle is null)
_CdaTitle = Dlfcn.GetStringConstant (Libraries.HealthKit.Handle, "HKPredicateKeyPathCDATitle")!;
@@ -155,9 +170,11 @@ namespace HealthKit {
[Field ("HKPredicateKeyPathClinicalRecordFHIRResourceIdentifier", "HealthKit")]
[SupportedOSPlatform ("ios12.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
+ [SupportedOSPlatform ("macos13.0")]
public static NSString ClinicalRecordFhirResourceIdentifier {
[SupportedOSPlatform ("ios12.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
+ [SupportedOSPlatform ("macos13.0")]
get {
if (_ClinicalRecordFhirResourceIdentifier is null)
_ClinicalRecordFhirResourceIdentifier = Dlfcn.GetStringConstant (Libraries.HealthKit.Handle, "HKPredicateKeyPathClinicalRecordFHIRResourceIdentifier")!;
@@ -169,9 +186,11 @@ namespace HealthKit {
[Field ("HKPredicateKeyPathClinicalRecordFHIRResourceType", "HealthKit")]
[SupportedOSPlatform ("ios12.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
+ [SupportedOSPlatform ("macos13.0")]
public static NSString ClinicalRecordFhirResourceType {
[SupportedOSPlatform ("ios12.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
+ [SupportedOSPlatform ("macos13.0")]
get {
if (_ClinicalRecordFhirResourceType is null)
_ClinicalRecordFhirResourceType = Dlfcn.GetStringConstant (Libraries.HealthKit.Handle, "HKPredicateKeyPathClinicalRecordFHIRResourceType")!;
@@ -182,9 +201,11 @@ namespace HealthKit {
static NSString? _Correlation;
[Field ("HKPredicateKeyPathCorrelation", "HealthKit")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public static NSString Correlation {
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
if (_Correlation is null)
@@ -197,9 +218,11 @@ namespace HealthKit {
[Field ("HKPredicateKeyPathDateComponents", "HealthKit")]
[SupportedOSPlatform ("ios9.3")]
[SupportedOSPlatform ("maccatalyst9.3")]
+ [SupportedOSPlatform ("macos13.0")]
public static NSString DateComponents {
[SupportedOSPlatform ("ios9.3")]
[SupportedOSPlatform ("maccatalyst9.3")]
+ [SupportedOSPlatform ("macos13.0")]
get {
if (_DateComponents is null)
_DateComponents = Dlfcn.GetStringConstant (Libraries.HealthKit.Handle, "HKPredicateKeyPathDateComponents")!;
@@ -211,9 +234,11 @@ namespace HealthKit {
[Field ("HKPredicateKeyPathDevice", "HealthKit")]
[SupportedOSPlatform ("ios9.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
+ [SupportedOSPlatform ("macos13.0")]
public static NSString Device {
[SupportedOSPlatform ("ios9.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
+ [SupportedOSPlatform ("macos13.0")]
get {
if (_Device is null)
_Device = Dlfcn.GetStringConstant (Libraries.HealthKit.Handle, "HKPredicateKeyPathDevice")!;
@@ -225,9 +250,11 @@ namespace HealthKit {
[Field ("HKPredicateKeyPathECGClassification", "HealthKit")]
[SupportedOSPlatform ("ios14.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
+ [SupportedOSPlatform ("macos13.0")]
public static NSString EcgClassification {
[SupportedOSPlatform ("ios14.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
+ [SupportedOSPlatform ("macos13.0")]
get {
if (_EcgClassification is null)
_EcgClassification = Dlfcn.GetStringConstant (Libraries.HealthKit.Handle, "HKPredicateKeyPathECGClassification")!;
@@ -239,9 +266,11 @@ namespace HealthKit {
[Field ("HKPredicateKeyPathECGSymptomsStatus", "HealthKit")]
[SupportedOSPlatform ("ios14.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
+ [SupportedOSPlatform ("macos13.0")]
public static NSString EcgSymptomsStatus {
[SupportedOSPlatform ("ios14.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
+ [SupportedOSPlatform ("macos13.0")]
get {
if (_EcgSymptomsStatus is null)
_EcgSymptomsStatus = Dlfcn.GetStringConstant (Libraries.HealthKit.Handle, "HKPredicateKeyPathECGSymptomsStatus")!;
@@ -252,9 +281,11 @@ namespace HealthKit {
static NSString? _EndDate;
[Field ("HKPredicateKeyPathEndDate", "HealthKit")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public static NSString EndDate {
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
if (_EndDate is null)
@@ -267,9 +298,11 @@ namespace HealthKit {
[Field ("HKPredicateKeyPathMax", "HealthKit")]
[SupportedOSPlatform ("ios13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
+ [SupportedOSPlatform ("macos13.0")]
public static NSString Max {
[SupportedOSPlatform ("ios13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
+ [SupportedOSPlatform ("macos13.0")]
get {
if (_Max is null)
_Max = Dlfcn.GetStringConstant (Libraries.HealthKit.Handle, "HKPredicateKeyPathMax")!;
@@ -280,9 +313,11 @@ namespace HealthKit {
static NSString? _Metadata;
[Field ("HKPredicateKeyPathMetadata", "HealthKit")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public static NSString Metadata {
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
if (_Metadata is null)
@@ -295,9 +330,11 @@ namespace HealthKit {
[Field ("HKPredicateKeyPathMin", "HealthKit")]
[SupportedOSPlatform ("ios13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
+ [SupportedOSPlatform ("macos13.0")]
public static NSString Min {
[SupportedOSPlatform ("ios13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
+ [SupportedOSPlatform ("macos13.0")]
get {
if (_Min is null)
_Min = Dlfcn.GetStringConstant (Libraries.HealthKit.Handle, "HKPredicateKeyPathMin")!;
@@ -309,9 +346,11 @@ namespace HealthKit {
[Field ("HKPredicateKeyPathMostRecent", "HealthKit")]
[SupportedOSPlatform ("ios13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
+ [SupportedOSPlatform ("macos13.0")]
public static NSString MostRecent {
[SupportedOSPlatform ("ios13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
+ [SupportedOSPlatform ("macos13.0")]
get {
if (_MostRecent is null)
_MostRecent = Dlfcn.GetStringConstant (Libraries.HealthKit.Handle, "HKPredicateKeyPathMostRecent")!;
@@ -323,9 +362,11 @@ namespace HealthKit {
[Field ("HKPredicateKeyPathMostRecentDuration", "HealthKit")]
[SupportedOSPlatform ("ios13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
+ [SupportedOSPlatform ("macos13.0")]
public static NSString MostRecentDuration {
[SupportedOSPlatform ("ios13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
+ [SupportedOSPlatform ("macos13.0")]
get {
if (_MostRecentDuration is null)
_MostRecentDuration = Dlfcn.GetStringConstant (Libraries.HealthKit.Handle, "HKPredicateKeyPathMostRecentDuration")!;
@@ -337,9 +378,11 @@ namespace HealthKit {
[Field ("HKPredicateKeyPathMostRecentEndDate", "HealthKit")]
[SupportedOSPlatform ("ios13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
+ [SupportedOSPlatform ("macos13.0")]
public static NSString MostRecentEndDate {
[SupportedOSPlatform ("ios13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
+ [SupportedOSPlatform ("macos13.0")]
get {
if (_MostRecentEndDate is null)
_MostRecentEndDate = Dlfcn.GetStringConstant (Libraries.HealthKit.Handle, "HKPredicateKeyPathMostRecentEndDate")!;
@@ -351,9 +394,11 @@ namespace HealthKit {
[Field ("HKPredicateKeyPathMostRecentStartDate", "HealthKit")]
[SupportedOSPlatform ("ios13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
+ [SupportedOSPlatform ("macos13.0")]
public static NSString MostRecentStartDate {
[SupportedOSPlatform ("ios13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
+ [SupportedOSPlatform ("macos13.0")]
get {
if (_MostRecentStartDate is null)
_MostRecentStartDate = Dlfcn.GetStringConstant (Libraries.HealthKit.Handle, "HKPredicateKeyPathMostRecentStartDate")!;
@@ -365,9 +410,11 @@ namespace HealthKit {
[Field ("HKPredicateKeyPathCount", "HealthKit")]
[SupportedOSPlatform ("ios13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
+ [SupportedOSPlatform ("macos13.0")]
public static NSString PathCount {
[SupportedOSPlatform ("ios13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
+ [SupportedOSPlatform ("macos13.0")]
get {
if (_PathCount is null)
_PathCount = Dlfcn.GetStringConstant (Libraries.HealthKit.Handle, "HKPredicateKeyPathCount")!;
@@ -379,9 +426,11 @@ namespace HealthKit {
[Field ("HKPredicateKeyPathSum", "HealthKit")]
[SupportedOSPlatform ("ios12.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
+ [SupportedOSPlatform ("macos13.0")]
public static NSString PathSum {
[SupportedOSPlatform ("ios12.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
+ [SupportedOSPlatform ("macos13.0")]
get {
if (_PathSum is null)
_PathSum = Dlfcn.GetStringConstant (Libraries.HealthKit.Handle, "HKPredicateKeyPathSum")!;
@@ -392,9 +441,11 @@ namespace HealthKit {
static NSString? _Quantity;
[Field ("HKPredicateKeyPathQuantity", "HealthKit")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public static NSString Quantity {
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
if (_Quantity is null)
@@ -406,9 +457,11 @@ namespace HealthKit {
static NSString? _Source;
[Field ("HKPredicateKeyPathSource", "HealthKit")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public static NSString Source {
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
if (_Source is null)
@@ -421,9 +474,11 @@ namespace HealthKit {
[Field ("HKPredicateKeyPathSourceRevision", "HealthKit")]
[SupportedOSPlatform ("ios9.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
+ [SupportedOSPlatform ("macos13.0")]
public static NSString SourceRevision {
[SupportedOSPlatform ("ios9.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
+ [SupportedOSPlatform ("macos13.0")]
get {
if (_SourceRevision is null)
_SourceRevision = Dlfcn.GetStringConstant (Libraries.HealthKit.Handle, "HKPredicateKeyPathSourceRevision")!;
@@ -434,9 +489,11 @@ namespace HealthKit {
static NSString? _StartDate;
[Field ("HKPredicateKeyPathStartDate", "HealthKit")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public static NSString StartDate {
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
if (_StartDate is null)
@@ -449,9 +506,11 @@ namespace HealthKit {
[Field ("HKPredicateKeyPathWorkoutTotalFlightsClimbed", "HealthKit")]
[SupportedOSPlatform ("ios11.0")]
[SupportedOSPlatform ("maccatalyst11.0")]
+ [SupportedOSPlatform ("macos13.0")]
public static NSString TotalFlightsClimbed {
[SupportedOSPlatform ("ios11.0")]
[SupportedOSPlatform ("maccatalyst11.0")]
+ [SupportedOSPlatform ("macos13.0")]
get {
if (_TotalFlightsClimbed is null)
_TotalFlightsClimbed = Dlfcn.GetStringConstant (Libraries.HealthKit.Handle, "HKPredicateKeyPathWorkoutTotalFlightsClimbed")!;
@@ -462,9 +521,11 @@ namespace HealthKit {
static NSString? _Uuid;
[Field ("HKPredicateKeyPathUUID", "HealthKit")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public static NSString Uuid {
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
if (_Uuid is null)
@@ -476,9 +537,11 @@ namespace HealthKit {
static NSString? _Workout;
[Field ("HKPredicateKeyPathWorkout", "HealthKit")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public static NSString Workout {
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
if (_Workout is null)
@@ -487,12 +550,194 @@ namespace HealthKit {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ static NSString? _WorkoutActivity;
+ [Field ("HKPredicateKeyPathWorkoutActivity", "HealthKit")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ public static NSString WorkoutActivity {
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ get {
+ if (_WorkoutActivity is null)
+ _WorkoutActivity = Dlfcn.GetStringConstant (Libraries.HealthKit.Handle, "HKPredicateKeyPathWorkoutActivity")!;
+ return _WorkoutActivity;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ static NSString? _WorkoutActivityAverageQuantity;
+ [Field ("HKPredicateKeyPathWorkoutActivityAverageQuantity", "HealthKit")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ public static NSString WorkoutActivityAverageQuantity {
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ get {
+ if (_WorkoutActivityAverageQuantity is null)
+ _WorkoutActivityAverageQuantity = Dlfcn.GetStringConstant (Libraries.HealthKit.Handle, "HKPredicateKeyPathWorkoutActivityAverageQuantity")!;
+ return _WorkoutActivityAverageQuantity;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ static NSString? _WorkoutActivityDuration;
+ [Field ("HKPredicateKeyPathWorkoutActivityDuration", "HealthKit")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ public static NSString WorkoutActivityDuration {
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ get {
+ if (_WorkoutActivityDuration is null)
+ _WorkoutActivityDuration = Dlfcn.GetStringConstant (Libraries.HealthKit.Handle, "HKPredicateKeyPathWorkoutActivityDuration")!;
+ return _WorkoutActivityDuration;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ static NSString? _WorkoutActivityEndDate;
+ [Field ("HKPredicateKeyPathWorkoutActivityEndDate", "HealthKit")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ public static NSString WorkoutActivityEndDate {
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ get {
+ if (_WorkoutActivityEndDate is null)
+ _WorkoutActivityEndDate = Dlfcn.GetStringConstant (Libraries.HealthKit.Handle, "HKPredicateKeyPathWorkoutActivityEndDate")!;
+ return _WorkoutActivityEndDate;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ static NSString? _WorkoutActivityMaximumQuantity;
+ [Field ("HKPredicateKeyPathWorkoutActivityMaximumQuantity", "HealthKit")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ public static NSString WorkoutActivityMaximumQuantity {
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ get {
+ if (_WorkoutActivityMaximumQuantity is null)
+ _WorkoutActivityMaximumQuantity = Dlfcn.GetStringConstant (Libraries.HealthKit.Handle, "HKPredicateKeyPathWorkoutActivityMaximumQuantity")!;
+ return _WorkoutActivityMaximumQuantity;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ static NSString? _WorkoutActivityMinimumQuantity;
+ [Field ("HKPredicateKeyPathWorkoutActivityMinimumQuantity", "HealthKit")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ public static NSString WorkoutActivityMinimumQuantity {
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ get {
+ if (_WorkoutActivityMinimumQuantity is null)
+ _WorkoutActivityMinimumQuantity = Dlfcn.GetStringConstant (Libraries.HealthKit.Handle, "HKPredicateKeyPathWorkoutActivityMinimumQuantity")!;
+ return _WorkoutActivityMinimumQuantity;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ static NSString? _WorkoutActivityStartDate;
+ [Field ("HKPredicateKeyPathWorkoutActivityStartDate", "HealthKit")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ public static NSString WorkoutActivityStartDate {
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ get {
+ if (_WorkoutActivityStartDate is null)
+ _WorkoutActivityStartDate = Dlfcn.GetStringConstant (Libraries.HealthKit.Handle, "HKPredicateKeyPathWorkoutActivityStartDate")!;
+ return _WorkoutActivityStartDate;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ static NSString? _WorkoutActivitySumQuantity;
+ [Field ("HKPredicateKeyPathWorkoutActivitySumQuantity", "HealthKit")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ public static NSString WorkoutActivitySumQuantity {
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ get {
+ if (_WorkoutActivitySumQuantity is null)
+ _WorkoutActivitySumQuantity = Dlfcn.GetStringConstant (Libraries.HealthKit.Handle, "HKPredicateKeyPathWorkoutActivitySumQuantity")!;
+ return _WorkoutActivitySumQuantity;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ static NSString? _WorkoutActivityType;
+ [Field ("HKPredicateKeyPathWorkoutActivityType", "HealthKit")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ public static NSString WorkoutActivityType {
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ get {
+ if (_WorkoutActivityType is null)
+ _WorkoutActivityType = Dlfcn.GetStringConstant (Libraries.HealthKit.Handle, "HKPredicateKeyPathWorkoutActivityType")!;
+ return _WorkoutActivityType;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ static NSString? _WorkoutAverageQuantity;
+ [Field ("HKPredicateKeyPathWorkoutAverageQuantity", "HealthKit")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ public static NSString WorkoutAverageQuantity {
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ get {
+ if (_WorkoutAverageQuantity is null)
+ _WorkoutAverageQuantity = Dlfcn.GetStringConstant (Libraries.HealthKit.Handle, "HKPredicateKeyPathWorkoutAverageQuantity")!;
+ return _WorkoutAverageQuantity;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
static NSString? _WorkoutDuration;
[Field ("HKPredicateKeyPathWorkoutDuration", "HealthKit")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public static NSString WorkoutDuration {
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
if (_WorkoutDuration is null)
@@ -501,12 +746,68 @@ namespace HealthKit {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ static NSString? _WorkoutMaximumQuantity;
+ [Field ("HKPredicateKeyPathWorkoutMaximumQuantity", "HealthKit")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ public static NSString WorkoutMaximumQuantity {
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ get {
+ if (_WorkoutMaximumQuantity is null)
+ _WorkoutMaximumQuantity = Dlfcn.GetStringConstant (Libraries.HealthKit.Handle, "HKPredicateKeyPathWorkoutMaximumQuantity")!;
+ return _WorkoutMaximumQuantity;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ static NSString? _WorkoutMinimumQuantity;
+ [Field ("HKPredicateKeyPathWorkoutMinimumQuantity", "HealthKit")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ public static NSString WorkoutMinimumQuantity {
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ get {
+ if (_WorkoutMinimumQuantity is null)
+ _WorkoutMinimumQuantity = Dlfcn.GetStringConstant (Libraries.HealthKit.Handle, "HKPredicateKeyPathWorkoutMinimumQuantity")!;
+ return _WorkoutMinimumQuantity;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ static NSString? _WorkoutSumQuantity;
+ [Field ("HKPredicateKeyPathWorkoutSumQuantity", "HealthKit")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ public static NSString WorkoutSumQuantity {
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ get {
+ if (_WorkoutSumQuantity is null)
+ _WorkoutSumQuantity = Dlfcn.GetStringConstant (Libraries.HealthKit.Handle, "HKPredicateKeyPathWorkoutSumQuantity")!;
+ return _WorkoutSumQuantity;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
static NSString? _WorkoutTotalDistance;
[Field ("HKPredicateKeyPathWorkoutTotalDistance", "HealthKit")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public static NSString WorkoutTotalDistance {
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
if (_WorkoutTotalDistance is null)
@@ -518,9 +819,11 @@ namespace HealthKit {
static NSString? _WorkoutTotalEnergyBurned;
[Field ("HKPredicateKeyPathWorkoutTotalEnergyBurned", "HealthKit")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public static NSString WorkoutTotalEnergyBurned {
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
if (_WorkoutTotalEnergyBurned is null)
@@ -533,9 +836,11 @@ namespace HealthKit {
[Field ("HKPredicateKeyPathWorkoutTotalSwimmingStrokeCount", "HealthKit")]
[SupportedOSPlatform ("ios10.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
+ [SupportedOSPlatform ("macos13.0")]
public static NSString WorkoutTotalSwimmingStrokeCount {
[SupportedOSPlatform ("ios10.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
+ [SupportedOSPlatform ("macos13.0")]
get {
if (_WorkoutTotalSwimmingStrokeCount is null)
_WorkoutTotalSwimmingStrokeCount = Dlfcn.GetStringConstant (Libraries.HealthKit.Handle, "HKPredicateKeyPathWorkoutTotalSwimmingStrokeCount")!;
@@ -546,9 +851,11 @@ namespace HealthKit {
static NSString? _WorkoutType;
[Field ("HKPredicateKeyPathWorkoutType", "HealthKit")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public static NSString WorkoutType {
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
if (_WorkoutType is null)
diff --git a/new/dotnet/ios/generated-sources/HealthKit/HKPrescriptionType.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKPrescriptionType.g.cs
new file mode 100644
index 0000000..9030477
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKPrescriptionType.g.cs
@@ -0,0 +1,97 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace HealthKit {
+ [Register("HKPrescriptionType", true)]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ public unsafe partial class HKPrescriptionType : HKSampleType {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ #if ARCH_32
+ #pragma warning disable 649
+ static readonly NativeHandle class_ptr;
+ #pragma warning restore 649
+ #else
+ static readonly NativeHandle class_ptr = Class.GetHandle ("HKPrescriptionType");
+ #endif
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [DesignatedInitializer]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("initWithCoder:")]
+ public HKPrescriptionType (NSCoder coder) : base (NSObjectFlag.Empty)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("initWithCoder:"), coder.Handle), "initWithCoder:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_IntPtr (this.SuperHandle, Selector.GetHandle ("initWithCoder:"), coder.Handle), "initWithCoder:");
+ }
+ #endif
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected HKPrescriptionType (NSObjectFlag t) : base (t)
+ {
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal HKPrescriptionType (NativeHandle handle) : base (handle)
+ {
+ }
+
+ } /* class HKPrescriptionType */
+}
diff --git a/new/dotnet/ios/generated-sources/HealthKit/HKPrismBase.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKPrismBase.g.cs
new file mode 100644
index 0000000..de69c8a
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKPrismBase.g.cs
@@ -0,0 +1,64 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace HealthKit {
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ [Native]
+ public enum HKPrismBase : long {
+ None = 0,
+ Up = 1,
+ Down = 2,
+ In = 3,
+ Out = 4,
+ }
+}
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKQuantity.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKQuantity.g.cs
index c347051..75646df 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKQuantity.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKQuantity.g.cs
@@ -51,6 +51,7 @@ using NativeHandle = System.IntPtr;
namespace HealthKit {
[Register("HKQuantity", true)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public unsafe partial class HKQuantity : NSObject, INSCoding, INSCopying, INSSecureCoding {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -83,6 +84,7 @@ namespace HealthKit {
[Export ("compare:")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual NSComparisonResult Compare (HKQuantity quantity)
@@ -99,9 +101,9 @@ namespace HealthKit {
[Export ("copyWithZone:")]
[return: ReleaseAttribute ()]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[UnsupportedOSPlatform ("tvos")]
- [UnsupportedOSPlatform ("macos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual NSObject Copy (NSZone? zone)
{
@@ -118,9 +120,9 @@ namespace HealthKit {
}
[Export ("encodeWithCoder:")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[UnsupportedOSPlatform ("tvos")]
- [UnsupportedOSPlatform ("macos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual void EncodeTo (NSCoder encoder)
{
@@ -133,6 +135,7 @@ namespace HealthKit {
}
[Export ("quantityWithUnit:doubleValue:")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public static HKQuantity FromQuantity (HKUnit unit, double value)
@@ -142,6 +145,7 @@ namespace HealthKit {
}
[Export ("doubleValueForUnit:")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual double GetDoubleValue (HKUnit unit)
@@ -155,6 +159,7 @@ namespace HealthKit {
}
[Export ("isCompatibleWithUnit:")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual bool IsCompatible (HKUnit unit)
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKQuantityAggregationStyle.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKQuantityAggregationStyle.g.cs
index b122de0..54f683e 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKQuantityAggregationStyle.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKQuantityAggregationStyle.g.cs
@@ -50,12 +50,14 @@ using NativeHandle = System.IntPtr;
#endif
namespace HealthKit {
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[Native]
public enum HKQuantityAggregationStyle : long {
Cumulative = 0,
[SupportedOSPlatform ("ios13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
+ [SupportedOSPlatform ("macos13.0")]
DiscreteArithmetic = 1,
#if __IOS__
[Advice ("Starting with ios13.0 Use 'HKQuantityAggregationStyle.DiscreteArithmetic'.")]
@@ -66,13 +68,16 @@ namespace HealthKit {
#endif
[UnsupportedOSPlatform ("maccatalyst13.0")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
Discrete = 1,
[SupportedOSPlatform ("ios13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
+ [SupportedOSPlatform ("macos13.0")]
DiscreteTemporallyWeighted = 2,
[SupportedOSPlatform ("ios13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
+ [SupportedOSPlatform ("macos13.0")]
DiscreteEquivalentContinuousLevel = 3,
}
}
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKQuantitySample.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKQuantitySample.g.cs
index 9b398ea..1f0fe1a 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKQuantitySample.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKQuantitySample.g.cs
@@ -51,6 +51,7 @@ using NativeHandle = System.IntPtr;
namespace HealthKit {
[Register("HKQuantitySample", true)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public unsafe partial class HKQuantitySample : HKSample {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -83,6 +84,7 @@ namespace HealthKit {
[Export ("quantitySampleWithType:quantity:startDate:endDate:")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public static HKQuantitySample FromType (HKQuantityType quantityType, HKQuantity quantity, NSDate startDate, NSDate endDate)
@@ -96,6 +98,7 @@ namespace HealthKit {
[Export ("quantitySampleWithType:quantity:startDate:endDate:metadata:")]
[EditorBrowsable (EditorBrowsableState.Advanced)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public static HKQuantitySample FromType (HKQuantityType quantityType, HKQuantity quantity, NSDate startDate, NSDate endDate, NSDictionary? metadata)
@@ -108,6 +111,7 @@ namespace HealthKit {
return Runtime.GetNSObject<HKQuantitySample> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_NativeHandle_NativeHandle_NativeHandle_NativeHandle (class_ptr, Selector.GetHandle ("quantitySampleWithType:quantity:startDate:endDate:metadata:"), quantityType__handle__, quantity__handle__, startDate__handle__, endDate__handle__, metadata__handle__))!;
}
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public static HKQuantitySample FromType (HKQuantityType quantityType, HKQuantity quantity, NSDate startDate, NSDate endDate, HKMetadata metadata)
@@ -117,6 +121,7 @@ namespace HealthKit {
[Export ("quantitySampleWithType:quantity:startDate:endDate:device:metadata:")]
[SupportedOSPlatform ("ios9.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
+ [SupportedOSPlatform ("macos13.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public static HKQuantitySample FromType (HKQuantityType quantityType, HKQuantity quantity, NSDate startDate, NSDate endDate, HKDevice? device, NSDictionary<NSString, NSObject>? metadata)
{
@@ -131,9 +136,11 @@ namespace HealthKit {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios12.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
+ [SupportedOSPlatform ("macos13.0")]
public virtual nint Count {
[Export ("count")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
#if ARCH_32
@@ -149,10 +156,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public virtual HKQuantity Quantity {
[Export ("quantity", ArgumentSemantic.Retain)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
HKQuantity? ret;
@@ -166,10 +175,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public virtual HKQuantityType QuantityType {
[Export ("quantityType", ArgumentSemantic.Retain)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
HKQuantityType? ret;
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKQuantitySeriesSampleBuilder.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKQuantitySeriesSampleBuilder.g.cs
index 1ce13a4..0871757 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKQuantitySeriesSampleBuilder.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKQuantitySeriesSampleBuilder.g.cs
@@ -51,6 +51,7 @@ using NativeHandle = System.IntPtr;
namespace HealthKit {
[Register("HKQuantitySeriesSampleBuilder", true)]
[SupportedOSPlatform ("ios12.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
public unsafe partial class HKQuantitySeriesSampleBuilder : NSObject {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -76,6 +77,7 @@ namespace HealthKit {
[Export ("initWithHealthStore:quantityType:startDate:device:")]
[SupportedOSPlatform ("ios12.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public HKQuantitySeriesSampleBuilder (HKHealthStore healthStore, HKQuantityType quantityType, NSDate startDate, HKDevice? device)
@@ -97,6 +99,7 @@ namespace HealthKit {
}
[Export ("discard")]
[SupportedOSPlatform ("ios12.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual void Discard ()
@@ -113,6 +116,7 @@ namespace HealthKit {
}
[Export ("finishSeriesWithMetadata:completion:")]
[SupportedOSPlatform ("ios12.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
protected unsafe virtual void FinishSeries (NSDictionary? metadata, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDHKQuantitySeriesSampleBuilderFinishSeriesDelegate))]HKQuantitySeriesSampleBuilderFinishSeriesDelegate completionHandler)
@@ -137,6 +141,7 @@ namespace HealthKit {
#endif
}
[SupportedOSPlatform ("ios12.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
protected unsafe virtual Task<HKQuantitySample[]> FinishSeriesAsync (NSDictionary? metadata)
@@ -151,6 +156,7 @@ namespace HealthKit {
return tcs.Task;
}
[SupportedOSPlatform ("ios12.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public unsafe void FinishSeries (HKMetadata? metadata, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDHKQuantitySeriesSampleBuilderFinishSeriesDelegate))]HKQuantitySeriesSampleBuilderFinishSeriesDelegate completionHandler)
@@ -162,6 +168,7 @@ namespace HealthKit {
#endif
}
[SupportedOSPlatform ("ios12.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public unsafe Task<HKQuantitySample[]> FinishSeriesAsync (HKMetadata? metadata)
@@ -178,6 +185,7 @@ namespace HealthKit {
[Export ("finishSeriesWithMetadata:endDate:completion:")]
[SupportedOSPlatform ("ios13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
+ [SupportedOSPlatform ("macos13.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public unsafe virtual void FinishSeries (NSDictionary? metadata, NSDate? endDate, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDHKQuantitySeriesSampleBuilderFinishSeriesDelegate))]HKQuantitySeriesSampleBuilderFinishSeriesDelegate completionHandler)
{
@@ -203,6 +211,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
+ [SupportedOSPlatform ("macos13.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public unsafe virtual Task<HKQuantitySample[]> FinishSeriesAsync (NSDictionary? metadata, NSDate? endDate)
{
@@ -217,6 +226,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
+ [SupportedOSPlatform ("macos13.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public unsafe void FinishSeries (HKMetadata? metadata, NSDate? endDate, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDHKQuantitySeriesSampleBuilderFinishSeriesDelegate))]HKQuantitySeriesSampleBuilderFinishSeriesDelegate completionHandler)
{
@@ -228,6 +238,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
+ [SupportedOSPlatform ("macos13.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public unsafe Task<HKQuantitySample[]> FinishSeriesAsync (HKMetadata? metadata, NSDate? endDate)
{
@@ -242,6 +253,7 @@ namespace HealthKit {
}
[Export ("insertQuantity:date:error:")]
[SupportedOSPlatform ("ios12.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual bool Insert (HKQuantity quantity, NSDate date, out NSError? error)
@@ -265,6 +277,7 @@ namespace HealthKit {
[Export ("insertQuantity:dateInterval:error:")]
[SupportedOSPlatform ("ios13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
+ [SupportedOSPlatform ("macos13.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual bool Insert (HKQuantity quantity, NSDateInterval dateInterval, out NSError? error)
{
@@ -286,10 +299,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios12.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
public virtual HKDevice? Device {
[Export ("device", ArgumentSemantic.Copy)]
[SupportedOSPlatform ("ios12.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
get {
#if ARCH_32
@@ -307,10 +322,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios12.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
public virtual HKQuantityType QuantityType {
[Export ("quantityType", ArgumentSemantic.Copy)]
[SupportedOSPlatform ("ios12.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
get {
#if ARCH_32
@@ -328,10 +345,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios12.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
public virtual NSDate StartDate {
[Export ("startDate", ArgumentSemantic.Copy)]
[SupportedOSPlatform ("ios12.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
get {
#if ARCH_32
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKQuantitySeriesSampleQuery.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKQuantitySeriesSampleQuery.g.cs
index a514221..b819e3f 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKQuantitySeriesSampleQuery.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKQuantitySeriesSampleQuery.g.cs
@@ -51,6 +51,7 @@ using NativeHandle = System.IntPtr;
namespace HealthKit {
[Register("HKQuantitySeriesSampleQuery", true)]
[SupportedOSPlatform ("ios12.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
public unsafe partial class HKQuantitySeriesSampleQuery : HKQuery {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -93,6 +94,7 @@ namespace HealthKit {
[Export ("initWithQuantityType:predicate:quantityHandler:")]
[SupportedOSPlatform ("ios13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
+ [SupportedOSPlatform ("macos13.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public unsafe HKQuantitySeriesSampleQuery (HKQuantityType quantityType, NSPredicate? predicate, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDHKQuantitySeriesSampleQueryQuantityHandler))]HKQuantitySeriesSampleQueryQuantityHandler quantityHandler)
: base (NSObjectFlag.Empty)
@@ -127,6 +129,7 @@ namespace HealthKit {
#endif
[UnsupportedOSPlatform ("maccatalyst13.0")]
[SupportedOSPlatform ("ios12.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public unsafe HKQuantitySeriesSampleQuery (HKQuantitySample quantitySample, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDHKQuantitySeriesSampleQueryQuantityDelegate))]HKQuantitySeriesSampleQueryQuantityDelegate quantityHandler)
@@ -154,9 +157,11 @@ namespace HealthKit {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
+ [SupportedOSPlatform ("macos13.0")]
public virtual bool IncludeSample {
[Export ("includeSample")]
[SupportedOSPlatform ("ios12.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
get {
#if ARCH_32
@@ -171,6 +176,7 @@ namespace HealthKit {
}
[Export ("setIncludeSample:")]
[SupportedOSPlatform ("ios12.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
set {
#if ARCH_32
@@ -187,9 +193,11 @@ namespace HealthKit {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
+ [SupportedOSPlatform ("macos13.0")]
public virtual bool OrderByQuantitySampleStartDate {
[Export ("orderByQuantitySampleStartDate")]
[SupportedOSPlatform ("ios12.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
get {
#if ARCH_32
@@ -204,6 +212,7 @@ namespace HealthKit {
}
[Export ("setOrderByQuantitySampleStartDate:")]
[SupportedOSPlatform ("ios12.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
set {
#if ARCH_32
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKQuantityType.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKQuantityType.g.cs
index 0cc8368..fbb9d61 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKQuantityType.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKQuantityType.g.cs
@@ -51,6 +51,7 @@ using NativeHandle = System.IntPtr;
namespace HealthKit {
[Register("HKQuantityType", true)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public unsafe partial class HKQuantityType : HKSampleType {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -83,6 +84,7 @@ namespace HealthKit {
[Export ("isCompatibleWithUnit:")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual bool IsCompatible (HKUnit unit)
@@ -96,10 +98,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public virtual HKQuantityAggregationStyle AggregationStyle {
[Export ("aggregationStyle")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
HKQuantityAggregationStyle ret;
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKQuantityTypeIdentifier.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKQuantityTypeIdentifier.g.cs
index 4852fb4..02e05a0 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKQuantityTypeIdentifier.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKQuantityTypeIdentifier.g.cs
@@ -50,6 +50,7 @@ using NativeHandle = System.IntPtr;
#endif
namespace HealthKit {
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public enum HKQuantityTypeIdentifier : int {
BodyMassIndex = 0,
@@ -118,96 +119,161 @@ namespace HealthKit {
DietaryCaffeine = 63,
[SupportedOSPlatform ("ios9.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
+ [SupportedOSPlatform ("macos13.0")]
BasalBodyTemperature = 64,
[SupportedOSPlatform ("ios9.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
+ [SupportedOSPlatform ("macos13.0")]
DietaryWater = 65,
[SupportedOSPlatform ("ios9.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
+ [SupportedOSPlatform ("macos13.0")]
UVExposure = 66,
ElectrodermalActivity = 67,
[SupportedOSPlatform ("ios9.3")]
[SupportedOSPlatform ("maccatalyst9.3")]
+ [SupportedOSPlatform ("macos13.0")]
AppleExerciseTime = 68,
[SupportedOSPlatform ("ios10.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
+ [SupportedOSPlatform ("macos13.0")]
DistanceWheelchair = 69,
[SupportedOSPlatform ("ios10.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
+ [SupportedOSPlatform ("macos13.0")]
PushCount = 70,
[SupportedOSPlatform ("ios10.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
+ [SupportedOSPlatform ("macos13.0")]
DistanceSwimming = 71,
[SupportedOSPlatform ("ios10.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
+ [SupportedOSPlatform ("macos13.0")]
SwimmingStrokeCount = 72,
[SupportedOSPlatform ("ios11.0")]
[SupportedOSPlatform ("maccatalyst11.0")]
+ [SupportedOSPlatform ("macos13.0")]
WaistCircumference = 73,
[SupportedOSPlatform ("ios11.0")]
[SupportedOSPlatform ("maccatalyst11.0")]
+ [SupportedOSPlatform ("macos13.0")]
VO2Max = 74,
[SupportedOSPlatform ("ios11.2")]
[SupportedOSPlatform ("maccatalyst11.2")]
+ [SupportedOSPlatform ("macos13.0")]
DistanceDownhillSnowSports = 75,
[SupportedOSPlatform ("ios11.0")]
[SupportedOSPlatform ("maccatalyst11.0")]
+ [SupportedOSPlatform ("macos13.0")]
InsulinDelivery = 76,
[SupportedOSPlatform ("ios11.0")]
[SupportedOSPlatform ("maccatalyst11.0")]
+ [SupportedOSPlatform ("macos13.0")]
RestingHeartRate = 77,
[SupportedOSPlatform ("ios11.0")]
[SupportedOSPlatform ("maccatalyst11.0")]
+ [SupportedOSPlatform ("macos13.0")]
WalkingHeartRateAverage = 78,
[SupportedOSPlatform ("ios11.0")]
[SupportedOSPlatform ("maccatalyst11.0")]
+ [SupportedOSPlatform ("macos13.0")]
HeartRateVariabilitySdnn = 79,
[SupportedOSPlatform ("ios13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
+ [SupportedOSPlatform ("macos13.0")]
AppleStandTime = 80,
[SupportedOSPlatform ("ios13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
+ [SupportedOSPlatform ("macos13.0")]
EnvironmentalAudioExposure = 81,
[SupportedOSPlatform ("ios13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
+ [SupportedOSPlatform ("macos13.0")]
HeadphoneAudioExposure = 82,
[SupportedOSPlatform ("ios14.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
+ [SupportedOSPlatform ("macos13.0")]
SixMinuteWalkTestDistance = 83,
[SupportedOSPlatform ("ios14.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
+ [SupportedOSPlatform ("macos13.0")]
StairAscentSpeed = 84,
[SupportedOSPlatform ("ios14.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
+ [SupportedOSPlatform ("macos13.0")]
StairDescentSpeed = 85,
[SupportedOSPlatform ("ios14.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
+ [SupportedOSPlatform ("macos13.0")]
WalkingAsymmetryPercentage = 86,
[SupportedOSPlatform ("ios14.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
+ [SupportedOSPlatform ("macos13.0")]
WalkingDoubleSupportPercentage = 87,
[SupportedOSPlatform ("ios14.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
+ [SupportedOSPlatform ("macos13.0")]
WalkingSpeed = 88,
[SupportedOSPlatform ("ios14.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
+ [SupportedOSPlatform ("macos13.0")]
WalkingStepLength = 89,
[SupportedOSPlatform ("ios14.5")]
[SupportedOSPlatform ("maccatalyst14.5")]
+ [SupportedOSPlatform ("macos13.0")]
AppleMoveTime = 90,
[SupportedOSPlatform ("ios15.0")]
[SupportedOSPlatform ("maccatalyst15.0")]
+ [SupportedOSPlatform ("macos13.0")]
AppleWalkingSteadiness = 91,
[SupportedOSPlatform ("ios15.0")]
[SupportedOSPlatform ("maccatalyst15.0")]
+ [SupportedOSPlatform ("macos13.0")]
NumberOfAlcoholicBeverages = 92,
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ HeartRateRecoveryOneMinute = 93,
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ RunningGroundContactTime = 94,
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ RunningStrideLength = 95,
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ RunningVerticalOscillation = 96,
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ RunningPower = 97,
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ RunningSpeed = 98,
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ AtrialFibrillationBurden = 99,
}
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
static public partial class HKQuantityTypeIdentifierExtensions {
- static IntPtr[] values = new IntPtr [93];
+ static IntPtr[] values = new IntPtr [100];
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[Field ("HKQuantityTypeIdentifierBodyMassIndex", "HealthKit")]
internal unsafe static IntPtr HKQuantityTypeIdentifierBodyMassIndex {
@@ -217,6 +283,7 @@ namespace HealthKit {
}
}
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[Field ("HKQuantityTypeIdentifierBodyFatPercentage", "HealthKit")]
internal unsafe static IntPtr HKQuantityTypeIdentifierBodyFatPercentage {
@@ -226,6 +293,7 @@ namespace HealthKit {
}
}
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[Field ("HKQuantityTypeIdentifierHeight", "HealthKit")]
internal unsafe static IntPtr HKQuantityTypeIdentifierHeight {
@@ -235,6 +303,7 @@ namespace HealthKit {
}
}
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[Field ("HKQuantityTypeIdentifierBodyMass", "HealthKit")]
internal unsafe static IntPtr HKQuantityTypeIdentifierBodyMass {
@@ -244,6 +313,7 @@ namespace HealthKit {
}
}
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[Field ("HKQuantityTypeIdentifierLeanBodyMass", "HealthKit")]
internal unsafe static IntPtr HKQuantityTypeIdentifierLeanBodyMass {
@@ -253,6 +323,7 @@ namespace HealthKit {
}
}
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[Field ("HKQuantityTypeIdentifierHeartRate", "HealthKit")]
internal unsafe static IntPtr HKQuantityTypeIdentifierHeartRate {
@@ -262,6 +333,7 @@ namespace HealthKit {
}
}
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[Field ("HKQuantityTypeIdentifierStepCount", "HealthKit")]
internal unsafe static IntPtr HKQuantityTypeIdentifierStepCount {
@@ -271,6 +343,7 @@ namespace HealthKit {
}
}
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[Field ("HKQuantityTypeIdentifierDistanceWalkingRunning", "HealthKit")]
internal unsafe static IntPtr HKQuantityTypeIdentifierDistanceWalkingRunning {
@@ -280,6 +353,7 @@ namespace HealthKit {
}
}
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[Field ("HKQuantityTypeIdentifierDistanceCycling", "HealthKit")]
internal unsafe static IntPtr HKQuantityTypeIdentifierDistanceCycling {
@@ -289,6 +363,7 @@ namespace HealthKit {
}
}
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[Field ("HKQuantityTypeIdentifierBasalEnergyBurned", "HealthKit")]
internal unsafe static IntPtr HKQuantityTypeIdentifierBasalEnergyBurned {
@@ -298,6 +373,7 @@ namespace HealthKit {
}
}
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[Field ("HKQuantityTypeIdentifierActiveEnergyBurned", "HealthKit")]
internal unsafe static IntPtr HKQuantityTypeIdentifierActiveEnergyBurned {
@@ -307,6 +383,7 @@ namespace HealthKit {
}
}
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[Field ("HKQuantityTypeIdentifierFlightsClimbed", "HealthKit")]
internal unsafe static IntPtr HKQuantityTypeIdentifierFlightsClimbed {
@@ -316,6 +393,7 @@ namespace HealthKit {
}
}
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[Field ("HKQuantityTypeIdentifierNikeFuel", "HealthKit")]
internal unsafe static IntPtr HKQuantityTypeIdentifierNikeFuel {
@@ -325,6 +403,7 @@ namespace HealthKit {
}
}
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[Field ("HKQuantityTypeIdentifierOxygenSaturation", "HealthKit")]
internal unsafe static IntPtr HKQuantityTypeIdentifierOxygenSaturation {
@@ -334,6 +413,7 @@ namespace HealthKit {
}
}
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[Field ("HKQuantityTypeIdentifierBloodGlucose", "HealthKit")]
internal unsafe static IntPtr HKQuantityTypeIdentifierBloodGlucose {
@@ -343,6 +423,7 @@ namespace HealthKit {
}
}
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[Field ("HKQuantityTypeIdentifierBloodPressureSystolic", "HealthKit")]
internal unsafe static IntPtr HKQuantityTypeIdentifierBloodPressureSystolic {
@@ -352,6 +433,7 @@ namespace HealthKit {
}
}
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[Field ("HKQuantityTypeIdentifierBloodPressureDiastolic", "HealthKit")]
internal unsafe static IntPtr HKQuantityTypeIdentifierBloodPressureDiastolic {
@@ -361,6 +443,7 @@ namespace HealthKit {
}
}
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[Field ("HKQuantityTypeIdentifierBloodAlcoholContent", "HealthKit")]
internal unsafe static IntPtr HKQuantityTypeIdentifierBloodAlcoholContent {
@@ -370,6 +453,7 @@ namespace HealthKit {
}
}
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[Field ("HKQuantityTypeIdentifierPeripheralPerfusionIndex", "HealthKit")]
internal unsafe static IntPtr HKQuantityTypeIdentifierPeripheralPerfusionIndex {
@@ -379,6 +463,7 @@ namespace HealthKit {
}
}
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[Field ("HKQuantityTypeIdentifierForcedVitalCapacity", "HealthKit")]
internal unsafe static IntPtr HKQuantityTypeIdentifierForcedVitalCapacity {
@@ -388,6 +473,7 @@ namespace HealthKit {
}
}
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[Field ("HKQuantityTypeIdentifierForcedExpiratoryVolume1", "HealthKit")]
internal unsafe static IntPtr HKQuantityTypeIdentifierForcedExpiratoryVolume1 {
@@ -397,6 +483,7 @@ namespace HealthKit {
}
}
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[Field ("HKQuantityTypeIdentifierPeakExpiratoryFlowRate", "HealthKit")]
internal unsafe static IntPtr HKQuantityTypeIdentifierPeakExpiratoryFlowRate {
@@ -406,6 +493,7 @@ namespace HealthKit {
}
}
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[Field ("HKQuantityTypeIdentifierNumberOfTimesFallen", "HealthKit")]
internal unsafe static IntPtr HKQuantityTypeIdentifierNumberOfTimesFallen {
@@ -415,6 +503,7 @@ namespace HealthKit {
}
}
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[Field ("HKQuantityTypeIdentifierInhalerUsage", "HealthKit")]
internal unsafe static IntPtr HKQuantityTypeIdentifierInhalerUsage {
@@ -424,6 +513,7 @@ namespace HealthKit {
}
}
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[Field ("HKQuantityTypeIdentifierRespiratoryRate", "HealthKit")]
internal unsafe static IntPtr HKQuantityTypeIdentifierRespiratoryRate {
@@ -433,6 +523,7 @@ namespace HealthKit {
}
}
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[Field ("HKQuantityTypeIdentifierBodyTemperature", "HealthKit")]
internal unsafe static IntPtr HKQuantityTypeIdentifierBodyTemperature {
@@ -442,6 +533,7 @@ namespace HealthKit {
}
}
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[Field ("HKQuantityTypeIdentifierDietaryFatTotal", "HealthKit")]
internal unsafe static IntPtr HKQuantityTypeIdentifierDietaryFatTotal {
@@ -451,6 +543,7 @@ namespace HealthKit {
}
}
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[Field ("HKQuantityTypeIdentifierDietaryFatPolyunsaturated", "HealthKit")]
internal unsafe static IntPtr HKQuantityTypeIdentifierDietaryFatPolyunsaturated {
@@ -460,6 +553,7 @@ namespace HealthKit {
}
}
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[Field ("HKQuantityTypeIdentifierDietaryFatMonounsaturated", "HealthKit")]
internal unsafe static IntPtr HKQuantityTypeIdentifierDietaryFatMonounsaturated {
@@ -469,6 +563,7 @@ namespace HealthKit {
}
}
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[Field ("HKQuantityTypeIdentifierDietaryFatSaturated", "HealthKit")]
internal unsafe static IntPtr HKQuantityTypeIdentifierDietaryFatSaturated {
@@ -478,6 +573,7 @@ namespace HealthKit {
}
}
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[Field ("HKQuantityTypeIdentifierDietaryCholesterol", "HealthKit")]
internal unsafe static IntPtr HKQuantityTypeIdentifierDietaryCholesterol {
@@ -487,6 +583,7 @@ namespace HealthKit {
}
}
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[Field ("HKQuantityTypeIdentifierDietarySodium", "HealthKit")]
internal unsafe static IntPtr HKQuantityTypeIdentifierDietarySodium {
@@ -496,6 +593,7 @@ namespace HealthKit {
}
}
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[Field ("HKQuantityTypeIdentifierDietaryCarbohydrates", "HealthKit")]
internal unsafe static IntPtr HKQuantityTypeIdentifierDietaryCarbohydrates {
@@ -505,6 +603,7 @@ namespace HealthKit {
}
}
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[Field ("HKQuantityTypeIdentifierDietaryFiber", "HealthKit")]
internal unsafe static IntPtr HKQuantityTypeIdentifierDietaryFiber {
@@ -514,6 +613,7 @@ namespace HealthKit {
}
}
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[Field ("HKQuantityTypeIdentifierDietarySugar", "HealthKit")]
internal unsafe static IntPtr HKQuantityTypeIdentifierDietarySugar {
@@ -523,6 +623,7 @@ namespace HealthKit {
}
}
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[Field ("HKQuantityTypeIdentifierDietaryEnergyConsumed", "HealthKit")]
internal unsafe static IntPtr HKQuantityTypeIdentifierDietaryEnergyConsumed {
@@ -532,6 +633,7 @@ namespace HealthKit {
}
}
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[Field ("HKQuantityTypeIdentifierDietaryProtein", "HealthKit")]
internal unsafe static IntPtr HKQuantityTypeIdentifierDietaryProtein {
@@ -541,6 +643,7 @@ namespace HealthKit {
}
}
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[Field ("HKQuantityTypeIdentifierDietaryVitaminA", "HealthKit")]
internal unsafe static IntPtr HKQuantityTypeIdentifierDietaryVitaminA {
@@ -550,6 +653,7 @@ namespace HealthKit {
}
}
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[Field ("HKQuantityTypeIdentifierDietaryVitaminB6", "HealthKit")]
internal unsafe static IntPtr HKQuantityTypeIdentifierDietaryVitaminB6 {
@@ -559,6 +663,7 @@ namespace HealthKit {
}
}
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[Field ("HKQuantityTypeIdentifierDietaryVitaminB12", "HealthKit")]
internal unsafe static IntPtr HKQuantityTypeIdentifierDietaryVitaminB12 {
@@ -568,6 +673,7 @@ namespace HealthKit {
}
}
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[Field ("HKQuantityTypeIdentifierDietaryVitaminC", "HealthKit")]
internal unsafe static IntPtr HKQuantityTypeIdentifierDietaryVitaminC {
@@ -577,6 +683,7 @@ namespace HealthKit {
}
}
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[Field ("HKQuantityTypeIdentifierDietaryVitaminD", "HealthKit")]
internal unsafe static IntPtr HKQuantityTypeIdentifierDietaryVitaminD {
@@ -586,6 +693,7 @@ namespace HealthKit {
}
}
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[Field ("HKQuantityTypeIdentifierDietaryVitaminE", "HealthKit")]
internal unsafe static IntPtr HKQuantityTypeIdentifierDietaryVitaminE {
@@ -595,6 +703,7 @@ namespace HealthKit {
}
}
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[Field ("HKQuantityTypeIdentifierDietaryVitaminK", "HealthKit")]
internal unsafe static IntPtr HKQuantityTypeIdentifierDietaryVitaminK {
@@ -604,6 +713,7 @@ namespace HealthKit {
}
}
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[Field ("HKQuantityTypeIdentifierDietaryCalcium", "HealthKit")]
internal unsafe static IntPtr HKQuantityTypeIdentifierDietaryCalcium {
@@ -613,6 +723,7 @@ namespace HealthKit {
}
}
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[Field ("HKQuantityTypeIdentifierDietaryIron", "HealthKit")]
internal unsafe static IntPtr HKQuantityTypeIdentifierDietaryIron {
@@ -622,6 +733,7 @@ namespace HealthKit {
}
}
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[Field ("HKQuantityTypeIdentifierDietaryThiamin", "HealthKit")]
internal unsafe static IntPtr HKQuantityTypeIdentifierDietaryThiamin {
@@ -631,6 +743,7 @@ namespace HealthKit {
}
}
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[Field ("HKQuantityTypeIdentifierDietaryRiboflavin", "HealthKit")]
internal unsafe static IntPtr HKQuantityTypeIdentifierDietaryRiboflavin {
@@ -640,6 +753,7 @@ namespace HealthKit {
}
}
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[Field ("HKQuantityTypeIdentifierDietaryNiacin", "HealthKit")]
internal unsafe static IntPtr HKQuantityTypeIdentifierDietaryNiacin {
@@ -649,6 +763,7 @@ namespace HealthKit {
}
}
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[Field ("HKQuantityTypeIdentifierDietaryFolate", "HealthKit")]
internal unsafe static IntPtr HKQuantityTypeIdentifierDietaryFolate {
@@ -658,6 +773,7 @@ namespace HealthKit {
}
}
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[Field ("HKQuantityTypeIdentifierDietaryBiotin", "HealthKit")]
internal unsafe static IntPtr HKQuantityTypeIdentifierDietaryBiotin {
@@ -667,6 +783,7 @@ namespace HealthKit {
}
}
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[Field ("HKQuantityTypeIdentifierDietaryPantothenicAcid", "HealthKit")]
internal unsafe static IntPtr HKQuantityTypeIdentifierDietaryPantothenicAcid {
@@ -676,6 +793,7 @@ namespace HealthKit {
}
}
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[Field ("HKQuantityTypeIdentifierDietaryPhosphorus", "HealthKit")]
internal unsafe static IntPtr HKQuantityTypeIdentifierDietaryPhosphorus {
@@ -685,6 +803,7 @@ namespace HealthKit {
}
}
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[Field ("HKQuantityTypeIdentifierDietaryIodine", "HealthKit")]
internal unsafe static IntPtr HKQuantityTypeIdentifierDietaryIodine {
@@ -694,6 +813,7 @@ namespace HealthKit {
}
}
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[Field ("HKQuantityTypeIdentifierDietaryMagnesium", "HealthKit")]
internal unsafe static IntPtr HKQuantityTypeIdentifierDietaryMagnesium {
@@ -703,6 +823,7 @@ namespace HealthKit {
}
}
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[Field ("HKQuantityTypeIdentifierDietaryZinc", "HealthKit")]
internal unsafe static IntPtr HKQuantityTypeIdentifierDietaryZinc {
@@ -712,6 +833,7 @@ namespace HealthKit {
}
}
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[Field ("HKQuantityTypeIdentifierDietarySelenium", "HealthKit")]
internal unsafe static IntPtr HKQuantityTypeIdentifierDietarySelenium {
@@ -721,6 +843,7 @@ namespace HealthKit {
}
}
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[Field ("HKQuantityTypeIdentifierDietaryCopper", "HealthKit")]
internal unsafe static IntPtr HKQuantityTypeIdentifierDietaryCopper {
@@ -730,6 +853,7 @@ namespace HealthKit {
}
}
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[Field ("HKQuantityTypeIdentifierDietaryManganese", "HealthKit")]
internal unsafe static IntPtr HKQuantityTypeIdentifierDietaryManganese {
@@ -739,6 +863,7 @@ namespace HealthKit {
}
}
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[Field ("HKQuantityTypeIdentifierDietaryChromium", "HealthKit")]
internal unsafe static IntPtr HKQuantityTypeIdentifierDietaryChromium {
@@ -748,6 +873,7 @@ namespace HealthKit {
}
}
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[Field ("HKQuantityTypeIdentifierDietaryMolybdenum", "HealthKit")]
internal unsafe static IntPtr HKQuantityTypeIdentifierDietaryMolybdenum {
@@ -757,6 +883,7 @@ namespace HealthKit {
}
}
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[Field ("HKQuantityTypeIdentifierDietaryChloride", "HealthKit")]
internal unsafe static IntPtr HKQuantityTypeIdentifierDietaryChloride {
@@ -766,6 +893,7 @@ namespace HealthKit {
}
}
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[Field ("HKQuantityTypeIdentifierDietaryPotassium", "HealthKit")]
internal unsafe static IntPtr HKQuantityTypeIdentifierDietaryPotassium {
@@ -775,6 +903,7 @@ namespace HealthKit {
}
}
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[Field ("HKQuantityTypeIdentifierDietaryCaffeine", "HealthKit")]
internal unsafe static IntPtr HKQuantityTypeIdentifierDietaryCaffeine {
@@ -785,6 +914,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios9.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
+ [SupportedOSPlatform ("macos13.0")]
[Field ("HKQuantityTypeIdentifierBasalBodyTemperature", "HealthKit")]
internal unsafe static IntPtr HKQuantityTypeIdentifierBasalBodyTemperature {
get {
@@ -794,6 +924,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios9.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
+ [SupportedOSPlatform ("macos13.0")]
[Field ("HKQuantityTypeIdentifierDietaryWater", "HealthKit")]
internal unsafe static IntPtr HKQuantityTypeIdentifierDietaryWater {
get {
@@ -803,6 +934,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios9.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
+ [SupportedOSPlatform ("macos13.0")]
[Field ("HKQuantityTypeIdentifierUVExposure", "HealthKit")]
internal unsafe static IntPtr HKQuantityTypeIdentifierUVExposure {
get {
@@ -811,6 +943,7 @@ namespace HealthKit {
}
}
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[Field ("HKQuantityTypeIdentifierElectrodermalActivity", "HealthKit")]
internal unsafe static IntPtr HKQuantityTypeIdentifierElectrodermalActivity {
@@ -821,6 +954,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios9.3")]
[SupportedOSPlatform ("maccatalyst9.3")]
+ [SupportedOSPlatform ("macos13.0")]
[Field ("HKQuantityTypeIdentifierAppleExerciseTime", "HealthKit")]
internal unsafe static IntPtr HKQuantityTypeIdentifierAppleExerciseTime {
get {
@@ -830,6 +964,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios10.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
+ [SupportedOSPlatform ("macos13.0")]
[Field ("HKQuantityTypeIdentifierDistanceWheelchair", "HealthKit")]
internal unsafe static IntPtr HKQuantityTypeIdentifierDistanceWheelchair {
get {
@@ -839,6 +974,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios10.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
+ [SupportedOSPlatform ("macos13.0")]
[Field ("HKQuantityTypeIdentifierPushCount", "HealthKit")]
internal unsafe static IntPtr HKQuantityTypeIdentifierPushCount {
get {
@@ -848,6 +984,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios10.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
+ [SupportedOSPlatform ("macos13.0")]
[Field ("HKQuantityTypeIdentifierDistanceSwimming", "HealthKit")]
internal unsafe static IntPtr HKQuantityTypeIdentifierDistanceSwimming {
get {
@@ -857,6 +994,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios10.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
+ [SupportedOSPlatform ("macos13.0")]
[Field ("HKQuantityTypeIdentifierSwimmingStrokeCount", "HealthKit")]
internal unsafe static IntPtr HKQuantityTypeIdentifierSwimmingStrokeCount {
get {
@@ -866,6 +1004,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios11.0")]
[SupportedOSPlatform ("maccatalyst11.0")]
+ [SupportedOSPlatform ("macos13.0")]
[Field ("HKQuantityTypeIdentifierWaistCircumference", "HealthKit")]
internal unsafe static IntPtr HKQuantityTypeIdentifierWaistCircumference {
get {
@@ -875,6 +1014,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios11.0")]
[SupportedOSPlatform ("maccatalyst11.0")]
+ [SupportedOSPlatform ("macos13.0")]
[Field ("HKQuantityTypeIdentifierVO2Max", "HealthKit")]
internal unsafe static IntPtr HKQuantityTypeIdentifierVO2Max {
get {
@@ -884,6 +1024,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios11.2")]
[SupportedOSPlatform ("maccatalyst11.2")]
+ [SupportedOSPlatform ("macos13.0")]
[Field ("HKQuantityTypeIdentifierDistanceDownhillSnowSports", "HealthKit")]
internal unsafe static IntPtr HKQuantityTypeIdentifierDistanceDownhillSnowSports {
get {
@@ -893,6 +1034,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios11.0")]
[SupportedOSPlatform ("maccatalyst11.0")]
+ [SupportedOSPlatform ("macos13.0")]
[Field ("HKQuantityTypeIdentifierInsulinDelivery", "HealthKit")]
internal unsafe static IntPtr HKQuantityTypeIdentifierInsulinDelivery {
get {
@@ -902,6 +1044,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios11.0")]
[SupportedOSPlatform ("maccatalyst11.0")]
+ [SupportedOSPlatform ("macos13.0")]
[Field ("HKQuantityTypeIdentifierRestingHeartRate", "HealthKit")]
internal unsafe static IntPtr HKQuantityTypeIdentifierRestingHeartRate {
get {
@@ -911,6 +1054,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios11.0")]
[SupportedOSPlatform ("maccatalyst11.0")]
+ [SupportedOSPlatform ("macos13.0")]
[Field ("HKQuantityTypeIdentifierWalkingHeartRateAverage", "HealthKit")]
internal unsafe static IntPtr HKQuantityTypeIdentifierWalkingHeartRateAverage {
get {
@@ -920,6 +1064,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios11.0")]
[SupportedOSPlatform ("maccatalyst11.0")]
+ [SupportedOSPlatform ("macos13.0")]
[Field ("HKQuantityTypeIdentifierHeartRateVariabilitySDNN", "HealthKit")]
internal unsafe static IntPtr HKQuantityTypeIdentifierHeartRateVariabilitySDNN {
get {
@@ -929,6 +1074,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
+ [SupportedOSPlatform ("macos13.0")]
[Field ("HKQuantityTypeIdentifierAppleStandTime", "HealthKit")]
internal unsafe static IntPtr HKQuantityTypeIdentifierAppleStandTime {
get {
@@ -938,6 +1084,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
+ [SupportedOSPlatform ("macos13.0")]
[Field ("HKQuantityTypeIdentifierEnvironmentalAudioExposure", "HealthKit")]
internal unsafe static IntPtr HKQuantityTypeIdentifierEnvironmentalAudioExposure {
get {
@@ -947,6 +1094,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
+ [SupportedOSPlatform ("macos13.0")]
[Field ("HKQuantityTypeIdentifierHeadphoneAudioExposure", "HealthKit")]
internal unsafe static IntPtr HKQuantityTypeIdentifierHeadphoneAudioExposure {
get {
@@ -956,6 +1104,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios14.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
+ [SupportedOSPlatform ("macos13.0")]
[Field ("HKQuantityTypeIdentifierSixMinuteWalkTestDistance", "HealthKit")]
internal unsafe static IntPtr HKQuantityTypeIdentifierSixMinuteWalkTestDistance {
get {
@@ -965,6 +1114,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios14.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
+ [SupportedOSPlatform ("macos13.0")]
[Field ("HKQuantityTypeIdentifierStairAscentSpeed", "HealthKit")]
internal unsafe static IntPtr HKQuantityTypeIdentifierStairAscentSpeed {
get {
@@ -974,6 +1124,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios14.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
+ [SupportedOSPlatform ("macos13.0")]
[Field ("HKQuantityTypeIdentifierStairDescentSpeed", "HealthKit")]
internal unsafe static IntPtr HKQuantityTypeIdentifierStairDescentSpeed {
get {
@@ -983,6 +1134,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios14.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
+ [SupportedOSPlatform ("macos13.0")]
[Field ("HKQuantityTypeIdentifierWalkingAsymmetryPercentage", "HealthKit")]
internal unsafe static IntPtr HKQuantityTypeIdentifierWalkingAsymmetryPercentage {
get {
@@ -992,6 +1144,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios14.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
+ [SupportedOSPlatform ("macos13.0")]
[Field ("HKQuantityTypeIdentifierWalkingDoubleSupportPercentage", "HealthKit")]
internal unsafe static IntPtr HKQuantityTypeIdentifierWalkingDoubleSupportPercentage {
get {
@@ -1001,6 +1154,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios14.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
+ [SupportedOSPlatform ("macos13.0")]
[Field ("HKQuantityTypeIdentifierWalkingSpeed", "HealthKit")]
internal unsafe static IntPtr HKQuantityTypeIdentifierWalkingSpeed {
get {
@@ -1010,6 +1164,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios14.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
+ [SupportedOSPlatform ("macos13.0")]
[Field ("HKQuantityTypeIdentifierWalkingStepLength", "HealthKit")]
internal unsafe static IntPtr HKQuantityTypeIdentifierWalkingStepLength {
get {
@@ -1019,6 +1174,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios14.5")]
[SupportedOSPlatform ("maccatalyst14.5")]
+ [SupportedOSPlatform ("macos13.0")]
[Field ("HKQuantityTypeIdentifierAppleMoveTime", "HealthKit")]
internal unsafe static IntPtr HKQuantityTypeIdentifierAppleMoveTime {
get {
@@ -1028,6 +1184,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios15.0")]
[SupportedOSPlatform ("maccatalyst15.0")]
+ [SupportedOSPlatform ("macos13.0")]
[Field ("HKQuantityTypeIdentifierAppleWalkingSteadiness", "HealthKit")]
internal unsafe static IntPtr HKQuantityTypeIdentifierAppleWalkingSteadiness {
get {
@@ -1037,6 +1194,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios15.0")]
[SupportedOSPlatform ("maccatalyst15.0")]
+ [SupportedOSPlatform ("macos13.0")]
[Field ("HKQuantityTypeIdentifierNumberOfAlcoholicBeverages", "HealthKit")]
internal unsafe static IntPtr HKQuantityTypeIdentifierNumberOfAlcoholicBeverages {
get {
@@ -1044,6 +1202,83 @@ namespace HealthKit {
return Dlfcn.CachePointer (Libraries.HealthKit.Handle, "HKQuantityTypeIdentifierNumberOfAlcoholicBeverages", storage);
}
}
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ [Field ("HKQuantityTypeIdentifierHeartRateRecoveryOneMinute", "HealthKit")]
+ internal unsafe static IntPtr HKQuantityTypeIdentifierHeartRateRecoveryOneMinute {
+ get {
+ fixed (IntPtr *storage = &values [93])
+ return Dlfcn.CachePointer (Libraries.HealthKit.Handle, "HKQuantityTypeIdentifierHeartRateRecoveryOneMinute", storage);
+ }
+ }
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ [Field ("HKQuantityTypeIdentifierRunningGroundContactTime", "HealthKit")]
+ internal unsafe static IntPtr HKQuantityTypeIdentifierRunningGroundContactTime {
+ get {
+ fixed (IntPtr *storage = &values [94])
+ return Dlfcn.CachePointer (Libraries.HealthKit.Handle, "HKQuantityTypeIdentifierRunningGroundContactTime", storage);
+ }
+ }
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ [Field ("HKQuantityTypeIdentifierRunningStrideLength", "HealthKit")]
+ internal unsafe static IntPtr HKQuantityTypeIdentifierRunningStrideLength {
+ get {
+ fixed (IntPtr *storage = &values [95])
+ return Dlfcn.CachePointer (Libraries.HealthKit.Handle, "HKQuantityTypeIdentifierRunningStrideLength", storage);
+ }
+ }
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ [Field ("HKQuantityTypeIdentifierRunningVerticalOscillation", "HealthKit")]
+ internal unsafe static IntPtr HKQuantityTypeIdentifierRunningVerticalOscillation {
+ get {
+ fixed (IntPtr *storage = &values [96])
+ return Dlfcn.CachePointer (Libraries.HealthKit.Handle, "HKQuantityTypeIdentifierRunningVerticalOscillation", storage);
+ }
+ }
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ [Field ("HKQuantityTypeIdentifierRunningPower", "HealthKit")]
+ internal unsafe static IntPtr HKQuantityTypeIdentifierRunningPower {
+ get {
+ fixed (IntPtr *storage = &values [97])
+ return Dlfcn.CachePointer (Libraries.HealthKit.Handle, "HKQuantityTypeIdentifierRunningPower", storage);
+ }
+ }
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ [Field ("HKQuantityTypeIdentifierRunningSpeed", "HealthKit")]
+ internal unsafe static IntPtr HKQuantityTypeIdentifierRunningSpeed {
+ get {
+ fixed (IntPtr *storage = &values [98])
+ return Dlfcn.CachePointer (Libraries.HealthKit.Handle, "HKQuantityTypeIdentifierRunningSpeed", storage);
+ }
+ }
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ [Field ("HKQuantityTypeIdentifierAtrialFibrillationBurden", "HealthKit")]
+ internal unsafe static IntPtr HKQuantityTypeIdentifierAtrialFibrillationBurden {
+ get {
+ fixed (IntPtr *storage = &values [99])
+ return Dlfcn.CachePointer (Libraries.HealthKit.Handle, "HKQuantityTypeIdentifierAtrialFibrillationBurden", storage);
+ }
+ }
public static NSString? GetConstant (this HKQuantityTypeIdentifier self)
{
IntPtr ptr = IntPtr.Zero;
@@ -1327,6 +1562,27 @@ namespace HealthKit {
case 92: // HKQuantityTypeIdentifier.NumberOfAlcoholicBeverages
ptr = HKQuantityTypeIdentifierNumberOfAlcoholicBeverages;
break;
+ case 93: // HKQuantityTypeIdentifier.HeartRateRecoveryOneMinute
+ ptr = HKQuantityTypeIdentifierHeartRateRecoveryOneMinute;
+ break;
+ case 94: // HKQuantityTypeIdentifier.RunningGroundContactTime
+ ptr = HKQuantityTypeIdentifierRunningGroundContactTime;
+ break;
+ case 95: // HKQuantityTypeIdentifier.RunningStrideLength
+ ptr = HKQuantityTypeIdentifierRunningStrideLength;
+ break;
+ case 96: // HKQuantityTypeIdentifier.RunningVerticalOscillation
+ ptr = HKQuantityTypeIdentifierRunningVerticalOscillation;
+ break;
+ case 97: // HKQuantityTypeIdentifier.RunningPower
+ ptr = HKQuantityTypeIdentifierRunningPower;
+ break;
+ case 98: // HKQuantityTypeIdentifier.RunningSpeed
+ ptr = HKQuantityTypeIdentifierRunningSpeed;
+ break;
+ case 99: // HKQuantityTypeIdentifier.AtrialFibrillationBurden
+ ptr = HKQuantityTypeIdentifierAtrialFibrillationBurden;
+ break;
}
return (NSString?) Runtime.GetNSObject (ptr);
}
@@ -1520,6 +1776,20 @@ namespace HealthKit {
return HKQuantityTypeIdentifier.AppleWalkingSteadiness;
if (constant.IsEqualTo (HKQuantityTypeIdentifierNumberOfAlcoholicBeverages))
return HKQuantityTypeIdentifier.NumberOfAlcoholicBeverages;
+ if (constant.IsEqualTo (HKQuantityTypeIdentifierHeartRateRecoveryOneMinute))
+ return HKQuantityTypeIdentifier.HeartRateRecoveryOneMinute;
+ if (constant.IsEqualTo (HKQuantityTypeIdentifierRunningGroundContactTime))
+ return HKQuantityTypeIdentifier.RunningGroundContactTime;
+ if (constant.IsEqualTo (HKQuantityTypeIdentifierRunningStrideLength))
+ return HKQuantityTypeIdentifier.RunningStrideLength;
+ if (constant.IsEqualTo (HKQuantityTypeIdentifierRunningVerticalOscillation))
+ return HKQuantityTypeIdentifier.RunningVerticalOscillation;
+ if (constant.IsEqualTo (HKQuantityTypeIdentifierRunningPower))
+ return HKQuantityTypeIdentifier.RunningPower;
+ if (constant.IsEqualTo (HKQuantityTypeIdentifierRunningSpeed))
+ return HKQuantityTypeIdentifier.RunningSpeed;
+ if (constant.IsEqualTo (HKQuantityTypeIdentifierAtrialFibrillationBurden))
+ return HKQuantityTypeIdentifier.AtrialFibrillationBurden;
throw new NotSupportedException ($"{constant} has no associated enum value on this platform.");
}
}
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKQuery.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKQuery.g.cs
index b3fca37..4572408 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKQuery.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKQuery.g.cs
@@ -51,6 +51,7 @@ using NativeHandle = System.IntPtr;
namespace HealthKit {
[Register("HKQuery", true)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public unsafe partial class HKQuery : NSObject {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -68,9 +69,106 @@ namespace HealthKit {
{
}
+ [Export ("predicateForWorkoutActivitiesWithOperatorType:quantityType:averageQuantity:")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static NSPredicate GetAverageQuantityPredicateForWorkoutActivities (NSPredicateOperatorType operatorType, HKQuantityType quantityType, HKQuantity averageQuantity)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var quantityType__handle__ = quantityType!.GetNonNullHandle (nameof (quantityType));
+ var averageQuantity__handle__ = averageQuantity!.GetNonNullHandle (nameof (averageQuantity));
+ return Runtime.GetNSObject<NSPredicate> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_UIntPtr_NativeHandle_NativeHandle (class_ptr, Selector.GetHandle ("predicateForWorkoutActivitiesWithOperatorType:quantityType:averageQuantity:"), (UIntPtr) (ulong) operatorType, quantityType__handle__, averageQuantity__handle__))!;
+ #endif
+ }
+ [Export ("predicateForWorkoutsWithOperatorType:quantityType:averageQuantity:")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static NSPredicate GetAverageQuantityPredicateForWorkouts (NSPredicateOperatorType operatorType, HKQuantityType quantityType, HKQuantity averageQuantity)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var quantityType__handle__ = quantityType!.GetNonNullHandle (nameof (quantityType));
+ var averageQuantity__handle__ = averageQuantity!.GetNonNullHandle (nameof (averageQuantity));
+ return Runtime.GetNSObject<NSPredicate> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_UIntPtr_NativeHandle_NativeHandle (class_ptr, Selector.GetHandle ("predicateForWorkoutsWithOperatorType:quantityType:averageQuantity:"), (UIntPtr) (ulong) operatorType, quantityType__handle__, averageQuantity__handle__))!;
+ #endif
+ }
+ [Export ("predicateForWorkoutActivitiesWithOperatorType:quantityType:maximumQuantity:")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static NSPredicate GetMaximumQuantityPredicateForWorkoutActivities (NSPredicateOperatorType operatorType, HKQuantityType quantityType, HKQuantity maximumQuantity)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var quantityType__handle__ = quantityType!.GetNonNullHandle (nameof (quantityType));
+ var maximumQuantity__handle__ = maximumQuantity!.GetNonNullHandle (nameof (maximumQuantity));
+ return Runtime.GetNSObject<NSPredicate> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_UIntPtr_NativeHandle_NativeHandle (class_ptr, Selector.GetHandle ("predicateForWorkoutActivitiesWithOperatorType:quantityType:maximumQuantity:"), (UIntPtr) (ulong) operatorType, quantityType__handle__, maximumQuantity__handle__))!;
+ #endif
+ }
+ [Export ("predicateForWorkoutsWithOperatorType:quantityType:maximumQuantity:")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static NSPredicate GetMaximumQuantityPredicateForWorkouts (NSPredicateOperatorType operatorType, HKQuantityType quantityType, HKQuantity maximumQuantity)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var quantityType__handle__ = quantityType!.GetNonNullHandle (nameof (quantityType));
+ var maximumQuantity__handle__ = maximumQuantity!.GetNonNullHandle (nameof (maximumQuantity));
+ return Runtime.GetNSObject<NSPredicate> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_UIntPtr_NativeHandle_NativeHandle (class_ptr, Selector.GetHandle ("predicateForWorkoutsWithOperatorType:quantityType:maximumQuantity:"), (UIntPtr) (ulong) operatorType, quantityType__handle__, maximumQuantity__handle__))!;
+ #endif
+ }
+ [Export ("predicateForWorkoutActivitiesWithOperatorType:quantityType:minimumQuantity:")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static NSPredicate GetMinimumQuantityPredicateForWorkoutActivities (NSPredicateOperatorType operatorType, HKQuantityType quantityType, HKQuantity minimumQuantity)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var quantityType__handle__ = quantityType!.GetNonNullHandle (nameof (quantityType));
+ var minimumQuantity__handle__ = minimumQuantity!.GetNonNullHandle (nameof (minimumQuantity));
+ return Runtime.GetNSObject<NSPredicate> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_UIntPtr_NativeHandle_NativeHandle (class_ptr, Selector.GetHandle ("predicateForWorkoutActivitiesWithOperatorType:quantityType:minimumQuantity:"), (UIntPtr) (ulong) operatorType, quantityType__handle__, minimumQuantity__handle__))!;
+ #endif
+ }
+ [Export ("predicateForWorkoutsWithOperatorType:quantityType:minimumQuantity:")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static NSPredicate GetMinimumQuantityPredicateForWorkouts (NSPredicateOperatorType operatorType, HKQuantityType quantityType, HKQuantity minimumQuantity)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var quantityType__handle__ = quantityType!.GetNonNullHandle (nameof (quantityType));
+ var minimumQuantity__handle__ = minimumQuantity!.GetNonNullHandle (nameof (minimumQuantity));
+ return Runtime.GetNSObject<NSPredicate> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_UIntPtr_NativeHandle_NativeHandle (class_ptr, Selector.GetHandle ("predicateForWorkoutsWithOperatorType:quantityType:minimumQuantity:"), (UIntPtr) (ulong) operatorType, quantityType__handle__, minimumQuantity__handle__))!;
+ #endif
+ }
[Export ("predicateForActivitySummariesBetweenStartDateComponents:endDateComponents:")]
[SupportedOSPlatform ("ios9.3")]
[SupportedOSPlatform ("maccatalyst9.3")]
+ [SupportedOSPlatform ("macos13.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public static NSPredicate GetPredicateForActivitySummariesBetween (NSDateComponents startDateComponents, NSDateComponents endDateComponents)
{
@@ -81,6 +179,7 @@ namespace HealthKit {
[Export ("predicateForActivitySummaryWithDateComponents:")]
[SupportedOSPlatform ("ios9.3")]
[SupportedOSPlatform ("maccatalyst9.3")]
+ [SupportedOSPlatform ("macos13.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public static NSPredicate GetPredicateForActivitySummary (NSDateComponents dateComponents)
{
@@ -89,15 +188,32 @@ namespace HealthKit {
}
[Export ("predicateForCategorySamplesWithOperatorType:value:")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public static NSPredicate GetPredicateForCategorySamples (NSPredicateOperatorType operatorType, nint value)
{
return Runtime.GetNSObject<NSPredicate> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_UIntPtr_IntPtr (class_ptr, Selector.GetHandle ("predicateForCategorySamplesWithOperatorType:value:"), (UIntPtr) (ulong) operatorType, value))!;
}
+ [Export ("predicateForCategorySamplesEqualToValues:")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static NSPredicate GetPredicateForCategorySamples (NSSet<NSNumber> values)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var values__handle__ = values!.GetNonNullHandle (nameof (values));
+ return Runtime.GetNSObject<NSPredicate> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (class_ptr, Selector.GetHandle ("predicateForCategorySamplesEqualToValues:"), values__handle__))!;
+ #endif
+ }
[Export ("predicateForClinicalRecordsWithFHIRResourceType:")]
[SupportedOSPlatform ("ios12.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
+ [SupportedOSPlatform ("macos13.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
internal static NSPredicate GetPredicateForClinicalRecords (NSString resourceType)
{
@@ -110,6 +226,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios12.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
+ [SupportedOSPlatform ("macos13.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public static NSPredicate GetPredicateForClinicalRecords (HKFhirResourceType resourceType)
{
@@ -122,6 +239,7 @@ namespace HealthKit {
[Export ("predicateForClinicalRecordsFromSource:FHIRResourceType:identifier:")]
[SupportedOSPlatform ("ios12.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
+ [SupportedOSPlatform ("macos13.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
internal static NSPredicate GetPredicateForClinicalRecords (HKSource source, string resourceType, string identifier)
{
@@ -144,6 +262,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios12.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
+ [SupportedOSPlatform ("macos13.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public static NSPredicate GetPredicateForClinicalRecords (HKSource source, HKFhirResourceType resourceType, string identifier)
{
@@ -155,6 +274,7 @@ namespace HealthKit {
}
[Export ("predicateForWorkoutsWithOperatorType:duration:")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public static NSPredicate GetPredicateForDuration (NSPredicateOperatorType operatorType, double duration)
@@ -164,6 +284,7 @@ namespace HealthKit {
[Export ("predicateForElectrocardiogramsWithClassification:")]
[SupportedOSPlatform ("ios14.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
+ [SupportedOSPlatform ("macos13.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public static NSPredicate GetPredicateForElectrocardiograms (HKElectrocardiogramClassification classification)
{
@@ -176,6 +297,7 @@ namespace HealthKit {
[Export ("predicateForElectrocardiogramsWithSymptomsStatus:")]
[SupportedOSPlatform ("ios14.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
+ [SupportedOSPlatform ("macos13.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public static NSPredicate GetPredicateForElectrocardiograms (HKElectrocardiogramSymptomsStatus symptomsStatus)
{
@@ -187,6 +309,7 @@ namespace HealthKit {
}
[Export ("predicateForObjectsWithMetadataKey:")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public static NSPredicate GetPredicateForMetadataKey (NSString metadataKey)
@@ -196,6 +319,7 @@ namespace HealthKit {
}
[Export ("predicateForObjectsWithMetadataKey:allowedValues:")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public static NSPredicate GetPredicateForMetadataKey (NSString metadataKey, NSObject[] allowedValues)
@@ -211,6 +335,7 @@ namespace HealthKit {
}
[Export ("predicateForObjectsWithMetadataKey:operatorType:value:")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public static NSPredicate GetPredicateForMetadataKey (NSString metadataKey, NSPredicateOperatorType operatorType, NSObject value)
@@ -221,6 +346,7 @@ namespace HealthKit {
}
[Export ("predicateForObjectWithUUID:")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public static NSPredicate GetPredicateForObject (NSUuid objectUuid)
@@ -230,6 +356,7 @@ namespace HealthKit {
}
[Export ("predicateForObjectsWithUUIDs:")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public static NSPredicate GetPredicateForObjects (NSSet objectUuids)
@@ -240,6 +367,7 @@ namespace HealthKit {
[Export ("predicateForObjectsAssociatedWithElectrocardiogram:")]
[SupportedOSPlatform ("ios14.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
+ [SupportedOSPlatform ("macos13.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public static NSPredicate GetPredicateForObjects (HKElectrocardiogram electrocardiogram)
{
@@ -253,6 +381,7 @@ namespace HealthKit {
[Export ("predicateForObjectsFromDevices:")]
[SupportedOSPlatform ("ios9.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
+ [SupportedOSPlatform ("macos13.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public static NSPredicate GetPredicateForObjectsFromDevices (NSSet<HKDevice> devices)
{
@@ -261,6 +390,7 @@ namespace HealthKit {
}
[Export ("predicateForObjectsFromSource:")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public static NSPredicate GetPredicateForObjectsFromSource (HKSource source)
@@ -271,6 +401,7 @@ namespace HealthKit {
[Export ("predicateForObjectsFromSourceRevisions:")]
[SupportedOSPlatform ("ios9.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
+ [SupportedOSPlatform ("macos13.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public static NSPredicate GetPredicateForObjectsFromSourceRevisions (NSSet<HKSourceRevision> sourceRevisions)
{
@@ -279,6 +410,7 @@ namespace HealthKit {
}
[Export ("predicateForObjectsFromSources:")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public static NSPredicate GetPredicateForObjectsFromSources (NSSet sources)
@@ -288,6 +420,7 @@ namespace HealthKit {
}
[Export ("predicateForObjectsFromWorkout:")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public static NSPredicate GetPredicateForObjectsFromWorkout (HKWorkout workout)
@@ -298,6 +431,7 @@ namespace HealthKit {
[Export ("predicateForObjectsWithDeviceProperty:allowedValues:")]
[SupportedOSPlatform ("ios9.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
+ [SupportedOSPlatform ("macos13.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public static NSPredicate GetPredicateForObjectsWithDeviceProperty (string key, NSSet<NSString> allowedValues)
{
@@ -312,6 +446,7 @@ namespace HealthKit {
}
[Export ("predicateForQuantitySamplesWithOperatorType:quantity:")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public static NSPredicate GetPredicateForQuantitySamples (NSPredicateOperatorType operatorType, HKQuantity quantity)
@@ -321,6 +456,7 @@ namespace HealthKit {
}
[Export ("predicateForSamplesWithStartDate:endDate:options:")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public static NSPredicate GetPredicateForSamples (NSDate? startDate, NSDate? endDate, HKQueryOptions options)
@@ -331,6 +467,7 @@ namespace HealthKit {
}
[Export ("predicateForWorkoutsWithOperatorType:totalDistance:")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public static NSPredicate GetPredicateForTotalDistance (NSPredicateOperatorType operatorType, HKQuantity totalDistance)
@@ -340,6 +477,7 @@ namespace HealthKit {
}
[Export ("predicateForWorkoutsWithOperatorType:totalEnergyBurned:")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public static NSPredicate GetPredicateForTotalEnergyBurned (NSPredicateOperatorType operatorType, HKQuantity totalEnergyBurned)
@@ -350,6 +488,7 @@ namespace HealthKit {
[Export ("predicateForWorkoutsWithOperatorType:totalFlightsClimbed:")]
[SupportedOSPlatform ("ios11.0")]
[SupportedOSPlatform ("maccatalyst11.0")]
+ [SupportedOSPlatform ("macos13.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public static NSPredicate GetPredicateForTotalFlightsClimbed (NSPredicateOperatorType operatorType, HKQuantity totalFlightsClimbed)
{
@@ -363,6 +502,7 @@ namespace HealthKit {
[Export ("predicateForWorkoutsWithOperatorType:totalSwimmingStrokeCount:")]
[SupportedOSPlatform ("ios10.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
+ [SupportedOSPlatform ("macos13.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public static NSPredicate GetPredicateForTotalSwimmingStrokeCount (NSPredicateOperatorType operatorType, HKQuantity totalSwimmingStrokeCount)
{
@@ -372,6 +512,7 @@ namespace HealthKit {
[Export ("predicateForVerifiableClinicalRecordsWithRelevantDateWithinDateInterval:")]
[SupportedOSPlatform ("ios15.0")]
[SupportedOSPlatform ("maccatalyst15.0")]
+ [SupportedOSPlatform ("macos13.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public static NSPredicate GetPredicateForVerifiableClinicalRecords (NSDateInterval dateInterval)
{
@@ -382,16 +523,109 @@ namespace HealthKit {
return Runtime.GetNSObject<NSPredicate> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (class_ptr, Selector.GetHandle ("predicateForVerifiableClinicalRecordsWithRelevantDateWithinDateInterval:"), dateInterval__handle__))!;
#endif
}
+ [Export ("predicateForWorkoutActivitiesWithWorkoutActivityType:")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static NSPredicate GetPredicateForWorkoutActivities (HKWorkoutActivityType workoutActivityType)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ return Runtime.GetNSObject<NSPredicate> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_UIntPtr (class_ptr, Selector.GetHandle ("predicateForWorkoutActivitiesWithWorkoutActivityType:"), (UIntPtr) (ulong) workoutActivityType))!;
+ #endif
+ }
+ [Export ("predicateForWorkoutActivitiesWithOperatorType:duration:")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static NSPredicate GetPredicateForWorkoutActivities (NSPredicateOperatorType operatorType, double duration)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ return Runtime.GetNSObject<NSPredicate> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_UIntPtr_Double (class_ptr, Selector.GetHandle ("predicateForWorkoutActivitiesWithOperatorType:duration:"), (UIntPtr) (ulong) operatorType, duration))!;
+ #endif
+ }
+ [Export ("predicateForWorkoutActivitiesWithStartDate:endDate:options:")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static NSPredicate GetPredicateForWorkoutActivities (NSDate? startDate, NSDate? endDate, HKQueryOptions options)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var startDate__handle__ = startDate.GetHandle ();
+ var endDate__handle__ = endDate.GetHandle ();
+ return Runtime.GetNSObject<NSPredicate> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_NativeHandle_UIntPtr (class_ptr, Selector.GetHandle ("predicateForWorkoutActivitiesWithStartDate:endDate:options:"), startDate__handle__, endDate__handle__, (UIntPtr) (ulong) options))!;
+ #endif
+ }
[Export ("predicateForWorkoutsWithWorkoutActivityType:")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public static NSPredicate GetPredicateForWorkouts (HKWorkoutActivityType workoutActivityType)
{
return Runtime.GetNSObject<NSPredicate> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_UIntPtr (class_ptr, Selector.GetHandle ("predicateForWorkoutsWithWorkoutActivityType:"), (UIntPtr) (ulong) workoutActivityType))!;
}
+ [Export ("predicateForWorkoutsWithActivityPredicate:")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static NSPredicate GetPredicateForWorkouts (NSPredicate activityPredicate)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var activityPredicate__handle__ = activityPredicate!.GetNonNullHandle (nameof (activityPredicate));
+ return Runtime.GetNSObject<NSPredicate> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (class_ptr, Selector.GetHandle ("predicateForWorkoutsWithActivityPredicate:"), activityPredicate__handle__))!;
+ #endif
+ }
+ [Export ("predicateForWorkoutActivitiesWithOperatorType:quantityType:sumQuantity:")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static NSPredicate GetSumQuantityPredicateForWorkoutActivities (NSPredicateOperatorType operatorType, HKQuantityType quantityType, HKQuantity sumQuantity)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var quantityType__handle__ = quantityType!.GetNonNullHandle (nameof (quantityType));
+ var sumQuantity__handle__ = sumQuantity!.GetNonNullHandle (nameof (sumQuantity));
+ return Runtime.GetNSObject<NSPredicate> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_UIntPtr_NativeHandle_NativeHandle (class_ptr, Selector.GetHandle ("predicateForWorkoutActivitiesWithOperatorType:quantityType:sumQuantity:"), (UIntPtr) (ulong) operatorType, quantityType__handle__, sumQuantity__handle__))!;
+ #endif
+ }
+ [Export ("predicateForWorkoutsWithOperatorType:quantityType:sumQuantity:")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static NSPredicate GetSumQuantityPredicateForWorkouts (NSPredicateOperatorType operatorType, HKQuantityType quantityType, HKQuantity sumQuantity)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var quantityType__handle__ = quantityType!.GetNonNullHandle (nameof (quantityType));
+ var sumQuantity__handle__ = sumQuantity!.GetNonNullHandle (nameof (sumQuantity));
+ return Runtime.GetNSObject<NSPredicate> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_UIntPtr_NativeHandle_NativeHandle (class_ptr, Selector.GetHandle ("predicateForWorkoutsWithOperatorType:quantityType:sumQuantity:"), (UIntPtr) (ulong) operatorType, quantityType__handle__, sumQuantity__handle__))!;
+ #endif
+ }
[Export ("predicateForObjectsWithNoCorrelation")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public static NSPredicate PredicateForObjectsWithNoCorrelation ()
@@ -401,9 +635,11 @@ namespace HealthKit {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios9.3")]
[SupportedOSPlatform ("maccatalyst9.3")]
+ [SupportedOSPlatform ("macos13.0")]
public virtual HKObjectType? ObjectType {
[Export ("objectType", ArgumentSemantic.Retain)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
HKObjectType? ret;
@@ -417,10 +653,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public virtual NSPredicate? Predicate {
[Export ("predicate", ArgumentSemantic.Retain)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
NSPredicate? ret;
@@ -442,6 +680,7 @@ namespace HealthKit {
#endif
[UnsupportedOSPlatform ("maccatalyst9.3")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public virtual HKSampleType? SampleType {
[Export ("sampleType", ArgumentSemantic.Retain)]
@@ -454,6 +693,7 @@ namespace HealthKit {
#endif
[UnsupportedOSPlatform ("maccatalyst9.3")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
HKSampleType? ret;
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKQueryAnchor.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKQueryAnchor.g.cs
index 50e4708..9fb9e77 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKQueryAnchor.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKQueryAnchor.g.cs
@@ -51,6 +51,7 @@ using NativeHandle = System.IntPtr;
namespace HealthKit {
[Register("HKQueryAnchor", true)]
[SupportedOSPlatform ("ios9.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
public unsafe partial class HKQueryAnchor : NSObject, INSCoding, INSCopying, INSSecureCoding {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -84,9 +85,9 @@ namespace HealthKit {
[Export ("copyWithZone:")]
[return: ReleaseAttribute ()]
[SupportedOSPlatform ("ios9.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
[UnsupportedOSPlatform ("tvos")]
- [UnsupportedOSPlatform ("macos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual NSObject Copy (NSZone? zone)
{
@@ -103,6 +104,7 @@ namespace HealthKit {
}
[Export ("anchorFromValue:")]
[SupportedOSPlatform ("ios9.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public static HKQueryAnchor Create (nuint value)
@@ -111,9 +113,9 @@ namespace HealthKit {
}
[Export ("encodeWithCoder:")]
[SupportedOSPlatform ("ios9.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
[UnsupportedOSPlatform ("tvos")]
- [UnsupportedOSPlatform ("macos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual void EncodeTo (NSCoder encoder)
{
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKQueryDescriptor.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKQueryDescriptor.g.cs
index d69832b..bbae99d 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKQueryDescriptor.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKQueryDescriptor.g.cs
@@ -51,6 +51,7 @@ using NativeHandle = System.IntPtr;
namespace HealthKit {
[Register("HKQueryDescriptor", true)]
[SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst15.0")]
public unsafe partial class HKQueryDescriptor : NSObject, INSCoding, INSCopying, INSSecureCoding {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -93,6 +94,7 @@ namespace HealthKit {
[Export ("initWithSampleType:predicate:")]
[SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst15.0")]
[DesignatedInitializer]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -114,9 +116,9 @@ namespace HealthKit {
[Export ("copyWithZone:")]
[return: ReleaseAttribute ()]
[SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst15.0")]
[UnsupportedOSPlatform ("tvos")]
- [UnsupportedOSPlatform ("macos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual NSObject Copy (NSZone? zone)
{
@@ -133,9 +135,9 @@ namespace HealthKit {
}
[Export ("encodeWithCoder:")]
[SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst15.0")]
[UnsupportedOSPlatform ("tvos")]
- [UnsupportedOSPlatform ("macos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual void EncodeTo (NSCoder encoder)
{
@@ -148,10 +150,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst15.0")]
public virtual NSPredicate? Predicate {
[Export ("predicate", ArgumentSemantic.Copy)]
[SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst15.0")]
get {
#if ARCH_32
@@ -169,10 +173,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst15.0")]
public virtual HKSampleType SampleType {
[Export ("sampleType", ArgumentSemantic.Copy)]
[SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst15.0")]
get {
#if ARCH_32
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKQueryOptions.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKQueryOptions.g.cs
index 1d89e14..a043ecd 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKQueryOptions.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKQueryOptions.g.cs
@@ -50,6 +50,7 @@ using NativeHandle = System.IntPtr;
#endif
namespace HealthKit {
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[Flags]
[Native]
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKSample.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKSample.g.cs
index 656f338..18dd280 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKSample.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKSample.g.cs
@@ -51,6 +51,7 @@ using NativeHandle = System.IntPtr;
namespace HealthKit {
[Register("HKSample", true)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public unsafe partial class HKSample : HKObject {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -83,10 +84,12 @@ namespace HealthKit {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public virtual NSDate EndDate {
[Export ("endDate", ArgumentSemantic.Retain)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
NSDate? ret;
@@ -101,9 +104,11 @@ namespace HealthKit {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios14.3")]
[SupportedOSPlatform ("maccatalyst14.3")]
+ [SupportedOSPlatform ("macos13.0")]
public virtual bool HasUndeterminedDuration {
[Export ("hasUndeterminedDuration")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
#if ARCH_32
@@ -119,10 +124,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public virtual HKSampleType SampleType {
[Export ("sampleType", ArgumentSemantic.Retain)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
HKSampleType? ret;
@@ -136,10 +143,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public virtual NSDate StartDate {
[Export ("startDate", ArgumentSemantic.Retain)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
NSDate? ret;
@@ -155,9 +164,11 @@ namespace HealthKit {
static NSString? _SortIdentifierEndDate;
[Field ("HKSampleSortIdentifierEndDate", "HealthKit")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public static NSString SortIdentifierEndDate {
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
if (_SortIdentifierEndDate is null)
@@ -169,9 +180,11 @@ namespace HealthKit {
static NSString? _SortIdentifierStartDate;
[Field ("HKSampleSortIdentifierStartDate", "HealthKit")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public static NSString SortIdentifierStartDate {
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
if (_SortIdentifierStartDate is null)
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKSampleQuery.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKSampleQuery.g.cs
index ffeee78..93cff43 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKSampleQuery.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKSampleQuery.g.cs
@@ -51,6 +51,7 @@ using NativeHandle = System.IntPtr;
namespace HealthKit {
[Register("HKSampleQuery", true)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public unsafe partial class HKSampleQuery : HKQuery {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -70,6 +71,7 @@ namespace HealthKit {
[Export ("initWithSampleType:predicate:limit:sortDescriptors:resultsHandler:")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public unsafe HKSampleQuery (HKSampleType sampleType, NSPredicate? predicate, nuint limit, NSSortDescriptor[]? sortDescriptors, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDHKSampleQueryResultsHandler))]HKSampleQueryResultsHandler resultsHandler)
@@ -97,6 +99,7 @@ namespace HealthKit {
[Export ("initWithQueryDescriptors:limit:resultsHandler:")]
[SupportedOSPlatform ("ios15.0")]
[SupportedOSPlatform ("maccatalyst15.0")]
+ [SupportedOSPlatform ("macos13.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public unsafe HKSampleQuery (HKQueryDescriptor[] queryDescriptors, nint limit, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDHKSampleQueryResultsHandler))]HKSampleQueryResultsHandler resultsHandler)
: base (NSObjectFlag.Empty)
@@ -126,6 +129,7 @@ namespace HealthKit {
[Export ("initWithQueryDescriptors:limit:sortDescriptors:resultsHandler:")]
[SupportedOSPlatform ("ios15.0")]
[SupportedOSPlatform ("maccatalyst15.0")]
+ [SupportedOSPlatform ("macos13.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public unsafe HKSampleQuery (HKQueryDescriptor[] queryDescriptors, nint limit, NSSortDescriptor[] sortDescriptors, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDHKSampleQueryResultsHandler))]HKSampleQueryResultsHandler resultsHandler)
: base (NSObjectFlag.Empty)
@@ -158,10 +162,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public virtual nuint Limit {
[Export ("limit")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
if (IsDirectBinding) {
@@ -173,10 +179,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public virtual NSSortDescriptor[]? SortDescriptors {
[Export ("sortDescriptors")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
NSSortDescriptor[]? ret;
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKSampleType.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKSampleType.g.cs
index c581b4c..fc6f8cb 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKSampleType.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKSampleType.g.cs
@@ -51,6 +51,7 @@ using NativeHandle = System.IntPtr;
namespace HealthKit {
[Register("HKSampleType", true)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public unsafe partial class HKSampleType : HKObjectType {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -84,9 +85,11 @@ namespace HealthKit {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios15.0")]
[SupportedOSPlatform ("maccatalyst15.0")]
+ [SupportedOSPlatform ("macos13.0")]
public virtual bool AllowsRecalibrationForEstimates {
[Export ("allowsRecalibrationForEstimates")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
#if ARCH_32
@@ -103,9 +106,11 @@ namespace HealthKit {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
+ [SupportedOSPlatform ("macos13.0")]
public virtual bool IsMaximumDurationRestricted {
[Export ("isMaximumDurationRestricted")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
#if ARCH_32
@@ -122,9 +127,11 @@ namespace HealthKit {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
+ [SupportedOSPlatform ("macos13.0")]
public virtual bool IsMinimumDurationRestricted {
[Export ("isMinimumDurationRestricted")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
#if ARCH_32
@@ -141,9 +148,11 @@ namespace HealthKit {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
+ [SupportedOSPlatform ("macos13.0")]
public virtual double MaximumAllowedDuration {
[Export ("maximumAllowedDuration")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
#if ARCH_32
@@ -160,9 +169,11 @@ namespace HealthKit {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
+ [SupportedOSPlatform ("macos13.0")]
public virtual double MinimumAllowedDuration {
[Export ("minimumAllowedDuration")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
#if ARCH_32
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKSeriesBuilder.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKSeriesBuilder.g.cs
index 14812df..cf84a4f 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKSeriesBuilder.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKSeriesBuilder.g.cs
@@ -51,6 +51,7 @@ using NativeHandle = System.IntPtr;
namespace HealthKit {
[Register("HKSeriesBuilder", true)]
[SupportedOSPlatform ("ios11.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst11.0")]
public unsafe partial class HKSeriesBuilder : NSObject, INSCoding, INSSecureCoding {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -93,6 +94,7 @@ namespace HealthKit {
[Export ("discard")]
[SupportedOSPlatform ("ios11.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst11.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual void Discard ()
@@ -109,9 +111,9 @@ namespace HealthKit {
}
[Export ("encodeWithCoder:")]
[SupportedOSPlatform ("ios11.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst11.0")]
[UnsupportedOSPlatform ("tvos")]
- [UnsupportedOSPlatform ("macos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual void EncodeTo (NSCoder encoder)
{
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKSeriesSample.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKSeriesSample.g.cs
index 8ace402..7584aa8 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKSeriesSample.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKSeriesSample.g.cs
@@ -51,6 +51,7 @@ using NativeHandle = System.IntPtr;
namespace HealthKit {
[Register("HKSeriesSample", true)]
[SupportedOSPlatform ("ios11.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst11.0")]
public unsafe partial class HKSeriesSample : HKSample, INSCopying {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -94,9 +95,9 @@ namespace HealthKit {
[Export ("copyWithZone:")]
[return: ReleaseAttribute ()]
[SupportedOSPlatform ("ios11.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst11.0")]
[UnsupportedOSPlatform ("tvos")]
- [UnsupportedOSPlatform ("macos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual NSObject Copy (NSZone? zone)
{
@@ -113,10 +114,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios11.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst11.0")]
public virtual nuint Count {
[Export ("count")]
[SupportedOSPlatform ("ios11.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst11.0")]
get {
#if ARCH_32
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKSeriesType.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKSeriesType.g.cs
index 1977633..f6a9195 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKSeriesType.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKSeriesType.g.cs
@@ -51,6 +51,7 @@ using NativeHandle = System.IntPtr;
namespace HealthKit {
[Register("HKSeriesType", true)]
[SupportedOSPlatform ("ios11.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst11.0")]
public unsafe partial class HKSeriesType : HKSampleType {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -94,9 +95,11 @@ namespace HealthKit {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
+ [SupportedOSPlatform ("macos13.0")]
public static HKSeriesType HeartbeatSeriesType {
[Export ("heartbeatSeriesType")]
[SupportedOSPlatform ("ios11.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst11.0")]
get {
#if ARCH_32
@@ -110,10 +113,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios11.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst11.0")]
public static HKSeriesType WorkoutRouteType {
[Export ("workoutRouteType")]
[SupportedOSPlatform ("ios11.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst11.0")]
get {
#if ARCH_32
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKSource.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKSource.g.cs
index 929cb01..1ea833e 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKSource.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKSource.g.cs
@@ -51,6 +51,7 @@ using NativeHandle = System.IntPtr;
namespace HealthKit {
[Register("HKSource", true)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public unsafe partial class HKSource : NSObject, INSCoding, INSCopying, INSSecureCoding {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -84,9 +85,9 @@ namespace HealthKit {
[Export ("copyWithZone:")]
[return: ReleaseAttribute ()]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[UnsupportedOSPlatform ("tvos")]
- [UnsupportedOSPlatform ("macos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual NSObject Copy (NSZone? zone)
{
@@ -103,9 +104,9 @@ namespace HealthKit {
}
[Export ("encodeWithCoder:")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[UnsupportedOSPlatform ("tvos")]
- [UnsupportedOSPlatform ("macos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual void EncodeTo (NSCoder encoder)
{
@@ -118,10 +119,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public virtual string BundleIdentifier {
[Export ("bundleIdentifier")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
if (IsDirectBinding) {
@@ -133,10 +136,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public static HKSource GetDefaultSource {
[Export ("defaultSource")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
HKSource? ret;
@@ -146,10 +151,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public virtual string Name {
[Export ("name")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
if (IsDirectBinding) {
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKSourceQuery.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKSourceQuery.g.cs
index d661e01..6925e68 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKSourceQuery.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKSourceQuery.g.cs
@@ -51,6 +51,7 @@ using NativeHandle = System.IntPtr;
namespace HealthKit {
[Register("HKSourceQuery", true)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public unsafe partial class HKSourceQuery : HKQuery {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -70,6 +71,7 @@ namespace HealthKit {
[Export ("initWithSampleType:samplePredicate:completionHandler:")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public unsafe HKSourceQuery (HKSampleType sampleType, NSPredicate? objectPredicate, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDHKSourceQueryCompletionHandler))]HKSourceQueryCompletionHandler completionHandler)
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKSourceRevision.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKSourceRevision.g.cs
index 09994b9..ef0f3c5 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKSourceRevision.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKSourceRevision.g.cs
@@ -51,6 +51,7 @@ using NativeHandle = System.IntPtr;
namespace HealthKit {
[Register("HKSourceRevision", true)]
[SupportedOSPlatform ("ios9.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
public unsafe partial class HKSourceRevision : NSObject, INSCoding, INSCopying, INSSecureCoding {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -83,6 +84,7 @@ namespace HealthKit {
[Export ("initWithSource:version:")]
[SupportedOSPlatform ("ios9.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public HKSourceRevision (HKSource source, string? version)
@@ -100,6 +102,7 @@ namespace HealthKit {
[Export ("initWithSource:version:productType:operatingSystemVersion:")]
[SupportedOSPlatform ("ios11.0")]
[SupportedOSPlatform ("maccatalyst11.0")]
+ [SupportedOSPlatform ("macos13.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public HKSourceRevision (HKSource source, string? version, string? productType, NSOperatingSystemVersion operatingSystemVersion)
: base (NSObjectFlag.Empty)
@@ -122,9 +125,9 @@ namespace HealthKit {
[Export ("copyWithZone:")]
[return: ReleaseAttribute ()]
[SupportedOSPlatform ("ios9.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
[UnsupportedOSPlatform ("tvos")]
- [UnsupportedOSPlatform ("macos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual NSObject Copy (NSZone? zone)
{
@@ -141,9 +144,9 @@ namespace HealthKit {
}
[Export ("encodeWithCoder:")]
[SupportedOSPlatform ("ios9.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
[UnsupportedOSPlatform ("tvos")]
- [UnsupportedOSPlatform ("macos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual void EncodeTo (NSCoder encoder)
{
@@ -157,9 +160,11 @@ namespace HealthKit {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios11.0")]
[SupportedOSPlatform ("maccatalyst11.0")]
+ [SupportedOSPlatform ("macos13.0")]
public virtual NSOperatingSystemVersion OperatingSystemVersion {
[Export ("operatingSystemVersion", ArgumentSemantic.UnsafeUnretained)]
[SupportedOSPlatform ("ios9.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
get {
#if ARCH_32
@@ -194,9 +199,11 @@ namespace HealthKit {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios11.0")]
[SupportedOSPlatform ("maccatalyst11.0")]
+ [SupportedOSPlatform ("macos13.0")]
public virtual string? ProductType {
[Export ("productType")]
[SupportedOSPlatform ("ios9.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
get {
#if ARCH_32
@@ -212,10 +219,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios9.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
public virtual HKSource Source {
[Export ("source")]
[SupportedOSPlatform ("ios9.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
get {
HKSource? ret;
@@ -229,10 +238,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios9.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
public virtual string? Version {
[Export ("version")]
[SupportedOSPlatform ("ios9.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
get {
if (IsDirectBinding) {
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKSourceRevisionInfo.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKSourceRevisionInfo.g.cs
index 3debe61..c180a47 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKSourceRevisionInfo.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKSourceRevisionInfo.g.cs
@@ -50,15 +50,18 @@ using NativeHandle = System.IntPtr;
#endif
namespace HealthKit {
[SupportedOSPlatform ("ios11.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst11.0")]
public unsafe static partial class HKSourceRevisionInfo {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
static NSString? _AnyProductType;
[Field ("HKSourceRevisionAnyProductType", "HealthKit")]
[SupportedOSPlatform ("ios11.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst11.0")]
public static NSString AnyProductType {
[SupportedOSPlatform ("ios11.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst11.0")]
get {
if (_AnyProductType is null)
@@ -70,9 +73,11 @@ namespace HealthKit {
static NSString? _AnyVersion;
[Field ("HKSourceRevisionAnyVersion", "HealthKit")]
[SupportedOSPlatform ("ios11.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst11.0")]
public static NSString AnyVersion {
[SupportedOSPlatform ("ios11.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst11.0")]
get {
if (_AnyVersion is null)
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKStatistics.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKStatistics.g.cs
index 30346c7..36a1f02 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKStatistics.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKStatistics.g.cs
@@ -51,6 +51,7 @@ using NativeHandle = System.IntPtr;
namespace HealthKit {
[Register("HKStatistics", true)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public unsafe partial class HKStatistics : NSObject, INSCoding, INSCopying, INSSecureCoding {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -83,6 +84,7 @@ namespace HealthKit {
[Export ("averageQuantityForSource:")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual HKQuantity? AverageQuantity (HKSource source)
@@ -96,6 +98,7 @@ namespace HealthKit {
}
[Export ("averageQuantity")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual HKQuantity? AverageQuantity ()
@@ -109,9 +112,9 @@ namespace HealthKit {
[Export ("copyWithZone:")]
[return: ReleaseAttribute ()]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[UnsupportedOSPlatform ("tvos")]
- [UnsupportedOSPlatform ("macos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual NSObject Copy (NSZone? zone)
{
@@ -128,9 +131,9 @@ namespace HealthKit {
}
[Export ("encodeWithCoder:")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[UnsupportedOSPlatform ("tvos")]
- [UnsupportedOSPlatform ("macos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual void EncodeTo (NSCoder encoder)
{
@@ -144,6 +147,7 @@ namespace HealthKit {
[Export ("durationForSource:")]
[SupportedOSPlatform ("ios13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
+ [SupportedOSPlatform ("macos13.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual HKQuantity? GetDuration (HKSource source)
{
@@ -161,6 +165,7 @@ namespace HealthKit {
[Export ("mostRecentQuantityForSource:")]
[SupportedOSPlatform ("ios12.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
+ [SupportedOSPlatform ("macos13.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual HKQuantity? GetMostRecentQuantity (HKSource source)
{
@@ -178,6 +183,7 @@ namespace HealthKit {
[Export ("mostRecentQuantityDateIntervalForSource:")]
[SupportedOSPlatform ("ios12.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
+ [SupportedOSPlatform ("macos13.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual NSDateInterval? GetMostRecentQuantityDateInterval (HKSource source)
{
@@ -194,6 +200,7 @@ namespace HealthKit {
}
[Export ("maximumQuantityForSource:")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual HKQuantity? MaximumQuantity (HKSource source)
@@ -207,6 +214,7 @@ namespace HealthKit {
}
[Export ("maximumQuantity")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual HKQuantity? MaximumQuantity ()
@@ -219,6 +227,7 @@ namespace HealthKit {
}
[Export ("minimumQuantityForSource:")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual HKQuantity? MinimumQuantity (HKSource source)
@@ -232,6 +241,7 @@ namespace HealthKit {
}
[Export ("minimumQuantity")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual HKQuantity? MinimumQuantity ()
@@ -244,6 +254,7 @@ namespace HealthKit {
}
[Export ("sumQuantityForSource:")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual HKQuantity? SumQuantity (HKSource source)
@@ -257,6 +268,7 @@ namespace HealthKit {
}
[Export ("sumQuantity")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual HKQuantity? SumQuantity ()
@@ -270,9 +282,11 @@ namespace HealthKit {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
+ [SupportedOSPlatform ("macos13.0")]
public virtual HKQuantity? Duration {
[Export ("duration")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
#if ARCH_32
@@ -290,10 +304,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public virtual NSDate EndDate {
[Export ("endDate", ArgumentSemantic.Retain)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
NSDate? ret;
@@ -308,9 +324,11 @@ namespace HealthKit {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios12.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
+ [SupportedOSPlatform ("macos13.0")]
public virtual HKQuantity? MostRecentQuantity {
[Export ("mostRecentQuantity")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
#if ARCH_32
@@ -329,9 +347,11 @@ namespace HealthKit {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios12.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
+ [SupportedOSPlatform ("macos13.0")]
public virtual NSDateInterval? MostRecentQuantityDateInterval {
[Export ("mostRecentQuantityDateInterval")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
#if ARCH_32
@@ -349,10 +369,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public virtual HKQuantityType QuantityType {
[Export ("quantityType", ArgumentSemantic.Retain)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
HKQuantityType? ret;
@@ -366,10 +388,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public virtual HKSource[]? Sources {
[Export ("sources")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
HKSource[]? ret;
@@ -383,10 +407,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public virtual NSDate StartDate {
[Export ("startDate", ArgumentSemantic.Retain)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
NSDate? ret;
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKStatisticsCollection.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKStatisticsCollection.g.cs
index 13fe1c6..5ade200 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKStatisticsCollection.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKStatisticsCollection.g.cs
@@ -51,6 +51,7 @@ using NativeHandle = System.IntPtr;
namespace HealthKit {
[Register("HKStatisticsCollection", true)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public unsafe partial class HKStatisticsCollection : NSObject {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -70,6 +71,7 @@ namespace HealthKit {
[Export ("enumerateStatisticsFromDate:toDate:withBlock:")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public unsafe virtual void EnumerateStatistics (NSDate startDate, NSDate endDate, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDHKStatisticsCollectionEnumerator))]HKStatisticsCollectionEnumerator handler)
@@ -92,6 +94,7 @@ namespace HealthKit {
}
[Export ("statisticsForDate:")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual HKStatistics? GetStatistics (NSDate date)
@@ -105,10 +108,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public virtual NSSet Sources {
[Export ("sources")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
NSSet? ret;
@@ -122,10 +127,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public virtual HKStatistics[] Statistics {
[Export ("statistics")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
HKStatistics[]? ret;
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKStatisticsCollectionQuery.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKStatisticsCollectionQuery.g.cs
index 3b43d02..a4eda70 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKStatisticsCollectionQuery.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKStatisticsCollectionQuery.g.cs
@@ -51,6 +51,7 @@ using NativeHandle = System.IntPtr;
namespace HealthKit {
[Register("HKStatisticsCollectionQuery", true)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public unsafe partial class HKStatisticsCollectionQuery : HKQuery {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -70,6 +71,7 @@ namespace HealthKit {
[Export ("initWithQuantityType:quantitySamplePredicate:options:anchorDate:intervalComponents:")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public HKStatisticsCollectionQuery (HKQuantityType quantityType, NSPredicate? quantitySamplePredicate, HKStatisticsOptions options, NSDate anchorDate, NSDateComponents intervalComponents)
@@ -87,10 +89,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public virtual NSDate AnchorDate {
[Export ("anchorDate", ArgumentSemantic.Retain)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
NSDate? ret;
@@ -104,11 +108,13 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public unsafe virtual HKStatisticsCollectionQueryInitialResultsHandler? InitialResultsHandler {
[return: DelegateProxy (typeof (ObjCRuntime.Trampolines.SDHKStatisticsCollectionQueryInitialResultsHandler))]
[Export ("initialResultsHandler", ArgumentSemantic.Copy)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
NativeHandle ret;
@@ -122,6 +128,7 @@ namespace HealthKit {
[param: BlockProxy (typeof (ObjCRuntime.Trampolines.NIDHKStatisticsCollectionQueryInitialResultsHandler))]
[Export ("setInitialResultsHandler:", ArgumentSemantic.Copy)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
set {
BlockLiteral *block_ptr_value;
@@ -139,10 +146,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public virtual NSDateComponents IntervalComponents {
[Export ("intervalComponents", ArgumentSemantic.Copy)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
NSDateComponents? ret;
@@ -156,10 +165,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public virtual HKStatisticsOptions Options {
[Export ("options")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
HKStatisticsOptions ret;
@@ -173,11 +184,13 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public unsafe virtual HKStatisticsCollectionQueryStatisticsUpdateHandler? StatisticsUpdated {
[return: DelegateProxy (typeof (ObjCRuntime.Trampolines.SDHKStatisticsCollectionQueryStatisticsUpdateHandler))]
[Export ("statisticsUpdateHandler", ArgumentSemantic.Copy)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
NativeHandle ret;
@@ -191,6 +204,7 @@ namespace HealthKit {
[param: BlockProxy (typeof (ObjCRuntime.Trampolines.NIDHKStatisticsCollectionQueryStatisticsUpdateHandler))]
[Export ("setStatisticsUpdateHandler:", ArgumentSemantic.Copy)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
set {
BlockLiteral *block_ptr_value;
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKStatisticsOptions.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKStatisticsOptions.g.cs
index 24499c9..8be5f67 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKStatisticsOptions.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKStatisticsOptions.g.cs
@@ -50,6 +50,7 @@ using NativeHandle = System.IntPtr;
#endif
namespace HealthKit {
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[Flags]
[Native]
@@ -62,9 +63,11 @@ namespace HealthKit {
CumulativeSum = 16,
[SupportedOSPlatform ("ios13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
+ [SupportedOSPlatform ("macos13.0")]
MostRecent = 32,
[SupportedOSPlatform ("ios13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
+ [SupportedOSPlatform ("macos13.0")]
Duration = 64,
}
}
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKStatisticsQuery.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKStatisticsQuery.g.cs
index 1e652b0..c02ac45 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKStatisticsQuery.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKStatisticsQuery.g.cs
@@ -51,6 +51,7 @@ using NativeHandle = System.IntPtr;
namespace HealthKit {
[Register("HKStatisticsQuery", true)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public unsafe partial class HKStatisticsQuery : HKQuery {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -70,6 +71,7 @@ namespace HealthKit {
[Export ("initWithQuantityType:quantitySamplePredicate:options:completionHandler:")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public unsafe HKStatisticsQuery (HKQuantityType quantityType, NSPredicate? quantitySamplePredicate, HKStatisticsOptions options, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDHKStatisticsQueryHandler))]HKStatisticsQueryHandler handler)
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKSwimmingStrokeStyle.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKSwimmingStrokeStyle.g.cs
index d6b6a41..2964d91 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKSwimmingStrokeStyle.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKSwimmingStrokeStyle.g.cs
@@ -50,6 +50,7 @@ using NativeHandle = System.IntPtr;
#endif
namespace HealthKit {
[SupportedOSPlatform ("ios10.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
[Native]
public enum HKSwimmingStrokeStyle : long {
@@ -59,5 +60,10 @@ namespace HealthKit {
Backstroke = 3,
Breaststroke = 4,
Butterfly = 5,
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ Kickboard = 6,
}
}
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKUnit.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKUnit.g.cs
index 9fce851..fa538c2 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKUnit.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKUnit.g.cs
@@ -51,6 +51,7 @@ using NativeHandle = System.IntPtr;
namespace HealthKit {
[Register("HKUnit", true)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public unsafe partial class HKUnit : NSObject, INSCoding, INSCopying, INSSecureCoding {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -84,9 +85,9 @@ namespace HealthKit {
[Export ("copyWithZone:")]
[return: ReleaseAttribute ()]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[UnsupportedOSPlatform ("tvos")]
- [UnsupportedOSPlatform ("macos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual NSObject Copy (NSZone? zone)
{
@@ -103,6 +104,7 @@ namespace HealthKit {
}
[Export ("jouleUnitWithMetricPrefix:")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public static HKUnit CreateJouleUnit (HKMetricPrefix prefix)
@@ -111,6 +113,7 @@ namespace HealthKit {
}
[Export ("literUnitWithMetricPrefix:")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public static HKUnit CreateLiterUnit (HKMetricPrefix prefix)
@@ -119,6 +122,7 @@ namespace HealthKit {
}
[Export ("meterUnitWithMetricPrefix:")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public static HKUnit CreateMeterUnit (HKMetricPrefix prefix)
@@ -127,6 +131,7 @@ namespace HealthKit {
}
[Export ("moleUnitWithMetricPrefix:molarMass:")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public static HKUnit CreateMoleUnit (HKMetricPrefix prefix, double gramsPerMole)
@@ -135,6 +140,7 @@ namespace HealthKit {
}
[Export ("moleUnitWithMolarMass:")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public static HKUnit CreateMoleUnit (double gramsPerMole)
@@ -143,14 +149,30 @@ namespace HealthKit {
}
[Export ("pascalUnitWithMetricPrefix:")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public static HKUnit CreatePascalUnit (HKMetricPrefix prefix)
{
return Runtime.GetNSObject<HKUnit> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_IntPtr (class_ptr, Selector.GetHandle ("pascalUnitWithMetricPrefix:"), (IntPtr) (long) prefix))!;
}
+ [Export ("radianAngleUnitWithMetricPrefix:")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static HKUnit CreateRadianAngle (HKMetricPrefix prefix)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ return Runtime.GetNSObject<HKUnit> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_IntPtr (class_ptr, Selector.GetHandle ("radianAngleUnitWithMetricPrefix:"), (IntPtr) (long) prefix))!;
+ #endif
+ }
[Export ("secondUnitWithMetricPrefix:")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public static HKUnit CreateSecondUnit (HKMetricPrefix prefix)
@@ -159,17 +181,32 @@ namespace HealthKit {
}
[Export ("siemenUnitWithMetricPrefix:")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public static HKUnit CreateSiemenUnit (HKMetricPrefix prefix)
{
return Runtime.GetNSObject<HKUnit> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_IntPtr (class_ptr, Selector.GetHandle ("siemenUnitWithMetricPrefix:"), (IntPtr) (long) prefix))!;
}
+ [Export ("wattUnitWithMetricPrefix:")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static HKUnit CreateWatt (HKMetricPrefix prefix)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ return Runtime.GetNSObject<HKUnit> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_IntPtr (class_ptr, Selector.GetHandle ("wattUnitWithMetricPrefix:"), (IntPtr) (long) prefix))!;
+ #endif
+ }
[Export ("encodeWithCoder:")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[UnsupportedOSPlatform ("tvos")]
- [UnsupportedOSPlatform ("macos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual void EncodeTo (NSCoder encoder)
{
@@ -182,6 +219,7 @@ namespace HealthKit {
}
[Export ("unitFromEnergyFormatterUnit:")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public static HKUnit FromEnergyFormatterUnit (NSEnergyFormatterUnit energyFormatterUnit)
@@ -190,6 +228,7 @@ namespace HealthKit {
}
[Export ("gramUnitWithMetricPrefix:")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public static HKUnit FromGramUnit (HKMetricPrefix prefix)
@@ -198,6 +237,7 @@ namespace HealthKit {
}
[Export ("unitFromLengthFormatterUnit:")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public static HKUnit FromLengthFormatterUnit (NSLengthFormatterUnit lengthFormatterUnit)
@@ -206,6 +246,7 @@ namespace HealthKit {
}
[Export ("unitFromMassFormatterUnit:")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public static HKUnit FromMassFormatterUnit (NSMassFormatterUnit massFormatterUnit)
@@ -214,6 +255,7 @@ namespace HealthKit {
}
[Export ("unitFromString:")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public static HKUnit FromString (string aString)
@@ -228,6 +270,7 @@ namespace HealthKit {
}
[Export ("energyFormatterUnitFromUnit:")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public static NSEnergyFormatterUnit GetEnergyFormatterUnit (HKUnit unit)
@@ -240,6 +283,7 @@ namespace HealthKit {
[Export ("hertzUnitWithMetricPrefix:")]
[SupportedOSPlatform ("ios13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
+ [SupportedOSPlatform ("macos13.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public static HKUnit GetHertzUnit (HKMetricPrefix prefix)
{
@@ -251,6 +295,7 @@ namespace HealthKit {
}
[Export ("lengthFormatterUnitFromUnit:")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public static NSLengthFormatterUnit GetLengthFormatterUnit (HKUnit unit)
@@ -262,6 +307,7 @@ namespace HealthKit {
}
[Export ("massFormatterUnitFromUnit:")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public static NSMassFormatterUnit GetMassFormatterUnit (HKUnit unit)
@@ -274,6 +320,7 @@ namespace HealthKit {
[Export ("voltUnitWithMetricPrefix:")]
[SupportedOSPlatform ("ios14.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
+ [SupportedOSPlatform ("macos13.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public static HKUnit GetVolt (HKMetricPrefix prefix)
{
@@ -285,6 +332,7 @@ namespace HealthKit {
}
[Export ("reciprocalUnit")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual HKUnit ReciprocalUnit ()
@@ -297,6 +345,7 @@ namespace HealthKit {
}
[Export ("unitDividedByUnit:")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual HKUnit UnitDividedBy (HKUnit unit)
@@ -310,6 +359,7 @@ namespace HealthKit {
}
[Export ("unitMultipliedByUnit:")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual HKUnit UnitMultipliedBy (HKUnit unit)
@@ -323,6 +373,7 @@ namespace HealthKit {
}
[Export ("unitRaisedToPower:")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual HKUnit UnitRaisedToPower (nint power)
@@ -335,10 +386,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public static HKUnit Atmosphere {
[Export ("atmosphereUnit")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
HKUnit? ret;
@@ -356,6 +409,7 @@ namespace HealthKit {
#endif
[UnsupportedOSPlatform ("maccatalyst11.0")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public static HKUnit Calorie {
[Export ("calorieUnit")]
@@ -368,6 +422,7 @@ namespace HealthKit {
#endif
[UnsupportedOSPlatform ("maccatalyst11.0")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
HKUnit? ret;
@@ -377,10 +432,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public static HKUnit CentimeterOfWater {
[Export ("centimeterOfWaterUnit")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
HKUnit? ret;
@@ -390,10 +447,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public static HKUnit Count {
[Export ("countUnit")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
HKUnit? ret;
@@ -404,9 +463,11 @@ namespace HealthKit {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios9.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
+ [SupportedOSPlatform ("macos13.0")]
public static HKUnit CupImperialUnit {
[Export ("cupImperialUnit")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
HKUnit? ret;
@@ -417,9 +478,11 @@ namespace HealthKit {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios9.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
+ [SupportedOSPlatform ("macos13.0")]
public static HKUnit CupUSUnit {
[Export ("cupUSUnit")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
HKUnit? ret;
@@ -429,10 +492,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public static HKUnit Day {
[Export ("dayUnit")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
HKUnit? ret;
@@ -443,9 +508,11 @@ namespace HealthKit {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
+ [SupportedOSPlatform ("macos13.0")]
public static HKUnit DecibelAWeightedSoundPressureLevelUnit {
[Export ("decibelAWeightedSoundPressureLevelUnit")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
#if ARCH_32
@@ -460,9 +527,11 @@ namespace HealthKit {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
+ [SupportedOSPlatform ("macos13.0")]
public static HKUnit DecibelHearingLevelUnit {
[Export ("decibelHearingLevelUnit")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
#if ARCH_32
@@ -475,11 +544,34 @@ namespace HealthKit {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ public static HKUnit DegreeAngle {
+ [Export ("degreeAngleUnit")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ HKUnit? ret;
+ ret = Runtime.GetNSObject<HKUnit> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (class_ptr, Selector.GetHandle ("degreeAngleUnit")))!;
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public static HKUnit DegreeCelsius {
[Export ("degreeCelsiusUnit")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
HKUnit? ret;
@@ -489,10 +581,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public static HKUnit DegreeFahrenheit {
[Export ("degreeFahrenheitUnit")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
HKUnit? ret;
@@ -501,11 +595,34 @@ namespace HealthKit {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ public static HKUnit Diopter {
+ [Export ("diopterUnit")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ HKUnit? ret;
+ ret = Runtime.GetNSObject<HKUnit> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (class_ptr, Selector.GetHandle ("diopterUnit")))!;
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public static HKUnit FluidOunceImperialUnit {
[Export ("fluidOunceImperialUnit")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
HKUnit? ret;
@@ -515,10 +632,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public static HKUnit FluidOunceUSUnit {
[Export ("fluidOunceUSUnit")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
HKUnit? ret;
@@ -528,10 +647,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public static HKUnit Foot {
[Export ("footUnit")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
HKUnit? ret;
@@ -541,10 +662,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public static HKUnit Gram {
[Export ("gramUnit")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
HKUnit? ret;
@@ -555,9 +678,11 @@ namespace HealthKit {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
+ [SupportedOSPlatform ("macos13.0")]
public static HKUnit HertzUnit {
[Export ("hertzUnit")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
#if ARCH_32
@@ -571,10 +696,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public static HKUnit Hour {
[Export ("hourUnit")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
HKUnit? ret;
@@ -584,10 +711,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public static HKUnit Inch {
[Export ("inchUnit")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
HKUnit? ret;
@@ -598,9 +727,11 @@ namespace HealthKit {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios14.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
+ [SupportedOSPlatform ("macos13.0")]
public static HKUnit InchesOfMercury {
[Export ("inchesOfMercuryUnit")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
#if ARCH_32
@@ -615,9 +746,11 @@ namespace HealthKit {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios11.0")]
[SupportedOSPlatform ("maccatalyst11.0")]
+ [SupportedOSPlatform ("macos13.0")]
public static HKUnit InternationalUnit {
[Export ("internationalUnit")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
#if ARCH_32
@@ -631,10 +764,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public virtual bool IsNull {
[Export ("isNull")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
if (IsDirectBinding) {
@@ -646,10 +781,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public static HKUnit Joule {
[Export ("jouleUnit")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
HKUnit? ret;
@@ -659,10 +796,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public static HKUnit Kelvin {
[Export ("kelvinUnit")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
HKUnit? ret;
@@ -672,10 +811,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public static HKUnit Kilocalorie {
[Export ("kilocalorieUnit")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
HKUnit? ret;
@@ -686,9 +827,11 @@ namespace HealthKit {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios11.0")]
[SupportedOSPlatform ("maccatalyst11.0")]
+ [SupportedOSPlatform ("macos13.0")]
public static HKUnit LargeCalorie {
[Export ("largeCalorieUnit")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
#if ARCH_32
@@ -702,10 +845,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public static HKUnit Liter {
[Export ("literUnit")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
HKUnit? ret;
@@ -715,10 +860,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public static HKUnit Meter {
[Export ("meterUnit")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
HKUnit? ret;
@@ -728,10 +875,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public static HKUnit Mile {
[Export ("mileUnit")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
HKUnit? ret;
@@ -741,10 +890,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public static HKUnit MillimeterOfMercury {
[Export ("millimeterOfMercuryUnit")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
HKUnit? ret;
@@ -754,10 +905,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public static HKUnit Minute {
[Export ("minuteUnit")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
HKUnit? ret;
@@ -767,10 +920,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public static HKUnit Ounce {
[Export ("ounceUnit")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
HKUnit? ret;
@@ -780,10 +935,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public static HKUnit Pascal {
[Export ("pascalUnit")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
HKUnit? ret;
@@ -793,10 +950,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public static HKUnit Percent {
[Export ("percentUnit")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
HKUnit? ret;
@@ -806,10 +965,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public static HKUnit PintImperialUnit {
[Export ("pintImperialUnit")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
HKUnit? ret;
@@ -819,10 +980,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public static HKUnit PintUSUnit {
[Export ("pintUSUnit")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
HKUnit? ret;
@@ -832,10 +995,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public static HKUnit Pound {
[Export ("poundUnit")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
HKUnit? ret;
@@ -844,11 +1009,55 @@ namespace HealthKit {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ public static HKUnit PrismDiopter {
+ [Export ("prismDiopterUnit")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ HKUnit? ret;
+ ret = Runtime.GetNSObject<HKUnit> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (class_ptr, Selector.GetHandle ("prismDiopterUnit")))!;
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ public static HKUnit RadianAngle {
+ [Export ("radianAngleUnit")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ HKUnit? ret;
+ ret = Runtime.GetNSObject<HKUnit> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (class_ptr, Selector.GetHandle ("radianAngleUnit")))!;
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public static HKUnit Second {
[Export ("secondUnit")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
HKUnit? ret;
@@ -858,10 +1067,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public static HKUnit Siemen {
[Export ("siemenUnit")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
HKUnit? ret;
@@ -872,9 +1083,11 @@ namespace HealthKit {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios11.0")]
[SupportedOSPlatform ("maccatalyst11.0")]
+ [SupportedOSPlatform ("macos13.0")]
public static HKUnit SmallCalorie {
[Export ("smallCalorieUnit")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
#if ARCH_32
@@ -888,10 +1101,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public static HKUnit Stone {
[Export ("stoneUnit")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
HKUnit? ret;
@@ -901,10 +1116,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public virtual string UnitString {
[Export ("unitString")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
if (IsDirectBinding) {
@@ -917,9 +1134,11 @@ namespace HealthKit {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios14.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
+ [SupportedOSPlatform ("macos13.0")]
public static HKUnit Volt {
[Export ("voltUnit")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
#if ARCH_32
@@ -932,11 +1151,34 @@ namespace HealthKit {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ public static HKUnit Watt {
+ [Export ("wattUnit")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ HKUnit? ret;
+ ret = Runtime.GetNSObject<HKUnit> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (class_ptr, Selector.GetHandle ("wattUnit")))!;
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios9.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
+ [SupportedOSPlatform ("macos13.0")]
public static HKUnit Yard {
[Export ("yardUnit")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
HKUnit? ret;
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKUpdateFrequency.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKUpdateFrequency.g.cs
index b84b37c..2b9a8d3 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKUpdateFrequency.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKUpdateFrequency.g.cs
@@ -50,6 +50,7 @@ using NativeHandle = System.IntPtr;
#endif
namespace HealthKit {
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[Native]
public enum HKUpdateFrequency : long {
diff --git a/new/dotnet/ios/generated-sources/HealthKit/HKUserMotionContext.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKUserMotionContext.g.cs
new file mode 100644
index 0000000..a476f5a
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKUserMotionContext.g.cs
@@ -0,0 +1,62 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace HealthKit {
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ [Native]
+ public enum HKUserMotionContext : long {
+ NotSet = 0,
+ Stationary = 1,
+ Active = 2,
+ }
+}
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKVO2MaxTestType.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKVO2MaxTestType.g.cs
index 3e1f993..4b74fc4 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKVO2MaxTestType.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKVO2MaxTestType.g.cs
@@ -50,6 +50,7 @@ using NativeHandle = System.IntPtr;
#endif
namespace HealthKit {
[SupportedOSPlatform ("ios11.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst11.0")]
[Native]
public enum HKVO2MaxTestType : long {
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKVerifiableClinicalRecord.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKVerifiableClinicalRecord.g.cs
index bf1f7f7..e6811eb 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKVerifiableClinicalRecord.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKVerifiableClinicalRecord.g.cs
@@ -51,6 +51,7 @@ using NativeHandle = System.IntPtr;
namespace HealthKit {
[Register("HKVerifiableClinicalRecord", true)]
[SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst15.0")]
public unsafe partial class HKVerifiableClinicalRecord : HKSample {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -94,9 +95,11 @@ namespace HealthKit {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios15.4")]
[SupportedOSPlatform ("maccatalyst15.4")]
+ [SupportedOSPlatform ("macos13.0")]
public virtual NSData DataRepresentation {
[Export ("dataRepresentation", ArgumentSemantic.Copy)]
[SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst15.4")]
get {
#if ARCH_32
@@ -114,10 +117,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst15.0")]
public virtual NSDate? ExpirationDate {
[Export ("expirationDate", ArgumentSemantic.Copy)]
[SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst15.0")]
get {
#if ARCH_32
@@ -135,10 +140,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst15.0")]
public virtual NSDate IssuedDate {
[Export ("issuedDate", ArgumentSemantic.Copy)]
[SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst15.0")]
get {
#if ARCH_32
@@ -156,10 +163,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst15.0")]
public virtual string IssuerIdentifier {
[Export ("issuerIdentifier")]
[SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst15.0")]
get {
#if ARCH_32
@@ -175,10 +184,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst15.0")]
public virtual string[] ItemNames {
[Export ("itemNames", ArgumentSemantic.Copy)]
[SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst15.0")]
get {
#if ARCH_32
@@ -202,6 +213,7 @@ namespace HealthKit {
#endif
[UnsupportedOSPlatform ("maccatalyst15.4")]
[SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst15.0")]
public virtual NSData JwsRepresentation {
[Export ("JWSRepresentation", ArgumentSemantic.Copy)]
@@ -214,6 +226,7 @@ namespace HealthKit {
#endif
[UnsupportedOSPlatform ("maccatalyst15.4")]
[SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst15.0")]
get {
#if ARCH_32
@@ -231,10 +244,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst15.0")]
public virtual string[] RecordTypes {
[Export ("recordTypes", ArgumentSemantic.Copy)]
[SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst15.0")]
get {
#if ARCH_32
@@ -250,10 +265,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst15.0")]
public virtual NSDate RelevantDate {
[Export ("relevantDate", ArgumentSemantic.Copy)]
[SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst15.0")]
get {
#if ARCH_32
@@ -272,9 +289,11 @@ namespace HealthKit {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios15.4")]
[SupportedOSPlatform ("maccatalyst15.4")]
+ [SupportedOSPlatform ("macos13.0")]
public virtual string? SourceType {
[Export ("sourceType")]
[SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst15.4")]
get {
#if ARCH_32
@@ -290,10 +309,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst15.0")]
public virtual HKVerifiableClinicalRecordSubject Subject {
[Export ("subject", ArgumentSemantic.Copy)]
[SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst15.0")]
get {
#if ARCH_32
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKVerifiableClinicalRecordCredentialType.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKVerifiableClinicalRecordCredentialType.g.cs
index e159ad1..90e91a3 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKVerifiableClinicalRecordCredentialType.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKVerifiableClinicalRecordCredentialType.g.cs
@@ -51,6 +51,7 @@ using NativeHandle = System.IntPtr;
namespace HealthKit {
[SupportedOSPlatform ("ios15.4")]
[SupportedOSPlatform ("maccatalyst15.4")]
+ [SupportedOSPlatform ("macos13.0")]
public enum HKVerifiableClinicalRecordCredentialType : int {
None = 0,
Covid19 = 1,
@@ -60,11 +61,13 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios15.4")]
[SupportedOSPlatform ("maccatalyst15.4")]
+ [SupportedOSPlatform ("macos13.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
static public partial class HKVerifiableClinicalRecordCredentialTypeExtensions {
static IntPtr[] values = new IntPtr [4];
[SupportedOSPlatform ("ios15.4")]
[SupportedOSPlatform ("maccatalyst15.4")]
+ [SupportedOSPlatform ("macos13.0")]
[Field ("HKVerifiableClinicalRecordCredentialTypeCOVID19", "HealthKit")]
internal unsafe static IntPtr HKVerifiableClinicalRecordCredentialTypeCOVID19 {
get {
@@ -74,6 +77,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios15.4")]
[SupportedOSPlatform ("maccatalyst15.4")]
+ [SupportedOSPlatform ("macos13.0")]
[Field ("HKVerifiableClinicalRecordCredentialTypeImmunization", "HealthKit")]
internal unsafe static IntPtr HKVerifiableClinicalRecordCredentialTypeImmunization {
get {
@@ -83,6 +87,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios15.4")]
[SupportedOSPlatform ("maccatalyst15.4")]
+ [SupportedOSPlatform ("macos13.0")]
[Field ("HKVerifiableClinicalRecordCredentialTypeLaboratory", "HealthKit")]
internal unsafe static IntPtr HKVerifiableClinicalRecordCredentialTypeLaboratory {
get {
@@ -92,6 +97,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios15.4")]
[SupportedOSPlatform ("maccatalyst15.4")]
+ [SupportedOSPlatform ("macos13.0")]
[Field ("HKVerifiableClinicalRecordCredentialTypeRecovery", "HealthKit")]
internal unsafe static IntPtr HKVerifiableClinicalRecordCredentialTypeRecovery {
get {
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKVerifiableClinicalRecordQuery.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKVerifiableClinicalRecordQuery.g.cs
index ecdc110..b2cd560 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKVerifiableClinicalRecordQuery.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKVerifiableClinicalRecordQuery.g.cs
@@ -51,6 +51,7 @@ using NativeHandle = System.IntPtr;
namespace HealthKit {
[Register("HKVerifiableClinicalRecordQuery", true)]
[SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst15.0")]
public unsafe partial class HKVerifiableClinicalRecordQuery : HKQuery {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -76,6 +77,7 @@ namespace HealthKit {
[Export ("initWithRecordTypes:predicate:resultsHandler:")]
[SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst15.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public unsafe HKVerifiableClinicalRecordQuery (string[] recordTypes, NSPredicate? predicate, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDHKVerifiableClinicalRecordQueryResultHandler))]HKVerifiableClinicalRecordQueryResultHandler handler)
@@ -107,6 +109,7 @@ namespace HealthKit {
[Export ("initWithRecordTypes:sourceTypes:predicate:resultsHandler:")]
[SupportedOSPlatform ("ios15.4")]
[SupportedOSPlatform ("maccatalyst15.4")]
+ [SupportedOSPlatform ("macos13.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public unsafe HKVerifiableClinicalRecordQuery (string[] recordTypes, [BindAs (typeof (HKVerifiableClinicalRecordSourceType[]), OriginalType = typeof (NSString[]))] global::HealthKit.HKVerifiableClinicalRecordSourceType[] sourceTypes, NSPredicate? predicate, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity3V8))]global::System.Action<HKVerifiableClinicalRecordQuery, HKVerifiableClinicalRecord[], NSError> resultsHandler)
: base (NSObjectFlag.Empty)
@@ -139,10 +142,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst15.0")]
public virtual string[] RecordTypes {
[Export ("recordTypes", ArgumentSemantic.Copy)]
[SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst15.0")]
get {
#if ARCH_32
@@ -159,10 +164,12 @@ namespace HealthKit {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios15.4")]
[SupportedOSPlatform ("maccatalyst15.4")]
+ [SupportedOSPlatform ("macos13.0")]
[BindAs (typeof (HKVerifiableClinicalRecordSourceType[]), OriginalType = typeof (NSString[]))]
public virtual global::HealthKit.HKVerifiableClinicalRecordSourceType[] SourceTypes {
[Export ("sourceTypes", ArgumentSemantic.Copy)]
[SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst15.4")]
get {
#if ARCH_32
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKVerifiableClinicalRecordSourceType.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKVerifiableClinicalRecordSourceType.g.cs
index 86c7a8a..370df58 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKVerifiableClinicalRecordSourceType.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKVerifiableClinicalRecordSourceType.g.cs
@@ -51,6 +51,7 @@ using NativeHandle = System.IntPtr;
namespace HealthKit {
[SupportedOSPlatform ("ios15.4")]
[SupportedOSPlatform ("maccatalyst15.4")]
+ [SupportedOSPlatform ("macos13.0")]
public enum HKVerifiableClinicalRecordSourceType : int {
None = 0,
SmartHealthCard = 1,
@@ -58,11 +59,13 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios15.4")]
[SupportedOSPlatform ("maccatalyst15.4")]
+ [SupportedOSPlatform ("macos13.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
static public partial class HKVerifiableClinicalRecordSourceTypeExtensions {
static IntPtr[] values = new IntPtr [2];
[SupportedOSPlatform ("ios15.4")]
[SupportedOSPlatform ("maccatalyst15.4")]
+ [SupportedOSPlatform ("macos13.0")]
[Field ("HKVerifiableClinicalRecordSourceTypeSMARTHealthCard", "HealthKit")]
internal unsafe static IntPtr HKVerifiableClinicalRecordSourceTypeSMARTHealthCard {
get {
@@ -72,6 +75,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios15.4")]
[SupportedOSPlatform ("maccatalyst15.4")]
+ [SupportedOSPlatform ("macos13.0")]
[Field ("HKVerifiableClinicalRecordSourceTypeEUDigitalCOVIDCertificate", "HealthKit")]
internal unsafe static IntPtr HKVerifiableClinicalRecordSourceTypeEUDigitalCOVIDCertificate {
get {
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKVerifiableClinicalRecordSubject.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKVerifiableClinicalRecordSubject.g.cs
index 1558708..6b50125 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKVerifiableClinicalRecordSubject.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKVerifiableClinicalRecordSubject.g.cs
@@ -51,6 +51,7 @@ using NativeHandle = System.IntPtr;
namespace HealthKit {
[Register("HKVerifiableClinicalRecordSubject", true)]
[SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst15.0")]
public unsafe partial class HKVerifiableClinicalRecordSubject : NSObject, INSCoding, INSCopying, INSSecureCoding {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -94,9 +95,9 @@ namespace HealthKit {
[Export ("copyWithZone:")]
[return: ReleaseAttribute ()]
[SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst15.0")]
[UnsupportedOSPlatform ("tvos")]
- [UnsupportedOSPlatform ("macos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual NSObject Copy (NSZone? zone)
{
@@ -113,9 +114,9 @@ namespace HealthKit {
}
[Export ("encodeWithCoder:")]
[SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst15.0")]
[UnsupportedOSPlatform ("tvos")]
- [UnsupportedOSPlatform ("macos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual void EncodeTo (NSCoder encoder)
{
@@ -128,10 +129,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst15.0")]
public virtual NSDateComponents? DateOfBirthComponents {
[Export ("dateOfBirthComponents", ArgumentSemantic.Copy)]
[SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst15.0")]
get {
#if ARCH_32
@@ -149,10 +152,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst15.0")]
public virtual string FullName {
[Export ("fullName")]
[SupportedOSPlatform ("ios15.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst15.0")]
get {
#if ARCH_32
diff --git a/new/dotnet/ios/generated-sources/HealthKit/HKVisionEye.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKVisionEye.g.cs
new file mode 100644
index 0000000..ffb91c7
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKVisionEye.g.cs
@@ -0,0 +1,61 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace HealthKit {
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ [Native]
+ public enum HKVisionEye : long {
+ Left = 1,
+ Right = 2,
+ }
+}
diff --git a/new/dotnet/ios/generated-sources/HealthKit/HKVisionPrescription.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKVisionPrescription.g.cs
new file mode 100644
index 0000000..e2f1591
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKVisionPrescription.g.cs
@@ -0,0 +1,208 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace HealthKit {
+ [Register("HKVisionPrescription", true)]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ public unsafe partial class HKVisionPrescription : HKSample {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ #if ARCH_32
+ #pragma warning disable 649
+ static readonly NativeHandle class_ptr;
+ #pragma warning restore 649
+ #else
+ static readonly NativeHandle class_ptr = Class.GetHandle ("HKVisionPrescription");
+ #endif
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [DesignatedInitializer]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("initWithCoder:")]
+ public HKVisionPrescription (NSCoder coder) : base (NSObjectFlag.Empty)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("initWithCoder:"), coder.Handle), "initWithCoder:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_IntPtr (this.SuperHandle, Selector.GetHandle ("initWithCoder:"), coder.Handle), "initWithCoder:");
+ }
+ #endif
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected HKVisionPrescription (NSObjectFlag t) : base (t)
+ {
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal HKVisionPrescription (NativeHandle handle) : base (handle)
+ {
+ }
+
+ [Export ("prescriptionWithType:dateIssued:expirationDate:device:metadata:")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static HKVisionPrescription GetPrescription (HKVisionPrescriptionType type, NSDate dateIssued, NSDate? expirationDate, HKDevice? device, NSDictionary<NSString, NSObject>? metadata)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var dateIssued__handle__ = dateIssued!.GetNonNullHandle (nameof (dateIssued));
+ var expirationDate__handle__ = expirationDate.GetHandle ();
+ var device__handle__ = device.GetHandle ();
+ var metadata__handle__ = metadata.GetHandle ();
+ return Runtime.GetNSObject<HKVisionPrescription> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_UIntPtr_NativeHandle_NativeHandle_NativeHandle_NativeHandle (class_ptr, Selector.GetHandle ("prescriptionWithType:dateIssued:expirationDate:device:metadata:"), (UIntPtr) (ulong) type, dateIssued__handle__, expirationDate__handle__, device__handle__, metadata__handle__))!;
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ public virtual NSDate DateIssued {
+ [Export ("dateIssued", ArgumentSemantic.Copy)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ NSDate? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<NSDate> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("dateIssued")))!;
+ } else {
+ ret = Runtime.GetNSObject<NSDate> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("dateIssued")))!;
+ }
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ public virtual NSDate? ExpirationDate {
+ [Export ("expirationDate", ArgumentSemantic.Copy)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ NSDate? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<NSDate> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("expirationDate")))!;
+ } else {
+ ret = Runtime.GetNSObject<NSDate> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("expirationDate")))!;
+ }
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ public virtual HKVisionPrescriptionType PrescriptionType {
+ [Export ("prescriptionType", ArgumentSemantic.UnsafeUnretained)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ HKVisionPrescriptionType ret;
+ if (IsDirectBinding) {
+ ret = (HealthKit.HKVisionPrescriptionType) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("prescriptionType"));
+ } else {
+ ret = (HealthKit.HKVisionPrescriptionType) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("prescriptionType"));
+ }
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ static NSString? _TypeIdentifier;
+ [Field ("HKVisionPrescriptionTypeIdentifier", "HealthKit")]
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ public static NSString TypeIdentifier {
+ [SupportedOSPlatform ("ios16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ if (_TypeIdentifier is null)
+ _TypeIdentifier = Dlfcn.GetStringConstant (Libraries.HealthKit.Handle, "HKVisionPrescriptionTypeIdentifier")!;
+ return _TypeIdentifier;
+ }
+ }
+ } /* class HKVisionPrescription */
+}
diff --git a/new/dotnet/ios/generated-sources/HealthKit/HKVisionPrescriptionType.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKVisionPrescriptionType.g.cs
new file mode 100644
index 0000000..abf0b92
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKVisionPrescriptionType.g.cs
@@ -0,0 +1,61 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace HealthKit {
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ [Native]
+ public enum HKVisionPrescriptionType : ulong {
+ Glasses = 1,
+ Contacts = 2,
+ }
+}
diff --git a/new/dotnet/ios/generated-sources/HealthKit/HKVisionPrism.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKVisionPrism.g.cs
new file mode 100644
index 0000000..b631e86
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKVisionPrism.g.cs
@@ -0,0 +1,349 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace HealthKit {
+ [Register("HKVisionPrism", true)]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ public unsafe partial class HKVisionPrism : NSObject, INSCoding, INSCopying, INSSecureCoding {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ #if ARCH_32
+ #pragma warning disable 649
+ static readonly NativeHandle class_ptr;
+ #pragma warning restore 649
+ #else
+ static readonly NativeHandle class_ptr = Class.GetHandle ("HKVisionPrism");
+ #endif
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [DesignatedInitializer]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ [Export ("initWithCoder:")]
+ public HKVisionPrism (NSCoder coder) : base (NSObjectFlag.Empty)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("initWithCoder:"), coder.Handle), "initWithCoder:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_IntPtr (this.SuperHandle, Selector.GetHandle ("initWithCoder:"), coder.Handle), "initWithCoder:");
+ }
+ #endif
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected HKVisionPrism (NSObjectFlag t) : base (t)
+ {
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal HKVisionPrism (NativeHandle handle) : base (handle)
+ {
+ }
+
+ [Export ("initWithAmount:angle:eye:")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public HKVisionPrism (HKQuantity amount, HKQuantity angle, HKVisionEye eye)
+ : base (NSObjectFlag.Empty)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var amount__handle__ = amount!.GetNonNullHandle (nameof (amount));
+ var angle__handle__ = angle!.GetNonNullHandle (nameof (angle));
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_NativeHandle_IntPtr (this.Handle, Selector.GetHandle ("initWithAmount:angle:eye:"), amount__handle__, angle__handle__, (IntPtr) (long) eye), "initWithAmount:angle:eye:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle_NativeHandle_IntPtr (this.SuperHandle, Selector.GetHandle ("initWithAmount:angle:eye:"), amount__handle__, angle__handle__, (IntPtr) (long) eye), "initWithAmount:angle:eye:");
+ }
+ #endif
+ }
+ [Export ("initWithVerticalAmount:verticalBase:horizontalAmount:horizontalBase:eye:")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public HKVisionPrism (HKQuantity verticalAmount, HKPrismBase verticalBase, HKQuantity horizontalAmount, HKPrismBase horizontalBase, HKVisionEye eye)
+ : base (NSObjectFlag.Empty)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var verticalAmount__handle__ = verticalAmount!.GetNonNullHandle (nameof (verticalAmount));
+ var horizontalAmount__handle__ = horizontalAmount!.GetNonNullHandle (nameof (horizontalAmount));
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_IntPtr_NativeHandle_IntPtr_IntPtr (this.Handle, Selector.GetHandle ("initWithVerticalAmount:verticalBase:horizontalAmount:horizontalBase:eye:"), verticalAmount__handle__, (IntPtr) (long) verticalBase, horizontalAmount__handle__, (IntPtr) (long) horizontalBase, (IntPtr) (long) eye), "initWithVerticalAmount:verticalBase:horizontalAmount:horizontalBase:eye:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle_IntPtr_NativeHandle_IntPtr_IntPtr (this.SuperHandle, Selector.GetHandle ("initWithVerticalAmount:verticalBase:horizontalAmount:horizontalBase:eye:"), verticalAmount__handle__, (IntPtr) (long) verticalBase, horizontalAmount__handle__, (IntPtr) (long) horizontalBase, (IntPtr) (long) eye), "initWithVerticalAmount:verticalBase:horizontalAmount:horizontalBase:eye:");
+ }
+ #endif
+ }
+ [Export ("copyWithZone:")]
+ [return: ReleaseAttribute ()]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual NSObject Copy (NSZone? zone)
+ {
+ var zone__handle__ = zone.GetHandle ();
+ NSObject? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("copyWithZone:"), zone__handle__))!;
+ } else {
+ ret = Runtime.GetNSObject (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("copyWithZone:"), zone__handle__))!;
+ }
+ if (ret != null)
+ global::ObjCRuntime.Messaging.void_objc_msgSend (ret.Handle, Selector.GetHandle ("release"));
+ return ret!;
+ }
+ [Export ("encodeWithCoder:")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual void EncodeTo (NSCoder encoder)
+ {
+ var encoder__handle__ = encoder!.GetNonNullHandle (nameof (encoder));
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("encodeWithCoder:"), encoder__handle__);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("encodeWithCoder:"), encoder__handle__);
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ public virtual HKQuantity Amount {
+ [Export ("amount", ArgumentSemantic.Copy)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ HKQuantity? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<HKQuantity> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("amount")))!;
+ } else {
+ ret = Runtime.GetNSObject<HKQuantity> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("amount")))!;
+ }
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ public virtual HKQuantity Angle {
+ [Export ("angle", ArgumentSemantic.Copy)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ HKQuantity? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<HKQuantity> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("angle")))!;
+ } else {
+ ret = Runtime.GetNSObject<HKQuantity> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("angle")))!;
+ }
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ public virtual HKVisionEye Eye {
+ [Export ("eye", ArgumentSemantic.UnsafeUnretained)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ HKVisionEye ret;
+ if (IsDirectBinding) {
+ ret = (HealthKit.HKVisionEye) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("eye"));
+ } else {
+ ret = (HealthKit.HKVisionEye) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("eye"));
+ }
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ public virtual HKQuantity HorizontalAmount {
+ [Export ("horizontalAmount", ArgumentSemantic.Copy)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ HKQuantity? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<HKQuantity> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("horizontalAmount")))!;
+ } else {
+ ret = Runtime.GetNSObject<HKQuantity> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("horizontalAmount")))!;
+ }
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ public virtual HKPrismBase HorizontalBase {
+ [Export ("horizontalBase")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ HKPrismBase ret;
+ if (IsDirectBinding) {
+ ret = (HealthKit.HKPrismBase) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("horizontalBase"));
+ } else {
+ ret = (HealthKit.HKPrismBase) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("horizontalBase"));
+ }
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ public virtual HKQuantity VerticalAmount {
+ [Export ("verticalAmount", ArgumentSemantic.Copy)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ HKQuantity? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<HKQuantity> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("verticalAmount")))!;
+ } else {
+ ret = Runtime.GetNSObject<HKQuantity> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("verticalAmount")))!;
+ }
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ public virtual HKPrismBase VerticalBase {
+ [Export ("verticalBase")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ HKPrismBase ret;
+ if (IsDirectBinding) {
+ ret = (HealthKit.HKPrismBase) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("verticalBase"));
+ } else {
+ ret = (HealthKit.HKPrismBase) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("verticalBase"));
+ }
+ return ret!;
+ #endif
+ }
+ }
+ } /* class HKVisionPrism */
+}
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKWeatherCondition.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKWeatherCondition.g.cs
index 4277570..de753b8 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKWeatherCondition.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKWeatherCondition.g.cs
@@ -50,6 +50,7 @@ using NativeHandle = System.IntPtr;
#endif
namespace HealthKit {
[SupportedOSPlatform ("ios10.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
[Native]
public enum HKWeatherCondition : long {
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKWheelchairUse.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKWheelchairUse.g.cs
index c482702..244fb14 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKWheelchairUse.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKWheelchairUse.g.cs
@@ -50,6 +50,7 @@ using NativeHandle = System.IntPtr;
#endif
namespace HealthKit {
[SupportedOSPlatform ("ios10.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
[Native]
public enum HKWheelchairUse : long {
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKWheelchairUseObject.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKWheelchairUseObject.g.cs
index 4b01e8d..80282d7 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKWheelchairUseObject.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKWheelchairUseObject.g.cs
@@ -51,6 +51,7 @@ using NativeHandle = System.IntPtr;
namespace HealthKit {
[Register("HKWheelchairUseObject", true)]
[SupportedOSPlatform ("ios10.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
public unsafe partial class HKWheelchairUseObject : NSObject, INSCoding, INSCopying, INSSecureCoding {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -96,9 +97,9 @@ namespace HealthKit {
[Export ("copyWithZone:")]
[return: ReleaseAttribute ()]
[SupportedOSPlatform ("ios10.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
[UnsupportedOSPlatform ("tvos")]
- [UnsupportedOSPlatform ("macos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual NSObject Copy (NSZone? zone)
{
@@ -115,9 +116,9 @@ namespace HealthKit {
}
[Export ("encodeWithCoder:")]
[SupportedOSPlatform ("ios10.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
[UnsupportedOSPlatform ("tvos")]
- [UnsupportedOSPlatform ("macos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual void EncodeTo (NSCoder encoder)
{
@@ -130,10 +131,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios10.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
public virtual HKWheelchairUse WheelchairUse {
[Export ("wheelchairUse")]
[SupportedOSPlatform ("ios10.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
get {
HKWheelchairUse ret;
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKWorkout.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKWorkout.g.cs
index d51cd3f..d58e3c9 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKWorkout.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKWorkout.g.cs
@@ -51,6 +51,7 @@ using NativeHandle = System.IntPtr;
namespace HealthKit {
[Register("HKWorkout", true)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public unsafe partial class HKWorkout : HKSample {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -83,6 +84,7 @@ namespace HealthKit {
[Export ("workoutWithActivityType:startDate:endDate:")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public static HKWorkout Create (HKWorkoutActivityType workoutActivityType, NSDate startDate, NSDate endDate)
@@ -94,6 +96,7 @@ namespace HealthKit {
[Export ("workoutWithActivityType:startDate:endDate:workoutEvents:totalEnergyBurned:totalDistance:metadata:")]
[EditorBrowsable (EditorBrowsableState.Advanced)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public static HKWorkout Create (HKWorkoutActivityType workoutActivityType, NSDate startDate, NSDate endDate, HKWorkoutEvent[]? workoutEvents, HKQuantity? totalEnergyBurned, HKQuantity? totalDistance, NSDictionary? metadata)
@@ -111,6 +114,7 @@ namespace HealthKit {
return ret!;
}
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public static HKWorkout Create (HKWorkoutActivityType workoutActivityType, NSDate startDate, NSDate endDate, HKWorkoutEvent[] workoutEvents, HKQuantity totalEnergyBurned, HKQuantity totalDistance, HKMetadata metadata)
@@ -120,6 +124,7 @@ namespace HealthKit {
[Export ("workoutWithActivityType:startDate:endDate:duration:totalEnergyBurned:totalDistance:metadata:")]
[EditorBrowsable (EditorBrowsableState.Advanced)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public static HKWorkout Create (HKWorkoutActivityType workoutActivityType, NSDate startDate, NSDate endDate, double duration, HKQuantity? totalEnergyBurned, HKQuantity? totalDistance, NSDictionary? metadata)
@@ -132,6 +137,7 @@ namespace HealthKit {
return Runtime.GetNSObject<HKWorkout> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_UIntPtr_NativeHandle_NativeHandle_Double_NativeHandle_NativeHandle_NativeHandle (class_ptr, Selector.GetHandle ("workoutWithActivityType:startDate:endDate:duration:totalEnergyBurned:totalDistance:metadata:"), (UIntPtr) (ulong) workoutActivityType, startDate__handle__, endDate__handle__, duration, totalEnergyBurned__handle__, totalDistance__handle__, metadata__handle__))!;
}
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public static HKWorkout Create (HKWorkoutActivityType workoutActivityType, NSDate startDate, NSDate endDate, double duration, HKQuantity totalEnergyBurned, HKQuantity totalDistance, HKMetadata metadata)
@@ -141,6 +147,7 @@ namespace HealthKit {
[Export ("workoutWithActivityType:startDate:endDate:workoutEvents:totalEnergyBurned:totalDistance:device:metadata:")]
[SupportedOSPlatform ("ios9.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
+ [SupportedOSPlatform ("macos13.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public static HKWorkout Create (HKWorkoutActivityType workoutActivityType, NSDate startDate, NSDate endDate, HKWorkoutEvent[]? workoutEvents, HKQuantity? totalEnergyBurned, HKQuantity? totalDistance, HKDevice? device, NSDictionary? metadata)
{
@@ -159,6 +166,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios9.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
+ [SupportedOSPlatform ("macos13.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public static HKWorkout Create (HKWorkoutActivityType workoutActivityType, NSDate startDate, NSDate endDate, HKWorkoutEvent[] workoutEvents, HKQuantity totalEnergyBurned, HKQuantity totalDistance, HKDevice device, HKMetadata metadata)
{
@@ -167,6 +175,7 @@ namespace HealthKit {
[Export ("workoutWithActivityType:startDate:endDate:duration:totalEnergyBurned:totalDistance:device:metadata:")]
[SupportedOSPlatform ("ios9.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
+ [SupportedOSPlatform ("macos13.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public static HKWorkout Create (HKWorkoutActivityType workoutActivityType, NSDate startDate, NSDate endDate, double duration, HKQuantity? totalEnergyBurned, HKQuantity? totalDistance, HKDevice? device, NSDictionary? metadata)
{
@@ -180,6 +189,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios9.0")]
[SupportedOSPlatform ("maccatalyst9.0")]
+ [SupportedOSPlatform ("macos13.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public static HKWorkout Create (HKWorkoutActivityType workoutActivityType, NSDate startDate, NSDate endDate, double duration, HKQuantity totalEnergyBurned, HKQuantity totalDistance, HKDevice device, HKMetadata metadata)
{
@@ -188,6 +198,7 @@ namespace HealthKit {
[Export ("workoutWithActivityType:startDate:endDate:workoutEvents:totalEnergyBurned:totalDistance:totalSwimmingStrokeCount:device:metadata:")]
[SupportedOSPlatform ("ios10.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
+ [SupportedOSPlatform ("macos13.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public static HKWorkout Create (HKWorkoutActivityType workoutActivityType, NSDate startDate, NSDate endDate, HKWorkoutEvent[]? workoutEvents, HKQuantity? totalEnergyBurned, HKQuantity? totalDistance, HKQuantity? totalSwimmingStrokeCount, HKDevice? device, NSDictionary? metadata)
{
@@ -207,6 +218,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios10.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
+ [SupportedOSPlatform ("macos13.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public static HKWorkout Create (HKWorkoutActivityType workoutActivityType, NSDate startDate, NSDate endDate, HKWorkoutEvent[] workoutEvents, HKQuantity totalEnergyBurned, HKQuantity totalDistance, HKQuantity totalSwimmingStrokeCount, HKDevice device, HKMetadata metadata)
{
@@ -215,6 +227,7 @@ namespace HealthKit {
[Export ("workoutWithActivityType:startDate:endDate:workoutEvents:totalEnergyBurned:totalDistance:totalFlightsClimbed:device:metadata:")]
[SupportedOSPlatform ("ios11.0")]
[SupportedOSPlatform ("maccatalyst11.0")]
+ [SupportedOSPlatform ("macos13.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public static HKWorkout CreateFlightsClimbedWorkout (HKWorkoutActivityType workoutActivityType, NSDate startDate, NSDate endDate, HKWorkoutEvent[]? workoutEvents, HKQuantity? totalEnergyBurned, HKQuantity? totalDistance, HKQuantity? totalFlightsClimbed, HKDevice? device, NSDictionary? metadata)
{
@@ -238,6 +251,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios11.0")]
[SupportedOSPlatform ("maccatalyst11.0")]
+ [SupportedOSPlatform ("macos13.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public static HKWorkout CreateFlightsClimbedWorkout (HKWorkoutActivityType workoutActivityType, NSDate startDate, NSDate endDate, HKWorkoutEvent[]? workoutEvents, HKQuantity? totalEnergyBurned, HKQuantity? totalDistance, HKQuantity? totalFlightsClimbed, HKDevice? device, HKMetadata? metadata)
{
@@ -247,12 +261,58 @@ namespace HealthKit {
return CreateFlightsClimbedWorkout (workoutActivityType, startDate, endDate, workoutEvents, totalEnergyBurned, totalDistance, totalFlightsClimbed, device, metadata.GetDictionary ());
#endif
}
+ [Export ("statisticsForType:")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual HKStatistics? GetStatistics (HKQuantityType quantityType)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var quantityType__handle__ = quantityType!.GetNonNullHandle (nameof (quantityType));
+ if (IsDirectBinding) {
+ return Runtime.GetNSObject<HKStatistics> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("statisticsForType:"), quantityType__handle__))!;
+ } else {
+ return Runtime.GetNSObject<HKStatistics> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("statisticsForType:"), quantityType__handle__))!;
+ }
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ public virtual NSDictionary<HKQuantityType, HKStatistics> AllStatistics {
+ [Export ("allStatistics", ArgumentSemantic.Copy)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ NSDictionary<HKQuantityType, HKStatistics>? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<NSDictionary<HKQuantityType, HKStatistics>> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("allStatistics")))!;
+ } else {
+ ret = Runtime.GetNSObject<NSDictionary<HKQuantityType, HKStatistics>> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("allStatistics")))!;
+ }
+ return ret!;
+ #endif
+ }
+ }
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public virtual double Duration {
[Export ("duration")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
if (IsDirectBinding) {
@@ -263,11 +323,37 @@ namespace HealthKit {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ #if __MACOS__
+ [Advice ("Starting with macos13.0.")]
+ #endif
+ [UnsupportedOSPlatform ("macos13.0")]
+ #if __IOS__
+ [Advice ("Starting with ios16.0.")]
+ #endif
+ [UnsupportedOSPlatform ("ios16.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst16.0.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst16.0")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public virtual HKQuantity? TotalDistance {
[Export ("totalDistance", ArgumentSemantic.Retain)]
+ #if __MACOS__
+ [Advice ("Starting with macos13.0.")]
+ #endif
+ [UnsupportedOSPlatform ("macos13.0")]
+ #if __IOS__
+ [Advice ("Starting with ios16.0.")]
+ #endif
+ [UnsupportedOSPlatform ("ios16.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst16.0.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst16.0")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
HKQuantity? ret;
@@ -280,11 +366,37 @@ namespace HealthKit {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ #if __MACOS__
+ [Advice ("Starting with macos13.0.")]
+ #endif
+ [UnsupportedOSPlatform ("macos13.0")]
+ #if __IOS__
+ [Advice ("Starting with ios16.0.")]
+ #endif
+ [UnsupportedOSPlatform ("ios16.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst16.0.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst16.0")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public virtual HKQuantity? TotalEnergyBurned {
[Export ("totalEnergyBurned", ArgumentSemantic.Retain)]
+ #if __MACOS__
+ [Advice ("Starting with macos13.0.")]
+ #endif
+ [UnsupportedOSPlatform ("macos13.0")]
+ #if __IOS__
+ [Advice ("Starting with ios16.0.")]
+ #endif
+ [UnsupportedOSPlatform ("ios16.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst16.0.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst16.0")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
HKQuantity? ret;
@@ -297,11 +409,37 @@ namespace HealthKit {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ #if __MACOS__
+ [Advice ("Starting with macos13.0.")]
+ #endif
+ [UnsupportedOSPlatform ("macos13.0")]
+ #if __IOS__
+ [Advice ("Starting with ios16.0.")]
+ #endif
+ [UnsupportedOSPlatform ("ios16.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst16.0.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst16.0")]
[SupportedOSPlatform ("ios11.0")]
[SupportedOSPlatform ("maccatalyst11.0")]
+ [SupportedOSPlatform ("macos13.0")]
public virtual HKQuantity? TotalFlightsClimbed {
[Export ("totalFlightsClimbed", ArgumentSemantic.Retain)]
+ #if __MACOS__
+ [Advice ("Starting with macos13.0.")]
+ #endif
+ [UnsupportedOSPlatform ("macos13.0")]
+ #if __IOS__
+ [Advice ("Starting with ios16.0.")]
+ #endif
+ [UnsupportedOSPlatform ("ios16.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst16.0.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst16.0")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
#if ARCH_32
@@ -318,11 +456,37 @@ namespace HealthKit {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ #if __MACOS__
+ [Advice ("Starting with macos13.0.")]
+ #endif
+ [UnsupportedOSPlatform ("macos13.0")]
+ #if __IOS__
+ [Advice ("Starting with ios16.0.")]
+ #endif
+ [UnsupportedOSPlatform ("ios16.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst16.0.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst16.0")]
[SupportedOSPlatform ("ios10.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
+ [SupportedOSPlatform ("macos13.0")]
public virtual HKQuantity? TotalSwimmingStrokeCount {
[Export ("totalSwimmingStrokeCount", ArgumentSemantic.Retain)]
+ #if __MACOS__
+ [Advice ("Starting with macos13.0.")]
+ #endif
+ [UnsupportedOSPlatform ("macos13.0")]
+ #if __IOS__
+ [Advice ("Starting with ios16.0.")]
+ #endif
+ [UnsupportedOSPlatform ("ios16.0")]
+ #if __MACCATALYST__ && !__IOS__
+ [Advice ("Starting with maccatalyst16.0.")]
+ #endif
+ [UnsupportedOSPlatform ("maccatalyst16.0")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
HKQuantity? ret;
@@ -335,11 +499,38 @@ namespace HealthKit {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ public virtual HKWorkoutActivity[] WorkoutActivities {
+ [Export ("workoutActivities", ArgumentSemantic.Copy)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ HKWorkoutActivity[]? ret;
+ if (IsDirectBinding) {
+ ret = CFArray.ArrayFromHandle<HKWorkoutActivity>(global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("workoutActivities")))!;
+ } else {
+ ret = CFArray.ArrayFromHandle<HKWorkoutActivity>(global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("workoutActivities")))!;
+ }
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public virtual HKWorkoutActivityType WorkoutActivityType {
[Export ("workoutActivityType")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
HKWorkoutActivityType ret;
@@ -353,10 +544,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public virtual HKWorkoutEvent[]? WorkoutEvents {
[Export ("workoutEvents")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
HKWorkoutEvent[]? ret;
@@ -372,9 +565,11 @@ namespace HealthKit {
static NSString? _SortIdentifierDuration;
[Field ("HKWorkoutSortIdentifierDuration", "HealthKit")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public static NSString SortIdentifierDuration {
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
if (_SortIdentifierDuration is null)
@@ -386,9 +581,11 @@ namespace HealthKit {
static NSString? _SortIdentifierTotalDistance;
[Field ("HKWorkoutSortIdentifierTotalDistance", "HealthKit")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public static NSString SortIdentifierTotalDistance {
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
if (_SortIdentifierTotalDistance is null)
@@ -400,9 +597,11 @@ namespace HealthKit {
static NSString? _SortIdentifierTotalEnergyBurned;
[Field ("HKWorkoutSortIdentifierTotalEnergyBurned", "HealthKit")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public static NSString SortIdentifierTotalEnergyBurned {
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
if (_SortIdentifierTotalEnergyBurned is null)
@@ -415,9 +614,11 @@ namespace HealthKit {
[Field ("HKWorkoutSortIdentifierTotalFlightsClimbed", "HealthKit")]
[SupportedOSPlatform ("ios11.0")]
[SupportedOSPlatform ("maccatalyst11.0")]
+ [SupportedOSPlatform ("macos13.0")]
public static NSString SortIdentifierTotalFlightsClimbed {
[SupportedOSPlatform ("ios11.0")]
[SupportedOSPlatform ("maccatalyst11.0")]
+ [SupportedOSPlatform ("macos13.0")]
get {
if (_SortIdentifierTotalFlightsClimbed is null)
_SortIdentifierTotalFlightsClimbed = Dlfcn.GetStringConstant (Libraries.HealthKit.Handle, "HKWorkoutSortIdentifierTotalFlightsClimbed")!;
@@ -429,9 +630,11 @@ namespace HealthKit {
[Field ("HKWorkoutSortIdentifierTotalSwimmingStrokeCount", "HealthKit")]
[SupportedOSPlatform ("ios10.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
+ [SupportedOSPlatform ("macos13.0")]
public static NSString SortIdentifierTotalSwimmingStrokeCount {
[SupportedOSPlatform ("ios10.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
+ [SupportedOSPlatform ("macos13.0")]
get {
if (_SortIdentifierTotalSwimmingStrokeCount is null)
_SortIdentifierTotalSwimmingStrokeCount = Dlfcn.GetStringConstant (Libraries.HealthKit.Handle, "HKWorkoutSortIdentifierTotalSwimmingStrokeCount")!;
diff --git a/new/dotnet/ios/generated-sources/HealthKit/HKWorkoutActivity.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKWorkoutActivity.g.cs
new file mode 100644
index 0000000..7dec0f0
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKWorkoutActivity.g.cs
@@ -0,0 +1,320 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace HealthKit {
+ [Register("HKWorkoutActivity", true)]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ public unsafe partial class HKWorkoutActivity : NSObject {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ #if ARCH_32
+ #pragma warning disable 649
+ static readonly NativeHandle class_ptr;
+ #pragma warning restore 649
+ #else
+ static readonly NativeHandle class_ptr = Class.GetHandle ("HKWorkoutActivity");
+ #endif
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected HKWorkoutActivity (NSObjectFlag t) : base (t)
+ {
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal HKWorkoutActivity (NativeHandle handle) : base (handle)
+ {
+ }
+
+ [Export ("initWithWorkoutConfiguration:startDate:endDate:metadata:")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public HKWorkoutActivity (HKWorkoutConfiguration workoutConfiguration, NSDate startDate, NSDate? endDate, NSDictionary<NSString, NSObject>? metadata)
+ : base (NSObjectFlag.Empty)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var workoutConfiguration__handle__ = workoutConfiguration!.GetNonNullHandle (nameof (workoutConfiguration));
+ var startDate__handle__ = startDate!.GetNonNullHandle (nameof (startDate));
+ var endDate__handle__ = endDate.GetHandle ();
+ var metadata__handle__ = metadata.GetHandle ();
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_NativeHandle_NativeHandle_NativeHandle (this.Handle, Selector.GetHandle ("initWithWorkoutConfiguration:startDate:endDate:metadata:"), workoutConfiguration__handle__, startDate__handle__, endDate__handle__, metadata__handle__), "initWithWorkoutConfiguration:startDate:endDate:metadata:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle_NativeHandle_NativeHandle_NativeHandle (this.SuperHandle, Selector.GetHandle ("initWithWorkoutConfiguration:startDate:endDate:metadata:"), workoutConfiguration__handle__, startDate__handle__, endDate__handle__, metadata__handle__), "initWithWorkoutConfiguration:startDate:endDate:metadata:");
+ }
+ #endif
+ }
+ [Export ("statisticsForType:")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual HKStatistics? GetStatistics (HKQuantityType quantityType)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var quantityType__handle__ = quantityType!.GetNonNullHandle (nameof (quantityType));
+ if (IsDirectBinding) {
+ return Runtime.GetNSObject<HKStatistics> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("statisticsForType:"), quantityType__handle__))!;
+ } else {
+ return Runtime.GetNSObject<HKStatistics> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("statisticsForType:"), quantityType__handle__))!;
+ }
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ public virtual NSDictionary<HKQuantityType, HKStatistics> AllStatistics {
+ [Export ("allStatistics", ArgumentSemantic.Copy)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ NSDictionary<HKQuantityType, HKStatistics>? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<NSDictionary<HKQuantityType, HKStatistics>> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("allStatistics")))!;
+ } else {
+ ret = Runtime.GetNSObject<NSDictionary<HKQuantityType, HKStatistics>> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("allStatistics")))!;
+ }
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ public virtual double Duration {
+ [Export ("duration")]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.Double_objc_msgSend (this.Handle, Selector.GetHandle ("duration"));
+ } else {
+ return global::ObjCRuntime.Messaging.Double_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("duration"));
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ public virtual NSDate? EndDate {
+ [Export ("endDate", ArgumentSemantic.Copy)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ NSDate? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<NSDate> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("endDate")))!;
+ } else {
+ ret = Runtime.GetNSObject<NSDate> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("endDate")))!;
+ }
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ public virtual NSDictionary<NSString, NSObject>? Metadata {
+ [Export ("metadata", ArgumentSemantic.Copy)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ NSDictionary<NSString, NSObject>? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<NSDictionary<NSString, NSObject>> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("metadata")))!;
+ } else {
+ ret = Runtime.GetNSObject<NSDictionary<NSString, NSObject>> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("metadata")))!;
+ }
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ public virtual NSDate StartDate {
+ [Export ("startDate", ArgumentSemantic.Copy)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ NSDate? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<NSDate> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("startDate")))!;
+ } else {
+ ret = Runtime.GetNSObject<NSDate> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("startDate")))!;
+ }
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ public virtual NSUuid Uuid {
+ [Export ("UUID", ArgumentSemantic.Copy)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ NSUuid? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<NSUuid> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("UUID")))!;
+ } else {
+ ret = Runtime.GetNSObject<NSUuid> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("UUID")))!;
+ }
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ public virtual HKWorkoutConfiguration WorkoutConfiguration {
+ [Export ("workoutConfiguration", ArgumentSemantic.Copy)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ HKWorkoutConfiguration? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<HKWorkoutConfiguration> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("workoutConfiguration")))!;
+ } else {
+ ret = Runtime.GetNSObject<HKWorkoutConfiguration> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("workoutConfiguration")))!;
+ }
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ public virtual HKWorkoutEvent[] WorkoutEvents {
+ [Export ("workoutEvents", ArgumentSemantic.Copy)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ HKWorkoutEvent[]? ret;
+ if (IsDirectBinding) {
+ ret = CFArray.ArrayFromHandle<HKWorkoutEvent>(global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("workoutEvents")))!;
+ } else {
+ ret = CFArray.ArrayFromHandle<HKWorkoutEvent>(global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("workoutEvents")))!;
+ }
+ return ret!;
+ #endif
+ }
+ }
+ } /* class HKWorkoutActivity */
+}
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKWorkoutActivityType.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKWorkoutActivityType.g.cs
index c979f5c..dbf5c7d 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKWorkoutActivityType.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKWorkoutActivityType.g.cs
@@ -50,6 +50,7 @@ using NativeHandle = System.IntPtr;
#endif
namespace HealthKit {
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[Native]
public enum HKWorkoutActivityType : ulong {
@@ -76,6 +77,7 @@ namespace HealthKit {
#endif
[UnsupportedOSPlatform ("maccatalyst10.0")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
DanceInspiredTraining = 15,
Elliptical = 16,
@@ -101,6 +103,7 @@ namespace HealthKit {
#endif
[UnsupportedOSPlatform ("maccatalyst11.0")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
MixedMetabolicCardioTraining = 30,
PaddleSports = 31,
@@ -132,75 +135,109 @@ namespace HealthKit {
Yoga = 57,
[SupportedOSPlatform ("ios10.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
+ [SupportedOSPlatform ("macos13.0")]
Barre = 58,
[SupportedOSPlatform ("ios10.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
+ [SupportedOSPlatform ("macos13.0")]
CoreTraining = 59,
[SupportedOSPlatform ("ios10.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
+ [SupportedOSPlatform ("macos13.0")]
CrossCountrySkiing = 60,
[SupportedOSPlatform ("ios10.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
+ [SupportedOSPlatform ("macos13.0")]
DownhillSkiing = 61,
[SupportedOSPlatform ("ios10.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
+ [SupportedOSPlatform ("macos13.0")]
Flexibility = 62,
[SupportedOSPlatform ("ios10.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
+ [SupportedOSPlatform ("macos13.0")]
HighIntensityIntervalTraining = 63,
[SupportedOSPlatform ("ios10.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
+ [SupportedOSPlatform ("macos13.0")]
JumpRope = 64,
[SupportedOSPlatform ("ios10.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
+ [SupportedOSPlatform ("macos13.0")]
Kickboxing = 65,
[SupportedOSPlatform ("ios10.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
+ [SupportedOSPlatform ("macos13.0")]
Pilates = 66,
[SupportedOSPlatform ("ios10.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
+ [SupportedOSPlatform ("macos13.0")]
Snowboarding = 67,
[SupportedOSPlatform ("ios10.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
+ [SupportedOSPlatform ("macos13.0")]
Stairs = 68,
[SupportedOSPlatform ("ios10.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
+ [SupportedOSPlatform ("macos13.0")]
StepTraining = 69,
[SupportedOSPlatform ("ios10.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
+ [SupportedOSPlatform ("macos13.0")]
WheelchairWalkPace = 70,
[SupportedOSPlatform ("ios10.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
+ [SupportedOSPlatform ("macos13.0")]
WheelchairRunPace = 71,
[SupportedOSPlatform ("ios11.0")]
[SupportedOSPlatform ("maccatalyst11.0")]
+ [SupportedOSPlatform ("macos13.0")]
TaiChi = 72,
[SupportedOSPlatform ("ios11.0")]
[SupportedOSPlatform ("maccatalyst11.0")]
+ [SupportedOSPlatform ("macos13.0")]
MixedCardio = 73,
[SupportedOSPlatform ("ios11.0")]
[SupportedOSPlatform ("maccatalyst11.0")]
+ [SupportedOSPlatform ("macos13.0")]
HandCycling = 74,
[SupportedOSPlatform ("ios13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
+ [SupportedOSPlatform ("macos13.0")]
DiscSports = 75,
[SupportedOSPlatform ("ios13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
+ [SupportedOSPlatform ("macos13.0")]
FitnessGaming = 76,
[SupportedOSPlatform ("ios14.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
+ [SupportedOSPlatform ("macos13.0")]
CardioDance = 77,
[SupportedOSPlatform ("ios14.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
+ [SupportedOSPlatform ("macos13.0")]
SocialDance = 78,
[SupportedOSPlatform ("ios14.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
+ [SupportedOSPlatform ("macos13.0")]
Pickleball = 79,
[SupportedOSPlatform ("ios14.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
+ [SupportedOSPlatform ("macos13.0")]
Cooldown = 80,
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ SwimBikeRun = 82,
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ Transition = 83,
[SupportedOSPlatform ("ios8.2")]
[SupportedOSPlatform ("maccatalyst8.2")]
+ [SupportedOSPlatform ("macos13.0")]
Other = 3000,
}
}
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKWorkoutBuilder.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKWorkoutBuilder.g.cs
index d7ce840..d9035f7 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKWorkoutBuilder.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKWorkoutBuilder.g.cs
@@ -51,6 +51,7 @@ using NativeHandle = System.IntPtr;
namespace HealthKit {
[Register("HKWorkoutBuilder", true)]
[SupportedOSPlatform ("ios12.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
public unsafe partial class HKWorkoutBuilder : NSObject {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -76,6 +77,7 @@ namespace HealthKit {
[Export ("initWithHealthStore:configuration:device:")]
[SupportedOSPlatform ("ios12.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public HKWorkoutBuilder (HKHealthStore healthStore, HKWorkoutConfiguration configuration, HKDevice? device)
@@ -96,6 +98,7 @@ namespace HealthKit {
}
[Export ("addSamples:completion:")]
[SupportedOSPlatform ("ios12.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public unsafe virtual void Add (HKSample[] samples, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDHKWorkoutBuilderCompletionHandler))]HKWorkoutBuilderCompletionHandler completionHandler)
@@ -123,6 +126,7 @@ namespace HealthKit {
#endif
}
[SupportedOSPlatform ("ios12.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public unsafe virtual Task<Tuple<bool,NSError>> AddAsync (HKSample[] samples)
@@ -135,6 +139,7 @@ namespace HealthKit {
}
[Export ("addWorkoutEvents:completion:")]
[SupportedOSPlatform ("ios12.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public unsafe virtual void Add (HKWorkoutEvent[] workoutEvents, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDHKWorkoutBuilderCompletionHandler))]HKWorkoutBuilderCompletionHandler completionHandler)
@@ -162,6 +167,7 @@ namespace HealthKit {
#endif
}
[SupportedOSPlatform ("ios12.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public unsafe virtual Task<Tuple<bool,NSError>> AddAsync (HKWorkoutEvent[] workoutEvents)
@@ -174,6 +180,7 @@ namespace HealthKit {
}
[Export ("addMetadata:completion:")]
[SupportedOSPlatform ("ios12.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
protected unsafe virtual void Add (NSDictionary metadata, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDHKWorkoutBuilderCompletionHandler))]HKWorkoutBuilderCompletionHandler completionHandler)
@@ -198,6 +205,7 @@ namespace HealthKit {
#endif
}
[SupportedOSPlatform ("ios12.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
protected unsafe virtual Task<Tuple<bool,NSError>> AddAsync (NSDictionary metadata)
@@ -209,6 +217,7 @@ namespace HealthKit {
return tcs.Task;
}
[SupportedOSPlatform ("ios12.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public unsafe void Add (HKMetadata metadata, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDHKWorkoutBuilderCompletionHandler))]HKWorkoutBuilderCompletionHandler completionHandler)
@@ -220,6 +229,7 @@ namespace HealthKit {
#endif
}
[SupportedOSPlatform ("ios12.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public unsafe Task<Tuple<bool,NSError>> AddAsync (HKMetadata metadata)
@@ -230,8 +240,49 @@ namespace HealthKit {
});
return tcs.Task;
}
+ [Export ("addWorkoutActivity:completion:")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe virtual void AddWorkoutActivity (HKWorkoutActivity workoutActivity, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDHKWorkoutBuilderCompletionHandler))]HKWorkoutBuilderCompletionHandler completion)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var workoutActivity__handle__ = workoutActivity!.GetNonNullHandle (nameof (workoutActivity));
+ if (completion is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (completion));
+ BlockLiteral *block_ptr_completion;
+ BlockLiteral block_completion;
+ block_completion = new BlockLiteral ();
+ block_ptr_completion = &block_completion;
+ block_completion.SetupBlockUnsafe (Trampolines.SDHKWorkoutBuilderCompletionHandler.Handler, completion);
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (this.Handle, Selector.GetHandle ("addWorkoutActivity:completion:"), workoutActivity__handle__, (IntPtr) block_ptr_completion);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle_NativeHandle (this.SuperHandle, Selector.GetHandle ("addWorkoutActivity:completion:"), workoutActivity__handle__, (IntPtr) block_ptr_completion);
+ }
+ block_ptr_completion->CleanupBlock ();
+ #endif
+ }
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe virtual Task<Tuple<bool,NSError>> AddWorkoutActivityAsync (HKWorkoutActivity workoutActivity)
+ {
+ var tcs = new TaskCompletionSource<Tuple<bool,NSError>> ();
+ AddWorkoutActivity(workoutActivity, (success_, error_) => {
+ tcs.SetResult (new Tuple<bool,NSError> (success_, error_));
+ });
+ return tcs.Task;
+ }
[Export ("beginCollectionWithStartDate:completion:")]
[SupportedOSPlatform ("ios12.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public unsafe virtual void BeginCollection (NSDate startDate, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDHKWorkoutBuilderCompletionHandler))]HKWorkoutBuilderCompletionHandler completionHandler)
@@ -256,6 +307,7 @@ namespace HealthKit {
#endif
}
[SupportedOSPlatform ("ios12.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public unsafe virtual Task<Tuple<bool,NSError>> BeginCollectionAsync (NSDate startDate)
@@ -268,6 +320,7 @@ namespace HealthKit {
}
[Export ("discardWorkout")]
[SupportedOSPlatform ("ios12.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual void DiscardWorkout ()
@@ -284,6 +337,7 @@ namespace HealthKit {
}
[Export ("endCollectionWithEndDate:completion:")]
[SupportedOSPlatform ("ios12.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public unsafe virtual void EndCollection (NSDate endDate, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDHKWorkoutBuilderCompletionHandler))]HKWorkoutBuilderCompletionHandler completionHandler)
@@ -308,6 +362,7 @@ namespace HealthKit {
#endif
}
[SupportedOSPlatform ("ios12.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public unsafe virtual Task<Tuple<bool,NSError>> EndCollectionAsync (NSDate endDate)
@@ -320,6 +375,7 @@ namespace HealthKit {
}
[Export ("finishWorkoutWithCompletion:")]
[SupportedOSPlatform ("ios12.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public unsafe virtual void FinishWorkout ([BlockProxy (typeof (ObjCRuntime.Trampolines.NIDHKWorkoutBuilderCompletionHandler))]HKWorkoutBuilderCompletionHandler completionHandler)
@@ -343,6 +399,7 @@ namespace HealthKit {
#endif
}
[SupportedOSPlatform ("ios12.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public unsafe virtual Task<Tuple<bool,NSError>> FinishWorkoutAsync ()
@@ -355,6 +412,7 @@ namespace HealthKit {
}
[Export ("elapsedTimeAtDate:")]
[SupportedOSPlatform ("ios12.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual double GetElapsedTime (NSDate date)
@@ -372,6 +430,7 @@ namespace HealthKit {
}
[Export ("seriesBuilderForType:")]
[SupportedOSPlatform ("ios12.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual HKSeriesBuilder? GetSeriesBuilder (HKSeriesType seriesType)
@@ -389,6 +448,7 @@ namespace HealthKit {
}
[Export ("statisticsForType:")]
[SupportedOSPlatform ("ios12.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual HKStatistics? GetStatistics (HKQuantityType quantityType)
@@ -404,12 +464,121 @@ namespace HealthKit {
}
#endif
}
+ [Export ("updateActivityWithUUID:endDate:completion:")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe virtual void UpdateActivity (NSUuid uuid, NSDate endDate, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDHKWorkoutBuilderCompletionHandler))]HKWorkoutBuilderCompletionHandler completion)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var uuid__handle__ = uuid!.GetNonNullHandle (nameof (uuid));
+ var endDate__handle__ = endDate!.GetNonNullHandle (nameof (endDate));
+ if (completion is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (completion));
+ BlockLiteral *block_ptr_completion;
+ BlockLiteral block_completion;
+ block_completion = new BlockLiteral ();
+ block_ptr_completion = &block_completion;
+ block_completion.SetupBlockUnsafe (Trampolines.SDHKWorkoutBuilderCompletionHandler.Handler, completion);
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle_NativeHandle (this.Handle, Selector.GetHandle ("updateActivityWithUUID:endDate:completion:"), uuid__handle__, endDate__handle__, (IntPtr) block_ptr_completion);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle_NativeHandle_NativeHandle (this.SuperHandle, Selector.GetHandle ("updateActivityWithUUID:endDate:completion:"), uuid__handle__, endDate__handle__, (IntPtr) block_ptr_completion);
+ }
+ block_ptr_completion->CleanupBlock ();
+ #endif
+ }
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe virtual Task<Tuple<bool,NSError>> UpdateActivityAsync (NSUuid uuid, NSDate endDate)
+ {
+ var tcs = new TaskCompletionSource<Tuple<bool,NSError>> ();
+ UpdateActivity(uuid, endDate, (success_, error_) => {
+ tcs.SetResult (new Tuple<bool,NSError> (success_, error_));
+ });
+ return tcs.Task;
+ }
+ [Export ("updateActivityWithUUID:addMedatata:completion:")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe virtual void UpdateActivity (NSUuid uuid, NSDictionary<NSString, NSObject> metadata, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDHKWorkoutBuilderCompletionHandler))]HKWorkoutBuilderCompletionHandler completion)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var uuid__handle__ = uuid!.GetNonNullHandle (nameof (uuid));
+ var metadata__handle__ = metadata!.GetNonNullHandle (nameof (metadata));
+ if (completion is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (completion));
+ BlockLiteral *block_ptr_completion;
+ BlockLiteral block_completion;
+ block_completion = new BlockLiteral ();
+ block_ptr_completion = &block_completion;
+ block_completion.SetupBlockUnsafe (Trampolines.SDHKWorkoutBuilderCompletionHandler.Handler, completion);
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle_NativeHandle (this.Handle, Selector.GetHandle ("updateActivityWithUUID:addMedatata:completion:"), uuid__handle__, metadata__handle__, (IntPtr) block_ptr_completion);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_NativeHandle_NativeHandle_NativeHandle (this.SuperHandle, Selector.GetHandle ("updateActivityWithUUID:addMedatata:completion:"), uuid__handle__, metadata__handle__, (IntPtr) block_ptr_completion);
+ }
+ block_ptr_completion->CleanupBlock ();
+ #endif
+ }
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe virtual Task<Tuple<bool,NSError>> UpdateActivityAsync (NSUuid uuid, NSDictionary<NSString, NSObject> metadata)
+ {
+ var tcs = new TaskCompletionSource<Tuple<bool,NSError>> ();
+ UpdateActivity(uuid, metadata, (success_, error_) => {
+ tcs.SetResult (new Tuple<bool,NSError> (success_, error_));
+ });
+ return tcs.Task;
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ public virtual NSDictionary<HKQuantityType, HKStatistics> AllStatistics {
+ [Export ("allStatistics", ArgumentSemantic.Copy)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios12.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ NSDictionary<HKQuantityType, HKStatistics>? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetNSObject<NSDictionary<HKQuantityType, HKStatistics>> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("allStatistics")))!;
+ } else {
+ ret = Runtime.GetNSObject<NSDictionary<HKQuantityType, HKStatistics>> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("allStatistics")))!;
+ }
+ return ret!;
+ #endif
+ }
+ }
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios12.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
public virtual HKDevice? Device {
[Export ("device", ArgumentSemantic.Copy)]
[SupportedOSPlatform ("ios12.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
get {
#if ARCH_32
@@ -427,10 +596,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios12.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
public virtual NSDate? EndDate {
[Export ("endDate", ArgumentSemantic.Copy)]
[SupportedOSPlatform ("ios12.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
get {
#if ARCH_32
@@ -448,9 +619,11 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios12.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
public HKMetadata Metadata {
[SupportedOSPlatform ("ios12.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
get {
var src = NativeMetadata != null ? new NSMutableDictionary (NativeMetadata) : null;
@@ -459,10 +632,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios12.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
protected virtual NSDictionary NativeMetadata {
[Export ("metadata", ArgumentSemantic.Copy)]
[SupportedOSPlatform ("ios12.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
get {
#if ARCH_32
@@ -480,10 +655,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios12.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
public virtual NSDate? StartDate {
[Export ("startDate", ArgumentSemantic.Copy)]
[SupportedOSPlatform ("ios12.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
get {
#if ARCH_32
@@ -500,11 +677,38 @@ namespace HealthKit {
}
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ public virtual HKWorkoutActivity[] WorkoutActivities {
+ [Export ("workoutActivities", ArgumentSemantic.Copy)]
+ [UnsupportedOSPlatform ("tvos")]
+ [SupportedOSPlatform ("ios12.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ HKWorkoutActivity[]? ret;
+ if (IsDirectBinding) {
+ ret = CFArray.ArrayFromHandle<HKWorkoutActivity>(global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("workoutActivities")))!;
+ } else {
+ ret = CFArray.ArrayFromHandle<HKWorkoutActivity>(global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("workoutActivities")))!;
+ }
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios12.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
public virtual HKWorkoutConfiguration WorkoutConfiguration {
[Export ("workoutConfiguration", ArgumentSemantic.Copy)]
[SupportedOSPlatform ("ios12.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
get {
#if ARCH_32
@@ -522,10 +726,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios12.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
public virtual HKWorkoutEvent[] WorkoutEvents {
[Export ("workoutEvents", ArgumentSemantic.Copy)]
[SupportedOSPlatform ("ios12.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
get {
#if ARCH_32
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKWorkoutConfiguration.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKWorkoutConfiguration.g.cs
index e933d3b..470ed3a 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKWorkoutConfiguration.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKWorkoutConfiguration.g.cs
@@ -51,6 +51,7 @@ using NativeHandle = System.IntPtr;
namespace HealthKit {
[Register("HKWorkoutConfiguration", true)]
[SupportedOSPlatform ("ios10.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
public unsafe partial class HKWorkoutConfiguration : NSObject, INSCoding, INSCopying, INSSecureCoding {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -96,9 +97,9 @@ namespace HealthKit {
[Export ("copyWithZone:")]
[return: ReleaseAttribute ()]
[SupportedOSPlatform ("ios10.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
[UnsupportedOSPlatform ("tvos")]
- [UnsupportedOSPlatform ("macos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual NSObject Copy (NSZone? zone)
{
@@ -115,9 +116,9 @@ namespace HealthKit {
}
[Export ("encodeWithCoder:")]
[SupportedOSPlatform ("ios10.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
[UnsupportedOSPlatform ("tvos")]
- [UnsupportedOSPlatform ("macos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual void EncodeTo (NSCoder encoder)
{
@@ -130,10 +131,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios10.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
public virtual HKWorkoutActivityType ActivityType {
[Export ("activityType", ArgumentSemantic.UnsafeUnretained)]
[SupportedOSPlatform ("ios10.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
get {
HKWorkoutActivityType ret;
@@ -146,6 +149,7 @@ namespace HealthKit {
}
[Export ("setActivityType:", ArgumentSemantic.UnsafeUnretained)]
[SupportedOSPlatform ("ios10.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
set {
if (IsDirectBinding) {
@@ -157,10 +161,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios10.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
public virtual HKQuantity? LapLength {
[Export ("lapLength", ArgumentSemantic.Copy)]
[SupportedOSPlatform ("ios10.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
get {
HKQuantity? ret;
@@ -173,6 +179,7 @@ namespace HealthKit {
}
[Export ("setLapLength:", ArgumentSemantic.Copy)]
[SupportedOSPlatform ("ios10.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
set {
var value__handle__ = value.GetHandle ();
@@ -185,10 +192,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios10.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
public virtual HKWorkoutSessionLocationType LocationType {
[Export ("locationType", ArgumentSemantic.UnsafeUnretained)]
[SupportedOSPlatform ("ios10.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
get {
HKWorkoutSessionLocationType ret;
@@ -201,6 +210,7 @@ namespace HealthKit {
}
[Export ("setLocationType:", ArgumentSemantic.UnsafeUnretained)]
[SupportedOSPlatform ("ios10.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
set {
if (IsDirectBinding) {
@@ -212,10 +222,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios10.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
public virtual HKWorkoutSwimmingLocationType SwimmingLocationType {
[Export ("swimmingLocationType", ArgumentSemantic.UnsafeUnretained)]
[SupportedOSPlatform ("ios10.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
get {
HKWorkoutSwimmingLocationType ret;
@@ -228,6 +240,7 @@ namespace HealthKit {
}
[Export ("setSwimmingLocationType:", ArgumentSemantic.UnsafeUnretained)]
[SupportedOSPlatform ("ios10.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
set {
if (IsDirectBinding) {
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKWorkoutEvent.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKWorkoutEvent.g.cs
index f07b599..a232544 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKWorkoutEvent.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKWorkoutEvent.g.cs
@@ -51,6 +51,7 @@ using NativeHandle = System.IntPtr;
namespace HealthKit {
[Register("HKWorkoutEvent", true)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public unsafe partial class HKWorkoutEvent : NSObject, INSCoding, INSCopying, INSSecureCoding {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -84,9 +85,9 @@ namespace HealthKit {
[Export ("copyWithZone:")]
[return: ReleaseAttribute ()]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[UnsupportedOSPlatform ("tvos")]
- [UnsupportedOSPlatform ("macos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual NSObject Copy (NSZone? zone)
{
@@ -111,6 +112,7 @@ namespace HealthKit {
#endif
[UnsupportedOSPlatform ("maccatalyst11.0")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public static HKWorkoutEvent Create (HKWorkoutEventType type, NSDate date)
@@ -130,6 +132,7 @@ namespace HealthKit {
[Advice ("Starting with maccatalyst11.0 Use 'Create (HKWorkoutEventType, NSDateInterval, HKMetadata)' instead.")]
#endif
[UnsupportedOSPlatform ("maccatalyst11.0")]
+ [SupportedOSPlatform ("macos13.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public static HKWorkoutEvent Create (HKWorkoutEventType type, NSDate date, NSDictionary metadata)
{
@@ -147,6 +150,7 @@ namespace HealthKit {
[Advice ("Starting with maccatalyst11.0 Use 'Create (HKWorkoutEventType, NSDateInterval, HKMetadata)' instead.")]
#endif
[UnsupportedOSPlatform ("maccatalyst11.0")]
+ [SupportedOSPlatform ("macos13.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public static HKWorkoutEvent Create (HKWorkoutEventType type, NSDate date, HKMetadata metadata)
{
@@ -155,6 +159,7 @@ namespace HealthKit {
[Export ("workoutEventWithType:dateInterval:metadata:")]
[SupportedOSPlatform ("ios11.0")]
[SupportedOSPlatform ("maccatalyst11.0")]
+ [SupportedOSPlatform ("macos13.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public static HKWorkoutEvent Create (HKWorkoutEventType type, NSDateInterval dateInterval, NSDictionary? metadata)
{
@@ -168,6 +173,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios11.0")]
[SupportedOSPlatform ("maccatalyst11.0")]
+ [SupportedOSPlatform ("macos13.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public static HKWorkoutEvent Create (HKWorkoutEventType type, NSDateInterval dateInterval, HKMetadata metadata)
{
@@ -179,9 +185,9 @@ namespace HealthKit {
}
[Export ("encodeWithCoder:")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[UnsupportedOSPlatform ("tvos")]
- [UnsupportedOSPlatform ("macos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public virtual void EncodeTo (NSCoder encoder)
{
@@ -202,6 +208,7 @@ namespace HealthKit {
#endif
[UnsupportedOSPlatform ("maccatalyst11.0")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public virtual NSDate Date {
[Export ("date", ArgumentSemantic.Copy)]
@@ -214,6 +221,7 @@ namespace HealthKit {
#endif
[UnsupportedOSPlatform ("maccatalyst11.0")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
NSDate? ret;
@@ -228,9 +236,11 @@ namespace HealthKit {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios11.0")]
[SupportedOSPlatform ("maccatalyst11.0")]
+ [SupportedOSPlatform ("macos13.0")]
public virtual NSDateInterval DateInterval {
[Export ("dateInterval", ArgumentSemantic.Copy)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
#if ARCH_32
@@ -249,8 +259,10 @@ namespace HealthKit {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios10.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
+ [SupportedOSPlatform ("macos13.0")]
public HKMetadata Metadata {
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
var src = WeakMetadata != null ? new NSMutableDictionary (WeakMetadata) : null;
@@ -259,10 +271,12 @@ namespace HealthKit {
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public virtual HKWorkoutEventType Type {
[Export ("type")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
HKWorkoutEventType ret;
@@ -277,9 +291,11 @@ namespace HealthKit {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[SupportedOSPlatform ("ios10.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
+ [SupportedOSPlatform ("macos13.0")]
public virtual NSDictionary? WeakMetadata {
[Export ("metadata", ArgumentSemantic.Copy)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
NSDictionary? ret;
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKWorkoutEventType.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKWorkoutEventType.g.cs
index 4fb5910..82b9e64 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKWorkoutEventType.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKWorkoutEventType.g.cs
@@ -50,6 +50,7 @@ using NativeHandle = System.IntPtr;
#endif
namespace HealthKit {
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
[Native]
public enum HKWorkoutEventType : long {
@@ -57,21 +58,27 @@ namespace HealthKit {
Resume = 2,
[SupportedOSPlatform ("ios10.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
+ [SupportedOSPlatform ("macos13.0")]
Lap = 3,
[SupportedOSPlatform ("ios10.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
+ [SupportedOSPlatform ("macos13.0")]
Marker = 4,
[SupportedOSPlatform ("ios10.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
+ [SupportedOSPlatform ("macos13.0")]
MotionPaused = 5,
[SupportedOSPlatform ("ios10.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
+ [SupportedOSPlatform ("macos13.0")]
MotionResumed = 6,
[SupportedOSPlatform ("ios11.0")]
[SupportedOSPlatform ("maccatalyst11.0")]
+ [SupportedOSPlatform ("macos13.0")]
Segment = 7,
[SupportedOSPlatform ("ios11.0")]
[SupportedOSPlatform ("maccatalyst11.0")]
+ [SupportedOSPlatform ("macos13.0")]
PauseOrResumeRequest = 8,
}
}
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKWorkoutRoute.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKWorkoutRoute.g.cs
index e5f49b0..05a4f15 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKWorkoutRoute.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKWorkoutRoute.g.cs
@@ -51,6 +51,7 @@ using NativeHandle = System.IntPtr;
namespace HealthKit {
[Register("HKWorkoutRoute", true)]
[SupportedOSPlatform ("ios11.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst11.0")]
public unsafe partial class HKWorkoutRoute : HKSeriesSample, INSCopying {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -94,9 +95,9 @@ namespace HealthKit {
[Export ("copyWithZone:")]
[return: ReleaseAttribute ()]
[SupportedOSPlatform ("ios11.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst11.0")]
[UnsupportedOSPlatform ("tvos")]
- [UnsupportedOSPlatform ("macos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public new virtual NSObject Copy (NSZone? zone)
{
@@ -115,9 +116,11 @@ namespace HealthKit {
static NSString? _TypeIdentifier;
[Field ("HKWorkoutRouteTypeIdentifier", "HealthKit")]
[SupportedOSPlatform ("ios11.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst11.0")]
public static NSString TypeIdentifier {
[SupportedOSPlatform ("ios11.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst11.0")]
get {
if (_TypeIdentifier is null)
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKWorkoutRouteBuilder.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKWorkoutRouteBuilder.g.cs
index 198973a..ff7a125 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKWorkoutRouteBuilder.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKWorkoutRouteBuilder.g.cs
@@ -51,6 +51,7 @@ using NativeHandle = System.IntPtr;
namespace HealthKit {
[Register("HKWorkoutRouteBuilder", true)]
[SupportedOSPlatform ("ios11.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst11.0")]
public unsafe partial class HKWorkoutRouteBuilder : HKSeriesBuilder {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -93,6 +94,7 @@ namespace HealthKit {
[Export ("initWithHealthStore:device:")]
[SupportedOSPlatform ("ios11.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst11.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public HKWorkoutRouteBuilder (HKHealthStore healthStore, HKDevice? device)
@@ -113,6 +115,7 @@ namespace HealthKit {
[Export ("addMetadata:completion:")]
[SupportedOSPlatform ("ios12.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
+ [SupportedOSPlatform ("macos13.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
protected unsafe virtual void AddMetadata (NSDictionary metadata, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDHKWorkoutRouteBuilderAddMetadataHandler))]HKWorkoutRouteBuilderAddMetadataHandler completion)
{
@@ -137,6 +140,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios12.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
+ [SupportedOSPlatform ("macos13.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
protected unsafe virtual Task<Tuple<bool,NSError>> AddMetadataAsync (NSDictionary metadata)
{
@@ -148,6 +152,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios12.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
+ [SupportedOSPlatform ("macos13.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public unsafe void AddMetadata (HKMetadata metadata, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDHKWorkoutRouteBuilderAddMetadataHandler))]HKWorkoutRouteBuilderAddMetadataHandler completion)
{
@@ -159,6 +164,7 @@ namespace HealthKit {
}
[SupportedOSPlatform ("ios12.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
+ [SupportedOSPlatform ("macos13.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public unsafe Task<Tuple<bool,NSError>> AddMetadataAsync (HKMetadata metadata)
{
@@ -170,9 +176,10 @@ namespace HealthKit {
}
[Export ("finishRouteWithWorkout:metadata:completion:")]
[SupportedOSPlatform ("ios11.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst11.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- protected unsafe virtual void FinishRoute (HKWorkout workout, NSDictionary? metadata, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity2V100))]global::System.Action<HKWorkoutRoute, NSError> completion)
+ protected unsafe virtual void FinishRoute (HKWorkout workout, NSDictionary? metadata, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity2V101))]global::System.Action<HKWorkoutRoute, NSError> completion)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
@@ -185,7 +192,7 @@ namespace HealthKit {
BlockLiteral block_completion;
block_completion = new BlockLiteral ();
block_ptr_completion = &block_completion;
- block_completion.SetupBlockUnsafe (Trampolines.SDActionArity2V100.Handler, completion);
+ block_completion.SetupBlockUnsafe (Trampolines.SDActionArity2V101.Handler, completion);
if (IsDirectBinding) {
global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle_NativeHandle (this.Handle, Selector.GetHandle ("finishRouteWithWorkout:metadata:completion:"), workout__handle__, metadata__handle__, (IntPtr) block_ptr_completion);
} else {
@@ -195,6 +202,7 @@ namespace HealthKit {
#endif
}
[SupportedOSPlatform ("ios11.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst11.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
protected unsafe virtual Task<HKWorkoutRoute> FinishRouteAsync (HKWorkout workout, NSDictionary? metadata)
@@ -209,9 +217,10 @@ namespace HealthKit {
return tcs.Task;
}
[SupportedOSPlatform ("ios11.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst11.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe void FinishRoute (HKWorkout workout, HKMetadata metadata, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity2V100))]global::System.Action<HKWorkoutRoute, NSError> completion)
+ public unsafe void FinishRoute (HKWorkout workout, HKMetadata metadata, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity2V101))]global::System.Action<HKWorkoutRoute, NSError> completion)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
@@ -220,6 +229,7 @@ namespace HealthKit {
#endif
}
[SupportedOSPlatform ("ios11.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst11.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public unsafe Task<HKWorkoutRoute> FinishRouteAsync (HKWorkout workout, HKMetadata metadata)
@@ -235,6 +245,7 @@ namespace HealthKit {
}
[Export ("insertRouteData:completion:")]
[SupportedOSPlatform ("ios11.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst11.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public unsafe virtual void InsertRouteData (global::CoreLocation.CLLocation[] routeData, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity2V0))]global::System.Action<bool, NSError> completion)
@@ -262,6 +273,7 @@ namespace HealthKit {
#endif
}
[SupportedOSPlatform ("ios11.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst11.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public unsafe virtual Task<Tuple<bool,NSError>> InsertRouteDataAsync (global::CoreLocation.CLLocation[] routeData)
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKWorkoutRouteQuery.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKWorkoutRouteQuery.g.cs
index c920cfa..882e9f2 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKWorkoutRouteQuery.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKWorkoutRouteQuery.g.cs
@@ -51,6 +51,7 @@ using NativeHandle = System.IntPtr;
namespace HealthKit {
[Register("HKWorkoutRouteQuery", true)]
[SupportedOSPlatform ("ios11.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst11.0")]
public unsafe partial class HKWorkoutRouteQuery : HKQuery {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -92,8 +93,8 @@ namespace HealthKit {
[Export ("initWithRoute:dataHandler:")]
[SupportedOSPlatform ("ios11.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst11.0")]
- [DesignatedInitializer]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public unsafe HKWorkoutRouteQuery (HKWorkoutRoute workoutRoute, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDHKWorkoutRouteBuilderDataHandler))]HKWorkoutRouteBuilderDataHandler dataHandler)
: base (NSObjectFlag.Empty)
@@ -117,5 +118,34 @@ namespace HealthKit {
block_ptr_dataHandler->CleanupBlock ();
#endif
}
+ [Export ("initWithRoute:dateInterval:dataHandler:")]
+ [SupportedOSPlatform ("maccatalyst16.0")]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [UnsupportedOSPlatform ("tvos")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe HKWorkoutRouteQuery (HKWorkoutRoute workoutRoute, NSDateInterval dateInterval, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDHKWorkoutRouteQueryDataHandler))]HKWorkoutRouteQueryDataHandler dataHandler)
+ : base (NSObjectFlag.Empty)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var workoutRoute__handle__ = workoutRoute!.GetNonNullHandle (nameof (workoutRoute));
+ var dateInterval__handle__ = dateInterval!.GetNonNullHandle (nameof (dateInterval));
+ if (dataHandler is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (dataHandler));
+ BlockLiteral *block_ptr_dataHandler;
+ BlockLiteral block_dataHandler;
+ block_dataHandler = new BlockLiteral ();
+ block_ptr_dataHandler = &block_dataHandler;
+ block_dataHandler.SetupBlockUnsafe (Trampolines.SDHKWorkoutRouteQueryDataHandler.Handler, dataHandler);
+ if (IsDirectBinding) {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_NativeHandle_NativeHandle (this.Handle, Selector.GetHandle ("initWithRoute:dateInterval:dataHandler:"), workoutRoute__handle__, dateInterval__handle__, (IntPtr) block_ptr_dataHandler), "initWithRoute:dateInterval:dataHandler:");
+ } else {
+ InitializeHandle (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle_NativeHandle_NativeHandle (this.SuperHandle, Selector.GetHandle ("initWithRoute:dateInterval:dataHandler:"), workoutRoute__handle__, dateInterval__handle__, (IntPtr) block_ptr_dataHandler), "initWithRoute:dateInterval:dataHandler:");
+ }
+ block_ptr_dataHandler->CleanupBlock ();
+ #endif
+ }
} /* class HKWorkoutRouteQuery */
}
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKWorkoutSessionLocationType.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKWorkoutSessionLocationType.g.cs
index 58677d2..3d38bb2 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKWorkoutSessionLocationType.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKWorkoutSessionLocationType.g.cs
@@ -50,6 +50,7 @@ using NativeHandle = System.IntPtr;
#endif
namespace HealthKit {
[SupportedOSPlatform ("ios10.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
[Native]
public enum HKWorkoutSessionLocationType : long {
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKWorkoutSwimmingLocationType.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKWorkoutSwimmingLocationType.g.cs
index 0f83721..1fc7de4 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKWorkoutSwimmingLocationType.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKWorkoutSwimmingLocationType.g.cs
@@ -50,6 +50,7 @@ using NativeHandle = System.IntPtr;
#endif
namespace HealthKit {
[SupportedOSPlatform ("ios10.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst10.0")]
[Native]
public enum HKWorkoutSwimmingLocationType : long {
diff --git a/old/dotnet/ios/generated-sources/HealthKit/HKWorkoutType.g.cs b/new/dotnet/ios/generated-sources/HealthKit/HKWorkoutType.g.cs
index c9e5217..a6d71f7 100644
--- a/old/dotnet/ios/generated-sources/HealthKit/HKWorkoutType.g.cs
+++ b/new/dotnet/ios/generated-sources/HealthKit/HKWorkoutType.g.cs
@@ -51,6 +51,7 @@ using NativeHandle = System.IntPtr;
namespace HealthKit {
[Register("HKWorkoutType", true)]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public unsafe partial class HKWorkoutType : HKSampleType {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -85,9 +86,11 @@ namespace HealthKit {
static NSString? _Identifier;
[Field ("HKWorkoutTypeIdentifier", "HealthKit")]
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
public static NSString Identifier {
[SupportedOSPlatform ("ios8.0")]
+ [SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("maccatalyst8.0")]
get {
if (_Identifier is null)
diff --git a/old/dotnet/ios/generated-sources/HomeKit/HMAccessorySetupManager.g.cs b/new/dotnet/ios/generated-sources/HomeKit/HMAccessorySetupManager.g.cs
index 130e3b5..460d0e3 100644
--- a/old/dotnet/ios/generated-sources/HomeKit/HMAccessorySetupManager.g.cs
+++ b/new/dotnet/ios/generated-sources/HomeKit/HMAccessorySetupManager.g.cs
@@ -145,7 +145,7 @@ namespace HomeKit {
[UnsupportedOSPlatform ("tvos")]
[UnsupportedOSPlatform ("maccatalyst")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe virtual void PerformAccessorySetup (HMAccessorySetupRequest request, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity2V101))]global::System.Action<HMAccessorySetupResult, NSError> completion)
+ public unsafe virtual void PerformAccessorySetup (HMAccessorySetupRequest request, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity2V102))]global::System.Action<HMAccessorySetupResult, NSError> completion)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
@@ -157,7 +157,7 @@ namespace HomeKit {
BlockLiteral block_completion;
block_completion = new BlockLiteral ();
block_ptr_completion = &block_completion;
- block_completion.SetupBlockUnsafe (Trampolines.SDActionArity2V101.Handler, completion);
+ block_completion.SetupBlockUnsafe (Trampolines.SDActionArity2V102.Handler, completion);
if (IsDirectBinding) {
global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (this.Handle, Selector.GetHandle ("performAccessorySetupUsingRequest:completionHandler:"), request__handle__, (IntPtr) block_ptr_completion);
} else {
diff --git a/old/dotnet/ios/generated-sources/HomeKit/HMHome.g.cs b/new/dotnet/ios/generated-sources/HomeKit/HMHome.g.cs
index 40413ed..9bd1b8a 100644
--- a/old/dotnet/ios/generated-sources/HomeKit/HMHome.g.cs
+++ b/new/dotnet/ios/generated-sources/HomeKit/HMHome.g.cs
@@ -111,7 +111,7 @@ namespace HomeKit {
[SupportedOSPlatform ("ios8.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe virtual void AddActionSet (string actionSetName, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity2V102))]global::System.Action<HMActionSet, NSError> completion)
+ public unsafe virtual void AddActionSet (string actionSetName, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity2V103))]global::System.Action<HMActionSet, NSError> completion)
{
if (actionSetName is null)
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (actionSetName));
@@ -122,7 +122,7 @@ namespace HomeKit {
BlockLiteral block_completion;
block_completion = new BlockLiteral ();
block_ptr_completion = &block_completion;
- block_completion.SetupBlockUnsafe (Trampolines.SDActionArity2V102.Handler, completion);
+ block_completion.SetupBlockUnsafe (Trampolines.SDActionArity2V103.Handler, completion);
if (IsDirectBinding) {
global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (this.Handle, Selector.GetHandle ("addActionSetWithName:completionHandler:"), nsactionSetName, (IntPtr) block_ptr_completion);
} else {
@@ -199,7 +199,7 @@ namespace HomeKit {
[SupportedOSPlatform ("ios11.3")]
[UnsupportedOSPlatform ("maccatalyst")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe virtual void AddAndSetupAccessories (HMAccessorySetupPayload payload, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity2V103))]global::System.Action<HMAccessory[], NSError> completion)
+ public unsafe virtual void AddAndSetupAccessories (HMAccessorySetupPayload payload, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity2V104))]global::System.Action<HMAccessory[], NSError> completion)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
@@ -211,7 +211,7 @@ namespace HomeKit {
BlockLiteral block_completion;
block_completion = new BlockLiteral ();
block_ptr_completion = &block_completion;
- block_completion.SetupBlockUnsafe (Trampolines.SDActionArity2V103.Handler, completion);
+ block_completion.SetupBlockUnsafe (Trampolines.SDActionArity2V104.Handler, completion);
if (IsDirectBinding) {
global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (this.Handle, Selector.GetHandle ("addAndSetupAccessoriesWithPayload:completionHandler:"), payload__handle__, (IntPtr) block_ptr_completion);
} else {
@@ -244,7 +244,7 @@ namespace HomeKit {
[SupportedOSPlatform ("ios8.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe virtual void AddRoom (string roomName, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity2V104))]global::System.Action<HMRoom, NSError> completion)
+ public unsafe virtual void AddRoom (string roomName, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity2V105))]global::System.Action<HMRoom, NSError> completion)
{
if (roomName is null)
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (roomName));
@@ -255,7 +255,7 @@ namespace HomeKit {
BlockLiteral block_completion;
block_completion = new BlockLiteral ();
block_ptr_completion = &block_completion;
- block_completion.SetupBlockUnsafe (Trampolines.SDActionArity2V104.Handler, completion);
+ block_completion.SetupBlockUnsafe (Trampolines.SDActionArity2V105.Handler, completion);
if (IsDirectBinding) {
global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (this.Handle, Selector.GetHandle ("addRoomWithName:completionHandler:"), nsroomName, (IntPtr) block_ptr_completion);
} else {
@@ -284,7 +284,7 @@ namespace HomeKit {
[SupportedOSPlatform ("ios8.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe virtual void AddServiceGroup (string serviceGroupName, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity2V105))]global::System.Action<HMServiceGroup, NSError> completion)
+ public unsafe virtual void AddServiceGroup (string serviceGroupName, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity2V106))]global::System.Action<HMServiceGroup, NSError> completion)
{
if (serviceGroupName is null)
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (serviceGroupName));
@@ -295,7 +295,7 @@ namespace HomeKit {
BlockLiteral block_completion;
block_completion = new BlockLiteral ();
block_ptr_completion = &block_completion;
- block_completion.SetupBlockUnsafe (Trampolines.SDActionArity2V105.Handler, completion);
+ block_completion.SetupBlockUnsafe (Trampolines.SDActionArity2V106.Handler, completion);
if (IsDirectBinding) {
global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (this.Handle, Selector.GetHandle ("addServiceGroupWithName:completionHandler:"), nsserviceGroupName, (IntPtr) block_ptr_completion);
} else {
@@ -369,7 +369,7 @@ namespace HomeKit {
[SupportedOSPlatform ("ios8.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe virtual void AddUser ([BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity2V106))]global::System.Action<HMUser, NSError> completion)
+ public unsafe virtual void AddUser ([BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity2V107))]global::System.Action<HMUser, NSError> completion)
{
if (completion is null)
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (completion));
@@ -377,7 +377,7 @@ namespace HomeKit {
BlockLiteral block_completion;
block_completion = new BlockLiteral ();
block_ptr_completion = &block_completion;
- block_completion.SetupBlockUnsafe (Trampolines.SDActionArity2V106.Handler, completion);
+ block_completion.SetupBlockUnsafe (Trampolines.SDActionArity2V107.Handler, completion);
if (IsDirectBinding) {
global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("addUserWithCompletionHandler:"), (IntPtr) block_ptr_completion);
} else {
@@ -413,7 +413,7 @@ namespace HomeKit {
[SupportedOSPlatform ("ios8.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe virtual void AddZone (string zoneName, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity2V107))]global::System.Action<HMZone, NSError> completion)
+ public unsafe virtual void AddZone (string zoneName, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity2V108))]global::System.Action<HMZone, NSError> completion)
{
if (zoneName is null)
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (zoneName));
@@ -424,7 +424,7 @@ namespace HomeKit {
BlockLiteral block_completion;
block_completion = new BlockLiteral ();
block_ptr_completion = &block_completion;
- block_completion.SetupBlockUnsafe (Trampolines.SDActionArity2V107.Handler, completion);
+ block_completion.SetupBlockUnsafe (Trampolines.SDActionArity2V108.Handler, completion);
if (IsDirectBinding) {
global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (this.Handle, Selector.GetHandle ("addZoneWithName:completionHandler:"), nszoneName, (IntPtr) block_ptr_completion);
} else {
diff --git a/old/dotnet/ios/generated-sources/HomeKit/HMHomeManager.g.cs b/new/dotnet/ios/generated-sources/HomeKit/HMHomeManager.g.cs
index ab60cb6..0320f3d 100644
--- a/old/dotnet/ios/generated-sources/HomeKit/HMHomeManager.g.cs
+++ b/new/dotnet/ios/generated-sources/HomeKit/HMHomeManager.g.cs
@@ -86,7 +86,7 @@ namespace HomeKit {
[SupportedOSPlatform ("ios8.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe virtual void AddHome (string homeName, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity2V108))]global::System.Action<HMHome, NSError> completion)
+ public unsafe virtual void AddHome (string homeName, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity2V109))]global::System.Action<HMHome, NSError> completion)
{
if (homeName is null)
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (homeName));
@@ -97,7 +97,7 @@ namespace HomeKit {
BlockLiteral block_completion;
block_completion = new BlockLiteral ();
block_ptr_completion = &block_completion;
- block_completion.SetupBlockUnsafe (Trampolines.SDActionArity2V108.Handler, completion);
+ block_completion.SetupBlockUnsafe (Trampolines.SDActionArity2V109.Handler, completion);
if (IsDirectBinding) {
global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (this.Handle, Selector.GetHandle ("addHomeWithName:completionHandler:"), nshomeName, (IntPtr) block_ptr_completion);
} else {
diff --git a/old/dotnet/ios/generated-sources/IdentityLookup/ILMessageFilterExtensionContext.g.cs b/new/dotnet/ios/generated-sources/IdentityLookup/ILMessageFilterExtensionContext.g.cs
index 082031e..4bd2b1e 100644
--- a/old/dotnet/ios/generated-sources/IdentityLookup/ILMessageFilterExtensionContext.g.cs
+++ b/new/dotnet/ios/generated-sources/IdentityLookup/ILMessageFilterExtensionContext.g.cs
@@ -82,7 +82,7 @@ namespace IdentityLookup {
[SupportedOSPlatform ("ios11.0")]
[SupportedOSPlatform ("maccatalyst11.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe virtual void DeferQueryRequestToNetwork ([BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity2V109))]global::System.Action<ILNetworkResponse, NSError> completion)
+ public unsafe virtual void DeferQueryRequestToNetwork ([BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity2V110))]global::System.Action<ILNetworkResponse, NSError> completion)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
@@ -93,7 +93,7 @@ namespace IdentityLookup {
BlockLiteral block_completion;
block_completion = new BlockLiteral ();
block_ptr_completion = &block_completion;
- block_completion.SetupBlockUnsafe (Trampolines.SDActionArity2V109.Handler, completion);
+ block_completion.SetupBlockUnsafe (Trampolines.SDActionArity2V110.Handler, completion);
if (IsDirectBinding) {
global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("deferQueryRequestToNetworkWithCompletion:"), (IntPtr) block_ptr_completion);
} else {
diff --git a/old/dotnet/ios/generated-sources/Intents/INVoiceShortcutCenter.g.cs b/new/dotnet/ios/generated-sources/Intents/INVoiceShortcutCenter.g.cs
index 42c09f2..5c0b4bd 100644
--- a/old/dotnet/ios/generated-sources/Intents/INVoiceShortcutCenter.g.cs
+++ b/new/dotnet/ios/generated-sources/Intents/INVoiceShortcutCenter.g.cs
@@ -124,7 +124,7 @@ namespace Intents {
[SupportedOSPlatform ("ios12.0")]
[SupportedOSPlatform ("maccatalyst12.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe virtual void GetVoiceShortcut (NSUuid identifier, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity2V110))]global::System.Action<INVoiceShortcut, NSError> completionHandler)
+ public unsafe virtual void GetVoiceShortcut (NSUuid identifier, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity2V111))]global::System.Action<INVoiceShortcut, NSError> completionHandler)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
@@ -136,7 +136,7 @@ namespace Intents {
BlockLiteral block_completionHandler;
block_completionHandler = new BlockLiteral ();
block_ptr_completionHandler = &block_completionHandler;
- block_completionHandler.SetupBlockUnsafe (Trampolines.SDActionArity2V110.Handler, completionHandler);
+ block_completionHandler.SetupBlockUnsafe (Trampolines.SDActionArity2V111.Handler, completionHandler);
if (IsDirectBinding) {
global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (this.Handle, Selector.GetHandle ("getVoiceShortcutWithIdentifier:completion:"), identifier__handle__, (IntPtr) block_ptr_completionHandler);
} else {
diff --git a/old/dotnet/ios/generated-sources/LinkPresentation/LPMetadataProvider.g.cs b/new/dotnet/ios/generated-sources/LinkPresentation/LPMetadataProvider.g.cs
index c75c7a8..1154af8 100644
--- a/old/dotnet/ios/generated-sources/LinkPresentation/LPMetadataProvider.g.cs
+++ b/new/dotnet/ios/generated-sources/LinkPresentation/LPMetadataProvider.g.cs
@@ -116,7 +116,7 @@ namespace LinkPresentation {
[SupportedOSPlatform ("ios13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe virtual void StartFetchingMetadata (NSUrl url, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity2V111))]global::System.Action<LPLinkMetadata, NSError> completionHandler)
+ public unsafe virtual void StartFetchingMetadata (NSUrl url, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity2V112))]global::System.Action<LPLinkMetadata, NSError> completionHandler)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
@@ -128,7 +128,7 @@ namespace LinkPresentation {
BlockLiteral block_completionHandler;
block_completionHandler = new BlockLiteral ();
block_ptr_completionHandler = &block_completionHandler;
- block_completionHandler.SetupBlockUnsafe (Trampolines.SDActionArity2V111.Handler, completionHandler);
+ block_completionHandler.SetupBlockUnsafe (Trampolines.SDActionArity2V112.Handler, completionHandler);
if (IsDirectBinding) {
global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (this.Handle, Selector.GetHandle ("startFetchingMetadataForURL:completionHandler:"), url__handle__, (IntPtr) block_ptr_completionHandler);
} else {
@@ -159,7 +159,7 @@ namespace LinkPresentation {
[SupportedOSPlatform ("maccatalyst15.0")]
[UnsupportedOSPlatform ("tvos")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe virtual void StartFetchingMetadata (NSUrlRequest request, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity2V111))]global::System.Action<LPLinkMetadata, NSError> completionHandler)
+ public unsafe virtual void StartFetchingMetadata (NSUrlRequest request, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity2V112))]global::System.Action<LPLinkMetadata, NSError> completionHandler)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
@@ -171,7 +171,7 @@ namespace LinkPresentation {
BlockLiteral block_completionHandler;
block_completionHandler = new BlockLiteral ();
block_ptr_completionHandler = &block_completionHandler;
- block_completionHandler.SetupBlockUnsafe (Trampolines.SDActionArity2V111.Handler, completionHandler);
+ block_completionHandler.SetupBlockUnsafe (Trampolines.SDActionArity2V112.Handler, completionHandler);
if (IsDirectBinding) {
global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (this.Handle, Selector.GetHandle ("startFetchingMetadataForRequest:completionHandler:"), request__handle__, (IntPtr) block_ptr_completionHandler);
} else {
diff --git a/old/dotnet/ios/generated-sources/MediaPlayer/MPMediaLibrary.g.cs b/new/dotnet/ios/generated-sources/MediaPlayer/MPMediaLibrary.g.cs
index 6dd49f5..724b071 100644
--- a/old/dotnet/ios/generated-sources/MediaPlayer/MPMediaLibrary.g.cs
+++ b/new/dotnet/ios/generated-sources/MediaPlayer/MPMediaLibrary.g.cs
@@ -101,7 +101,7 @@ namespace MediaPlayer {
[UnsupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("maccatalyst9.3")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe virtual void AddItem (string productID, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity2V112))]global::System.Action<MPMediaEntity[], NSError>? completionHandler)
+ public unsafe virtual void AddItem (string productID, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity2V113))]global::System.Action<MPMediaEntity[], NSError>? completionHandler)
{
if (productID is null)
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (productID));
@@ -113,7 +113,7 @@ namespace MediaPlayer {
} else {
block_completionHandler = new BlockLiteral ();
block_ptr_completionHandler = &block_completionHandler;
- block_completionHandler.SetupBlockUnsafe (Trampolines.SDActionArity2V112.Handler, completionHandler);
+ block_completionHandler.SetupBlockUnsafe (Trampolines.SDActionArity2V113.Handler, completionHandler);
}
if (IsDirectBinding) {
global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (this.Handle, Selector.GetHandle ("addItemWithProductID:completionHandler:"), nsproductID, (IntPtr) block_ptr_completionHandler);
@@ -189,7 +189,7 @@ namespace MediaPlayer {
[UnsupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("maccatalyst9.3")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe virtual void GetPlaylist (NSUuid uuid, MPMediaPlaylistCreationMetadata? creationMetadata, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity2V113))]global::System.Action<MPMediaPlaylist, NSError> completionHandler)
+ public unsafe virtual void GetPlaylist (NSUuid uuid, MPMediaPlaylistCreationMetadata? creationMetadata, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity2V114))]global::System.Action<MPMediaPlaylist, NSError> completionHandler)
{
var uuid__handle__ = uuid!.GetNonNullHandle (nameof (uuid));
var creationMetadata__handle__ = creationMetadata.GetHandle ();
@@ -199,7 +199,7 @@ namespace MediaPlayer {
BlockLiteral block_completionHandler;
block_completionHandler = new BlockLiteral ();
block_ptr_completionHandler = &block_completionHandler;
- block_completionHandler.SetupBlockUnsafe (Trampolines.SDActionArity2V113.Handler, completionHandler);
+ block_completionHandler.SetupBlockUnsafe (Trampolines.SDActionArity2V114.Handler, completionHandler);
if (IsDirectBinding) {
global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle_NativeHandle (this.Handle, Selector.GetHandle ("getPlaylistWithUUID:creationMetadata:completionHandler:"), uuid__handle__, creationMetadata__handle__, (IntPtr) block_ptr_completionHandler);
} else {
diff --git a/old/dotnet/ios/generated-sources/MediaPlayer/MPMusicPlayerApplicationController.g.cs b/new/dotnet/ios/generated-sources/MediaPlayer/MPMusicPlayerApplicationController.g.cs
index 057de99..16bdeec 100644
--- a/old/dotnet/ios/generated-sources/MediaPlayer/MPMusicPlayerApplicationController.g.cs
+++ b/new/dotnet/ios/generated-sources/MediaPlayer/MPMusicPlayerApplicationController.g.cs
@@ -88,7 +88,7 @@ namespace MediaPlayer {
[SupportedOSPlatform ("tvos14.0")]
[SupportedOSPlatform ("maccatalyst10.3")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe virtual void Perform ([BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity1V205))]global::System.Action<MPMusicPlayerControllerMutableQueue> queueTransaction, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity2V114))]global::System.Action<MPMusicPlayerControllerQueue, NSError> completionHandler)
+ public unsafe virtual void Perform ([BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity1V205))]global::System.Action<MPMusicPlayerControllerMutableQueue> queueTransaction, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity2V115))]global::System.Action<MPMusicPlayerControllerQueue, NSError> completionHandler)
{
if (queueTransaction is null)
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (queueTransaction));
@@ -103,7 +103,7 @@ namespace MediaPlayer {
BlockLiteral block_completionHandler;
block_completionHandler = new BlockLiteral ();
block_ptr_completionHandler = &block_completionHandler;
- block_completionHandler.SetupBlockUnsafe (Trampolines.SDActionArity2V114.Handler, completionHandler);
+ block_completionHandler.SetupBlockUnsafe (Trampolines.SDActionArity2V115.Handler, completionHandler);
if (IsDirectBinding) {
global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (this.Handle, Selector.GetHandle ("performQueueTransaction:completionHandler:"), (IntPtr) block_ptr_queueTransaction, (IntPtr) block_ptr_completionHandler);
} else {
diff --git a/old/dotnet/ios/generated-sources/MediaPlayer/MPPlayableContentDataSource.g.cs b/new/dotnet/ios/generated-sources/MediaPlayer/MPPlayableContentDataSource.g.cs
index 78f649b..ff8b1c8 100644
--- a/old/dotnet/ios/generated-sources/MediaPlayer/MPPlayableContentDataSource.g.cs
+++ b/new/dotnet/ios/generated-sources/MediaPlayer/MPPlayableContentDataSource.g.cs
@@ -58,7 +58,7 @@ namespace MediaPlayer {
[ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "BeginLoadingChildItems", Selector = "beginLoadingChildItemsAtIndexPath:completionHandler:", ParameterType = new Type [] { typeof (NSIndexPath), typeof (global::System.Action<NSError>) }, ParameterByRef = new bool [] { false, false }, ParameterBlockProxy = new Type? [] { null, typeof (ObjCRuntime.Trampolines.NIDActionArity1V0) })]
[ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "ChildItemsDisplayPlaybackProgress", Selector = "childItemsDisplayPlaybackProgressAtIndexPath:", ReturnType = typeof (bool), ParameterType = new Type [] { typeof (NSIndexPath) }, ParameterByRef = new bool [] { false })]
[ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "NumberOfChildItems", Selector = "numberOfChildItemsAtIndexPath:", ReturnType = typeof (IntPtr), ParameterType = new Type [] { typeof (NSIndexPath) }, ParameterByRef = new bool [] { false })]
- [ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "GetContentItem", Selector = "contentItemForIdentifier:completionHandler:", ParameterType = new Type [] { typeof (string), typeof (global::System.Action<global::MediaPlayer.MPContentItem, NSError>) }, ParameterByRef = new bool [] { false, false }, ParameterBlockProxy = new Type? [] { null, typeof (ObjCRuntime.Trampolines.NIDActionArity2V115) })]
+ [ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "GetContentItem", Selector = "contentItemForIdentifier:completionHandler:", ParameterType = new Type [] { typeof (string), typeof (global::System.Action<global::MediaPlayer.MPContentItem, NSError>) }, ParameterByRef = new bool [] { false, false }, ParameterBlockProxy = new Type? [] { null, typeof (ObjCRuntime.Trampolines.NIDActionArity2V116) })]
public partial interface IMPPlayableContentDataSource : INativeObject, IDisposable
{
[UnsupportedOSPlatform ("macos")]
@@ -120,7 +120,7 @@ namespace MediaPlayer {
#endif
[UnsupportedOSPlatform ("maccatalyst14.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe static void GetContentItem (this IMPPlayableContentDataSource This, string identifier, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity2V115))]global::System.Action<MPContentItem, NSError> completionHandler)
+ public unsafe static void GetContentItem (this IMPPlayableContentDataSource This, string identifier, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity2V116))]global::System.Action<MPContentItem, NSError> completionHandler)
{
if (identifier is null)
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (identifier));
@@ -131,7 +131,7 @@ namespace MediaPlayer {
BlockLiteral block_completionHandler;
block_completionHandler = new BlockLiteral ();
block_ptr_completionHandler = &block_completionHandler;
- block_completionHandler.SetupBlockUnsafe (Trampolines.SDActionArity2V115.Handler, completionHandler);
+ block_completionHandler.SetupBlockUnsafe (Trampolines.SDActionArity2V116.Handler, completionHandler);
global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("contentItemForIdentifier:completionHandler:"), nsidentifier, (IntPtr) block_ptr_completionHandler);
CFString.ReleaseNative (nsidentifier);
block_ptr_completionHandler->CleanupBlock ();
@@ -259,7 +259,7 @@ namespace MediaPlayer {
#endif
[UnsupportedOSPlatform ("maccatalyst14.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe virtual void GetContentItem (string identifier, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity2V115))]global::System.Action<MPContentItem, NSError> completionHandler)
+ public unsafe virtual void GetContentItem (string identifier, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity2V116))]global::System.Action<MPContentItem, NSError> completionHandler)
{
throw new You_Should_Not_Call_base_In_This_Method ();
}
diff --git a/old/dotnet/ios/generated-sources/Metal/MTLDevice.g.cs b/new/dotnet/ios/generated-sources/Metal/MTLDevice.g.cs
index e9c65d2..011aa0d 100644
--- a/old/dotnet/ios/generated-sources/Metal/MTLDevice.g.cs
+++ b/new/dotnet/ios/generated-sources/Metal/MTLDevice.g.cs
@@ -72,14 +72,14 @@ namespace Metal {
[ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "CreateLibrary", Selector = "newLibraryWithFile:error:", ReturnType = typeof (IMTLLibrary), ParameterType = new Type [] { typeof (string), typeof (NSError) }, ParameterByRef = new bool [] { false, true })]
[ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "CreateLibrary", Selector = "newLibraryWithData:error:", ReturnType = typeof (IMTLLibrary), ParameterType = new Type [] { typeof (DispatchData), typeof (NSError) }, ParameterByRef = new bool [] { false, true })]
[ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "CreateLibrary", Selector = "newLibraryWithSource:options:error:", ReturnType = typeof (IMTLLibrary), ParameterType = new Type [] { typeof (string), typeof (MTLCompileOptions), typeof (NSError) }, ParameterByRef = new bool [] { false, false, true })]
- [ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "CreateLibrary", Selector = "newLibraryWithSource:options:completionHandler:", ParameterType = new Type [] { typeof (string), typeof (MTLCompileOptions), typeof (global::System.Action<global::Metal.IMTLLibrary, NSError>) }, ParameterByRef = new bool [] { false, false, false }, ParameterBlockProxy = new Type? [] { null, null, typeof (ObjCRuntime.Trampolines.NIDActionArity2V116) })]
+ [ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "CreateLibrary", Selector = "newLibraryWithSource:options:completionHandler:", ParameterType = new Type [] { typeof (string), typeof (MTLCompileOptions), typeof (global::System.Action<global::Metal.IMTLLibrary, NSError>) }, ParameterByRef = new bool [] { false, false, false }, ParameterBlockProxy = new Type? [] { null, null, typeof (ObjCRuntime.Trampolines.NIDActionArity2V117) })]
[ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "CreateDefaultLibrary", Selector = "newDefaultLibraryWithBundle:error:", ReturnType = typeof (IMTLLibrary), ParameterType = new Type [] { typeof (NSBundle), typeof (NSError) }, ParameterByRef = new bool [] { false, true })]
[ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "CreateRenderPipelineState", Selector = "newRenderPipelineStateWithDescriptor:error:", ReturnType = typeof (IMTLRenderPipelineState), ParameterType = new Type [] { typeof (MTLRenderPipelineDescriptor), typeof (NSError) }, ParameterByRef = new bool [] { false, true })]
- [ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "CreateRenderPipelineState", Selector = "newRenderPipelineStateWithDescriptor:completionHandler:", ParameterType = new Type [] { typeof (MTLRenderPipelineDescriptor), typeof (global::System.Action<global::Metal.IMTLRenderPipelineState, NSError>) }, ParameterByRef = new bool [] { false, false }, ParameterBlockProxy = new Type? [] { null, typeof (ObjCRuntime.Trampolines.NIDActionArity2V117) })]
+ [ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "CreateRenderPipelineState", Selector = "newRenderPipelineStateWithDescriptor:completionHandler:", ParameterType = new Type [] { typeof (MTLRenderPipelineDescriptor), typeof (global::System.Action<global::Metal.IMTLRenderPipelineState, NSError>) }, ParameterByRef = new bool [] { false, false }, ParameterBlockProxy = new Type? [] { null, typeof (ObjCRuntime.Trampolines.NIDActionArity2V118) })]
[ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "CreateRenderPipelineState", Selector = "newRenderPipelineStateWithDescriptor:options:reflection:error:", ReturnType = typeof (IMTLRenderPipelineState), ParameterType = new Type [] { typeof (MTLRenderPipelineDescriptor), typeof (MTLPipelineOption), typeof (MTLRenderPipelineReflection), typeof (NSError) }, ParameterByRef = new bool [] { false, false, true, true })]
[ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "CreateRenderPipelineState", Selector = "newRenderPipelineStateWithDescriptor:options:completionHandler:", ParameterType = new Type [] { typeof (MTLRenderPipelineDescriptor), typeof (MTLPipelineOption), typeof (global::System.Action<global::Metal.IMTLRenderPipelineState, global::Metal.MTLRenderPipelineReflection, NSError>) }, ParameterByRef = new bool [] { false, false, false }, ParameterBlockProxy = new Type? [] { null, null, typeof (ObjCRuntime.Trampolines.NIDActionArity3V9) })]
[ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "CreateComputePipelineState", Selector = "newComputePipelineStateWithFunction:options:reflection:error:", ReturnType = typeof (IMTLComputePipelineState), ParameterType = new Type [] { typeof (IMTLFunction), typeof (MTLPipelineOption), typeof (MTLComputePipelineReflection), typeof (NSError) }, ParameterByRef = new bool [] { false, false, true, true })]
- [ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "CreateComputePipelineState", Selector = "newComputePipelineStateWithFunction:completionHandler:", ParameterType = new Type [] { typeof (IMTLFunction), typeof (global::System.Action<global::Metal.IMTLComputePipelineState, NSError>) }, ParameterByRef = new bool [] { false, false }, ParameterBlockProxy = new Type? [] { null, typeof (ObjCRuntime.Trampolines.NIDActionArity2V118) })]
+ [ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "CreateComputePipelineState", Selector = "newComputePipelineStateWithFunction:completionHandler:", ParameterType = new Type [] { typeof (IMTLFunction), typeof (global::System.Action<global::Metal.IMTLComputePipelineState, NSError>) }, ParameterByRef = new bool [] { false, false }, ParameterBlockProxy = new Type? [] { null, typeof (ObjCRuntime.Trampolines.NIDActionArity2V119) })]
[ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "CreateComputePipelineState", Selector = "newComputePipelineStateWithFunction:error:", ReturnType = typeof (IMTLComputePipelineState), ParameterType = new Type [] { typeof (IMTLFunction), typeof (NSError) }, ParameterByRef = new bool [] { false, true })]
[ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "CreateComputePipelineState", Selector = "newComputePipelineStateWithFunction:options:completionHandler:", ParameterType = new Type [] { typeof (IMTLFunction), typeof (MTLPipelineOption), typeof (global::System.Action<global::Metal.IMTLComputePipelineState, global::Metal.MTLComputePipelineReflection, NSError>) }, ParameterByRef = new bool [] { false, false, false }, ParameterBlockProxy = new Type? [] { null, null, typeof (ObjCRuntime.Trampolines.NIDActionArity3V10) })]
[ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "CreateComputePipelineState", Selector = "newComputePipelineStateWithDescriptor:options:reflection:error:", ReturnType = typeof (IMTLComputePipelineState), ParameterType = new Type [] { typeof (MTLComputePipelineDescriptor), typeof (MTLPipelineOption), typeof (MTLComputePipelineReflection), typeof (NSError) }, ParameterByRef = new bool [] { false, false, true, true })]
@@ -115,7 +115,7 @@ namespace Metal {
[ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "CreateAccelerationStructure", Selector = "newAccelerationStructureWithSize:", ReturnType = typeof (IMTLAccelerationStructure), ParameterType = new Type [] { typeof (UIntPtr) }, ParameterByRef = new bool [] { false })]
[ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "CreateAccelerationStructure", Selector = "newAccelerationStructureWithDescriptor:", ReturnType = typeof (IMTLAccelerationStructure), ParameterType = new Type [] { typeof (MTLAccelerationStructureDescriptor) }, ParameterByRef = new bool [] { false })]
[ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "CreateLibrary", Selector = "newLibraryWithStitchedDescriptor:error:", ReturnType = typeof (IMTLLibrary), ParameterType = new Type [] { typeof (MTLStitchedLibraryDescriptor), typeof (NSError) }, ParameterByRef = new bool [] { false, true })]
- [ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "CreateLibrary", Selector = "newLibraryWithStitchedDescriptor:completionHandler:", ParameterType = new Type [] { typeof (MTLStitchedLibraryDescriptor), typeof (global::System.Action<global::Metal.IMTLLibrary, NSError>) }, ParameterByRef = new bool [] { false, false }, ParameterBlockProxy = new Type? [] { null, typeof (ObjCRuntime.Trampolines.NIDActionArity2V116) })]
+ [ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "CreateLibrary", Selector = "newLibraryWithStitchedDescriptor:completionHandler:", ParameterType = new Type [] { typeof (MTLStitchedLibraryDescriptor), typeof (global::System.Action<global::Metal.IMTLLibrary, NSError>) }, ParameterByRef = new bool [] { false, false }, ParameterBlockProxy = new Type? [] { null, typeof (ObjCRuntime.Trampolines.NIDActionArity2V117) })]
[ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "Name", Selector = "name", PropertyType = typeof (string), GetterSelector = "name", ArgumentSemantic = ArgumentSemantic.None)]
[ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "MaxThreadsPerThreadgroup", Selector = "maxThreadsPerThreadgroup", PropertyType = typeof (MTLSize), GetterSelector = "maxThreadsPerThreadgroup", ArgumentSemantic = ArgumentSemantic.None)]
[ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "ReadWriteTextureSupport", Selector = "readWriteTextureSupport", PropertyType = typeof (MTLReadWriteTextureTier), GetterSelector = "readWriteTextureSupport", ArgumentSemantic = ArgumentSemantic.None)]
@@ -312,7 +312,7 @@ namespace Metal {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[Export ("newLibraryWithSource:options:completionHandler:")]
[Preserve (Conditional = true)]
- unsafe void CreateLibrary (string source, MTLCompileOptions options, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity2V116))]global::System.Action<IMTLLibrary, NSError> completionHandler);
+ unsafe void CreateLibrary (string source, MTLCompileOptions options, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity2V117))]global::System.Action<IMTLLibrary, NSError> completionHandler);
[return: ReleaseAttribute ()]
[SupportedOSPlatform ("ios10.0")]
[SupportedOSPlatform ("tvos10.0")]
@@ -338,7 +338,7 @@ namespace Metal {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[Export ("newRenderPipelineStateWithDescriptor:completionHandler:")]
[Preserve (Conditional = true)]
- unsafe void CreateRenderPipelineState (MTLRenderPipelineDescriptor descriptor, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity2V117))]global::System.Action<IMTLRenderPipelineState, NSError> completionHandler);
+ unsafe void CreateRenderPipelineState (MTLRenderPipelineDescriptor descriptor, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity2V118))]global::System.Action<IMTLRenderPipelineState, NSError> completionHandler);
[return: ReleaseAttribute ()]
[SupportedOSPlatform ("ios8.0")]
[SupportedOSPlatform ("macos10.11")]
@@ -372,7 +372,7 @@ namespace Metal {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[Export ("newComputePipelineStateWithFunction:completionHandler:")]
[Preserve (Conditional = true)]
- unsafe void CreateComputePipelineState (IMTLFunction computeFunction, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity2V118))]global::System.Action<IMTLComputePipelineState, NSError> completionHandler);
+ unsafe void CreateComputePipelineState (IMTLFunction computeFunction, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity2V119))]global::System.Action<IMTLComputePipelineState, NSError> completionHandler);
[return: ReleaseAttribute ()]
[SupportedOSPlatform ("ios8.0")]
[SupportedOSPlatform ("macos10.11")]
@@ -662,7 +662,7 @@ namespace Metal {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[Export ("newLibraryWithStitchedDescriptor:completionHandler:")]
[Preserve (Conditional = true)]
- unsafe void CreateLibrary (MTLStitchedLibraryDescriptor descriptor, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity2V116))]global::System.Action<IMTLLibrary, NSError> completionHandler);
+ unsafe void CreateLibrary (MTLStitchedLibraryDescriptor descriptor, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity2V117))]global::System.Action<IMTLLibrary, NSError> completionHandler);
[Preserve (Conditional = true)]
string Name {
[Export ("name")]
@@ -1120,7 +1120,7 @@ namespace Metal {
}
[Export ("newLibraryWithSource:options:completionHandler:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe void CreateLibrary (string source, MTLCompileOptions options, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity2V116))]global::System.Action<IMTLLibrary, NSError> completionHandler)
+ public unsafe void CreateLibrary (string source, MTLCompileOptions options, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity2V117))]global::System.Action<IMTLLibrary, NSError> completionHandler)
{
if (source is null)
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (source));
@@ -1132,7 +1132,7 @@ namespace Metal {
BlockLiteral block_completionHandler;
block_completionHandler = new BlockLiteral ();
block_ptr_completionHandler = &block_completionHandler;
- block_completionHandler.SetupBlockUnsafe (Trampolines.SDActionArity2V116.Handler, completionHandler);
+ block_completionHandler.SetupBlockUnsafe (Trampolines.SDActionArity2V117.Handler, completionHandler);
global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle_NativeHandle (this.Handle, Selector.GetHandle ("newLibraryWithSource:options:completionHandler:"), nssource, options__handle__, (IntPtr) block_ptr_completionHandler);
CFString.ReleaseNative (nssource);
block_ptr_completionHandler->CleanupBlock ();
@@ -1167,7 +1167,7 @@ namespace Metal {
}
[Export ("newRenderPipelineStateWithDescriptor:completionHandler:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe void CreateRenderPipelineState (MTLRenderPipelineDescriptor descriptor, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity2V117))]global::System.Action<IMTLRenderPipelineState, NSError> completionHandler)
+ public unsafe void CreateRenderPipelineState (MTLRenderPipelineDescriptor descriptor, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity2V118))]global::System.Action<IMTLRenderPipelineState, NSError> completionHandler)
{
var descriptor__handle__ = descriptor!.GetNonNullHandle (nameof (descriptor));
if (completionHandler is null)
@@ -1176,7 +1176,7 @@ namespace Metal {
BlockLiteral block_completionHandler;
block_completionHandler = new BlockLiteral ();
block_ptr_completionHandler = &block_completionHandler;
- block_completionHandler.SetupBlockUnsafe (Trampolines.SDActionArity2V117.Handler, completionHandler);
+ block_completionHandler.SetupBlockUnsafe (Trampolines.SDActionArity2V118.Handler, completionHandler);
global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (this.Handle, Selector.GetHandle ("newRenderPipelineStateWithDescriptor:completionHandler:"), descriptor__handle__, (IntPtr) block_ptr_completionHandler);
block_ptr_completionHandler->CleanupBlock ();
}
@@ -1229,7 +1229,7 @@ namespace Metal {
}
[Export ("newComputePipelineStateWithFunction:completionHandler:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe void CreateComputePipelineState (IMTLFunction computeFunction, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity2V118))]global::System.Action<IMTLComputePipelineState, NSError> completionHandler)
+ public unsafe void CreateComputePipelineState (IMTLFunction computeFunction, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity2V119))]global::System.Action<IMTLComputePipelineState, NSError> completionHandler)
{
var computeFunction__handle__ = computeFunction!.GetNonNullHandle (nameof (computeFunction));
if (completionHandler is null)
@@ -1238,7 +1238,7 @@ namespace Metal {
BlockLiteral block_completionHandler;
block_completionHandler = new BlockLiteral ();
block_ptr_completionHandler = &block_completionHandler;
- block_completionHandler.SetupBlockUnsafe (Trampolines.SDActionArity2V118.Handler, completionHandler);
+ block_completionHandler.SetupBlockUnsafe (Trampolines.SDActionArity2V119.Handler, completionHandler);
global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (this.Handle, Selector.GetHandle ("newComputePipelineStateWithFunction:completionHandler:"), computeFunction__handle__, (IntPtr) block_ptr_completionHandler);
block_ptr_completionHandler->CleanupBlock ();
}
@@ -1723,7 +1723,7 @@ namespace Metal {
}
[Export ("newLibraryWithStitchedDescriptor:completionHandler:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe void CreateLibrary (MTLStitchedLibraryDescriptor descriptor, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity2V116))]global::System.Action<IMTLLibrary, NSError> completionHandler)
+ public unsafe void CreateLibrary (MTLStitchedLibraryDescriptor descriptor, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity2V117))]global::System.Action<IMTLLibrary, NSError> completionHandler)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
@@ -1735,7 +1735,7 @@ namespace Metal {
BlockLiteral block_completionHandler;
block_completionHandler = new BlockLiteral ();
block_ptr_completionHandler = &block_completionHandler;
- block_completionHandler.SetupBlockUnsafe (Trampolines.SDActionArity2V116.Handler, completionHandler);
+ block_completionHandler.SetupBlockUnsafe (Trampolines.SDActionArity2V117.Handler, completionHandler);
global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (this.Handle, Selector.GetHandle ("newLibraryWithStitchedDescriptor:completionHandler:"), descriptor__handle__, (IntPtr) block_ptr_completionHandler);
block_ptr_completionHandler->CleanupBlock ();
#endif
diff --git a/old/dotnet/ios/generated-sources/Metal/MTLLibrary.g.cs b/new/dotnet/ios/generated-sources/Metal/MTLLibrary.g.cs
index 3221726..448c04e 100644
--- a/old/dotnet/ios/generated-sources/Metal/MTLLibrary.g.cs
+++ b/new/dotnet/ios/generated-sources/Metal/MTLLibrary.g.cs
@@ -56,10 +56,10 @@ namespace Metal {
[Protocol (Name = "MTLLibrary", WrapperType = typeof (MTLLibraryWrapper))]
[ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "CreateFunction", Selector = "newFunctionWithName:", ReturnType = typeof (IMTLFunction), ParameterType = new Type [] { typeof (string) }, ParameterByRef = new bool [] { false })]
[ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "CreateFunction", Selector = "newFunctionWithName:constantValues:error:", ReturnType = typeof (IMTLFunction), ParameterType = new Type [] { typeof (string), typeof (MTLFunctionConstantValues), typeof (NSError) }, ParameterByRef = new bool [] { false, false, true })]
- [ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "CreateFunction", Selector = "newFunctionWithName:constantValues:completionHandler:", ParameterType = new Type [] { typeof (string), typeof (MTLFunctionConstantValues), typeof (global::System.Action<global::Metal.IMTLFunction, NSError>) }, ParameterByRef = new bool [] { false, false, false }, ParameterBlockProxy = new Type? [] { null, null, typeof (ObjCRuntime.Trampolines.NIDActionArity2V119) })]
- [ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "CreateFunction", Selector = "newFunctionWithDescriptor:completionHandler:", ParameterType = new Type [] { typeof (MTLFunctionDescriptor), typeof (global::System.Action<global::Metal.IMTLFunction, NSError>) }, ParameterByRef = new bool [] { false, false }, ParameterBlockProxy = new Type? [] { null, typeof (ObjCRuntime.Trampolines.NIDActionArity2V119) })]
+ [ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "CreateFunction", Selector = "newFunctionWithName:constantValues:completionHandler:", ParameterType = new Type [] { typeof (string), typeof (MTLFunctionConstantValues), typeof (global::System.Action<global::Metal.IMTLFunction, NSError>) }, ParameterByRef = new bool [] { false, false, false }, ParameterBlockProxy = new Type? [] { null, null, typeof (ObjCRuntime.Trampolines.NIDActionArity2V120) })]
+ [ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "CreateFunction", Selector = "newFunctionWithDescriptor:completionHandler:", ParameterType = new Type [] { typeof (MTLFunctionDescriptor), typeof (global::System.Action<global::Metal.IMTLFunction, NSError>) }, ParameterByRef = new bool [] { false, false }, ParameterBlockProxy = new Type? [] { null, typeof (ObjCRuntime.Trampolines.NIDActionArity2V120) })]
[ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "CreateFunction", Selector = "newFunctionWithDescriptor:error:", ReturnType = typeof (IMTLFunction), ParameterType = new Type [] { typeof (MTLFunctionDescriptor), typeof (NSError) }, ParameterByRef = new bool [] { false, true })]
- [ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "CreateIntersectionFunction", Selector = "newIntersectionFunctionWithDescriptor:completionHandler:", ParameterType = new Type [] { typeof (MTLIntersectionFunctionDescriptor), typeof (global::System.Action<global::Metal.IMTLFunction, NSError>) }, ParameterByRef = new bool [] { false, false }, ParameterBlockProxy = new Type? [] { null, typeof (ObjCRuntime.Trampolines.NIDActionArity2V119) })]
+ [ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "CreateIntersectionFunction", Selector = "newIntersectionFunctionWithDescriptor:completionHandler:", ParameterType = new Type [] { typeof (MTLIntersectionFunctionDescriptor), typeof (global::System.Action<global::Metal.IMTLFunction, NSError>) }, ParameterByRef = new bool [] { false, false }, ParameterBlockProxy = new Type? [] { null, typeof (ObjCRuntime.Trampolines.NIDActionArity2V120) })]
[ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "CreateIntersectionFunction", Selector = "newIntersectionFunctionWithDescriptor:error:", ReturnType = typeof (IMTLFunction), ParameterType = new Type [] { typeof (MTLIntersectionFunctionDescriptor), typeof (NSError) }, ParameterByRef = new bool [] { false, true })]
[ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "Label", Selector = "label", PropertyType = typeof (string), GetterSelector = "label", SetterSelector = "setLabel:", ArgumentSemantic = ArgumentSemantic.None)]
[ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "Device", Selector = "device", PropertyType = typeof (IMTLDevice), GetterSelector = "device", ArgumentSemantic = ArgumentSemantic.None)]
@@ -93,7 +93,7 @@ namespace Metal {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[Export ("newFunctionWithName:constantValues:completionHandler:")]
[Preserve (Conditional = true)]
- unsafe void CreateFunction (string name, MTLFunctionConstantValues constantValues, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity2V119))]global::System.Action<IMTLFunction, NSError> completionHandler);
+ unsafe void CreateFunction (string name, MTLFunctionConstantValues constantValues, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity2V120))]global::System.Action<IMTLFunction, NSError> completionHandler);
[SupportedOSPlatform ("macos11.0")]
[SupportedOSPlatform ("ios14.0")]
[SupportedOSPlatform ("tvos14.0")]
@@ -101,7 +101,7 @@ namespace Metal {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[Export ("newFunctionWithDescriptor:completionHandler:")]
[Preserve (Conditional = true)]
- unsafe void CreateFunction (MTLFunctionDescriptor descriptor, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity2V119))]global::System.Action<IMTLFunction, NSError> completionHandler);
+ unsafe void CreateFunction (MTLFunctionDescriptor descriptor, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity2V120))]global::System.Action<IMTLFunction, NSError> completionHandler);
[return: ReleaseAttribute ()]
[SupportedOSPlatform ("macos11.0")]
[SupportedOSPlatform ("ios14.0")]
@@ -118,7 +118,7 @@ namespace Metal {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[Export ("newIntersectionFunctionWithDescriptor:completionHandler:")]
[Preserve (Conditional = true)]
- unsafe void CreateIntersectionFunction (MTLIntersectionFunctionDescriptor descriptor, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity2V119))]global::System.Action<IMTLFunction, NSError> completionHandler);
+ unsafe void CreateIntersectionFunction (MTLIntersectionFunctionDescriptor descriptor, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity2V120))]global::System.Action<IMTLFunction, NSError> completionHandler);
[return: ReleaseAttribute ()]
[SupportedOSPlatform ("macos11.0")]
[SupportedOSPlatform ("ios14.0")]
@@ -215,7 +215,7 @@ namespace Metal {
}
[Export ("newFunctionWithName:constantValues:completionHandler:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe void CreateFunction (string name, MTLFunctionConstantValues constantValues, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity2V119))]global::System.Action<IMTLFunction, NSError> completionHandler)
+ public unsafe void CreateFunction (string name, MTLFunctionConstantValues constantValues, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity2V120))]global::System.Action<IMTLFunction, NSError> completionHandler)
{
if (name is null)
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (name));
@@ -227,14 +227,14 @@ namespace Metal {
BlockLiteral block_completionHandler;
block_completionHandler = new BlockLiteral ();
block_ptr_completionHandler = &block_completionHandler;
- block_completionHandler.SetupBlockUnsafe (Trampolines.SDActionArity2V119.Handler, completionHandler);
+ block_completionHandler.SetupBlockUnsafe (Trampolines.SDActionArity2V120.Handler, completionHandler);
global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle_NativeHandle (this.Handle, Selector.GetHandle ("newFunctionWithName:constantValues:completionHandler:"), nsname, constantValues__handle__, (IntPtr) block_ptr_completionHandler);
CFString.ReleaseNative (nsname);
block_ptr_completionHandler->CleanupBlock ();
}
[Export ("newFunctionWithDescriptor:completionHandler:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe void CreateFunction (MTLFunctionDescriptor descriptor, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity2V119))]global::System.Action<IMTLFunction, NSError> completionHandler)
+ public unsafe void CreateFunction (MTLFunctionDescriptor descriptor, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity2V120))]global::System.Action<IMTLFunction, NSError> completionHandler)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
@@ -246,7 +246,7 @@ namespace Metal {
BlockLiteral block_completionHandler;
block_completionHandler = new BlockLiteral ();
block_ptr_completionHandler = &block_completionHandler;
- block_completionHandler.SetupBlockUnsafe (Trampolines.SDActionArity2V119.Handler, completionHandler);
+ block_completionHandler.SetupBlockUnsafe (Trampolines.SDActionArity2V120.Handler, completionHandler);
global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (this.Handle, Selector.GetHandle ("newFunctionWithDescriptor:completionHandler:"), descriptor__handle__, (IntPtr) block_ptr_completionHandler);
block_ptr_completionHandler->CleanupBlock ();
#endif
@@ -271,7 +271,7 @@ namespace Metal {
}
[Export ("newIntersectionFunctionWithDescriptor:completionHandler:")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe void CreateIntersectionFunction (MTLIntersectionFunctionDescriptor descriptor, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity2V119))]global::System.Action<IMTLFunction, NSError> completionHandler)
+ public unsafe void CreateIntersectionFunction (MTLIntersectionFunctionDescriptor descriptor, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity2V120))]global::System.Action<IMTLFunction, NSError> completionHandler)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
@@ -283,7 +283,7 @@ namespace Metal {
BlockLiteral block_completionHandler;
block_completionHandler = new BlockLiteral ();
block_ptr_completionHandler = &block_completionHandler;
- block_completionHandler.SetupBlockUnsafe (Trampolines.SDActionArity2V119.Handler, completionHandler);
+ block_completionHandler.SetupBlockUnsafe (Trampolines.SDActionArity2V120.Handler, completionHandler);
global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (this.Handle, Selector.GetHandle ("newIntersectionFunctionWithDescriptor:completionHandler:"), descriptor__handle__, (IntPtr) block_ptr_completionHandler);
block_ptr_completionHandler->CleanupBlock ();
#endif
diff --git a/old/dotnet/ios/generated-sources/MetalPerformanceShaders/MPSNNGraph.g.cs b/new/dotnet/ios/generated-sources/MetalPerformanceShaders/MPSNNGraph.g.cs
index 7ef96cb..e3db34a 100644
--- a/old/dotnet/ios/generated-sources/MetalPerformanceShaders/MPSNNGraph.g.cs
+++ b/new/dotnet/ios/generated-sources/MetalPerformanceShaders/MPSNNGraph.g.cs
@@ -365,7 +365,7 @@ namespace MetalPerformanceShaders {
[SupportedOSPlatform ("ios11.0")]
[SupportedOSPlatform ("maccatalyst11.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe virtual MPSImage Execute (MPSImage[] sourceImages, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity2V120))]global::System.Action<MPSImage, NSError> handler)
+ public unsafe virtual MPSImage Execute (MPSImage[] sourceImages, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity2V121))]global::System.Action<MPSImage, NSError> handler)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
@@ -379,7 +379,7 @@ namespace MetalPerformanceShaders {
BlockLiteral block_handler;
block_handler = new BlockLiteral ();
block_ptr_handler = &block_handler;
- block_handler.SetupBlockUnsafe (Trampolines.SDActionArity2V120.Handler, handler);
+ block_handler.SetupBlockUnsafe (Trampolines.SDActionArity2V121.Handler, handler);
MPSImage? ret;
if (IsDirectBinding) {
ret = Runtime.GetNSObject<MPSImage> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle_NativeHandle (this.Handle, Selector.GetHandle ("executeAsyncWithSourceImages:completionHandler:"), nsa_sourceImages.Handle, (IntPtr) block_ptr_handler))!;
diff --git a/old/dotnet/ios/generated-sources/NaturalLanguage/NLTagger.g.cs b/new/dotnet/ios/generated-sources/NaturalLanguage/NLTagger.g.cs
index a11c19b..5008399 100644
--- a/old/dotnet/ios/generated-sources/NaturalLanguage/NLTagger.g.cs
+++ b/new/dotnet/ios/generated-sources/NaturalLanguage/NLTagger.g.cs
@@ -448,7 +448,7 @@ namespace NaturalLanguage {
[SupportedOSPlatform ("ios13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe static void RequestAssets (NSString language, NSString tagScheme, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity2V121))]global::System.Action<NLTaggerAssetsResult, NSError> completionHandler)
+ public unsafe static void RequestAssets (NSString language, NSString tagScheme, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity2V122))]global::System.Action<NLTaggerAssetsResult, NSError> completionHandler)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
@@ -461,7 +461,7 @@ namespace NaturalLanguage {
BlockLiteral block_completionHandler;
block_completionHandler = new BlockLiteral ();
block_ptr_completionHandler = &block_completionHandler;
- block_completionHandler.SetupBlockUnsafe (Trampolines.SDActionArity2V121.Handler, completionHandler);
+ block_completionHandler.SetupBlockUnsafe (Trampolines.SDActionArity2V122.Handler, completionHandler);
global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle_NativeHandle (class_ptr, Selector.GetHandle ("requestAssetsForLanguage:tagScheme:completionHandler:"), language__handle__, tagScheme__handle__, (IntPtr) block_ptr_completionHandler);
block_ptr_completionHandler->CleanupBlock ();
#endif
@@ -488,7 +488,7 @@ namespace NaturalLanguage {
[SupportedOSPlatform ("ios13.0")]
[SupportedOSPlatform ("maccatalyst13.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe static void RequestAssets (NLLanguage language, NLTagScheme tagScheme, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity2V121))]global::System.Action<NLTaggerAssetsResult, NSError> completionHandler)
+ public unsafe static void RequestAssets (NLLanguage language, NLTagScheme tagScheme, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity2V122))]global::System.Action<NLTaggerAssetsResult, NSError> completionHandler)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
diff --git a/old/dotnet/ios/generated-sources/NetworkExtension/NEAppProxyProviderManager.g.cs b/new/dotnet/ios/generated-sources/NetworkExtension/NEAppProxyProviderManager.g.cs
index e5c1fab..0cd17a6 100644
--- a/old/dotnet/ios/generated-sources/NetworkExtension/NEAppProxyProviderManager.g.cs
+++ b/new/dotnet/ios/generated-sources/NetworkExtension/NEAppProxyProviderManager.g.cs
@@ -74,7 +74,7 @@ namespace NetworkExtension {
[SupportedOSPlatform ("macos10.11")]
[SupportedOSPlatform ("maccatalyst9.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe static void LoadAllFromPreferences ([BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity2V122))]global::System.Action<NSArray, NSError> completionHandler)
+ public unsafe static void LoadAllFromPreferences ([BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity2V123))]global::System.Action<NSArray, NSError> completionHandler)
{
if (completionHandler is null)
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (completionHandler));
@@ -82,7 +82,7 @@ namespace NetworkExtension {
BlockLiteral block_completionHandler;
block_completionHandler = new BlockLiteral ();
block_ptr_completionHandler = &block_completionHandler;
- block_completionHandler.SetupBlockUnsafe (Trampolines.SDActionArity2V122.Handler, completionHandler);
+ block_completionHandler.SetupBlockUnsafe (Trampolines.SDActionArity2V123.Handler, completionHandler);
global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (class_ptr, Selector.GetHandle ("loadAllFromPreferencesWithCompletionHandler:"), (IntPtr) block_ptr_completionHandler);
block_ptr_completionHandler->CleanupBlock ();
}
diff --git a/old/dotnet/ios/generated-sources/NetworkExtension/NEAppPushManager.g.cs b/new/dotnet/ios/generated-sources/NetworkExtension/NEAppPushManager.g.cs
index 96fb5d4..7e23de6 100644
--- a/old/dotnet/ios/generated-sources/NetworkExtension/NEAppPushManager.g.cs
+++ b/new/dotnet/ios/generated-sources/NetworkExtension/NEAppPushManager.g.cs
@@ -98,7 +98,7 @@ namespace NetworkExtension {
[SupportedOSPlatform ("ios14.0")]
[SupportedOSPlatform ("maccatalyst14.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe static void LoadAllFromPreferences ([BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity2V123))]global::System.Action<NEAppPushManager[], NSError> completionHandler)
+ public unsafe static void LoadAllFromPreferences ([BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity2V124))]global::System.Action<NEAppPushManager[], NSError> completionHandler)
{
#if ARCH_32
throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
@@ -109,7 +109,7 @@ namespace NetworkExtension {
BlockLiteral block_completionHandler;
block_completionHandler = new BlockLiteral ();
block_ptr_completionHandler = &block_completionHandler;
- block_completionHandler.SetupBlockUnsafe (Trampolines.SDActionArity2V123.Handler, completionHandler);
+ block_completionHandler.SetupBlockUnsafe (Trampolines.SDActionArity2V124.Handler, completionHandler);
global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (class_ptr, Selector.GetHandle ("loadAllFromPreferencesWithCompletionHandler:"), (IntPtr) block_ptr_completionHandler);
block_ptr_completionHandler->CleanupBlock ();
#endif
diff --git a/old/dotnet/ios/generated-sources/NetworkExtension/NEPacketTunnelFlow.g.cs b/new/dotnet/ios/generated-sources/NetworkExtension/NEPacketTunnelFlow.g.cs
index 7b152d1..0ab6c51 100644
--- a/old/dotnet/ios/generated-sources/NetworkExtension/NEPacketTunnelFlow.g.cs
+++ b/new/dotnet/ios/generated-sources/NetworkExtension/NEPacketTunnelFlow.g.cs
@@ -119,7 +119,7 @@ namespace NetworkExtension {
[SupportedOSPlatform ("macos10.11")]
[SupportedOSPlatform ("maccatalyst9.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe virtual void ReadPackets ([BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity2V124))]global::System.Action<NSData[], NSNumber[]> completionHandler)
+ public unsafe virtual void ReadPackets ([BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity2V125))]global::System.Action<NSData[], NSNumber[]> completionHandler)
{
if (completionHandler is null)
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (completionHandler));
@@ -127,7 +127,7 @@ namespace NetworkExtension {
BlockLiteral block_completionHandler;
block_completionHandler = new BlockLiteral ();
block_ptr_completionHandler = &block_completionHandler;
- block_completionHandler.SetupBlockUnsafe (Trampolines.SDActionArity2V124.Handler, completionHandler);
+ block_completionHandler.SetupBlockUnsafe (Trampolines.SDActionArity2V125.Handler, completionHandler);
if (IsDirectBinding) {
global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("readPacketsWithCompletionHandler:"), (IntPtr) block_ptr_completionHandler);
} else {
diff --git a/old/dotnet/ios/generated-sources/NetworkExtension/NETunnelProviderManager.g.cs b/new/dotnet/ios/generated-sources/NetworkExtension/NETunnelProviderManager.g.cs
index f7a10f7..9bdafdf 100644
--- a/old/dotnet/ios/generated-sources/NetworkExtension/NETunnelProviderManager.g.cs
+++ b/new/dotnet/ios/generated-sources/NetworkExtension/NETunnelProviderManager.g.cs
@@ -99,7 +99,7 @@ namespace NetworkExtension {
[SupportedOSPlatform ("macos10.11")]
[SupportedOSPlatform ("maccatalyst9.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe static void LoadAllFromPreferences ([BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity2V122))]global::System.Action<NSArray, NSError> completionHandler)
+ public unsafe static void LoadAllFromPreferences ([BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity2V123))]global::System.Action<NSArray, NSError> completionHandler)
{
if (completionHandler is null)
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (completionHandler));
@@ -107,7 +107,7 @@ namespace NetworkExtension {
BlockLiteral block_completionHandler;
block_completionHandler = new BlockLiteral ();
block_ptr_completionHandler = &block_completionHandler;
- block_completionHandler.SetupBlockUnsafe (Trampolines.SDActionArity2V122.Handler, completionHandler);
+ block_completionHandler.SetupBlockUnsafe (Trampolines.SDActionArity2V123.Handler, completionHandler);
global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (class_ptr, Selector.GetHandle ("loadAllFromPreferencesWithCompletionHandler:"), (IntPtr) block_ptr_completionHandler);
block_ptr_completionHandler->CleanupBlock ();
}
diff --git a/old/dotnet/ios/generated-sources/NetworkExtension/NWTcpConnectionAuthenticationDelegate.g.cs b/new/dotnet/ios/generated-sources/NetworkExtension/NWTcpConnectionAuthenticationDelegate.g.cs
index 8b6dd2c..209308a 100644
--- a/old/dotnet/ios/generated-sources/NetworkExtension/NWTcpConnectionAuthenticationDelegate.g.cs
+++ b/new/dotnet/ios/generated-sources/NetworkExtension/NWTcpConnectionAuthenticationDelegate.g.cs
@@ -54,7 +54,7 @@ namespace NetworkExtension {
[SupportedOSPlatform ("maccatalyst9.0")]
[Protocol (Name = "NWTCPConnectionAuthenticationDelegate", WrapperType = typeof (NWTcpConnectionAuthenticationDelegateWrapper))]
[ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "ShouldProvideIdentity", Selector = "shouldProvideIdentityForConnection:", ReturnType = typeof (bool), ParameterType = new Type [] { typeof (NWTcpConnection) }, ParameterByRef = new bool [] { false })]
- [ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "ProvideIdentity", Selector = "provideIdentityForConnection:completionHandler:", ParameterType = new Type [] { typeof (NWTcpConnection), typeof (global::System.Action<global::Security.SecIdentity, NSArray>) }, ParameterByRef = new bool [] { false, false }, ParameterBlockProxy = new Type? [] { null, typeof (ObjCRuntime.Trampolines.NIDActionArity2V125) })]
+ [ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "ProvideIdentity", Selector = "provideIdentityForConnection:completionHandler:", ParameterType = new Type [] { typeof (NWTcpConnection), typeof (global::System.Action<global::Security.SecIdentity, NSArray>) }, ParameterByRef = new bool [] { false, false }, ParameterBlockProxy = new Type? [] { null, typeof (ObjCRuntime.Trampolines.NIDActionArity2V126) })]
[ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "ShouldEvaluateTrust", Selector = "shouldEvaluateTrustForConnection:", ReturnType = typeof (bool), ParameterType = new Type [] { typeof (NWTcpConnection) }, ParameterByRef = new bool [] { false })]
[ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "EvaluateTrust", Selector = "evaluateTrustForConnection:peerCertificateChain:completionHandler:", ParameterType = new Type [] { typeof (NWTcpConnection), typeof (NSArray), typeof (global::System.Action<global::Security.SecTrust>) }, ParameterByRef = new bool [] { false, false, false }, ParameterBlockProxy = new Type? [] { null, null, typeof (ObjCRuntime.Trampolines.NIDActionArity1V211) })]
public partial interface INWTcpConnectionAuthenticationDelegate : INativeObject, IDisposable
@@ -74,7 +74,7 @@ namespace NetworkExtension {
[SupportedOSPlatform ("macos10.11")]
[SupportedOSPlatform ("maccatalyst9.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe static void ProvideIdentity (this INWTcpConnectionAuthenticationDelegate This, NWTcpConnection connection, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity2V125))]global::System.Action<global::Security.SecIdentity, NSArray> completion)
+ public unsafe static void ProvideIdentity (this INWTcpConnectionAuthenticationDelegate This, NWTcpConnection connection, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity2V126))]global::System.Action<global::Security.SecIdentity, NSArray> completion)
{
var connection__handle__ = connection!.GetNonNullHandle (nameof (connection));
if (completion is null)
@@ -83,7 +83,7 @@ namespace NetworkExtension {
BlockLiteral block_completion;
block_completion = new BlockLiteral ();
block_ptr_completion = &block_completion;
- block_completion.SetupBlockUnsafe (Trampolines.SDActionArity2V125.Handler, completion);
+ block_completion.SetupBlockUnsafe (Trampolines.SDActionArity2V126.Handler, completion);
global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_NativeHandle (This.Handle, Selector.GetHandle ("provideIdentityForConnection:completionHandler:"), connection__handle__, (IntPtr) block_ptr_completion);
block_ptr_completion->CleanupBlock ();
}
@@ -180,7 +180,7 @@ namespace NetworkExtension {
[SupportedOSPlatform ("macos10.11")]
[SupportedOSPlatform ("maccatalyst9.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe virtual void ProvideIdentity (NWTcpConnection connection, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity2V125))]global::System.Action<global::Security.SecIdentity, NSArray> completion)
+ public unsafe virtual void ProvideIdentity (NWTcpConnection connection, [BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity2V126))]global::System.Action<global::Security.SecIdentity, NSArray> completion)
{
throw new You_Should_Not_Call_base_In_This_Method ();
}
diff --git a/old/dotnet/ios/generated-sources/NetworkExtension/NWUdpSession.g.cs b/new/dotnet/ios/generated-sources/NetworkExtension/NWUdpSession.g.cs
index 49a173c..7f2246d 100644
--- a/old/dotnet/ios/generated-sources/NetworkExtension/NWUdpSession.g.cs
+++ b/new/dotnet/ios/generated-sources/NetworkExtension/NWUdpSession.g.cs
@@ -114,7 +114,7 @@ namespace NetworkExtension {
[SupportedOSPlatform ("macos10.11")]
[SupportedOSPlatform ("maccatalyst9.0")]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe virtual void SetReadHandler ([BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity2V122))]global::System.Action<NSArray, NSError> handler, nuint maxDatagrams)
+ public unsafe virtual void SetReadHandler ([BlockProxy (typeof (ObjCRuntime.Trampolines.NIDActionArity2V123))]global::System.Action<NSArray, NSError> handler, nuint maxDatagrams)
{
if (handler is null)
ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (handler));
@@ -122,7 +122,7 @@ namespace NetworkExtension {
BlockLiteral block_handler;
block_handler = new BlockLiteral ();
block_ptr_handler = &block_handler;
- block_handler.SetupBlockUnsafe (Trampolines.SDActionArity2V122.Handler, handler);
+ block_handler.SetupBlockUnsafe (Trampolines.SDActionArity2V123.Handler, handler);
if (IsDirectBinding) {
global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle_UIntPtr (this.Handle, Selector.GetHandle ("setReadHandler:maxDatagrams:"), (IntPtr) block_ptr_handler, maxDatagrams);
} else {
diff --git a/old/dotnet/ios/generated-sources/ObjCRuntime/Messaging.g.cs b/new/dotnet/ios/generated-sources/ObjCRuntime/Messaging.g.cs
index 9a21b73..e9dd8c5 100644
--- a/old/dotnet/ios/generated-sources/ObjCRuntime/Messaging.g.cs
+++ b/new/dotnet/ios/generated-sources/ObjCRuntime/Messaging.g.cs
@@ -3667,6 +3667,10 @@ namespace ObjCRuntime {
[DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSendSuper")]
public extern static NativeHandle NativeHandle_objc_msgSendSuper_NativeHandle_IntPtr_NativeHandle_NativeHandle_NativeHandle_NativeHandle (IntPtr receiver, IntPtr selector, NativeHandle arg1, nint arg2, NativeHandle arg3, NativeHandle arg4, NativeHandle arg5, NativeHandle arg6);
[DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSend")]
+ public extern static NativeHandle NativeHandle_objc_msgSend_NativeHandle_NativeHandle_NativeHandle_NativeHandle_NativeHandle_NativeHandle_NativeHandle (IntPtr receiver, IntPtr selector, NativeHandle arg1, NativeHandle arg2, NativeHandle arg3, NativeHandle arg4, NativeHandle arg5, NativeHandle arg6, NativeHandle arg7);
+ [DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSendSuper")]
+ public extern static NativeHandle NativeHandle_objc_msgSendSuper_NativeHandle_NativeHandle_NativeHandle_NativeHandle_NativeHandle_NativeHandle_NativeHandle (IntPtr receiver, IntPtr selector, NativeHandle arg1, NativeHandle arg2, NativeHandle arg3, NativeHandle arg4, NativeHandle arg5, NativeHandle arg6, NativeHandle arg7);
+ [DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSend")]
public extern static NativeHandle NativeHandle_objc_msgSend_NativeHandle_NativeHandle_UIntPtr_NativeHandle_bool_NativeHandle (IntPtr receiver, IntPtr selector, NativeHandle arg1, NativeHandle arg2, nuint arg3, NativeHandle arg4, [MarshalAs (UnmanagedType.I1)] bool arg5, NativeHandle arg6);
[DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSendSuper")]
public extern static NativeHandle NativeHandle_objc_msgSendSuper_NativeHandle_NativeHandle_UIntPtr_NativeHandle_bool_NativeHandle (IntPtr receiver, IntPtr selector, NativeHandle arg1, NativeHandle arg2, nuint arg3, NativeHandle arg4, [MarshalAs (UnmanagedType.I1)] bool arg5, NativeHandle arg6);
@@ -3695,6 +3699,14 @@ namespace ObjCRuntime {
[DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSendSuper")]
public extern static nint IntPtr_objc_msgSendSuper_NativeHandle_NativeHandle_NativeHandle_NativeHandle (IntPtr receiver, IntPtr selector, NativeHandle arg1, NativeHandle arg2, NativeHandle arg3, NativeHandle arg4);
[DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSend")]
+ public extern static NativeHandle NativeHandle_objc_msgSend_UIntPtr_NativeHandle_NativeHandle_NativeHandle_NativeHandle (IntPtr receiver, IntPtr selector, UIntPtr arg1, NativeHandle arg2, NativeHandle arg3, NativeHandle arg4, NativeHandle arg5);
+ [DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSendSuper")]
+ public extern static NativeHandle NativeHandle_objc_msgSendSuper_UIntPtr_NativeHandle_NativeHandle_NativeHandle_NativeHandle (IntPtr receiver, IntPtr selector, UIntPtr arg1, NativeHandle arg2, NativeHandle arg3, NativeHandle arg4, NativeHandle arg5);
+ [DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSend")]
+ public extern static NativeHandle NativeHandle_objc_msgSend_NativeHandle_IntPtr_NativeHandle_IntPtr_IntPtr (IntPtr receiver, IntPtr selector, NativeHandle arg1, IntPtr arg2, NativeHandle arg3, IntPtr arg4, IntPtr arg5);
+ [DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSendSuper")]
+ public extern static NativeHandle NativeHandle_objc_msgSendSuper_NativeHandle_IntPtr_NativeHandle_IntPtr_IntPtr (IntPtr receiver, IntPtr selector, NativeHandle arg1, IntPtr arg2, NativeHandle arg3, IntPtr arg4, IntPtr arg5);
+ [DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSend")]
public extern static NativeHandle NativeHandle_objc_msgSend_UIntPtr_NativeHandle_NativeHandle_NativeHandle_NativeHandle_NativeHandle_NativeHandle (IntPtr receiver, IntPtr selector, UIntPtr arg1, NativeHandle arg2, NativeHandle arg3, NativeHandle arg4, NativeHandle arg5, NativeHandle arg6, NativeHandle arg7);
[DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSendSuper")]
public extern static NativeHandle NativeHandle_objc_msgSendSuper_UIntPtr_NativeHandle_NativeHandle_NativeHandle_NativeHandle_NativeHandle_NativeHandle (IntPtr receiver, IntPtr selector, UIntPtr arg1, NativeHandle arg2, NativeHandle arg3, NativeHandle arg4, NativeHandle arg5, NativeHandle arg6, NativeHandle arg7);
@@ -3823,10 +3835,6 @@ namespace ObjCRuntime {
[DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSendSuper")]
public extern static NativeHandle NativeHandle_objc_msgSendSuper_NativeHandle_NativeHandle_NativeHandle_NativeHandle_NativeHandle_IntPtr (IntPtr receiver, IntPtr selector, NativeHandle arg1, NativeHandle arg2, NativeHandle arg3, NativeHandle arg4, NativeHandle arg5, IntPtr arg6);
[DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSend")]
- public extern static NativeHandle NativeHandle_objc_msgSend_NativeHandle_NativeHandle_NativeHandle_NativeHandle_NativeHandle_NativeHandle_NativeHandle (IntPtr receiver, IntPtr selector, NativeHandle arg1, NativeHandle arg2, NativeHandle arg3, NativeHandle arg4, NativeHandle arg5, NativeHandle arg6, NativeHandle arg7);
- [DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSendSuper")]
- public extern static NativeHandle NativeHandle_objc_msgSendSuper_NativeHandle_NativeHandle_NativeHandle_NativeHandle_NativeHandle_NativeHandle_NativeHandle (IntPtr receiver, IntPtr selector, NativeHandle arg1, NativeHandle arg2, NativeHandle arg3, NativeHandle arg4, NativeHandle arg5, NativeHandle arg6, NativeHandle arg7);
- [DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSend")]
public extern static NativeHandle NativeHandle_objc_msgSend_NativeHandle_NativeHandle_NativeHandle_NativeHandle_NativeHandle_NativeHandle_bool (IntPtr receiver, IntPtr selector, NativeHandle arg1, NativeHandle arg2, NativeHandle arg3, NativeHandle arg4, NativeHandle arg5, NativeHandle arg6, [MarshalAs (UnmanagedType.I1)] bool arg7);
[DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSendSuper")]
public extern static NativeHandle NativeHandle_objc_msgSendSuper_NativeHandle_NativeHandle_NativeHandle_NativeHandle_NativeHandle_NativeHandle_bool (IntPtr receiver, IntPtr selector, NativeHandle arg1, NativeHandle arg2, NativeHandle arg3, NativeHandle arg4, NativeHandle arg5, NativeHandle arg6, [MarshalAs (UnmanagedType.I1)] bool arg7);
@@ -4479,10 +4487,6 @@ namespace ObjCRuntime {
[DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSendSuper")]
public extern static void void_objc_msgSendSuper_MKTileOverlayPath_NativeHandle (IntPtr receiver, IntPtr selector, global::MapKit.MKTileOverlayPath arg1, NativeHandle arg2);
[DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSend")]
- public extern static NativeHandle NativeHandle_objc_msgSend_UIntPtr_NativeHandle_NativeHandle_NativeHandle_NativeHandle (IntPtr receiver, IntPtr selector, UIntPtr arg1, NativeHandle arg2, NativeHandle arg3, NativeHandle arg4, NativeHandle arg5);
- [DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSendSuper")]
- public extern static NativeHandle NativeHandle_objc_msgSendSuper_UIntPtr_NativeHandle_NativeHandle_NativeHandle_NativeHandle (IntPtr receiver, IntPtr selector, UIntPtr arg1, NativeHandle arg2, NativeHandle arg3, NativeHandle arg4, NativeHandle arg5);
- [DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSend")]
public extern static CGRect CGRect_objc_msgSend_CGRect_CGRect_float (IntPtr receiver, IntPtr selector, CGRect arg1, CGRect arg2, float arg3);
[DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSendSuper")]
public extern static CGRect CGRect_objc_msgSendSuper_CGRect_CGRect_float (IntPtr receiver, IntPtr selector, CGRect arg1, CGRect arg2, float arg3);
diff --git a/old/dotnet/ios/generated-sources/ObjCRuntime/Trampolines.g.cs b/new/dotnet/ios/generated-sources/ObjCRuntime/Trampolines.g.cs
index 89b3a40..cea1ec5 100644
--- a/old/dotnet/ios/generated-sources/ObjCRuntime/Trampolines.g.cs
+++ b/new/dotnet/ios/generated-sources/ObjCRuntime/Trampolines.g.cs
@@ -8111,6 +8111,133 @@ namespace ObjCRuntime {
}
} /* class NIDHKAnchoredObjectUpdateHandler */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
+ [UserDelegateType (typeof (global::HealthKit.HKAttachmentStoreCompletionHandler))]
+ internal delegate void DHKAttachmentStoreCompletionHandler (IntPtr block, bool success, NativeHandle error);
+ //
+ // This class bridges native block invocations that call into C#
+ //
+ static internal class SDHKAttachmentStoreCompletionHandler {
+ static internal readonly DHKAttachmentStoreCompletionHandler Handler = Invoke;
+ [Preserve (Conditional = true)]
+ [global::System.Diagnostics.CodeAnalysis.DynamicDependency ("Handler")]
+ [MonoPInvokeCallback (typeof (DHKAttachmentStoreCompletionHandler))]
+ static unsafe void Invoke (IntPtr block, bool success, NativeHandle error) {
+ var descriptor = (BlockLiteral *) block;
+ var del = (global::HealthKit.HKAttachmentStoreCompletionHandler) (descriptor->Target);
+ if (del != null)
+ del (success, Runtime.GetNSObject<NSError> (error)!);
+ }
+ } /* class SDHKAttachmentStoreCompletionHandler */
+ internal sealed class NIDHKAttachmentStoreCompletionHandler : TrampolineBlockBase {
+ DHKAttachmentStoreCompletionHandler invoker;
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe NIDHKAttachmentStoreCompletionHandler (BlockLiteral *block) : base (block)
+ {
+ invoker = block->GetDelegateForBlock<DHKAttachmentStoreCompletionHandler> ();
+ }
+ [Preserve (Conditional=true)]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe static global::HealthKit.HKAttachmentStoreCompletionHandler? Create (IntPtr block)
+ {
+ if (block == IntPtr.Zero)
+ return null;
+ var del = (global::HealthKit.HKAttachmentStoreCompletionHandler) GetExistingManagedDelegate (block);
+ return del ?? new NIDHKAttachmentStoreCompletionHandler ((BlockLiteral *) block).Invoke;
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ unsafe void Invoke (bool success, NSError error)
+ {
+ var error__handle__ = error.GetHandle ();
+ invoker (BlockPointer, success, error__handle__);
+ }
+ } /* class NIDHKAttachmentStoreCompletionHandler */
+ [UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
+ [UserDelegateType (typeof (global::HealthKit.HKAttachmentStoreDataHandler))]
+ internal delegate void DHKAttachmentStoreDataHandler (IntPtr block, NativeHandle dataChunk, NativeHandle error, bool done);
+ //
+ // This class bridges native block invocations that call into C#
+ //
+ static internal class SDHKAttachmentStoreDataHandler {
+ static internal readonly DHKAttachmentStoreDataHandler Handler = Invoke;
+ [Preserve (Conditional = true)]
+ [global::System.Diagnostics.CodeAnalysis.DynamicDependency ("Handler")]
+ [MonoPInvokeCallback (typeof (DHKAttachmentStoreDataHandler))]
+ static unsafe void Invoke (IntPtr block, NativeHandle dataChunk, NativeHandle error, bool done) {
+ var descriptor = (BlockLiteral *) block;
+ var del = (global::HealthKit.HKAttachmentStoreDataHandler) (descriptor->Target);
+ if (del != null)
+ del ( Runtime.GetNSObject<NSData> (dataChunk)!, Runtime.GetNSObject<NSError> (error)!, done);
+ }
+ } /* class SDHKAttachmentStoreDataHandler */
+ internal sealed class NIDHKAttachmentStoreDataHandler : TrampolineBlockBase {
+ DHKAttachmentStoreDataHandler invoker;
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe NIDHKAttachmentStoreDataHandler (BlockLiteral *block) : base (block)
+ {
+ invoker = block->GetDelegateForBlock<DHKAttachmentStoreDataHandler> ();
+ }
+ [Preserve (Conditional=true)]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe static global::HealthKit.HKAttachmentStoreDataHandler? Create (IntPtr block)
+ {
+ if (block == IntPtr.Zero)
+ return null;
+ var del = (global::HealthKit.HKAttachmentStoreDataHandler) GetExistingManagedDelegate (block);
+ return del ?? new NIDHKAttachmentStoreDataHandler ((BlockLiteral *) block).Invoke;
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ unsafe void Invoke (NSData? dataChunk, NSError? error, bool done)
+ {
+ var dataChunk__handle__ = dataChunk.GetHandle ();
+ var error__handle__ = error.GetHandle ();
+ invoker (BlockPointer, dataChunk__handle__, error__handle__, done);
+ }
+ } /* class NIDHKAttachmentStoreDataHandler */
+ [UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
+ [UserDelegateType (typeof (global::HealthKit.HKAttachmentStoreGetAttachmentCompletionHandler))]
+ internal delegate void DHKAttachmentStoreGetAttachmentCompletionHandler (IntPtr block, NativeHandle attachments, NativeHandle error);
+ //
+ // This class bridges native block invocations that call into C#
+ //
+ static internal class SDHKAttachmentStoreGetAttachmentCompletionHandler {
+ static internal readonly DHKAttachmentStoreGetAttachmentCompletionHandler Handler = Invoke;
+ [Preserve (Conditional = true)]
+ [global::System.Diagnostics.CodeAnalysis.DynamicDependency ("Handler")]
+ [MonoPInvokeCallback (typeof (DHKAttachmentStoreGetAttachmentCompletionHandler))]
+ static unsafe void Invoke (IntPtr block, NativeHandle attachments, NativeHandle error) {
+ var descriptor = (BlockLiteral *) block;
+ var del = (global::HealthKit.HKAttachmentStoreGetAttachmentCompletionHandler) (descriptor->Target);
+ if (del != null)
+ del (CFArray.ArrayFromHandle<global::HealthKit.HKAttachment> (attachments)!, Runtime.GetNSObject<NSError> (error)!);
+ }
+ } /* class SDHKAttachmentStoreGetAttachmentCompletionHandler */
+ internal sealed class NIDHKAttachmentStoreGetAttachmentCompletionHandler : TrampolineBlockBase {
+ DHKAttachmentStoreGetAttachmentCompletionHandler invoker;
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe NIDHKAttachmentStoreGetAttachmentCompletionHandler (BlockLiteral *block) : base (block)
+ {
+ invoker = block->GetDelegateForBlock<DHKAttachmentStoreGetAttachmentCompletionHandler> ();
+ }
+ [Preserve (Conditional=true)]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe static global::HealthKit.HKAttachmentStoreGetAttachmentCompletionHandler? Create (IntPtr block)
+ {
+ if (block == IntPtr.Zero)
+ return null;
+ var del = (global::HealthKit.HKAttachmentStoreGetAttachmentCompletionHandler) GetExistingManagedDelegate (block);
+ return del ?? new NIDHKAttachmentStoreGetAttachmentCompletionHandler ((BlockLiteral *) block).Invoke;
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ unsafe void Invoke (global::HealthKit.HKAttachment[]? attachments, NSError? error)
+ {
+ var error__handle__ = error.GetHandle ();
+ var nsa_attachments = attachments is null ? null : NSArray.FromNSObjects (attachments);
+ invoker (BlockPointer, nsa_attachments.GetHandle (), error__handle__);
+ if (nsa_attachments != null)
+ nsa_attachments.Dispose ();
+ }
+ } /* class NIDHKAttachmentStoreGetAttachmentCompletionHandler */
+ [UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
[UserDelegateType (typeof (global::HealthKit.HKCorrelationQueryResultHandler))]
internal delegate void DHKCorrelationQueryResultHandler (IntPtr block, NativeHandle query, NativeHandle correlations, NativeHandle error);
//
@@ -8201,6 +8328,47 @@ namespace ObjCRuntime {
}
} /* class NIDHKElectrocardiogramQueryDataHandler */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
+ [UserDelegateType (typeof (global::HealthKit.HKHealthStoreCompletionHandler))]
+ internal delegate void DHKHealthStoreCompletionHandler (IntPtr block, bool success, NativeHandle error);
+ //
+ // This class bridges native block invocations that call into C#
+ //
+ static internal class SDHKHealthStoreCompletionHandler {
+ static internal readonly DHKHealthStoreCompletionHandler Handler = Invoke;
+ [Preserve (Conditional = true)]
+ [global::System.Diagnostics.CodeAnalysis.DynamicDependency ("Handler")]
+ [MonoPInvokeCallback (typeof (DHKHealthStoreCompletionHandler))]
+ static unsafe void Invoke (IntPtr block, bool success, NativeHandle error) {
+ var descriptor = (BlockLiteral *) block;
+ var del = (global::HealthKit.HKHealthStoreCompletionHandler) (descriptor->Target);
+ if (del != null)
+ del (success, Runtime.GetNSObject<NSError> (error)!);
+ }
+ } /* class SDHKHealthStoreCompletionHandler */
+ internal sealed class NIDHKHealthStoreCompletionHandler : TrampolineBlockBase {
+ DHKHealthStoreCompletionHandler invoker;
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe NIDHKHealthStoreCompletionHandler (BlockLiteral *block) : base (block)
+ {
+ invoker = block->GetDelegateForBlock<DHKHealthStoreCompletionHandler> ();
+ }
+ [Preserve (Conditional=true)]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe static global::HealthKit.HKHealthStoreCompletionHandler? Create (IntPtr block)
+ {
+ if (block == IntPtr.Zero)
+ return null;
+ var del = (global::HealthKit.HKHealthStoreCompletionHandler) GetExistingManagedDelegate (block);
+ return del ?? new NIDHKHealthStoreCompletionHandler ((BlockLiteral *) block).Invoke;
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ unsafe void Invoke (bool success, NSError error)
+ {
+ var error__handle__ = error.GetHandle ();
+ invoker (BlockPointer, success, error__handle__);
+ }
+ } /* class NIDHKHealthStoreCompletionHandler */
+ [UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
[UserDelegateType (typeof (global::HealthKit.HKHealthStoreGetRequestStatusForAuthorizationToShareHandler))]
internal delegate void DHKHealthStoreGetRequestStatusForAuthorizationToShareHandler (IntPtr block, IntPtr requestStatus, NativeHandle error);
//
@@ -9034,6 +9202,51 @@ namespace ObjCRuntime {
}
} /* class NIDHKWorkoutRouteBuilderDataHandler */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
+ [UserDelegateType (typeof (global::HealthKit.HKWorkoutRouteQueryDataHandler))]
+ internal delegate void DHKWorkoutRouteQueryDataHandler (IntPtr block, NativeHandle query, NativeHandle routeData, bool done, NativeHandle error);
+ //
+ // This class bridges native block invocations that call into C#
+ //
+ static internal class SDHKWorkoutRouteQueryDataHandler {
+ static internal readonly DHKWorkoutRouteQueryDataHandler Handler = Invoke;
+ [Preserve (Conditional = true)]
+ [global::System.Diagnostics.CodeAnalysis.DynamicDependency ("Handler")]
+ [MonoPInvokeCallback (typeof (DHKWorkoutRouteQueryDataHandler))]
+ static unsafe void Invoke (IntPtr block, NativeHandle query, NativeHandle routeData, bool done, NativeHandle error) {
+ var descriptor = (BlockLiteral *) block;
+ var del = (global::HealthKit.HKWorkoutRouteQueryDataHandler) (descriptor->Target);
+ if (del != null)
+ del ( Runtime.GetNSObject<HealthKit.HKWorkoutRouteQuery> (query)!, CFArray.ArrayFromHandle<global::CoreLocation.CLLocation> (routeData)!, done, Runtime.GetNSObject<NSError> (error)!);
+ }
+ } /* class SDHKWorkoutRouteQueryDataHandler */
+ internal sealed class NIDHKWorkoutRouteQueryDataHandler : TrampolineBlockBase {
+ DHKWorkoutRouteQueryDataHandler invoker;
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe NIDHKWorkoutRouteQueryDataHandler (BlockLiteral *block) : base (block)
+ {
+ invoker = block->GetDelegateForBlock<DHKWorkoutRouteQueryDataHandler> ();
+ }
+ [Preserve (Conditional=true)]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe static global::HealthKit.HKWorkoutRouteQueryDataHandler? Create (IntPtr block)
+ {
+ if (block == IntPtr.Zero)
+ return null;
+ var del = (global::HealthKit.HKWorkoutRouteQueryDataHandler) GetExistingManagedDelegate (block);
+ return del ?? new NIDHKWorkoutRouteQueryDataHandler ((BlockLiteral *) block).Invoke;
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ unsafe void Invoke (global::HealthKit.HKWorkoutRouteQuery query, global::CoreLocation.CLLocation[]? routeData, bool done, NSError? error)
+ {
+ var query__handle__ = query.GetHandle ();
+ var error__handle__ = error.GetHandle ();
+ var nsa_routeData = routeData is null ? null : NSArray.FromNSObjects (routeData);
+ invoker (BlockPointer, query__handle__, nsa_routeData.GetHandle (), done, error__handle__);
+ if (nsa_routeData != null)
+ nsa_routeData.Dispose ();
+ }
+ } /* class NIDHKWorkoutRouteQueryDataHandler */
+ [UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
[UserDelegateType (typeof (global::HomeKit.HMFetchRoomHandler))]
internal delegate void DHMFetchRoomHandler (IntPtr block, NativeHandle rooms, NativeHandle error);
//
@@ -26572,28 +26785,28 @@ namespace ObjCRuntime {
} /* class NIDActionArity2V77 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
[UserDelegateType (typeof (global::System.Action<NSArray, NSError>))]
- internal delegate void DActionArity2V122 (IntPtr block, NativeHandle arg1, NativeHandle arg2);
+ internal delegate void DActionArity2V123 (IntPtr block, NativeHandle arg1, NativeHandle arg2);
//
// This class bridges native block invocations that call into C#
//
- static internal class SDActionArity2V122 {
- static internal readonly DActionArity2V122 Handler = Invoke;
+ static internal class SDActionArity2V123 {
+ static internal readonly DActionArity2V123 Handler = Invoke;
[Preserve (Conditional = true)]
[global::System.Diagnostics.CodeAnalysis.DynamicDependency ("Handler")]
- [MonoPInvokeCallback (typeof (DActionArity2V122))]
+ [MonoPInvokeCallback (typeof (DActionArity2V123))]
static unsafe void Invoke (IntPtr block, NativeHandle arg1, NativeHandle arg2) {
var descriptor = (BlockLiteral *) block;
var del = (global::System.Action<NSArray, NSError>) (descriptor->Target);
if (del != null)
del ( Runtime.GetNSObject<NSArray> (arg1)!, Runtime.GetNSObject<NSError> (arg2)!);
}
- } /* class SDActionArity2V122 */
- internal sealed class NIDActionArity2V122 : TrampolineBlockBase {
- DActionArity2V122 invoker;
+ } /* class SDActionArity2V123 */
+ internal sealed class NIDActionArity2V123 : TrampolineBlockBase {
+ DActionArity2V123 invoker;
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe NIDActionArity2V122 (BlockLiteral *block) : base (block)
+ public unsafe NIDActionArity2V123 (BlockLiteral *block) : base (block)
{
- invoker = block->GetDelegateForBlock<DActionArity2V122> ();
+ invoker = block->GetDelegateForBlock<DActionArity2V123> ();
}
[Preserve (Conditional=true)]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -26602,7 +26815,7 @@ namespace ObjCRuntime {
if (block == IntPtr.Zero)
return null;
var del = (global::System.Action<NSArray, NSError>) GetExistingManagedDelegate (block);
- return del ?? new NIDActionArity2V122 ((BlockLiteral *) block).Invoke;
+ return del ?? new NIDActionArity2V123 ((BlockLiteral *) block).Invoke;
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
unsafe void Invoke (NSArray arg1, NSError arg2)
@@ -26611,7 +26824,7 @@ namespace ObjCRuntime {
var arg2__handle__ = arg2.GetHandle ();
invoker (BlockPointer, arg1__handle__, arg2__handle__);
}
- } /* class NIDActionArity2V122 */
+ } /* class NIDActionArity2V123 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
[UserDelegateType (typeof (global::System.Action<NSArray<global::AVFoundation.AVAssetTrack>, NSError>))]
internal delegate void DActionArity2V15 (IntPtr block, NativeHandle arg1, NativeHandle arg2);
@@ -26950,28 +27163,28 @@ namespace ObjCRuntime {
} /* class NIDActionArity2V31 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
[UserDelegateType (typeof (global::System.Action<NSArray<global::VideoSubscriberAccount.VSUserAccount>, NSError>))]
- internal delegate void DActionArity2V159 (IntPtr block, NativeHandle arg1, NativeHandle arg2);
+ internal delegate void DActionArity2V160 (IntPtr block, NativeHandle arg1, NativeHandle arg2);
//
// This class bridges native block invocations that call into C#
//
- static internal class SDActionArity2V159 {
- static internal readonly DActionArity2V159 Handler = Invoke;
+ static internal class SDActionArity2V160 {
+ static internal readonly DActionArity2V160 Handler = Invoke;
[Preserve (Conditional = true)]
[global::System.Diagnostics.CodeAnalysis.DynamicDependency ("Handler")]
- [MonoPInvokeCallback (typeof (DActionArity2V159))]
+ [MonoPInvokeCallback (typeof (DActionArity2V160))]
static unsafe void Invoke (IntPtr block, NativeHandle arg1, NativeHandle arg2) {
var descriptor = (BlockLiteral *) block;
var del = (global::System.Action<NSArray<global::VideoSubscriberAccount.VSUserAccount>, NSError>) (descriptor->Target);
if (del != null)
del ( Runtime.GetNSObject<global::Foundation.NSArray<global::VideoSubscriberAccount.VSUserAccount>> (arg1)!, Runtime.GetNSObject<NSError> (arg2)!);
}
- } /* class SDActionArity2V159 */
- internal sealed class NIDActionArity2V159 : TrampolineBlockBase {
- DActionArity2V159 invoker;
+ } /* class SDActionArity2V160 */
+ internal sealed class NIDActionArity2V160 : TrampolineBlockBase {
+ DActionArity2V160 invoker;
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe NIDActionArity2V159 (BlockLiteral *block) : base (block)
+ public unsafe NIDActionArity2V160 (BlockLiteral *block) : base (block)
{
- invoker = block->GetDelegateForBlock<DActionArity2V159> ();
+ invoker = block->GetDelegateForBlock<DActionArity2V160> ();
}
[Preserve (Conditional=true)]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -26980,7 +27193,7 @@ namespace ObjCRuntime {
if (block == IntPtr.Zero)
return null;
var del = (global::System.Action<NSArray<global::VideoSubscriberAccount.VSUserAccount>, NSError>) GetExistingManagedDelegate (block);
- return del ?? new NIDActionArity2V159 ((BlockLiteral *) block).Invoke;
+ return del ?? new NIDActionArity2V160 ((BlockLiteral *) block).Invoke;
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
unsafe void Invoke (NSArray<global::VideoSubscriberAccount.VSUserAccount> arg1, NSError arg2)
@@ -26989,7 +27202,7 @@ namespace ObjCRuntime {
var arg2__handle__ = arg2.GetHandle ();
invoker (BlockPointer, arg1__handle__, arg2__handle__);
}
- } /* class NIDActionArity2V159 */
+ } /* class NIDActionArity2V160 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
[UserDelegateType (typeof (global::System.Action<NSData, NSError>))]
internal delegate void DActionArity2V19 (IntPtr block, NativeHandle arg1, NativeHandle arg2);
@@ -27080,28 +27293,28 @@ namespace ObjCRuntime {
} /* class NIDActionArity2V65 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
[UserDelegateType (typeof (global::System.Action<NSData[], NSNumber[]>))]
- internal delegate void DActionArity2V124 (IntPtr block, NativeHandle arg1, NativeHandle arg2);
+ internal delegate void DActionArity2V125 (IntPtr block, NativeHandle arg1, NativeHandle arg2);
//
// This class bridges native block invocations that call into C#
//
- static internal class SDActionArity2V124 {
- static internal readonly DActionArity2V124 Handler = Invoke;
+ static internal class SDActionArity2V125 {
+ static internal readonly DActionArity2V125 Handler = Invoke;
[Preserve (Conditional = true)]
[global::System.Diagnostics.CodeAnalysis.DynamicDependency ("Handler")]
- [MonoPInvokeCallback (typeof (DActionArity2V124))]
+ [MonoPInvokeCallback (typeof (DActionArity2V125))]
static unsafe void Invoke (IntPtr block, NativeHandle arg1, NativeHandle arg2) {
var descriptor = (BlockLiteral *) block;
var del = (global::System.Action<NSData[], NSNumber[]>) (descriptor->Target);
if (del != null)
del (CFArray.ArrayFromHandle<NSData> (arg1)!, CFArray.ArrayFromHandle<NSNumber> (arg2)!);
}
- } /* class SDActionArity2V124 */
- internal sealed class NIDActionArity2V124 : TrampolineBlockBase {
- DActionArity2V124 invoker;
+ } /* class SDActionArity2V125 */
+ internal sealed class NIDActionArity2V125 : TrampolineBlockBase {
+ DActionArity2V125 invoker;
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe NIDActionArity2V124 (BlockLiteral *block) : base (block)
+ public unsafe NIDActionArity2V125 (BlockLiteral *block) : base (block)
{
- invoker = block->GetDelegateForBlock<DActionArity2V124> ();
+ invoker = block->GetDelegateForBlock<DActionArity2V125> ();
}
[Preserve (Conditional=true)]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -27110,7 +27323,7 @@ namespace ObjCRuntime {
if (block == IntPtr.Zero)
return null;
var del = (global::System.Action<NSData[], NSNumber[]>) GetExistingManagedDelegate (block);
- return del ?? new NIDActionArity2V124 ((BlockLiteral *) block).Invoke;
+ return del ?? new NIDActionArity2V125 ((BlockLiteral *) block).Invoke;
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
unsafe void Invoke (NSData[] arg1, NSNumber[] arg2)
@@ -27127,31 +27340,31 @@ namespace ObjCRuntime {
if (nsa_arg2 != null)
nsa_arg2.Dispose ();
}
- } /* class NIDActionArity2V124 */
+ } /* class NIDActionArity2V125 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
[UserDelegateType (typeof (global::System.Action<NSDictionary, NSError>))]
- internal delegate void DActionArity2V98 (IntPtr block, NativeHandle arg1, NativeHandle arg2);
+ internal delegate void DActionArity2V99 (IntPtr block, NativeHandle arg1, NativeHandle arg2);
//
// This class bridges native block invocations that call into C#
//
- static internal class SDActionArity2V98 {
- static internal readonly DActionArity2V98 Handler = Invoke;
+ static internal class SDActionArity2V99 {
+ static internal readonly DActionArity2V99 Handler = Invoke;
[Preserve (Conditional = true)]
[global::System.Diagnostics.CodeAnalysis.DynamicDependency ("Handler")]
- [MonoPInvokeCallback (typeof (DActionArity2V98))]
+ [MonoPInvokeCallback (typeof (DActionArity2V99))]
static unsafe void Invoke (IntPtr block, NativeHandle arg1, NativeHandle arg2) {
var descriptor = (BlockLiteral *) block;
var del = (global::System.Action<NSDictionary, NSError>) (descriptor->Target);
if (del != null)
del ( Runtime.GetNSObject<NSDictionary> (arg1)!, Runtime.GetNSObject<NSError> (arg2)!);
}
- } /* class SDActionArity2V98 */
- internal sealed class NIDActionArity2V98 : TrampolineBlockBase {
- DActionArity2V98 invoker;
+ } /* class SDActionArity2V99 */
+ internal sealed class NIDActionArity2V99 : TrampolineBlockBase {
+ DActionArity2V99 invoker;
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe NIDActionArity2V98 (BlockLiteral *block) : base (block)
+ public unsafe NIDActionArity2V99 (BlockLiteral *block) : base (block)
{
- invoker = block->GetDelegateForBlock<DActionArity2V98> ();
+ invoker = block->GetDelegateForBlock<DActionArity2V99> ();
}
[Preserve (Conditional=true)]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -27160,7 +27373,7 @@ namespace ObjCRuntime {
if (block == IntPtr.Zero)
return null;
var del = (global::System.Action<NSDictionary, NSError>) GetExistingManagedDelegate (block);
- return del ?? new NIDActionArity2V98 ((BlockLiteral *) block).Invoke;
+ return del ?? new NIDActionArity2V99 ((BlockLiteral *) block).Invoke;
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
unsafe void Invoke (NSDictionary arg1, NSError arg2)
@@ -27169,7 +27382,7 @@ namespace ObjCRuntime {
var arg2__handle__ = arg2.GetHandle ();
invoker (BlockPointer, arg1__handle__, arg2__handle__);
}
- } /* class NIDActionArity2V98 */
+ } /* class NIDActionArity2V99 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
[UserDelegateType (typeof (global::System.Action<NSDictionary<NSString, NSFileProviderService>, NSError>))]
internal delegate void DActionArity2V75 (IntPtr block, NativeHandle arg1, NativeHandle arg2);
@@ -27214,28 +27427,28 @@ namespace ObjCRuntime {
} /* class NIDActionArity2V75 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
[UserDelegateType (typeof (global::System.Action<NSDictionary<NSString, NSObject>, NSError>))]
- internal delegate void DActionArity2V153 (IntPtr block, NativeHandle arg1, NativeHandle arg2);
+ internal delegate void DActionArity2V154 (IntPtr block, NativeHandle arg1, NativeHandle arg2);
//
// This class bridges native block invocations that call into C#
//
- static internal class SDActionArity2V153 {
- static internal readonly DActionArity2V153 Handler = Invoke;
+ static internal class SDActionArity2V154 {
+ static internal readonly DActionArity2V154 Handler = Invoke;
[Preserve (Conditional = true)]
[global::System.Diagnostics.CodeAnalysis.DynamicDependency ("Handler")]
- [MonoPInvokeCallback (typeof (DActionArity2V153))]
+ [MonoPInvokeCallback (typeof (DActionArity2V154))]
static unsafe void Invoke (IntPtr block, NativeHandle arg1, NativeHandle arg2) {
var descriptor = (BlockLiteral *) block;
var del = (global::System.Action<NSDictionary<NSString, NSObject>, NSError>) (descriptor->Target);
if (del != null)
del ( Runtime.GetNSObject<global::Foundation.NSDictionary<NSString, NSObject>> (arg1)!, Runtime.GetNSObject<NSError> (arg2)!);
}
- } /* class SDActionArity2V153 */
- internal sealed class NIDActionArity2V153 : TrampolineBlockBase {
- DActionArity2V153 invoker;
+ } /* class SDActionArity2V154 */
+ internal sealed class NIDActionArity2V154 : TrampolineBlockBase {
+ DActionArity2V154 invoker;
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe NIDActionArity2V153 (BlockLiteral *block) : base (block)
+ public unsafe NIDActionArity2V154 (BlockLiteral *block) : base (block)
{
- invoker = block->GetDelegateForBlock<DActionArity2V153> ();
+ invoker = block->GetDelegateForBlock<DActionArity2V154> ();
}
[Preserve (Conditional=true)]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -27244,7 +27457,7 @@ namespace ObjCRuntime {
if (block == IntPtr.Zero)
return null;
var del = (global::System.Action<NSDictionary<NSString, NSObject>, NSError>) GetExistingManagedDelegate (block);
- return del ?? new NIDActionArity2V153 ((BlockLiteral *) block).Invoke;
+ return del ?? new NIDActionArity2V154 ((BlockLiteral *) block).Invoke;
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
unsafe void Invoke (NSDictionary<NSString, NSObject> arg1, NSError arg2)
@@ -27253,31 +27466,31 @@ namespace ObjCRuntime {
var arg2__handle__ = arg2.GetHandle ();
invoker (BlockPointer, arg1__handle__, arg2__handle__);
}
- } /* class NIDActionArity2V153 */
+ } /* class NIDActionArity2V154 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
[UserDelegateType (typeof (global::System.Action<NSDictionary<NSString, NSObject>[], NSError>))]
- internal delegate void DActionArity2V154 (IntPtr block, NativeHandle arg1, NativeHandle arg2);
+ internal delegate void DActionArity2V155 (IntPtr block, NativeHandle arg1, NativeHandle arg2);
//
// This class bridges native block invocations that call into C#
//
- static internal class SDActionArity2V154 {
- static internal readonly DActionArity2V154 Handler = Invoke;
+ static internal class SDActionArity2V155 {
+ static internal readonly DActionArity2V155 Handler = Invoke;
[Preserve (Conditional = true)]
[global::System.Diagnostics.CodeAnalysis.DynamicDependency ("Handler")]
- [MonoPInvokeCallback (typeof (DActionArity2V154))]
+ [MonoPInvokeCallback (typeof (DActionArity2V155))]
static unsafe void Invoke (IntPtr block, NativeHandle arg1, NativeHandle arg2) {
var descriptor = (BlockLiteral *) block;
var del = (global::System.Action<NSDictionary<NSString, NSObject>[], NSError>) (descriptor->Target);
if (del != null)
del (CFArray.ArrayFromHandle<NSDictionary<NSString, NSObject>> (arg1)!, Runtime.GetNSObject<NSError> (arg2)!);
}
- } /* class SDActionArity2V154 */
- internal sealed class NIDActionArity2V154 : TrampolineBlockBase {
- DActionArity2V154 invoker;
+ } /* class SDActionArity2V155 */
+ internal sealed class NIDActionArity2V155 : TrampolineBlockBase {
+ DActionArity2V155 invoker;
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe NIDActionArity2V154 (BlockLiteral *block) : base (block)
+ public unsafe NIDActionArity2V155 (BlockLiteral *block) : base (block)
{
- invoker = block->GetDelegateForBlock<DActionArity2V154> ();
+ invoker = block->GetDelegateForBlock<DActionArity2V155> ();
}
[Preserve (Conditional=true)]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -27286,7 +27499,7 @@ namespace ObjCRuntime {
if (block == IntPtr.Zero)
return null;
var del = (global::System.Action<NSDictionary<NSString, NSObject>[], NSError>) GetExistingManagedDelegate (block);
- return del ?? new NIDActionArity2V154 ((BlockLiteral *) block).Invoke;
+ return del ?? new NIDActionArity2V155 ((BlockLiteral *) block).Invoke;
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
unsafe void Invoke (NSDictionary<NSString, NSObject>[] arg1, NSError arg2)
@@ -27299,7 +27512,7 @@ namespace ObjCRuntime {
if (nsa_arg1 != null)
nsa_arg1.Dispose ();
}
- } /* class NIDActionArity2V154 */
+ } /* class NIDActionArity2V155 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
[UserDelegateType (typeof (global::System.Action<NSDictionary<NSString, NSOperation>, NSError>))]
internal delegate void DActionArity2V39 (IntPtr block, NativeHandle arg1, NativeHandle arg2);
@@ -27474,28 +27687,28 @@ namespace ObjCRuntime {
} /* class NIDActionArity2V76 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
[UserDelegateType (typeof (global::System.Action<NSObject, NSString>))]
- internal delegate void DActionArity2V162 (IntPtr block, NativeHandle arg1, NativeHandle arg2);
+ internal delegate void DActionArity2V163 (IntPtr block, NativeHandle arg1, NativeHandle arg2);
//
// This class bridges native block invocations that call into C#
//
- static internal class SDActionArity2V162 {
- static internal readonly DActionArity2V162 Handler = Invoke;
+ static internal class SDActionArity2V163 {
+ static internal readonly DActionArity2V163 Handler = Invoke;
[Preserve (Conditional = true)]
[global::System.Diagnostics.CodeAnalysis.DynamicDependency ("Handler")]
- [MonoPInvokeCallback (typeof (DActionArity2V162))]
+ [MonoPInvokeCallback (typeof (DActionArity2V163))]
static unsafe void Invoke (IntPtr block, NativeHandle arg1, NativeHandle arg2) {
var descriptor = (BlockLiteral *) block;
var del = (global::System.Action<NSObject, NSString>) (descriptor->Target);
if (del != null)
del ( Runtime.GetNSObject<NSObject> (arg1)!, Runtime.GetNSObject<NSString> (arg2)!);
}
- } /* class SDActionArity2V162 */
- internal sealed class NIDActionArity2V162 : TrampolineBlockBase {
- DActionArity2V162 invoker;
+ } /* class SDActionArity2V163 */
+ internal sealed class NIDActionArity2V163 : TrampolineBlockBase {
+ DActionArity2V163 invoker;
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe NIDActionArity2V162 (BlockLiteral *block) : base (block)
+ public unsafe NIDActionArity2V163 (BlockLiteral *block) : base (block)
{
- invoker = block->GetDelegateForBlock<DActionArity2V162> ();
+ invoker = block->GetDelegateForBlock<DActionArity2V163> ();
}
[Preserve (Conditional=true)]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -27504,7 +27717,7 @@ namespace ObjCRuntime {
if (block == IntPtr.Zero)
return null;
var del = (global::System.Action<NSObject, NSString>) GetExistingManagedDelegate (block);
- return del ?? new NIDActionArity2V162 ((BlockLiteral *) block).Invoke;
+ return del ?? new NIDActionArity2V163 ((BlockLiteral *) block).Invoke;
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
unsafe void Invoke (NSObject arg1, NSString arg2)
@@ -27513,31 +27726,31 @@ namespace ObjCRuntime {
var arg2__handle__ = arg2.GetHandle ();
invoker (BlockPointer, arg1__handle__, arg2__handle__);
}
- } /* class NIDActionArity2V162 */
+ } /* class NIDActionArity2V163 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
[UserDelegateType (typeof (global::System.Action<NSSet<NSString>, NSError>))]
- internal delegate void DActionArity2V151 (IntPtr block, NativeHandle arg1, NativeHandle arg2);
+ internal delegate void DActionArity2V152 (IntPtr block, NativeHandle arg1, NativeHandle arg2);
//
// This class bridges native block invocations that call into C#
//
- static internal class SDActionArity2V151 {
- static internal readonly DActionArity2V151 Handler = Invoke;
+ static internal class SDActionArity2V152 {
+ static internal readonly DActionArity2V152 Handler = Invoke;
[Preserve (Conditional = true)]
[global::System.Diagnostics.CodeAnalysis.DynamicDependency ("Handler")]
- [MonoPInvokeCallback (typeof (DActionArity2V151))]
+ [MonoPInvokeCallback (typeof (DActionArity2V152))]
static unsafe void Invoke (IntPtr block, NativeHandle arg1, NativeHandle arg2) {
var descriptor = (BlockLiteral *) block;
var del = (global::System.Action<NSSet<NSString>, NSError>) (descriptor->Target);
if (del != null)
del ( Runtime.GetNSObject<global::Foundation.NSSet<NSString>> (arg1)!, Runtime.GetNSObject<NSError> (arg2)!);
}
- } /* class SDActionArity2V151 */
- internal sealed class NIDActionArity2V151 : TrampolineBlockBase {
- DActionArity2V151 invoker;
+ } /* class SDActionArity2V152 */
+ internal sealed class NIDActionArity2V152 : TrampolineBlockBase {
+ DActionArity2V152 invoker;
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe NIDActionArity2V151 (BlockLiteral *block) : base (block)
+ public unsafe NIDActionArity2V152 (BlockLiteral *block) : base (block)
{
- invoker = block->GetDelegateForBlock<DActionArity2V151> ();
+ invoker = block->GetDelegateForBlock<DActionArity2V152> ();
}
[Preserve (Conditional=true)]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -27546,7 +27759,7 @@ namespace ObjCRuntime {
if (block == IntPtr.Zero)
return null;
var del = (global::System.Action<NSSet<NSString>, NSError>) GetExistingManagedDelegate (block);
- return del ?? new NIDActionArity2V151 ((BlockLiteral *) block).Invoke;
+ return del ?? new NIDActionArity2V152 ((BlockLiteral *) block).Invoke;
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
unsafe void Invoke (NSSet<NSString> arg1, NSError arg2)
@@ -27555,31 +27768,31 @@ namespace ObjCRuntime {
var arg2__handle__ = arg2.GetHandle ();
invoker (BlockPointer, arg1__handle__, arg2__handle__);
}
- } /* class NIDActionArity2V151 */
+ } /* class NIDActionArity2V152 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
[UserDelegateType (typeof (global::System.Action<NSSet<NSString>[], NSError>))]
- internal delegate void DActionArity2V152 (IntPtr block, NativeHandle arg1, NativeHandle arg2);
+ internal delegate void DActionArity2V153 (IntPtr block, NativeHandle arg1, NativeHandle arg2);
//
// This class bridges native block invocations that call into C#
//
- static internal class SDActionArity2V152 {
- static internal readonly DActionArity2V152 Handler = Invoke;
+ static internal class SDActionArity2V153 {
+ static internal readonly DActionArity2V153 Handler = Invoke;
[Preserve (Conditional = true)]
[global::System.Diagnostics.CodeAnalysis.DynamicDependency ("Handler")]
- [MonoPInvokeCallback (typeof (DActionArity2V152))]
+ [MonoPInvokeCallback (typeof (DActionArity2V153))]
static unsafe void Invoke (IntPtr block, NativeHandle arg1, NativeHandle arg2) {
var descriptor = (BlockLiteral *) block;
var del = (global::System.Action<NSSet<NSString>[], NSError>) (descriptor->Target);
if (del != null)
del (CFArray.ArrayFromHandle<NSSet<NSString>> (arg1)!, Runtime.GetNSObject<NSError> (arg2)!);
}
- } /* class SDActionArity2V152 */
- internal sealed class NIDActionArity2V152 : TrampolineBlockBase {
- DActionArity2V152 invoker;
+ } /* class SDActionArity2V153 */
+ internal sealed class NIDActionArity2V153 : TrampolineBlockBase {
+ DActionArity2V153 invoker;
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe NIDActionArity2V152 (BlockLiteral *block) : base (block)
+ public unsafe NIDActionArity2V153 (BlockLiteral *block) : base (block)
{
- invoker = block->GetDelegateForBlock<DActionArity2V152> ();
+ invoker = block->GetDelegateForBlock<DActionArity2V153> ();
}
[Preserve (Conditional=true)]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -27588,7 +27801,7 @@ namespace ObjCRuntime {
if (block == IntPtr.Zero)
return null;
var del = (global::System.Action<NSSet<NSString>[], NSError>) GetExistingManagedDelegate (block);
- return del ?? new NIDActionArity2V152 ((BlockLiteral *) block).Invoke;
+ return del ?? new NIDActionArity2V153 ((BlockLiteral *) block).Invoke;
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
unsafe void Invoke (NSSet<NSString>[] arg1, NSError arg2)
@@ -27601,31 +27814,31 @@ namespace ObjCRuntime {
if (nsa_arg1 != null)
nsa_arg1.Dispose ();
}
- } /* class NIDActionArity2V152 */
+ } /* class NIDActionArity2V153 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
[UserDelegateType (typeof (global::System.Action<NSSet<global::ThreadNetwork.THCredentials>, NSError>))]
- internal delegate void DActionArity2V146 (IntPtr block, NativeHandle arg1, NativeHandle arg2);
+ internal delegate void DActionArity2V147 (IntPtr block, NativeHandle arg1, NativeHandle arg2);
//
// This class bridges native block invocations that call into C#
//
- static internal class SDActionArity2V146 {
- static internal readonly DActionArity2V146 Handler = Invoke;
+ static internal class SDActionArity2V147 {
+ static internal readonly DActionArity2V147 Handler = Invoke;
[Preserve (Conditional = true)]
[global::System.Diagnostics.CodeAnalysis.DynamicDependency ("Handler")]
- [MonoPInvokeCallback (typeof (DActionArity2V146))]
+ [MonoPInvokeCallback (typeof (DActionArity2V147))]
static unsafe void Invoke (IntPtr block, NativeHandle arg1, NativeHandle arg2) {
var descriptor = (BlockLiteral *) block;
var del = (global::System.Action<NSSet<global::ThreadNetwork.THCredentials>, NSError>) (descriptor->Target);
if (del != null)
del ( Runtime.GetNSObject<global::Foundation.NSSet<global::ThreadNetwork.THCredentials>> (arg1)!, Runtime.GetNSObject<NSError> (arg2)!);
}
- } /* class SDActionArity2V146 */
- internal sealed class NIDActionArity2V146 : TrampolineBlockBase {
- DActionArity2V146 invoker;
+ } /* class SDActionArity2V147 */
+ internal sealed class NIDActionArity2V147 : TrampolineBlockBase {
+ DActionArity2V147 invoker;
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe NIDActionArity2V146 (BlockLiteral *block) : base (block)
+ public unsafe NIDActionArity2V147 (BlockLiteral *block) : base (block)
{
- invoker = block->GetDelegateForBlock<DActionArity2V146> ();
+ invoker = block->GetDelegateForBlock<DActionArity2V147> ();
}
[Preserve (Conditional=true)]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -27634,7 +27847,7 @@ namespace ObjCRuntime {
if (block == IntPtr.Zero)
return null;
var del = (global::System.Action<NSSet<global::ThreadNetwork.THCredentials>, NSError>) GetExistingManagedDelegate (block);
- return del ?? new NIDActionArity2V146 ((BlockLiteral *) block).Invoke;
+ return del ?? new NIDActionArity2V147 ((BlockLiteral *) block).Invoke;
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
unsafe void Invoke (NSSet<global::ThreadNetwork.THCredentials> arg1, NSError arg2)
@@ -27643,31 +27856,31 @@ namespace ObjCRuntime {
var arg2__handle__ = arg2.GetHandle ();
invoker (BlockPointer, arg1__handle__, arg2__handle__);
}
- } /* class NIDActionArity2V146 */
+ } /* class NIDActionArity2V147 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
[UserDelegateType (typeof (global::System.Action<NSString, NSError>))]
- internal delegate void DActionArity2V143 (IntPtr block, NativeHandle arg1, NativeHandle arg2);
+ internal delegate void DActionArity2V144 (IntPtr block, NativeHandle arg1, NativeHandle arg2);
//
// This class bridges native block invocations that call into C#
//
- static internal class SDActionArity2V143 {
- static internal readonly DActionArity2V143 Handler = Invoke;
+ static internal class SDActionArity2V144 {
+ static internal readonly DActionArity2V144 Handler = Invoke;
[Preserve (Conditional = true)]
[global::System.Diagnostics.CodeAnalysis.DynamicDependency ("Handler")]
- [MonoPInvokeCallback (typeof (DActionArity2V143))]
+ [MonoPInvokeCallback (typeof (DActionArity2V144))]
static unsafe void Invoke (IntPtr block, NativeHandle arg1, NativeHandle arg2) {
var descriptor = (BlockLiteral *) block;
var del = (global::System.Action<NSString, NSError>) (descriptor->Target);
if (del != null)
del ( Runtime.GetNSObject<NSString> (arg1)!, Runtime.GetNSObject<NSError> (arg2)!);
}
- } /* class SDActionArity2V143 */
- internal sealed class NIDActionArity2V143 : TrampolineBlockBase {
- DActionArity2V143 invoker;
+ } /* class SDActionArity2V144 */
+ internal sealed class NIDActionArity2V144 : TrampolineBlockBase {
+ DActionArity2V144 invoker;
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe NIDActionArity2V143 (BlockLiteral *block) : base (block)
+ public unsafe NIDActionArity2V144 (BlockLiteral *block) : base (block)
{
- invoker = block->GetDelegateForBlock<DActionArity2V143> ();
+ invoker = block->GetDelegateForBlock<DActionArity2V144> ();
}
[Preserve (Conditional=true)]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -27676,7 +27889,7 @@ namespace ObjCRuntime {
if (block == IntPtr.Zero)
return null;
var del = (global::System.Action<NSString, NSError>) GetExistingManagedDelegate (block);
- return del ?? new NIDActionArity2V143 ((BlockLiteral *) block).Invoke;
+ return del ?? new NIDActionArity2V144 ((BlockLiteral *) block).Invoke;
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
unsafe void Invoke (NSString arg1, NSError arg2)
@@ -27685,31 +27898,31 @@ namespace ObjCRuntime {
var arg2__handle__ = arg2.GetHandle ();
invoker (BlockPointer, arg1__handle__, arg2__handle__);
}
- } /* class NIDActionArity2V143 */
+ } /* class NIDActionArity2V144 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
[UserDelegateType (typeof (global::System.Action<NSString, bool>))]
- internal delegate void DActionArity2V149 (IntPtr block, NativeHandle arg1, bool arg2);
+ internal delegate void DActionArity2V150 (IntPtr block, NativeHandle arg1, bool arg2);
//
// This class bridges native block invocations that call into C#
//
- static internal class SDActionArity2V149 {
- static internal readonly DActionArity2V149 Handler = Invoke;
+ static internal class SDActionArity2V150 {
+ static internal readonly DActionArity2V150 Handler = Invoke;
[Preserve (Conditional = true)]
[global::System.Diagnostics.CodeAnalysis.DynamicDependency ("Handler")]
- [MonoPInvokeCallback (typeof (DActionArity2V149))]
+ [MonoPInvokeCallback (typeof (DActionArity2V150))]
static unsafe void Invoke (IntPtr block, NativeHandle arg1, bool arg2) {
var descriptor = (BlockLiteral *) block;
var del = (global::System.Action<NSString, bool>) (descriptor->Target);
if (del != null)
del ( Runtime.GetNSObject<NSString> (arg1)!, arg2);
}
- } /* class SDActionArity2V149 */
- internal sealed class NIDActionArity2V149 : TrampolineBlockBase {
- DActionArity2V149 invoker;
+ } /* class SDActionArity2V150 */
+ internal sealed class NIDActionArity2V150 : TrampolineBlockBase {
+ DActionArity2V150 invoker;
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe NIDActionArity2V149 (BlockLiteral *block) : base (block)
+ public unsafe NIDActionArity2V150 (BlockLiteral *block) : base (block)
{
- invoker = block->GetDelegateForBlock<DActionArity2V149> ();
+ invoker = block->GetDelegateForBlock<DActionArity2V150> ();
}
[Preserve (Conditional=true)]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -27718,7 +27931,7 @@ namespace ObjCRuntime {
if (block == IntPtr.Zero)
return null;
var del = (global::System.Action<NSString, bool>) GetExistingManagedDelegate (block);
- return del ?? new NIDActionArity2V149 ((BlockLiteral *) block).Invoke;
+ return del ?? new NIDActionArity2V150 ((BlockLiteral *) block).Invoke;
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
unsafe void Invoke (NSString arg1, bool arg2)
@@ -27726,7 +27939,7 @@ namespace ObjCRuntime {
var arg1__handle__ = arg1.GetHandle ();
invoker (BlockPointer, arg1__handle__, arg2);
}
- } /* class NIDActionArity2V149 */
+ } /* class NIDActionArity2V150 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
[UserDelegateType (typeof (global::System.Action<NSUrl, NSError>))]
internal delegate void DActionArity2V27 (IntPtr block, NativeHandle arg1, NativeHandle arg2);
@@ -27771,28 +27984,28 @@ namespace ObjCRuntime {
} /* class NIDActionArity2V27 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
[UserDelegateType (typeof (global::System.Action<NSUrl, global::UIKit.UIDocumentBrowserImportMode>))]
- internal delegate void DActionArity2V150 (IntPtr block, NativeHandle arg1, UIntPtr arg2);
+ internal delegate void DActionArity2V151 (IntPtr block, NativeHandle arg1, UIntPtr arg2);
//
// This class bridges native block invocations that call into C#
//
- static internal class SDActionArity2V150 {
- static internal readonly DActionArity2V150 Handler = Invoke;
+ static internal class SDActionArity2V151 {
+ static internal readonly DActionArity2V151 Handler = Invoke;
[Preserve (Conditional = true)]
[global::System.Diagnostics.CodeAnalysis.DynamicDependency ("Handler")]
- [MonoPInvokeCallback (typeof (DActionArity2V150))]
+ [MonoPInvokeCallback (typeof (DActionArity2V151))]
static unsafe void Invoke (IntPtr block, NativeHandle arg1, UIntPtr arg2) {
var descriptor = (BlockLiteral *) block;
var del = (global::System.Action<NSUrl, global::UIKit.UIDocumentBrowserImportMode>) (descriptor->Target);
if (del != null)
del ( Runtime.GetNSObject<NSUrl> (arg1)!, (UIDocumentBrowserImportMode) (ulong) arg2);
}
- } /* class SDActionArity2V150 */
- internal sealed class NIDActionArity2V150 : TrampolineBlockBase {
- DActionArity2V150 invoker;
+ } /* class SDActionArity2V151 */
+ internal sealed class NIDActionArity2V151 : TrampolineBlockBase {
+ DActionArity2V151 invoker;
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe NIDActionArity2V150 (BlockLiteral *block) : base (block)
+ public unsafe NIDActionArity2V151 (BlockLiteral *block) : base (block)
{
- invoker = block->GetDelegateForBlock<DActionArity2V150> ();
+ invoker = block->GetDelegateForBlock<DActionArity2V151> ();
}
[Preserve (Conditional=true)]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -27801,7 +28014,7 @@ namespace ObjCRuntime {
if (block == IntPtr.Zero)
return null;
var del = (global::System.Action<NSUrl, global::UIKit.UIDocumentBrowserImportMode>) GetExistingManagedDelegate (block);
- return del ?? new NIDActionArity2V150 ((BlockLiteral *) block).Invoke;
+ return del ?? new NIDActionArity2V151 ((BlockLiteral *) block).Invoke;
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
unsafe void Invoke (NSUrl arg1, global::UIKit.UIDocumentBrowserImportMode arg2)
@@ -27809,7 +28022,7 @@ namespace ObjCRuntime {
var arg1__handle__ = arg1.GetHandle ();
invoker (BlockPointer, arg1__handle__, (UIntPtr) (ulong) arg2);
}
- } /* class NIDActionArity2V150 */
+ } /* class NIDActionArity2V151 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
[UserDelegateType (typeof (global::System.Action<NSUrlSessionAuthChallengeDisposition, NSUrlCredential>))]
internal delegate void DActionArity2V11 (IntPtr block, IntPtr arg1, NativeHandle arg2);
@@ -28581,49 +28794,49 @@ namespace ObjCRuntime {
}
} /* class NIDActionArity2V95 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
- [UserDelegateType (typeof (global::System.Action<global::HealthKit.HKHeartbeatSeriesSample, NSError>))]
- internal delegate void DActionArity2V99 (IntPtr block, NativeHandle arg1, NativeHandle arg2);
+ [UserDelegateType (typeof (global::System.Action<global::HealthKit.HKAttachment, NSError>))]
+ internal delegate void DActionArity2V98 (IntPtr block, NativeHandle arg1, NativeHandle arg2);
//
// This class bridges native block invocations that call into C#
//
- static internal class SDActionArity2V99 {
- static internal readonly DActionArity2V99 Handler = Invoke;
+ static internal class SDActionArity2V98 {
+ static internal readonly DActionArity2V98 Handler = Invoke;
[Preserve (Conditional = true)]
[global::System.Diagnostics.CodeAnalysis.DynamicDependency ("Handler")]
- [MonoPInvokeCallback (typeof (DActionArity2V99))]
+ [MonoPInvokeCallback (typeof (DActionArity2V98))]
static unsafe void Invoke (IntPtr block, NativeHandle arg1, NativeHandle arg2) {
var descriptor = (BlockLiteral *) block;
- var del = (global::System.Action<global::HealthKit.HKHeartbeatSeriesSample, NSError>) (descriptor->Target);
+ var del = (global::System.Action<global::HealthKit.HKAttachment, NSError>) (descriptor->Target);
if (del != null)
- del ( Runtime.GetNSObject<HealthKit.HKHeartbeatSeriesSample> (arg1)!, Runtime.GetNSObject<NSError> (arg2)!);
+ del ( Runtime.GetNSObject<HealthKit.HKAttachment> (arg1)!, Runtime.GetNSObject<NSError> (arg2)!);
}
- } /* class SDActionArity2V99 */
- internal sealed class NIDActionArity2V99 : TrampolineBlockBase {
- DActionArity2V99 invoker;
+ } /* class SDActionArity2V98 */
+ internal sealed class NIDActionArity2V98 : TrampolineBlockBase {
+ DActionArity2V98 invoker;
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe NIDActionArity2V99 (BlockLiteral *block) : base (block)
+ public unsafe NIDActionArity2V98 (BlockLiteral *block) : base (block)
{
- invoker = block->GetDelegateForBlock<DActionArity2V99> ();
+ invoker = block->GetDelegateForBlock<DActionArity2V98> ();
}
[Preserve (Conditional=true)]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe static global::System.Action<global::HealthKit.HKHeartbeatSeriesSample, NSError>? Create (IntPtr block)
+ public unsafe static global::System.Action<global::HealthKit.HKAttachment, NSError>? Create (IntPtr block)
{
if (block == IntPtr.Zero)
return null;
- var del = (global::System.Action<global::HealthKit.HKHeartbeatSeriesSample, NSError>) GetExistingManagedDelegate (block);
- return del ?? new NIDActionArity2V99 ((BlockLiteral *) block).Invoke;
+ var del = (global::System.Action<global::HealthKit.HKAttachment, NSError>) GetExistingManagedDelegate (block);
+ return del ?? new NIDActionArity2V98 ((BlockLiteral *) block).Invoke;
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- unsafe void Invoke (global::HealthKit.HKHeartbeatSeriesSample arg1, NSError arg2)
+ unsafe void Invoke (global::HealthKit.HKAttachment arg1, NSError arg2)
{
var arg1__handle__ = arg1.GetHandle ();
var arg2__handle__ = arg2.GetHandle ();
invoker (BlockPointer, arg1__handle__, arg2__handle__);
}
- } /* class NIDActionArity2V99 */
+ } /* class NIDActionArity2V98 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
- [UserDelegateType (typeof (global::System.Action<global::HealthKit.HKWorkoutRoute, NSError>))]
+ [UserDelegateType (typeof (global::System.Action<global::HealthKit.HKHeartbeatSeriesSample, NSError>))]
internal delegate void DActionArity2V100 (IntPtr block, NativeHandle arg1, NativeHandle arg2);
//
// This class bridges native block invocations that call into C#
@@ -28635,9 +28848,9 @@ namespace ObjCRuntime {
[MonoPInvokeCallback (typeof (DActionArity2V100))]
static unsafe void Invoke (IntPtr block, NativeHandle arg1, NativeHandle arg2) {
var descriptor = (BlockLiteral *) block;
- var del = (global::System.Action<global::HealthKit.HKWorkoutRoute, NSError>) (descriptor->Target);
+ var del = (global::System.Action<global::HealthKit.HKHeartbeatSeriesSample, NSError>) (descriptor->Target);
if (del != null)
- del ( Runtime.GetNSObject<HealthKit.HKWorkoutRoute> (arg1)!, Runtime.GetNSObject<NSError> (arg2)!);
+ del ( Runtime.GetNSObject<HealthKit.HKHeartbeatSeriesSample> (arg1)!, Runtime.GetNSObject<NSError> (arg2)!);
}
} /* class SDActionArity2V100 */
internal sealed class NIDActionArity2V100 : TrampolineBlockBase {
@@ -28649,15 +28862,15 @@ namespace ObjCRuntime {
}
[Preserve (Conditional=true)]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe static global::System.Action<global::HealthKit.HKWorkoutRoute, NSError>? Create (IntPtr block)
+ public unsafe static global::System.Action<global::HealthKit.HKHeartbeatSeriesSample, NSError>? Create (IntPtr block)
{
if (block == IntPtr.Zero)
return null;
- var del = (global::System.Action<global::HealthKit.HKWorkoutRoute, NSError>) GetExistingManagedDelegate (block);
+ var del = (global::System.Action<global::HealthKit.HKHeartbeatSeriesSample, NSError>) GetExistingManagedDelegate (block);
return del ?? new NIDActionArity2V100 ((BlockLiteral *) block).Invoke;
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- unsafe void Invoke (global::HealthKit.HKWorkoutRoute arg1, NSError arg2)
+ unsafe void Invoke (global::HealthKit.HKHeartbeatSeriesSample arg1, NSError arg2)
{
var arg1__handle__ = arg1.GetHandle ();
var arg2__handle__ = arg2.GetHandle ();
@@ -28665,7 +28878,7 @@ namespace ObjCRuntime {
}
} /* class NIDActionArity2V100 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
- [UserDelegateType (typeof (global::System.Action<global::HomeKit.HMAccessorySetupResult, NSError>))]
+ [UserDelegateType (typeof (global::System.Action<global::HealthKit.HKWorkoutRoute, NSError>))]
internal delegate void DActionArity2V101 (IntPtr block, NativeHandle arg1, NativeHandle arg2);
//
// This class bridges native block invocations that call into C#
@@ -28677,9 +28890,9 @@ namespace ObjCRuntime {
[MonoPInvokeCallback (typeof (DActionArity2V101))]
static unsafe void Invoke (IntPtr block, NativeHandle arg1, NativeHandle arg2) {
var descriptor = (BlockLiteral *) block;
- var del = (global::System.Action<global::HomeKit.HMAccessorySetupResult, NSError>) (descriptor->Target);
+ var del = (global::System.Action<global::HealthKit.HKWorkoutRoute, NSError>) (descriptor->Target);
if (del != null)
- del ( Runtime.GetNSObject<HomeKit.HMAccessorySetupResult> (arg1)!, Runtime.GetNSObject<NSError> (arg2)!);
+ del ( Runtime.GetNSObject<HealthKit.HKWorkoutRoute> (arg1)!, Runtime.GetNSObject<NSError> (arg2)!);
}
} /* class SDActionArity2V101 */
internal sealed class NIDActionArity2V101 : TrampolineBlockBase {
@@ -28691,15 +28904,15 @@ namespace ObjCRuntime {
}
[Preserve (Conditional=true)]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe static global::System.Action<global::HomeKit.HMAccessorySetupResult, NSError>? Create (IntPtr block)
+ public unsafe static global::System.Action<global::HealthKit.HKWorkoutRoute, NSError>? Create (IntPtr block)
{
if (block == IntPtr.Zero)
return null;
- var del = (global::System.Action<global::HomeKit.HMAccessorySetupResult, NSError>) GetExistingManagedDelegate (block);
+ var del = (global::System.Action<global::HealthKit.HKWorkoutRoute, NSError>) GetExistingManagedDelegate (block);
return del ?? new NIDActionArity2V101 ((BlockLiteral *) block).Invoke;
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- unsafe void Invoke (global::HomeKit.HMAccessorySetupResult arg1, NSError arg2)
+ unsafe void Invoke (global::HealthKit.HKWorkoutRoute arg1, NSError arg2)
{
var arg1__handle__ = arg1.GetHandle ();
var arg2__handle__ = arg2.GetHandle ();
@@ -28707,53 +28920,7 @@ namespace ObjCRuntime {
}
} /* class NIDActionArity2V101 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
- [UserDelegateType (typeof (global::System.Action<global::HomeKit.HMAccessory[], NSError>))]
- internal delegate void DActionArity2V103 (IntPtr block, NativeHandle arg1, NativeHandle arg2);
- //
- // This class bridges native block invocations that call into C#
- //
- static internal class SDActionArity2V103 {
- static internal readonly DActionArity2V103 Handler = Invoke;
- [Preserve (Conditional = true)]
- [global::System.Diagnostics.CodeAnalysis.DynamicDependency ("Handler")]
- [MonoPInvokeCallback (typeof (DActionArity2V103))]
- static unsafe void Invoke (IntPtr block, NativeHandle arg1, NativeHandle arg2) {
- var descriptor = (BlockLiteral *) block;
- var del = (global::System.Action<global::HomeKit.HMAccessory[], NSError>) (descriptor->Target);
- if (del != null)
- del (CFArray.ArrayFromHandle<global::HomeKit.HMAccessory> (arg1)!, Runtime.GetNSObject<NSError> (arg2)!);
- }
- } /* class SDActionArity2V103 */
- internal sealed class NIDActionArity2V103 : TrampolineBlockBase {
- DActionArity2V103 invoker;
- [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe NIDActionArity2V103 (BlockLiteral *block) : base (block)
- {
- invoker = block->GetDelegateForBlock<DActionArity2V103> ();
- }
- [Preserve (Conditional=true)]
- [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe static global::System.Action<global::HomeKit.HMAccessory[], NSError>? Create (IntPtr block)
- {
- if (block == IntPtr.Zero)
- return null;
- var del = (global::System.Action<global::HomeKit.HMAccessory[], NSError>) GetExistingManagedDelegate (block);
- return del ?? new NIDActionArity2V103 ((BlockLiteral *) block).Invoke;
- }
- [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- unsafe void Invoke (global::HomeKit.HMAccessory[] arg1, NSError arg2)
- {
- if (arg1 is null)
- ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (arg1));
- var arg2__handle__ = arg2.GetHandle ();
- var nsa_arg1 = arg1 is null ? null : NSArray.FromNSObjects (arg1);
- invoker (BlockPointer, nsa_arg1.GetHandle (), arg2__handle__);
- if (nsa_arg1 != null)
- nsa_arg1.Dispose ();
- }
- } /* class NIDActionArity2V103 */
- [UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
- [UserDelegateType (typeof (global::System.Action<global::HomeKit.HMActionSet, NSError>))]
+ [UserDelegateType (typeof (global::System.Action<global::HomeKit.HMAccessorySetupResult, NSError>))]
internal delegate void DActionArity2V102 (IntPtr block, NativeHandle arg1, NativeHandle arg2);
//
// This class bridges native block invocations that call into C#
@@ -28765,9 +28932,9 @@ namespace ObjCRuntime {
[MonoPInvokeCallback (typeof (DActionArity2V102))]
static unsafe void Invoke (IntPtr block, NativeHandle arg1, NativeHandle arg2) {
var descriptor = (BlockLiteral *) block;
- var del = (global::System.Action<global::HomeKit.HMActionSet, NSError>) (descriptor->Target);
+ var del = (global::System.Action<global::HomeKit.HMAccessorySetupResult, NSError>) (descriptor->Target);
if (del != null)
- del ( Runtime.GetNSObject<HomeKit.HMActionSet> (arg1)!, Runtime.GetNSObject<NSError> (arg2)!);
+ del ( Runtime.GetNSObject<HomeKit.HMAccessorySetupResult> (arg1)!, Runtime.GetNSObject<NSError> (arg2)!);
}
} /* class SDActionArity2V102 */
internal sealed class NIDActionArity2V102 : TrampolineBlockBase {
@@ -28779,15 +28946,15 @@ namespace ObjCRuntime {
}
[Preserve (Conditional=true)]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe static global::System.Action<global::HomeKit.HMActionSet, NSError>? Create (IntPtr block)
+ public unsafe static global::System.Action<global::HomeKit.HMAccessorySetupResult, NSError>? Create (IntPtr block)
{
if (block == IntPtr.Zero)
return null;
- var del = (global::System.Action<global::HomeKit.HMActionSet, NSError>) GetExistingManagedDelegate (block);
+ var del = (global::System.Action<global::HomeKit.HMAccessorySetupResult, NSError>) GetExistingManagedDelegate (block);
return del ?? new NIDActionArity2V102 ((BlockLiteral *) block).Invoke;
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- unsafe void Invoke (global::HomeKit.HMActionSet arg1, NSError arg2)
+ unsafe void Invoke (global::HomeKit.HMAccessorySetupResult arg1, NSError arg2)
{
var arg1__handle__ = arg1.GetHandle ();
var arg2__handle__ = arg2.GetHandle ();
@@ -28795,91 +28962,137 @@ namespace ObjCRuntime {
}
} /* class NIDActionArity2V102 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
- [UserDelegateType (typeof (global::System.Action<global::HomeKit.HMHome, NSError>))]
- internal delegate void DActionArity2V108 (IntPtr block, NativeHandle arg1, NativeHandle arg2);
+ [UserDelegateType (typeof (global::System.Action<global::HomeKit.HMAccessory[], NSError>))]
+ internal delegate void DActionArity2V104 (IntPtr block, NativeHandle arg1, NativeHandle arg2);
//
// This class bridges native block invocations that call into C#
//
- static internal class SDActionArity2V108 {
- static internal readonly DActionArity2V108 Handler = Invoke;
+ static internal class SDActionArity2V104 {
+ static internal readonly DActionArity2V104 Handler = Invoke;
[Preserve (Conditional = true)]
[global::System.Diagnostics.CodeAnalysis.DynamicDependency ("Handler")]
- [MonoPInvokeCallback (typeof (DActionArity2V108))]
+ [MonoPInvokeCallback (typeof (DActionArity2V104))]
static unsafe void Invoke (IntPtr block, NativeHandle arg1, NativeHandle arg2) {
var descriptor = (BlockLiteral *) block;
- var del = (global::System.Action<global::HomeKit.HMHome, NSError>) (descriptor->Target);
+ var del = (global::System.Action<global::HomeKit.HMAccessory[], NSError>) (descriptor->Target);
if (del != null)
- del ( Runtime.GetNSObject<HomeKit.HMHome> (arg1)!, Runtime.GetNSObject<NSError> (arg2)!);
+ del (CFArray.ArrayFromHandle<global::HomeKit.HMAccessory> (arg1)!, Runtime.GetNSObject<NSError> (arg2)!);
}
- } /* class SDActionArity2V108 */
- internal sealed class NIDActionArity2V108 : TrampolineBlockBase {
- DActionArity2V108 invoker;
+ } /* class SDActionArity2V104 */
+ internal sealed class NIDActionArity2V104 : TrampolineBlockBase {
+ DActionArity2V104 invoker;
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe NIDActionArity2V108 (BlockLiteral *block) : base (block)
+ public unsafe NIDActionArity2V104 (BlockLiteral *block) : base (block)
{
- invoker = block->GetDelegateForBlock<DActionArity2V108> ();
+ invoker = block->GetDelegateForBlock<DActionArity2V104> ();
}
[Preserve (Conditional=true)]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe static global::System.Action<global::HomeKit.HMHome, NSError>? Create (IntPtr block)
+ public unsafe static global::System.Action<global::HomeKit.HMAccessory[], NSError>? Create (IntPtr block)
{
if (block == IntPtr.Zero)
return null;
- var del = (global::System.Action<global::HomeKit.HMHome, NSError>) GetExistingManagedDelegate (block);
- return del ?? new NIDActionArity2V108 ((BlockLiteral *) block).Invoke;
+ var del = (global::System.Action<global::HomeKit.HMAccessory[], NSError>) GetExistingManagedDelegate (block);
+ return del ?? new NIDActionArity2V104 ((BlockLiteral *) block).Invoke;
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- unsafe void Invoke (global::HomeKit.HMHome arg1, NSError arg2)
+ unsafe void Invoke (global::HomeKit.HMAccessory[] arg1, NSError arg2)
+ {
+ if (arg1 is null)
+ ObjCRuntime.ThrowHelper.ThrowArgumentNullException (nameof (arg1));
+ var arg2__handle__ = arg2.GetHandle ();
+ var nsa_arg1 = arg1 is null ? null : NSArray.FromNSObjects (arg1);
+ invoker (BlockPointer, nsa_arg1.GetHandle (), arg2__handle__);
+ if (nsa_arg1 != null)
+ nsa_arg1.Dispose ();
+ }
+ } /* class NIDActionArity2V104 */
+ [UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
+ [UserDelegateType (typeof (global::System.Action<global::HomeKit.HMActionSet, NSError>))]
+ internal delegate void DActionArity2V103 (IntPtr block, NativeHandle arg1, NativeHandle arg2);
+ //
+ // This class bridges native block invocations that call into C#
+ //
+ static internal class SDActionArity2V103 {
+ static internal readonly DActionArity2V103 Handler = Invoke;
+ [Preserve (Conditional = true)]
+ [global::System.Diagnostics.CodeAnalysis.DynamicDependency ("Handler")]
+ [MonoPInvokeCallback (typeof (DActionArity2V103))]
+ static unsafe void Invoke (IntPtr block, NativeHandle arg1, NativeHandle arg2) {
+ var descriptor = (BlockLiteral *) block;
+ var del = (global::System.Action<global::HomeKit.HMActionSet, NSError>) (descriptor->Target);
+ if (del != null)
+ del ( Runtime.GetNSObject<HomeKit.HMActionSet> (arg1)!, Runtime.GetNSObject<NSError> (arg2)!);
+ }
+ } /* class SDActionArity2V103 */
+ internal sealed class NIDActionArity2V103 : TrampolineBlockBase {
+ DActionArity2V103 invoker;
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe NIDActionArity2V103 (BlockLiteral *block) : base (block)
+ {
+ invoker = block->GetDelegateForBlock<DActionArity2V103> ();
+ }
+ [Preserve (Conditional=true)]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe static global::System.Action<global::HomeKit.HMActionSet, NSError>? Create (IntPtr block)
+ {
+ if (block == IntPtr.Zero)
+ return null;
+ var del = (global::System.Action<global::HomeKit.HMActionSet, NSError>) GetExistingManagedDelegate (block);
+ return del ?? new NIDActionArity2V103 ((BlockLiteral *) block).Invoke;
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ unsafe void Invoke (global::HomeKit.HMActionSet arg1, NSError arg2)
{
var arg1__handle__ = arg1.GetHandle ();
var arg2__handle__ = arg2.GetHandle ();
invoker (BlockPointer, arg1__handle__, arg2__handle__);
}
- } /* class NIDActionArity2V108 */
+ } /* class NIDActionArity2V103 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
- [UserDelegateType (typeof (global::System.Action<global::HomeKit.HMRoom, NSError>))]
- internal delegate void DActionArity2V104 (IntPtr block, NativeHandle arg1, NativeHandle arg2);
+ [UserDelegateType (typeof (global::System.Action<global::HomeKit.HMHome, NSError>))]
+ internal delegate void DActionArity2V109 (IntPtr block, NativeHandle arg1, NativeHandle arg2);
//
// This class bridges native block invocations that call into C#
//
- static internal class SDActionArity2V104 {
- static internal readonly DActionArity2V104 Handler = Invoke;
+ static internal class SDActionArity2V109 {
+ static internal readonly DActionArity2V109 Handler = Invoke;
[Preserve (Conditional = true)]
[global::System.Diagnostics.CodeAnalysis.DynamicDependency ("Handler")]
- [MonoPInvokeCallback (typeof (DActionArity2V104))]
+ [MonoPInvokeCallback (typeof (DActionArity2V109))]
static unsafe void Invoke (IntPtr block, NativeHandle arg1, NativeHandle arg2) {
var descriptor = (BlockLiteral *) block;
- var del = (global::System.Action<global::HomeKit.HMRoom, NSError>) (descriptor->Target);
+ var del = (global::System.Action<global::HomeKit.HMHome, NSError>) (descriptor->Target);
if (del != null)
- del ( Runtime.GetNSObject<HomeKit.HMRoom> (arg1)!, Runtime.GetNSObject<NSError> (arg2)!);
+ del ( Runtime.GetNSObject<HomeKit.HMHome> (arg1)!, Runtime.GetNSObject<NSError> (arg2)!);
}
- } /* class SDActionArity2V104 */
- internal sealed class NIDActionArity2V104 : TrampolineBlockBase {
- DActionArity2V104 invoker;
+ } /* class SDActionArity2V109 */
+ internal sealed class NIDActionArity2V109 : TrampolineBlockBase {
+ DActionArity2V109 invoker;
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe NIDActionArity2V104 (BlockLiteral *block) : base (block)
+ public unsafe NIDActionArity2V109 (BlockLiteral *block) : base (block)
{
- invoker = block->GetDelegateForBlock<DActionArity2V104> ();
+ invoker = block->GetDelegateForBlock<DActionArity2V109> ();
}
[Preserve (Conditional=true)]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe static global::System.Action<global::HomeKit.HMRoom, NSError>? Create (IntPtr block)
+ public unsafe static global::System.Action<global::HomeKit.HMHome, NSError>? Create (IntPtr block)
{
if (block == IntPtr.Zero)
return null;
- var del = (global::System.Action<global::HomeKit.HMRoom, NSError>) GetExistingManagedDelegate (block);
- return del ?? new NIDActionArity2V104 ((BlockLiteral *) block).Invoke;
+ var del = (global::System.Action<global::HomeKit.HMHome, NSError>) GetExistingManagedDelegate (block);
+ return del ?? new NIDActionArity2V109 ((BlockLiteral *) block).Invoke;
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- unsafe void Invoke (global::HomeKit.HMRoom arg1, NSError arg2)
+ unsafe void Invoke (global::HomeKit.HMHome arg1, NSError arg2)
{
var arg1__handle__ = arg1.GetHandle ();
var arg2__handle__ = arg2.GetHandle ();
invoker (BlockPointer, arg1__handle__, arg2__handle__);
}
- } /* class NIDActionArity2V104 */
+ } /* class NIDActionArity2V109 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
- [UserDelegateType (typeof (global::System.Action<global::HomeKit.HMServiceGroup, NSError>))]
+ [UserDelegateType (typeof (global::System.Action<global::HomeKit.HMRoom, NSError>))]
internal delegate void DActionArity2V105 (IntPtr block, NativeHandle arg1, NativeHandle arg2);
//
// This class bridges native block invocations that call into C#
@@ -28891,9 +29104,9 @@ namespace ObjCRuntime {
[MonoPInvokeCallback (typeof (DActionArity2V105))]
static unsafe void Invoke (IntPtr block, NativeHandle arg1, NativeHandle arg2) {
var descriptor = (BlockLiteral *) block;
- var del = (global::System.Action<global::HomeKit.HMServiceGroup, NSError>) (descriptor->Target);
+ var del = (global::System.Action<global::HomeKit.HMRoom, NSError>) (descriptor->Target);
if (del != null)
- del ( Runtime.GetNSObject<HomeKit.HMServiceGroup> (arg1)!, Runtime.GetNSObject<NSError> (arg2)!);
+ del ( Runtime.GetNSObject<HomeKit.HMRoom> (arg1)!, Runtime.GetNSObject<NSError> (arg2)!);
}
} /* class SDActionArity2V105 */
internal sealed class NIDActionArity2V105 : TrampolineBlockBase {
@@ -28905,15 +29118,15 @@ namespace ObjCRuntime {
}
[Preserve (Conditional=true)]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe static global::System.Action<global::HomeKit.HMServiceGroup, NSError>? Create (IntPtr block)
+ public unsafe static global::System.Action<global::HomeKit.HMRoom, NSError>? Create (IntPtr block)
{
if (block == IntPtr.Zero)
return null;
- var del = (global::System.Action<global::HomeKit.HMServiceGroup, NSError>) GetExistingManagedDelegate (block);
+ var del = (global::System.Action<global::HomeKit.HMRoom, NSError>) GetExistingManagedDelegate (block);
return del ?? new NIDActionArity2V105 ((BlockLiteral *) block).Invoke;
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- unsafe void Invoke (global::HomeKit.HMServiceGroup arg1, NSError arg2)
+ unsafe void Invoke (global::HomeKit.HMRoom arg1, NSError arg2)
{
var arg1__handle__ = arg1.GetHandle ();
var arg2__handle__ = arg2.GetHandle ();
@@ -28921,7 +29134,7 @@ namespace ObjCRuntime {
}
} /* class NIDActionArity2V105 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
- [UserDelegateType (typeof (global::System.Action<global::HomeKit.HMUser, NSError>))]
+ [UserDelegateType (typeof (global::System.Action<global::HomeKit.HMServiceGroup, NSError>))]
internal delegate void DActionArity2V106 (IntPtr block, NativeHandle arg1, NativeHandle arg2);
//
// This class bridges native block invocations that call into C#
@@ -28933,9 +29146,9 @@ namespace ObjCRuntime {
[MonoPInvokeCallback (typeof (DActionArity2V106))]
static unsafe void Invoke (IntPtr block, NativeHandle arg1, NativeHandle arg2) {
var descriptor = (BlockLiteral *) block;
- var del = (global::System.Action<global::HomeKit.HMUser, NSError>) (descriptor->Target);
+ var del = (global::System.Action<global::HomeKit.HMServiceGroup, NSError>) (descriptor->Target);
if (del != null)
- del ( Runtime.GetNSObject<HomeKit.HMUser> (arg1)!, Runtime.GetNSObject<NSError> (arg2)!);
+ del ( Runtime.GetNSObject<HomeKit.HMServiceGroup> (arg1)!, Runtime.GetNSObject<NSError> (arg2)!);
}
} /* class SDActionArity2V106 */
internal sealed class NIDActionArity2V106 : TrampolineBlockBase {
@@ -28947,15 +29160,15 @@ namespace ObjCRuntime {
}
[Preserve (Conditional=true)]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe static global::System.Action<global::HomeKit.HMUser, NSError>? Create (IntPtr block)
+ public unsafe static global::System.Action<global::HomeKit.HMServiceGroup, NSError>? Create (IntPtr block)
{
if (block == IntPtr.Zero)
return null;
- var del = (global::System.Action<global::HomeKit.HMUser, NSError>) GetExistingManagedDelegate (block);
+ var del = (global::System.Action<global::HomeKit.HMServiceGroup, NSError>) GetExistingManagedDelegate (block);
return del ?? new NIDActionArity2V106 ((BlockLiteral *) block).Invoke;
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- unsafe void Invoke (global::HomeKit.HMUser arg1, NSError arg2)
+ unsafe void Invoke (global::HomeKit.HMServiceGroup arg1, NSError arg2)
{
var arg1__handle__ = arg1.GetHandle ();
var arg2__handle__ = arg2.GetHandle ();
@@ -28963,7 +29176,7 @@ namespace ObjCRuntime {
}
} /* class NIDActionArity2V106 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
- [UserDelegateType (typeof (global::System.Action<global::HomeKit.HMZone, NSError>))]
+ [UserDelegateType (typeof (global::System.Action<global::HomeKit.HMUser, NSError>))]
internal delegate void DActionArity2V107 (IntPtr block, NativeHandle arg1, NativeHandle arg2);
//
// This class bridges native block invocations that call into C#
@@ -28975,9 +29188,9 @@ namespace ObjCRuntime {
[MonoPInvokeCallback (typeof (DActionArity2V107))]
static unsafe void Invoke (IntPtr block, NativeHandle arg1, NativeHandle arg2) {
var descriptor = (BlockLiteral *) block;
- var del = (global::System.Action<global::HomeKit.HMZone, NSError>) (descriptor->Target);
+ var del = (global::System.Action<global::HomeKit.HMUser, NSError>) (descriptor->Target);
if (del != null)
- del ( Runtime.GetNSObject<HomeKit.HMZone> (arg1)!, Runtime.GetNSObject<NSError> (arg2)!);
+ del ( Runtime.GetNSObject<HomeKit.HMUser> (arg1)!, Runtime.GetNSObject<NSError> (arg2)!);
}
} /* class SDActionArity2V107 */
internal sealed class NIDActionArity2V107 : TrampolineBlockBase {
@@ -28989,15 +29202,15 @@ namespace ObjCRuntime {
}
[Preserve (Conditional=true)]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe static global::System.Action<global::HomeKit.HMZone, NSError>? Create (IntPtr block)
+ public unsafe static global::System.Action<global::HomeKit.HMUser, NSError>? Create (IntPtr block)
{
if (block == IntPtr.Zero)
return null;
- var del = (global::System.Action<global::HomeKit.HMZone, NSError>) GetExistingManagedDelegate (block);
+ var del = (global::System.Action<global::HomeKit.HMUser, NSError>) GetExistingManagedDelegate (block);
return del ?? new NIDActionArity2V107 ((BlockLiteral *) block).Invoke;
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- unsafe void Invoke (global::HomeKit.HMZone arg1, NSError arg2)
+ unsafe void Invoke (global::HomeKit.HMUser arg1, NSError arg2)
{
var arg1__handle__ = arg1.GetHandle ();
var arg2__handle__ = arg2.GetHandle ();
@@ -29005,49 +29218,49 @@ namespace ObjCRuntime {
}
} /* class NIDActionArity2V107 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
- [UserDelegateType (typeof (global::System.Action<global::IdentityLookup.ILNetworkResponse, NSError>))]
- internal delegate void DActionArity2V109 (IntPtr block, NativeHandle arg1, NativeHandle arg2);
+ [UserDelegateType (typeof (global::System.Action<global::HomeKit.HMZone, NSError>))]
+ internal delegate void DActionArity2V108 (IntPtr block, NativeHandle arg1, NativeHandle arg2);
//
// This class bridges native block invocations that call into C#
//
- static internal class SDActionArity2V109 {
- static internal readonly DActionArity2V109 Handler = Invoke;
+ static internal class SDActionArity2V108 {
+ static internal readonly DActionArity2V108 Handler = Invoke;
[Preserve (Conditional = true)]
[global::System.Diagnostics.CodeAnalysis.DynamicDependency ("Handler")]
- [MonoPInvokeCallback (typeof (DActionArity2V109))]
+ [MonoPInvokeCallback (typeof (DActionArity2V108))]
static unsafe void Invoke (IntPtr block, NativeHandle arg1, NativeHandle arg2) {
var descriptor = (BlockLiteral *) block;
- var del = (global::System.Action<global::IdentityLookup.ILNetworkResponse, NSError>) (descriptor->Target);
+ var del = (global::System.Action<global::HomeKit.HMZone, NSError>) (descriptor->Target);
if (del != null)
- del ( Runtime.GetNSObject<IdentityLookup.ILNetworkResponse> (arg1)!, Runtime.GetNSObject<NSError> (arg2)!);
+ del ( Runtime.GetNSObject<HomeKit.HMZone> (arg1)!, Runtime.GetNSObject<NSError> (arg2)!);
}
- } /* class SDActionArity2V109 */
- internal sealed class NIDActionArity2V109 : TrampolineBlockBase {
- DActionArity2V109 invoker;
+ } /* class SDActionArity2V108 */
+ internal sealed class NIDActionArity2V108 : TrampolineBlockBase {
+ DActionArity2V108 invoker;
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe NIDActionArity2V109 (BlockLiteral *block) : base (block)
+ public unsafe NIDActionArity2V108 (BlockLiteral *block) : base (block)
{
- invoker = block->GetDelegateForBlock<DActionArity2V109> ();
+ invoker = block->GetDelegateForBlock<DActionArity2V108> ();
}
[Preserve (Conditional=true)]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe static global::System.Action<global::IdentityLookup.ILNetworkResponse, NSError>? Create (IntPtr block)
+ public unsafe static global::System.Action<global::HomeKit.HMZone, NSError>? Create (IntPtr block)
{
if (block == IntPtr.Zero)
return null;
- var del = (global::System.Action<global::IdentityLookup.ILNetworkResponse, NSError>) GetExistingManagedDelegate (block);
- return del ?? new NIDActionArity2V109 ((BlockLiteral *) block).Invoke;
+ var del = (global::System.Action<global::HomeKit.HMZone, NSError>) GetExistingManagedDelegate (block);
+ return del ?? new NIDActionArity2V108 ((BlockLiteral *) block).Invoke;
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- unsafe void Invoke (global::IdentityLookup.ILNetworkResponse arg1, NSError arg2)
+ unsafe void Invoke (global::HomeKit.HMZone arg1, NSError arg2)
{
var arg1__handle__ = arg1.GetHandle ();
var arg2__handle__ = arg2.GetHandle ();
invoker (BlockPointer, arg1__handle__, arg2__handle__);
}
- } /* class NIDActionArity2V109 */
+ } /* class NIDActionArity2V108 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
- [UserDelegateType (typeof (global::System.Action<global::Intents.INVoiceShortcut, NSError>))]
+ [UserDelegateType (typeof (global::System.Action<global::IdentityLookup.ILNetworkResponse, NSError>))]
internal delegate void DActionArity2V110 (IntPtr block, NativeHandle arg1, NativeHandle arg2);
//
// This class bridges native block invocations that call into C#
@@ -29059,9 +29272,9 @@ namespace ObjCRuntime {
[MonoPInvokeCallback (typeof (DActionArity2V110))]
static unsafe void Invoke (IntPtr block, NativeHandle arg1, NativeHandle arg2) {
var descriptor = (BlockLiteral *) block;
- var del = (global::System.Action<global::Intents.INVoiceShortcut, NSError>) (descriptor->Target);
+ var del = (global::System.Action<global::IdentityLookup.ILNetworkResponse, NSError>) (descriptor->Target);
if (del != null)
- del ( Runtime.GetNSObject<Intents.INVoiceShortcut> (arg1)!, Runtime.GetNSObject<NSError> (arg2)!);
+ del ( Runtime.GetNSObject<IdentityLookup.ILNetworkResponse> (arg1)!, Runtime.GetNSObject<NSError> (arg2)!);
}
} /* class SDActionArity2V110 */
internal sealed class NIDActionArity2V110 : TrampolineBlockBase {
@@ -29073,15 +29286,15 @@ namespace ObjCRuntime {
}
[Preserve (Conditional=true)]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe static global::System.Action<global::Intents.INVoiceShortcut, NSError>? Create (IntPtr block)
+ public unsafe static global::System.Action<global::IdentityLookup.ILNetworkResponse, NSError>? Create (IntPtr block)
{
if (block == IntPtr.Zero)
return null;
- var del = (global::System.Action<global::Intents.INVoiceShortcut, NSError>) GetExistingManagedDelegate (block);
+ var del = (global::System.Action<global::IdentityLookup.ILNetworkResponse, NSError>) GetExistingManagedDelegate (block);
return del ?? new NIDActionArity2V110 ((BlockLiteral *) block).Invoke;
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- unsafe void Invoke (global::Intents.INVoiceShortcut arg1, NSError arg2)
+ unsafe void Invoke (global::IdentityLookup.ILNetworkResponse arg1, NSError arg2)
{
var arg1__handle__ = arg1.GetHandle ();
var arg2__handle__ = arg2.GetHandle ();
@@ -29089,7 +29302,7 @@ namespace ObjCRuntime {
}
} /* class NIDActionArity2V110 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
- [UserDelegateType (typeof (global::System.Action<global::LinkPresentation.LPLinkMetadata, NSError>))]
+ [UserDelegateType (typeof (global::System.Action<global::Intents.INVoiceShortcut, NSError>))]
internal delegate void DActionArity2V111 (IntPtr block, NativeHandle arg1, NativeHandle arg2);
//
// This class bridges native block invocations that call into C#
@@ -29101,9 +29314,9 @@ namespace ObjCRuntime {
[MonoPInvokeCallback (typeof (DActionArity2V111))]
static unsafe void Invoke (IntPtr block, NativeHandle arg1, NativeHandle arg2) {
var descriptor = (BlockLiteral *) block;
- var del = (global::System.Action<global::LinkPresentation.LPLinkMetadata, NSError>) (descriptor->Target);
+ var del = (global::System.Action<global::Intents.INVoiceShortcut, NSError>) (descriptor->Target);
if (del != null)
- del ( Runtime.GetNSObject<LinkPresentation.LPLinkMetadata> (arg1)!, Runtime.GetNSObject<NSError> (arg2)!);
+ del ( Runtime.GetNSObject<Intents.INVoiceShortcut> (arg1)!, Runtime.GetNSObject<NSError> (arg2)!);
}
} /* class SDActionArity2V111 */
internal sealed class NIDActionArity2V111 : TrampolineBlockBase {
@@ -29115,12 +29328,54 @@ namespace ObjCRuntime {
}
[Preserve (Conditional=true)]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe static global::System.Action<global::Intents.INVoiceShortcut, NSError>? Create (IntPtr block)
+ {
+ if (block == IntPtr.Zero)
+ return null;
+ var del = (global::System.Action<global::Intents.INVoiceShortcut, NSError>) GetExistingManagedDelegate (block);
+ return del ?? new NIDActionArity2V111 ((BlockLiteral *) block).Invoke;
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ unsafe void Invoke (global::Intents.INVoiceShortcut arg1, NSError arg2)
+ {
+ var arg1__handle__ = arg1.GetHandle ();
+ var arg2__handle__ = arg2.GetHandle ();
+ invoker (BlockPointer, arg1__handle__, arg2__handle__);
+ }
+ } /* class NIDActionArity2V111 */
+ [UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
+ [UserDelegateType (typeof (global::System.Action<global::LinkPresentation.LPLinkMetadata, NSError>))]
+ internal delegate void DActionArity2V112 (IntPtr block, NativeHandle arg1, NativeHandle arg2);
+ //
+ // This class bridges native block invocations that call into C#
+ //
+ static internal class SDActionArity2V112 {
+ static internal readonly DActionArity2V112 Handler = Invoke;
+ [Preserve (Conditional = true)]
+ [global::System.Diagnostics.CodeAnalysis.DynamicDependency ("Handler")]
+ [MonoPInvokeCallback (typeof (DActionArity2V112))]
+ static unsafe void Invoke (IntPtr block, NativeHandle arg1, NativeHandle arg2) {
+ var descriptor = (BlockLiteral *) block;
+ var del = (global::System.Action<global::LinkPresentation.LPLinkMetadata, NSError>) (descriptor->Target);
+ if (del != null)
+ del ( Runtime.GetNSObject<LinkPresentation.LPLinkMetadata> (arg1)!, Runtime.GetNSObject<NSError> (arg2)!);
+ }
+ } /* class SDActionArity2V112 */
+ internal sealed class NIDActionArity2V112 : TrampolineBlockBase {
+ DActionArity2V112 invoker;
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public unsafe NIDActionArity2V112 (BlockLiteral *block) : base (block)
+ {
+ invoker = block->GetDelegateForBlock<DActionArity2V112> ();
+ }
+ [Preserve (Conditional=true)]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public unsafe static global::System.Action<global::LinkPresentation.LPLinkMetadata, NSError>? Create (IntPtr block)
{
if (block == IntPtr.Zero)
return null;
var del = (global::System.Action<global::LinkPresentation.LPLinkMetadata, NSError>) GetExistingManagedDelegate (block);
- return del ?? new NIDActionArity2V111 ((BlockLiteral *) block).Invoke;
+ return del ?? new NIDActionArity2V112 ((BlockLiteral *) block).Invoke;
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
unsafe void Invoke (global::LinkPresentation.LPLinkMetadata arg1, NSError arg2)
@@ -29129,31 +29384,31 @@ namespace ObjCRuntime {
var arg2__handle__ = arg2.GetHandle ();
invoker (BlockPointer, arg1__handle__, arg2__handle__);
}
- } /* class NIDActionArity2V111 */
+ } /* class NIDActionArity2V112 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
[UserDelegateType (typeof (global::System.Action<global::MediaPlayer.MPContentItem, NSError>))]
- internal delegate void DActionArity2V115 (IntPtr block, NativeHandle arg1, NativeHandle arg2);
+ internal delegate void DActionArity2V116 (IntPtr block, NativeHandle arg1, NativeHandle arg2);
//
// This class bridges native block invocations that call into C#
//
- static internal class SDActionArity2V115 {
- static internal readonly DActionArity2V115 Handler = Invoke;
+ static internal class SDActionArity2V116 {
+ static internal readonly DActionArity2V116 Handler = Invoke;
[Preserve (Conditional = true)]
[global::System.Diagnostics.CodeAnalysis.DynamicDependency ("Handler")]
- [MonoPInvokeCallback (typeof (DActionArity2V115))]
+ [MonoPInvokeCallback (typeof (DActionArity2V116))]
static unsafe void Invoke (IntPtr block, NativeHandle arg1, NativeHandle arg2) {
var descriptor = (BlockLiteral *) block;
var del = (global::System.Action<global::MediaPlayer.MPContentItem, NSError>) (descriptor->Target);
if (del != null)
del ( Runtime.GetNSObject<MPContentItem> (arg1)!, Runtime.GetNSObject<NSError> (arg2)!);
}
- } /* class SDActionArity2V115 */
- internal sealed class NIDActionArity2V115 : TrampolineBlockBase {
- DActionArity2V115 invoker;
+ } /* class SDActionArity2V116 */
+ internal sealed class NIDActionArity2V116 : TrampolineBlockBase {
+ DActionArity2V116 invoker;
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe NIDActionArity2V115 (BlockLiteral *block) : base (block)
+ public unsafe NIDActionArity2V116 (BlockLiteral *block) : base (block)
{
- invoker = block->GetDelegateForBlock<DActionArity2V115> ();
+ invoker = block->GetDelegateForBlock<DActionArity2V116> ();
}
[Preserve (Conditional=true)]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -29162,7 +29417,7 @@ namespace ObjCRuntime {
if (block == IntPtr.Zero)
return null;
var del = (global::System.Action<global::MediaPlayer.MPContentItem, NSError>) GetExistingManagedDelegate (block);
- return del ?? new NIDActionArity2V115 ((BlockLiteral *) block).Invoke;
+ return del ?? new NIDActionArity2V116 ((BlockLiteral *) block).Invoke;
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
unsafe void Invoke (global::MediaPlayer.MPContentItem arg1, NSError arg2)
@@ -29171,31 +29426,31 @@ namespace ObjCRuntime {
var arg2__handle__ = arg2.GetHandle ();
invoker (BlockPointer, arg1__handle__, arg2__handle__);
}
- } /* class NIDActionArity2V115 */
+ } /* class NIDActionArity2V116 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
[UserDelegateType (typeof (global::System.Action<global::MediaPlayer.MPMediaEntity[], NSError>))]
- internal delegate void DActionArity2V112 (IntPtr block, NativeHandle arg1, NativeHandle arg2);
+ internal delegate void DActionArity2V113 (IntPtr block, NativeHandle arg1, NativeHandle arg2);
//
// This class bridges native block invocations that call into C#
//
- static internal class SDActionArity2V112 {
- static internal readonly DActionArity2V112 Handler = Invoke;
+ static internal class SDActionArity2V113 {
+ static internal readonly DActionArity2V113 Handler = Invoke;
[Preserve (Conditional = true)]
[global::System.Diagnostics.CodeAnalysis.DynamicDependency ("Handler")]
- [MonoPInvokeCallback (typeof (DActionArity2V112))]
+ [MonoPInvokeCallback (typeof (DActionArity2V113))]
static unsafe void Invoke (IntPtr block, NativeHandle arg1, NativeHandle arg2) {
var descriptor = (BlockLiteral *) block;
var del = (global::System.Action<global::MediaPlayer.MPMediaEntity[], NSError>) (descriptor->Target);
if (del != null)
del (CFArray.ArrayFromHandle<global::MediaPlayer.MPMediaEntity> (arg1)!, Runtime.GetNSObject<NSError> (arg2)!);
}
- } /* class SDActionArity2V112 */
- internal sealed class NIDActionArity2V112 : TrampolineBlockBase {
- DActionArity2V112 invoker;
+ } /* class SDActionArity2V113 */
+ internal sealed class NIDActionArity2V113 : TrampolineBlockBase {
+ DActionArity2V113 invoker;
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe NIDActionArity2V112 (BlockLiteral *block) : base (block)
+ public unsafe NIDActionArity2V113 (BlockLiteral *block) : base (block)
{
- invoker = block->GetDelegateForBlock<DActionArity2V112> ();
+ invoker = block->GetDelegateForBlock<DActionArity2V113> ();
}
[Preserve (Conditional=true)]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -29204,7 +29459,7 @@ namespace ObjCRuntime {
if (block == IntPtr.Zero)
return null;
var del = (global::System.Action<global::MediaPlayer.MPMediaEntity[], NSError>) GetExistingManagedDelegate (block);
- return del ?? new NIDActionArity2V112 ((BlockLiteral *) block).Invoke;
+ return del ?? new NIDActionArity2V113 ((BlockLiteral *) block).Invoke;
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
unsafe void Invoke (global::MediaPlayer.MPMediaEntity[] arg1, NSError arg2)
@@ -29217,31 +29472,31 @@ namespace ObjCRuntime {
if (nsa_arg1 != null)
nsa_arg1.Dispose ();
}
- } /* class NIDActionArity2V112 */
+ } /* class NIDActionArity2V113 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
[UserDelegateType (typeof (global::System.Action<global::MediaPlayer.MPMediaPlaylist, NSError>))]
- internal delegate void DActionArity2V113 (IntPtr block, NativeHandle arg1, NativeHandle arg2);
+ internal delegate void DActionArity2V114 (IntPtr block, NativeHandle arg1, NativeHandle arg2);
//
// This class bridges native block invocations that call into C#
//
- static internal class SDActionArity2V113 {
- static internal readonly DActionArity2V113 Handler = Invoke;
+ static internal class SDActionArity2V114 {
+ static internal readonly DActionArity2V114 Handler = Invoke;
[Preserve (Conditional = true)]
[global::System.Diagnostics.CodeAnalysis.DynamicDependency ("Handler")]
- [MonoPInvokeCallback (typeof (DActionArity2V113))]
+ [MonoPInvokeCallback (typeof (DActionArity2V114))]
static unsafe void Invoke (IntPtr block, NativeHandle arg1, NativeHandle arg2) {
var descriptor = (BlockLiteral *) block;
var del = (global::System.Action<global::MediaPlayer.MPMediaPlaylist, NSError>) (descriptor->Target);
if (del != null)
del ( Runtime.GetNSObject<MPMediaPlaylist> (arg1)!, Runtime.GetNSObject<NSError> (arg2)!);
}
- } /* class SDActionArity2V113 */
- internal sealed class NIDActionArity2V113 : TrampolineBlockBase {
- DActionArity2V113 invoker;
+ } /* class SDActionArity2V114 */
+ internal sealed class NIDActionArity2V114 : TrampolineBlockBase {
+ DActionArity2V114 invoker;
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe NIDActionArity2V113 (BlockLiteral *block) : base (block)
+ public unsafe NIDActionArity2V114 (BlockLiteral *block) : base (block)
{
- invoker = block->GetDelegateForBlock<DActionArity2V113> ();
+ invoker = block->GetDelegateForBlock<DActionArity2V114> ();
}
[Preserve (Conditional=true)]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -29250,7 +29505,7 @@ namespace ObjCRuntime {
if (block == IntPtr.Zero)
return null;
var del = (global::System.Action<global::MediaPlayer.MPMediaPlaylist, NSError>) GetExistingManagedDelegate (block);
- return del ?? new NIDActionArity2V113 ((BlockLiteral *) block).Invoke;
+ return del ?? new NIDActionArity2V114 ((BlockLiteral *) block).Invoke;
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
unsafe void Invoke (global::MediaPlayer.MPMediaPlaylist arg1, NSError arg2)
@@ -29259,31 +29514,31 @@ namespace ObjCRuntime {
var arg2__handle__ = arg2.GetHandle ();
invoker (BlockPointer, arg1__handle__, arg2__handle__);
}
- } /* class NIDActionArity2V113 */
+ } /* class NIDActionArity2V114 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
[UserDelegateType (typeof (global::System.Action<global::MediaPlayer.MPMusicPlayerControllerQueue, NSError>))]
- internal delegate void DActionArity2V114 (IntPtr block, NativeHandle arg1, NativeHandle arg2);
+ internal delegate void DActionArity2V115 (IntPtr block, NativeHandle arg1, NativeHandle arg2);
//
// This class bridges native block invocations that call into C#
//
- static internal class SDActionArity2V114 {
- static internal readonly DActionArity2V114 Handler = Invoke;
+ static internal class SDActionArity2V115 {
+ static internal readonly DActionArity2V115 Handler = Invoke;
[Preserve (Conditional = true)]
[global::System.Diagnostics.CodeAnalysis.DynamicDependency ("Handler")]
- [MonoPInvokeCallback (typeof (DActionArity2V114))]
+ [MonoPInvokeCallback (typeof (DActionArity2V115))]
static unsafe void Invoke (IntPtr block, NativeHandle arg1, NativeHandle arg2) {
var descriptor = (BlockLiteral *) block;
var del = (global::System.Action<global::MediaPlayer.MPMusicPlayerControllerQueue, NSError>) (descriptor->Target);
if (del != null)
del ( Runtime.GetNSObject<MPMusicPlayerControllerQueue> (arg1)!, Runtime.GetNSObject<NSError> (arg2)!);
}
- } /* class SDActionArity2V114 */
- internal sealed class NIDActionArity2V114 : TrampolineBlockBase {
- DActionArity2V114 invoker;
+ } /* class SDActionArity2V115 */
+ internal sealed class NIDActionArity2V115 : TrampolineBlockBase {
+ DActionArity2V115 invoker;
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe NIDActionArity2V114 (BlockLiteral *block) : base (block)
+ public unsafe NIDActionArity2V115 (BlockLiteral *block) : base (block)
{
- invoker = block->GetDelegateForBlock<DActionArity2V114> ();
+ invoker = block->GetDelegateForBlock<DActionArity2V115> ();
}
[Preserve (Conditional=true)]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -29292,7 +29547,7 @@ namespace ObjCRuntime {
if (block == IntPtr.Zero)
return null;
var del = (global::System.Action<global::MediaPlayer.MPMusicPlayerControllerQueue, NSError>) GetExistingManagedDelegate (block);
- return del ?? new NIDActionArity2V114 ((BlockLiteral *) block).Invoke;
+ return del ?? new NIDActionArity2V115 ((BlockLiteral *) block).Invoke;
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
unsafe void Invoke (global::MediaPlayer.MPMusicPlayerControllerQueue arg1, NSError arg2)
@@ -29301,31 +29556,31 @@ namespace ObjCRuntime {
var arg2__handle__ = arg2.GetHandle ();
invoker (BlockPointer, arg1__handle__, arg2__handle__);
}
- } /* class NIDActionArity2V114 */
+ } /* class NIDActionArity2V115 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
[UserDelegateType (typeof (global::System.Action<global::Metal.IMTLComputePipelineState, NSError>))]
- internal delegate void DActionArity2V118 (IntPtr block, NativeHandle arg1, NativeHandle arg2);
+ internal delegate void DActionArity2V119 (IntPtr block, NativeHandle arg1, NativeHandle arg2);
//
// This class bridges native block invocations that call into C#
//
- static internal class SDActionArity2V118 {
- static internal readonly DActionArity2V118 Handler = Invoke;
+ static internal class SDActionArity2V119 {
+ static internal readonly DActionArity2V119 Handler = Invoke;
[Preserve (Conditional = true)]
[global::System.Diagnostics.CodeAnalysis.DynamicDependency ("Handler")]
- [MonoPInvokeCallback (typeof (DActionArity2V118))]
+ [MonoPInvokeCallback (typeof (DActionArity2V119))]
static unsafe void Invoke (IntPtr block, NativeHandle arg1, NativeHandle arg2) {
var descriptor = (BlockLiteral *) block;
var del = (global::System.Action<global::Metal.IMTLComputePipelineState, NSError>) (descriptor->Target);
if (del != null)
del ( Runtime.GetINativeObject<Metal.IMTLComputePipelineState> (arg1, false)!, Runtime.GetNSObject<NSError> (arg2)!);
}
- } /* class SDActionArity2V118 */
- internal sealed class NIDActionArity2V118 : TrampolineBlockBase {
- DActionArity2V118 invoker;
+ } /* class SDActionArity2V119 */
+ internal sealed class NIDActionArity2V119 : TrampolineBlockBase {
+ DActionArity2V119 invoker;
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe NIDActionArity2V118 (BlockLiteral *block) : base (block)
+ public unsafe NIDActionArity2V119 (BlockLiteral *block) : base (block)
{
- invoker = block->GetDelegateForBlock<DActionArity2V118> ();
+ invoker = block->GetDelegateForBlock<DActionArity2V119> ();
}
[Preserve (Conditional=true)]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -29334,7 +29589,7 @@ namespace ObjCRuntime {
if (block == IntPtr.Zero)
return null;
var del = (global::System.Action<global::Metal.IMTLComputePipelineState, NSError>) GetExistingManagedDelegate (block);
- return del ?? new NIDActionArity2V118 ((BlockLiteral *) block).Invoke;
+ return del ?? new NIDActionArity2V119 ((BlockLiteral *) block).Invoke;
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
unsafe void Invoke (global::Metal.IMTLComputePipelineState arg1, NSError arg2)
@@ -29343,31 +29598,31 @@ namespace ObjCRuntime {
var arg2__handle__ = arg2.GetHandle ();
invoker (BlockPointer, arg1__handle__, arg2__handle__);
}
- } /* class NIDActionArity2V118 */
+ } /* class NIDActionArity2V119 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
[UserDelegateType (typeof (global::System.Action<global::Metal.IMTLFunction, NSError>))]
- internal delegate void DActionArity2V119 (IntPtr block, NativeHandle arg1, NativeHandle arg2);
+ internal delegate void DActionArity2V120 (IntPtr block, NativeHandle arg1, NativeHandle arg2);
//
// This class bridges native block invocations that call into C#
//
- static internal class SDActionArity2V119 {
- static internal readonly DActionArity2V119 Handler = Invoke;
+ static internal class SDActionArity2V120 {
+ static internal readonly DActionArity2V120 Handler = Invoke;
[Preserve (Conditional = true)]
[global::System.Diagnostics.CodeAnalysis.DynamicDependency ("Handler")]
- [MonoPInvokeCallback (typeof (DActionArity2V119))]
+ [MonoPInvokeCallback (typeof (DActionArity2V120))]
static unsafe void Invoke (IntPtr block, NativeHandle arg1, NativeHandle arg2) {
var descriptor = (BlockLiteral *) block;
var del = (global::System.Action<global::Metal.IMTLFunction, NSError>) (descriptor->Target);
if (del != null)
del ( Runtime.GetINativeObject<Metal.IMTLFunction> (arg1, false)!, Runtime.GetNSObject<NSError> (arg2)!);
}
- } /* class SDActionArity2V119 */
- internal sealed class NIDActionArity2V119 : TrampolineBlockBase {
- DActionArity2V119 invoker;
+ } /* class SDActionArity2V120 */
+ internal sealed class NIDActionArity2V120 : TrampolineBlockBase {
+ DActionArity2V120 invoker;
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe NIDActionArity2V119 (BlockLiteral *block) : base (block)
+ public unsafe NIDActionArity2V120 (BlockLiteral *block) : base (block)
{
- invoker = block->GetDelegateForBlock<DActionArity2V119> ();
+ invoker = block->GetDelegateForBlock<DActionArity2V120> ();
}
[Preserve (Conditional=true)]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -29376,7 +29631,7 @@ namespace ObjCRuntime {
if (block == IntPtr.Zero)
return null;
var del = (global::System.Action<global::Metal.IMTLFunction, NSError>) GetExistingManagedDelegate (block);
- return del ?? new NIDActionArity2V119 ((BlockLiteral *) block).Invoke;
+ return del ?? new NIDActionArity2V120 ((BlockLiteral *) block).Invoke;
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
unsafe void Invoke (global::Metal.IMTLFunction arg1, NSError arg2)
@@ -29385,31 +29640,31 @@ namespace ObjCRuntime {
var arg2__handle__ = arg2.GetHandle ();
invoker (BlockPointer, arg1__handle__, arg2__handle__);
}
- } /* class NIDActionArity2V119 */
+ } /* class NIDActionArity2V120 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
[UserDelegateType (typeof (global::System.Action<global::Metal.IMTLLibrary, NSError>))]
- internal delegate void DActionArity2V116 (IntPtr block, NativeHandle arg1, NativeHandle arg2);
+ internal delegate void DActionArity2V117 (IntPtr block, NativeHandle arg1, NativeHandle arg2);
//
// This class bridges native block invocations that call into C#
//
- static internal class SDActionArity2V116 {
- static internal readonly DActionArity2V116 Handler = Invoke;
+ static internal class SDActionArity2V117 {
+ static internal readonly DActionArity2V117 Handler = Invoke;
[Preserve (Conditional = true)]
[global::System.Diagnostics.CodeAnalysis.DynamicDependency ("Handler")]
- [MonoPInvokeCallback (typeof (DActionArity2V116))]
+ [MonoPInvokeCallback (typeof (DActionArity2V117))]
static unsafe void Invoke (IntPtr block, NativeHandle arg1, NativeHandle arg2) {
var descriptor = (BlockLiteral *) block;
var del = (global::System.Action<global::Metal.IMTLLibrary, NSError>) (descriptor->Target);
if (del != null)
del ( Runtime.GetINativeObject<Metal.IMTLLibrary> (arg1, false)!, Runtime.GetNSObject<NSError> (arg2)!);
}
- } /* class SDActionArity2V116 */
- internal sealed class NIDActionArity2V116 : TrampolineBlockBase {
- DActionArity2V116 invoker;
+ } /* class SDActionArity2V117 */
+ internal sealed class NIDActionArity2V117 : TrampolineBlockBase {
+ DActionArity2V117 invoker;
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe NIDActionArity2V116 (BlockLiteral *block) : base (block)
+ public unsafe NIDActionArity2V117 (BlockLiteral *block) : base (block)
{
- invoker = block->GetDelegateForBlock<DActionArity2V116> ();
+ invoker = block->GetDelegateForBlock<DActionArity2V117> ();
}
[Preserve (Conditional=true)]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -29418,7 +29673,7 @@ namespace ObjCRuntime {
if (block == IntPtr.Zero)
return null;
var del = (global::System.Action<global::Metal.IMTLLibrary, NSError>) GetExistingManagedDelegate (block);
- return del ?? new NIDActionArity2V116 ((BlockLiteral *) block).Invoke;
+ return del ?? new NIDActionArity2V117 ((BlockLiteral *) block).Invoke;
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
unsafe void Invoke (global::Metal.IMTLLibrary arg1, NSError arg2)
@@ -29427,31 +29682,31 @@ namespace ObjCRuntime {
var arg2__handle__ = arg2.GetHandle ();
invoker (BlockPointer, arg1__handle__, arg2__handle__);
}
- } /* class NIDActionArity2V116 */
+ } /* class NIDActionArity2V117 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
[UserDelegateType (typeof (global::System.Action<global::Metal.IMTLRenderPipelineState, NSError>))]
- internal delegate void DActionArity2V117 (IntPtr block, NativeHandle arg1, NativeHandle arg2);
+ internal delegate void DActionArity2V118 (IntPtr block, NativeHandle arg1, NativeHandle arg2);
//
// This class bridges native block invocations that call into C#
//
- static internal class SDActionArity2V117 {
- static internal readonly DActionArity2V117 Handler = Invoke;
+ static internal class SDActionArity2V118 {
+ static internal readonly DActionArity2V118 Handler = Invoke;
[Preserve (Conditional = true)]
[global::System.Diagnostics.CodeAnalysis.DynamicDependency ("Handler")]
- [MonoPInvokeCallback (typeof (DActionArity2V117))]
+ [MonoPInvokeCallback (typeof (DActionArity2V118))]
static unsafe void Invoke (IntPtr block, NativeHandle arg1, NativeHandle arg2) {
var descriptor = (BlockLiteral *) block;
var del = (global::System.Action<global::Metal.IMTLRenderPipelineState, NSError>) (descriptor->Target);
if (del != null)
del ( Runtime.GetINativeObject<Metal.IMTLRenderPipelineState> (arg1, false)!, Runtime.GetNSObject<NSError> (arg2)!);
}
- } /* class SDActionArity2V117 */
- internal sealed class NIDActionArity2V117 : TrampolineBlockBase {
- DActionArity2V117 invoker;
+ } /* class SDActionArity2V118 */
+ internal sealed class NIDActionArity2V118 : TrampolineBlockBase {
+ DActionArity2V118 invoker;
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe NIDActionArity2V117 (BlockLiteral *block) : base (block)
+ public unsafe NIDActionArity2V118 (BlockLiteral *block) : base (block)
{
- invoker = block->GetDelegateForBlock<DActionArity2V117> ();
+ invoker = block->GetDelegateForBlock<DActionArity2V118> ();
}
[Preserve (Conditional=true)]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -29460,7 +29715,7 @@ namespace ObjCRuntime {
if (block == IntPtr.Zero)
return null;
var del = (global::System.Action<global::Metal.IMTLRenderPipelineState, NSError>) GetExistingManagedDelegate (block);
- return del ?? new NIDActionArity2V117 ((BlockLiteral *) block).Invoke;
+ return del ?? new NIDActionArity2V118 ((BlockLiteral *) block).Invoke;
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
unsafe void Invoke (global::Metal.IMTLRenderPipelineState arg1, NSError arg2)
@@ -29469,31 +29724,31 @@ namespace ObjCRuntime {
var arg2__handle__ = arg2.GetHandle ();
invoker (BlockPointer, arg1__handle__, arg2__handle__);
}
- } /* class NIDActionArity2V117 */
+ } /* class NIDActionArity2V118 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
[UserDelegateType (typeof (global::System.Action<global::MetalPerformanceShaders.MPSImage, NSError>))]
- internal delegate void DActionArity2V120 (IntPtr block, NativeHandle arg1, NativeHandle arg2);
+ internal delegate void DActionArity2V121 (IntPtr block, NativeHandle arg1, NativeHandle arg2);
//
// This class bridges native block invocations that call into C#
//
- static internal class SDActionArity2V120 {
- static internal readonly DActionArity2V120 Handler = Invoke;
+ static internal class SDActionArity2V121 {
+ static internal readonly DActionArity2V121 Handler = Invoke;
[Preserve (Conditional = true)]
[global::System.Diagnostics.CodeAnalysis.DynamicDependency ("Handler")]
- [MonoPInvokeCallback (typeof (DActionArity2V120))]
+ [MonoPInvokeCallback (typeof (DActionArity2V121))]
static unsafe void Invoke (IntPtr block, NativeHandle arg1, NativeHandle arg2) {
var descriptor = (BlockLiteral *) block;
var del = (global::System.Action<global::MetalPerformanceShaders.MPSImage, NSError>) (descriptor->Target);
if (del != null)
del ( Runtime.GetNSObject<MetalPerformanceShaders.MPSImage> (arg1)!, Runtime.GetNSObject<NSError> (arg2)!);
}
- } /* class SDActionArity2V120 */
- internal sealed class NIDActionArity2V120 : TrampolineBlockBase {
- DActionArity2V120 invoker;
+ } /* class SDActionArity2V121 */
+ internal sealed class NIDActionArity2V121 : TrampolineBlockBase {
+ DActionArity2V121 invoker;
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe NIDActionArity2V120 (BlockLiteral *block) : base (block)
+ public unsafe NIDActionArity2V121 (BlockLiteral *block) : base (block)
{
- invoker = block->GetDelegateForBlock<DActionArity2V120> ();
+ invoker = block->GetDelegateForBlock<DActionArity2V121> ();
}
[Preserve (Conditional=true)]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -29502,7 +29757,7 @@ namespace ObjCRuntime {
if (block == IntPtr.Zero)
return null;
var del = (global::System.Action<global::MetalPerformanceShaders.MPSImage, NSError>) GetExistingManagedDelegate (block);
- return del ?? new NIDActionArity2V120 ((BlockLiteral *) block).Invoke;
+ return del ?? new NIDActionArity2V121 ((BlockLiteral *) block).Invoke;
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
unsafe void Invoke (global::MetalPerformanceShaders.MPSImage arg1, NSError arg2)
@@ -29511,31 +29766,31 @@ namespace ObjCRuntime {
var arg2__handle__ = arg2.GetHandle ();
invoker (BlockPointer, arg1__handle__, arg2__handle__);
}
- } /* class NIDActionArity2V120 */
+ } /* class NIDActionArity2V121 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
[UserDelegateType (typeof (global::System.Action<global::NaturalLanguage.NLTaggerAssetsResult, NSError>))]
- internal delegate void DActionArity2V121 (IntPtr block, IntPtr arg1, NativeHandle arg2);
+ internal delegate void DActionArity2V122 (IntPtr block, IntPtr arg1, NativeHandle arg2);
//
// This class bridges native block invocations that call into C#
//
- static internal class SDActionArity2V121 {
- static internal readonly DActionArity2V121 Handler = Invoke;
+ static internal class SDActionArity2V122 {
+ static internal readonly DActionArity2V122 Handler = Invoke;
[Preserve (Conditional = true)]
[global::System.Diagnostics.CodeAnalysis.DynamicDependency ("Handler")]
- [MonoPInvokeCallback (typeof (DActionArity2V121))]
+ [MonoPInvokeCallback (typeof (DActionArity2V122))]
static unsafe void Invoke (IntPtr block, IntPtr arg1, NativeHandle arg2) {
var descriptor = (BlockLiteral *) block;
var del = (global::System.Action<global::NaturalLanguage.NLTaggerAssetsResult, NSError>) (descriptor->Target);
if (del != null)
del ((NaturalLanguage.NLTaggerAssetsResult) (long) arg1, Runtime.GetNSObject<NSError> (arg2)!);
}
- } /* class SDActionArity2V121 */
- internal sealed class NIDActionArity2V121 : TrampolineBlockBase {
- DActionArity2V121 invoker;
+ } /* class SDActionArity2V122 */
+ internal sealed class NIDActionArity2V122 : TrampolineBlockBase {
+ DActionArity2V122 invoker;
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe NIDActionArity2V121 (BlockLiteral *block) : base (block)
+ public unsafe NIDActionArity2V122 (BlockLiteral *block) : base (block)
{
- invoker = block->GetDelegateForBlock<DActionArity2V121> ();
+ invoker = block->GetDelegateForBlock<DActionArity2V122> ();
}
[Preserve (Conditional=true)]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -29544,7 +29799,7 @@ namespace ObjCRuntime {
if (block == IntPtr.Zero)
return null;
var del = (global::System.Action<global::NaturalLanguage.NLTaggerAssetsResult, NSError>) GetExistingManagedDelegate (block);
- return del ?? new NIDActionArity2V121 ((BlockLiteral *) block).Invoke;
+ return del ?? new NIDActionArity2V122 ((BlockLiteral *) block).Invoke;
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
unsafe void Invoke (global::NaturalLanguage.NLTaggerAssetsResult arg1, NSError arg2)
@@ -29552,31 +29807,31 @@ namespace ObjCRuntime {
var arg2__handle__ = arg2.GetHandle ();
invoker (BlockPointer, (IntPtr) (long) arg1, arg2__handle__);
}
- } /* class NIDActionArity2V121 */
+ } /* class NIDActionArity2V122 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
[UserDelegateType (typeof (global::System.Action<global::NetworkExtension.NEAppPushManager[], NSError>))]
- internal delegate void DActionArity2V123 (IntPtr block, NativeHandle arg1, NativeHandle arg2);
+ internal delegate void DActionArity2V124 (IntPtr block, NativeHandle arg1, NativeHandle arg2);
//
// This class bridges native block invocations that call into C#
//
- static internal class SDActionArity2V123 {
- static internal readonly DActionArity2V123 Handler = Invoke;
+ static internal class SDActionArity2V124 {
+ static internal readonly DActionArity2V124 Handler = Invoke;
[Preserve (Conditional = true)]
[global::System.Diagnostics.CodeAnalysis.DynamicDependency ("Handler")]
- [MonoPInvokeCallback (typeof (DActionArity2V123))]
+ [MonoPInvokeCallback (typeof (DActionArity2V124))]
static unsafe void Invoke (IntPtr block, NativeHandle arg1, NativeHandle arg2) {
var descriptor = (BlockLiteral *) block;
var del = (global::System.Action<global::NetworkExtension.NEAppPushManager[], NSError>) (descriptor->Target);
if (del != null)
del (CFArray.ArrayFromHandle<global::NetworkExtension.NEAppPushManager> (arg1)!, Runtime.GetNSObject<NSError> (arg2)!);
}
- } /* class SDActionArity2V123 */
- internal sealed class NIDActionArity2V123 : TrampolineBlockBase {
- DActionArity2V123 invoker;
+ } /* class SDActionArity2V124 */
+ internal sealed class NIDActionArity2V124 : TrampolineBlockBase {
+ DActionArity2V124 invoker;
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe NIDActionArity2V123 (BlockLiteral *block) : base (block)
+ public unsafe NIDActionArity2V124 (BlockLiteral *block) : base (block)
{
- invoker = block->GetDelegateForBlock<DActionArity2V123> ();
+ invoker = block->GetDelegateForBlock<DActionArity2V124> ();
}
[Preserve (Conditional=true)]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -29585,7 +29840,7 @@ namespace ObjCRuntime {
if (block == IntPtr.Zero)
return null;
var del = (global::System.Action<global::NetworkExtension.NEAppPushManager[], NSError>) GetExistingManagedDelegate (block);
- return del ?? new NIDActionArity2V123 ((BlockLiteral *) block).Invoke;
+ return del ?? new NIDActionArity2V124 ((BlockLiteral *) block).Invoke;
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
unsafe void Invoke (global::NetworkExtension.NEAppPushManager[] arg1, NSError arg2)
@@ -29598,31 +29853,31 @@ namespace ObjCRuntime {
if (nsa_arg1 != null)
nsa_arg1.Dispose ();
}
- } /* class NIDActionArity2V123 */
+ } /* class NIDActionArity2V124 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
[UserDelegateType (typeof (global::System.Action<global::PassKit.PKAddShareablePassConfiguration, NSError>))]
- internal delegate void DActionArity2V126 (IntPtr block, NativeHandle arg1, NativeHandle arg2);
+ internal delegate void DActionArity2V127 (IntPtr block, NativeHandle arg1, NativeHandle arg2);
//
// This class bridges native block invocations that call into C#
//
- static internal class SDActionArity2V126 {
- static internal readonly DActionArity2V126 Handler = Invoke;
+ static internal class SDActionArity2V127 {
+ static internal readonly DActionArity2V127 Handler = Invoke;
[Preserve (Conditional = true)]
[global::System.Diagnostics.CodeAnalysis.DynamicDependency ("Handler")]
- [MonoPInvokeCallback (typeof (DActionArity2V126))]
+ [MonoPInvokeCallback (typeof (DActionArity2V127))]
static unsafe void Invoke (IntPtr block, NativeHandle arg1, NativeHandle arg2) {
var descriptor = (BlockLiteral *) block;
var del = (global::System.Action<global::PassKit.PKAddShareablePassConfiguration, NSError>) (descriptor->Target);
if (del != null)
del ( Runtime.GetNSObject<PassKit.PKAddShareablePassConfiguration> (arg1)!, Runtime.GetNSObject<NSError> (arg2)!);
}
- } /* class SDActionArity2V126 */
- internal sealed class NIDActionArity2V126 : TrampolineBlockBase {
- DActionArity2V126 invoker;
+ } /* class SDActionArity2V127 */
+ internal sealed class NIDActionArity2V127 : TrampolineBlockBase {
+ DActionArity2V127 invoker;
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe NIDActionArity2V126 (BlockLiteral *block) : base (block)
+ public unsafe NIDActionArity2V127 (BlockLiteral *block) : base (block)
{
- invoker = block->GetDelegateForBlock<DActionArity2V126> ();
+ invoker = block->GetDelegateForBlock<DActionArity2V127> ();
}
[Preserve (Conditional=true)]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -29631,7 +29886,7 @@ namespace ObjCRuntime {
if (block == IntPtr.Zero)
return null;
var del = (global::System.Action<global::PassKit.PKAddShareablePassConfiguration, NSError>) GetExistingManagedDelegate (block);
- return del ?? new NIDActionArity2V126 ((BlockLiteral *) block).Invoke;
+ return del ?? new NIDActionArity2V127 ((BlockLiteral *) block).Invoke;
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
unsafe void Invoke (global::PassKit.PKAddShareablePassConfiguration arg1, NSError arg2)
@@ -29640,31 +29895,31 @@ namespace ObjCRuntime {
var arg2__handle__ = arg2.GetHandle ();
invoker (BlockPointer, arg1__handle__, arg2__handle__);
}
- } /* class NIDActionArity2V126 */
+ } /* class NIDActionArity2V127 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
[UserDelegateType (typeof (global::System.Action<global::PassKit.PKIdentityDocument, NSError>))]
- internal delegate void DActionArity2V127 (IntPtr block, NativeHandle arg1, NativeHandle arg2);
+ internal delegate void DActionArity2V128 (IntPtr block, NativeHandle arg1, NativeHandle arg2);
//
// This class bridges native block invocations that call into C#
//
- static internal class SDActionArity2V127 {
- static internal readonly DActionArity2V127 Handler = Invoke;
+ static internal class SDActionArity2V128 {
+ static internal readonly DActionArity2V128 Handler = Invoke;
[Preserve (Conditional = true)]
[global::System.Diagnostics.CodeAnalysis.DynamicDependency ("Handler")]
- [MonoPInvokeCallback (typeof (DActionArity2V127))]
+ [MonoPInvokeCallback (typeof (DActionArity2V128))]
static unsafe void Invoke (IntPtr block, NativeHandle arg1, NativeHandle arg2) {
var descriptor = (BlockLiteral *) block;
var del = (global::System.Action<global::PassKit.PKIdentityDocument, NSError>) (descriptor->Target);
if (del != null)
del ( Runtime.GetNSObject<PassKit.PKIdentityDocument> (arg1)!, Runtime.GetNSObject<NSError> (arg2)!);
}
- } /* class SDActionArity2V127 */
- internal sealed class NIDActionArity2V127 : TrampolineBlockBase {
- DActionArity2V127 invoker;
+ } /* class SDActionArity2V128 */
+ internal sealed class NIDActionArity2V128 : TrampolineBlockBase {
+ DActionArity2V128 invoker;
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe NIDActionArity2V127 (BlockLiteral *block) : base (block)
+ public unsafe NIDActionArity2V128 (BlockLiteral *block) : base (block)
{
- invoker = block->GetDelegateForBlock<DActionArity2V127> ();
+ invoker = block->GetDelegateForBlock<DActionArity2V128> ();
}
[Preserve (Conditional=true)]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -29673,7 +29928,7 @@ namespace ObjCRuntime {
if (block == IntPtr.Zero)
return null;
var del = (global::System.Action<global::PassKit.PKIdentityDocument, NSError>) GetExistingManagedDelegate (block);
- return del ?? new NIDActionArity2V127 ((BlockLiteral *) block).Invoke;
+ return del ?? new NIDActionArity2V128 ((BlockLiteral *) block).Invoke;
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
unsafe void Invoke (global::PassKit.PKIdentityDocument arg1, NSError arg2)
@@ -29682,31 +29937,31 @@ namespace ObjCRuntime {
var arg2__handle__ = arg2.GetHandle ();
invoker (BlockPointer, arg1__handle__, arg2__handle__);
}
- } /* class NIDActionArity2V127 */
+ } /* class NIDActionArity2V128 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
[UserDelegateType (typeof (global::System.Action<global::PassKit.PKPaymentAuthorizationStatus, global::PassKit.PKPaymentSummaryItem[]>))]
- internal delegate void DActionArity2V128 (IntPtr block, IntPtr arg1, NativeHandle arg2);
+ internal delegate void DActionArity2V129 (IntPtr block, IntPtr arg1, NativeHandle arg2);
//
// This class bridges native block invocations that call into C#
//
- static internal class SDActionArity2V128 {
- static internal readonly DActionArity2V128 Handler = Invoke;
+ static internal class SDActionArity2V129 {
+ static internal readonly DActionArity2V129 Handler = Invoke;
[Preserve (Conditional = true)]
[global::System.Diagnostics.CodeAnalysis.DynamicDependency ("Handler")]
- [MonoPInvokeCallback (typeof (DActionArity2V128))]
+ [MonoPInvokeCallback (typeof (DActionArity2V129))]
static unsafe void Invoke (IntPtr block, IntPtr arg1, NativeHandle arg2) {
var descriptor = (BlockLiteral *) block;
var del = (global::System.Action<global::PassKit.PKPaymentAuthorizationStatus, global::PassKit.PKPaymentSummaryItem[]>) (descriptor->Target);
if (del != null)
del ((PassKit.PKPaymentAuthorizationStatus) (long) arg1, CFArray.ArrayFromHandle<global::PassKit.PKPaymentSummaryItem> (arg2)!);
}
- } /* class SDActionArity2V128 */
- internal sealed class NIDActionArity2V128 : TrampolineBlockBase {
- DActionArity2V128 invoker;
+ } /* class SDActionArity2V129 */
+ internal sealed class NIDActionArity2V129 : TrampolineBlockBase {
+ DActionArity2V129 invoker;
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe NIDActionArity2V128 (BlockLiteral *block) : base (block)
+ public unsafe NIDActionArity2V129 (BlockLiteral *block) : base (block)
{
- invoker = block->GetDelegateForBlock<DActionArity2V128> ();
+ invoker = block->GetDelegateForBlock<DActionArity2V129> ();
}
[Preserve (Conditional=true)]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -29715,7 +29970,7 @@ namespace ObjCRuntime {
if (block == IntPtr.Zero)
return null;
var del = (global::System.Action<global::PassKit.PKPaymentAuthorizationStatus, global::PassKit.PKPaymentSummaryItem[]>) GetExistingManagedDelegate (block);
- return del ?? new NIDActionArity2V128 ((BlockLiteral *) block).Invoke;
+ return del ?? new NIDActionArity2V129 ((BlockLiteral *) block).Invoke;
}
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
unsafe void Invoke (global::PassKit.PKPaymentAuthorizationStatus arg1, global::PassKit.PKPaymentSummaryItem[] arg2)
@@ -29727,31 +29982,31 @@ namespace ObjCRuntime {
if (nsa_arg2 != null)
nsa_arg2.Dispose ();
}
- } /* class NIDActionArity2V128 */
+ } /* class NIDActionArity2V129 */
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
[UserDelegateType (typeof (global::System.Action<global::PassKit.PKVehicleConnectionSession, NSError>))]
- internal delegate void DActionArity2V129 (IntPtr block, NativeHandle arg1, NativeHandle arg2);
+ internal delegate void DActionArity2V130 (IntPtr block, NativeHandle arg1, NativeHandle arg2);
//
// This class bridges native block invocations that call into C#
//
- static internal class SDActionArity2V129 {
- static internal readonly DActionArity2V129 Handler = Invoke;
+ static internal class SDActionArity2V130 {
+ static internal readonly DActionArity2V130 Handler = Invoke;
[Preserve (Conditional = true)]
[global::System.Diagnostics.CodeAnalysis.DynamicDependency ("Handler")]
- [MonoPInvokeCallback (typeof (DActionArity2V129))]
+ [MonoPInvokeCallback (typeof (DActionArity2V130))]
static unsafe void Invoke (IntPtr block, NativeHandle arg1, NativeHandle arg2) {
var descriptor = (BlockLiteral *) block;
var del = (global::System.Action<global::PassKit.PKVehicleConnectionSession, NSError>) (descriptor->Target);
if (del != null)
del ( Runtime.GetNSObject<PassKit.PKVehicleConnectionSession> (arg1)!, Runtime.GetNSObject<NSError> (arg2)!);
}
- } /* class SDActionArity2V129 */
- internal sealed class NIDActionArity2V129 : TrampolineBlockBase {
- DActionArity2V129 invoker;
+ } /* class SDActionArity2V130 */
+ internal sealed class NIDActionArity2V130 : TrampolineBlockBase {
+ DActionArity2V130 invoker;
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
- public unsafe NIDActionArity2V129 (BlockLiteral *block) : base (block)
+ public unsafe NIDActionArity2V130 (BlockLiteral *block) : base (block)
{
- invoker = block->GetDelegateForBlock<DActionArity2V129> ();
+ invoker = block->GetDelegateForBlock<DActionArity2V130> ();
}
[Preserve (Conditional=true)]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@@ -29760,7 +30015,7 @@ namespace ObjCRuntime {
if (block == IntPtr.Zero)
return null;
var del = (global::System.Action<global::PassKit.PKVehicleConnectionSession, NSError>) GetExistingManagedDelegate (block);
- return del ?? new NIDActionArity2V129 ((BlockLiter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment