Skip to content

Instantly share code, notes, and snippets.

@vs-mobiletools-engineering-service2
Created October 24, 2024 04:37
Show Gist options
  • Save vs-mobiletools-engineering-service2/35753ffb63907b57a48c0850476f0df4 to your computer and use it in GitHub Desktop.
Save vs-mobiletools-engineering-service2/35753ffb63907b57a48c0850476f0df4 to your computer and use it in GitHub Desktop.
previous-api-comparison/diff/Microsoft.macOS.md

API diff: Microsoft.macOS.dll

Microsoft.macOS.dll

Namespace HealthKit

Type Changed: HealthKit.HKAudiogramSample

Added method:

public static HKAudiogramSample GetAudiogramSample (HKAudiogramSensitivityPoint[] sensitivityPoints, Foundation.NSDate startDate, Foundation.NSDate endDate, HKDevice device, Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject> metadata);

Type Changed: HealthKit.HKAudiogramSensitivityPoint

Added property:

public virtual HKAudiogramSensitivityTest[] Tests { get; }

Added method:

public static HKAudiogramSensitivityPoint GetSensitivityPoint (HKQuantity frequency, HKAudiogramSensitivityTest[] tests, out Foundation.NSError error);

New Type: HealthKit.HKAudiogramConductionType

[Serializable]
public enum HKAudiogramConductionType {
	Air = 0,
}

New Type: HealthKit.HKAudiogramSensitivityPointClampingRange

public class HKAudiogramSensitivityPointClampingRange : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable {
	// constructors
	public HKAudiogramSensitivityPointClampingRange (Foundation.NSCoder coder);
	protected HKAudiogramSensitivityPointClampingRange (Foundation.NSObjectFlag t);
	protected HKAudiogramSensitivityPointClampingRange (ObjCRuntime.NativeHandle handle);
	// properties
	public override ObjCRuntime.NativeHandle ClassHandle { get; }
	public virtual HKQuantity LowerBound { get; }
	public virtual HKQuantity UpperBound { get; }
	// methods
	public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
	public static HKAudiogramSensitivityPointClampingRange Create (double? lowerBound, double? upperBound, out Foundation.NSError error);
	public virtual void EncodeTo (Foundation.NSCoder encoder);
}

New Type: HealthKit.HKAudiogramSensitivityTest

public class HKAudiogramSensitivityTest : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable {
	// constructors
	public HKAudiogramSensitivityTest (Foundation.NSCoder coder);
	protected HKAudiogramSensitivityTest (Foundation.NSObjectFlag t);
	protected HKAudiogramSensitivityTest (ObjCRuntime.NativeHandle handle);
	public HKAudiogramSensitivityTest (HKQuantity sensitivity, HKAudiogramConductionType type, bool masked, HKAudiogramSensitivityTestSide side, HKAudiogramSensitivityPointClampingRange clampingRange, out Foundation.NSError error);
	// properties
	public virtual HKAudiogramSensitivityPointClampingRange ClampingRange { get; }
	public override ObjCRuntime.NativeHandle ClassHandle { get; }
	public virtual bool Masked { get; }
	public virtual HKQuantity Sensitivity { get; }
	public virtual HKAudiogramSensitivityTestSide Side { get; }
	public virtual HKAudiogramConductionType Type { get; }
	// methods
	public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
	public virtual void EncodeTo (Foundation.NSCoder encoder);
}

New Type: HealthKit.HKAudiogramSensitivityTestSide

[Serializable]
public enum HKAudiogramSensitivityTestSide {
	Left = 0,
	Right = 1,
}

Namespace ObjCRuntime

Type Changed: ObjCRuntime.Constants

Modified fields:

-public const string Version = "15.1.9059";
+public const string Version = "15.1.9061";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment