Skip to content

Instantly share code, notes, and snippets.

@vs-mobiletools-engineering-service2
Created August 25, 2022 21:37
Show Gist options
  • Save vs-mobiletools-engineering-service2/ec1791d389e4de100407bcab1f739ac1 to your computer and use it in GitHub Desktop.
Save vs-mobiletools-engineering-service2/ec1791d389e4de100407bcab1f739ac1 to your computer and use it in GitHub Desktop.
previous-api-comparison/diff/dotnet/Microsoft.iOS.Ref/ref/net6.0/Microsoft.iOS.md

API diff: Microsoft.iOS.dll

Microsoft.iOS.dll

Namespace MetricKit

Type Changed: MetricKit.MXAppLaunchMetric

Added property:

public virtual MetricKit.MXHistogram<Foundation.NSUnitDuration> HistogrammedExtendedLaunch { get; }

Type Changed: MetricKit.MXDiagnosticPayload

Added property:

public virtual MXAppLaunchDiagnostic[] AppLaunchDiagnostics { get; }

Type Changed: MetricKit.MXMetricManager

Added methods:

public static bool ExtendLaunchMeasurement (string taskId, out Foundation.NSError error);
public static bool FinishExtendedLaunchMeasurement (string taskId, out Foundation.NSError error);

New Type: MetricKit.MXAppLaunchDiagnostic

public class MXAppLaunchDiagnostic : MetricKit.MXDiagnostic {
	// constructors
	public MXAppLaunchDiagnostic (Foundation.NSCoder coder);
	protected MXAppLaunchDiagnostic (Foundation.NSObjectFlag t);
	protected MXAppLaunchDiagnostic (ObjCRuntime.NativeHandle handle);
	// properties
	public virtual MXCallStackTree CallStackTree { get; }
	public override ObjCRuntime.NativeHandle ClassHandle { get; }
	public virtual Foundation.NSMeasurement<Foundation.NSUnitDuration> LaunchDuration { get; }
}

New Type: MetricKit.MXErrorCode

[Serializable]
public enum MXErrorCode {
	Duplicated = 3,
	InternalFailure = 5,
	InvalidId = 0,
	MaxCount = 1,
	PastDeadline = 2,
	Unknown = 4,
}

New Type: MetricKit.MXErrorCodeExtensions

public static class MXErrorCodeExtensions {
	// methods
	public static Foundation.NSString GetDomain (this MXErrorCode self);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment