Skip to content

Instantly share code, notes, and snippets.

@vs-mobiletools-engineering-service2
Created September 7, 2023 14:51
Show Gist options
  • Save vs-mobiletools-engineering-service2/a46b4835ea4f7a3916aeb1f41b983642 to your computer and use it in GitHub Desktop.
Save vs-mobiletools-engineering-service2/a46b4835ea4f7a3916aeb1f41b983642 to your computer and use it in GitHub Desktop.
previous-api-comparison/ios-api-diff.md
title description author ms.author ms.date ms.topic ms.assetid ms.prod
Xamarin.iOS SDK API diff
List of API changes for Xamarin.iOS.
spouliot
sepoulio
9/7/2023
article
f7934223-2a8c-d5d4-788f-79d2f8610aa7
xamarin

Xamarin.iOS SDK API diff

Namespace MetricKit

Type Changed: MetricKit.MXCrashDiagnostic

Added property:

public virtual MXCrashDiagnosticObjectiveCExceptionReason ExceptionReason { get; }

Type Changed: MetricKit.MXDiagnostic

Added property:

public virtual MXSignpostRecord[] SignpostData { get; }

Type Changed: MetricKit.MXMetaData

Added properties:

public virtual bool IsTestFlightApp { get; }
public virtual bool LowPowerModeEnabled { get; }
public virtual int Pid { get; }

New Type: MetricKit.MXCrashDiagnosticObjectiveCExceptionReason

public class MXCrashDiagnosticObjectiveCExceptionReason : Foundation.NSObject, Foundation.INSCoding, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable {
	// constructors
	public MXCrashDiagnosticObjectiveCExceptionReason ();
	public MXCrashDiagnosticObjectiveCExceptionReason (Foundation.NSCoder coder);
	protected MXCrashDiagnosticObjectiveCExceptionReason (Foundation.NSObjectFlag t);
	protected MXCrashDiagnosticObjectiveCExceptionReason (IntPtr handle);
	// properties
	public virtual string[] Arguments { get; }
	public override IntPtr ClassHandle { get; }
	public virtual string ClassName { get; }
	public virtual string ComposedMessage { get; }
	public virtual Foundation.NSDictionary DictionaryRepresentation { get; }
	public virtual string ExceptionName { get; }
	public virtual string ExceptionType { get; }
	public virtual string FormatString { get; }
	public virtual Foundation.NSData JsonRepresentation { get; }
	// methods
	public virtual void EncodeTo (Foundation.NSCoder encoder);
}

New Type: MetricKit.MXSignpostRecord

public class MXSignpostRecord : Foundation.NSObject, Foundation.INSCoding, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable {
	// constructors
	public MXSignpostRecord ();
	public MXSignpostRecord (Foundation.NSCoder coder);
	protected MXSignpostRecord (Foundation.NSObjectFlag t);
	protected MXSignpostRecord (IntPtr handle);
	// properties
	public virtual Foundation.NSDate BeginTimeStamp { get; }
	public virtual string Category { get; }
	public override IntPtr ClassHandle { get; }
	public virtual Foundation.NSDictionary DictionaryRepresentation { get; }
	public virtual Foundation.NSMeasurement<Foundation.NSUnitDuration> Duration { get; }
	public virtual Foundation.NSDate EndTimeStamp { get; }
	public virtual bool IsInterval { get; }
	public virtual Foundation.NSData JsonRepresentation { get; }
	public virtual string Name { get; }
	public virtual string Subsystem { get; }
	// methods
	public virtual void EncodeTo (Foundation.NSCoder encoder);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment