Share via


Xamarin.WatchOS SDK API diff: 13.16.0 vs 13.20.0

MonoTouch.NUnitLite.dll

Namespace MonoTouch.NUnit

Type Changed: MonoTouch.NUnit.TcpTextWriter

Removed constructor:

public TcpTextWriter (string hostName, int port);

Added constructor:

public TcpTextWriter (string hostName, int port, bool isTunnel);

Namespace MonoTouch.NUnit.UI

Type Changed: MonoTouch.NUnit.UI.TouchOptions

Added properties:

public bool UseTcpTunnel { get; set; }
public XmlVersion XmlVersion { get; set; }

New Type: MonoTouch.NUnit.UI.XmlVersion

[Serializable]
public enum XmlVersion {
	NUnitV2 = 0,
	NUnitV3 = 1,
}

Namespace NUnit.Framework.Api

Type Changed: NUnit.Framework.Api.ITestResult

Added property:

public virtual string ExceptionType { get; }

Namespace NUnit.Framework.Internal

Type Changed: NUnit.Framework.Internal.TestResult

Added property:

public virtual string ExceptionType { get; }

Namespace NUnit.Framework.Internal.Commands

New Type: NUnit.Framework.Internal.Commands.FlakyTestRetriesCommand

public class FlakyTestRetriesCommand : NUnit.Framework.Internal.Commands.DelegatingTestCommand {
	// constructors
	public FlakyTestRetriesCommand (TestCommand innerCommand);
	// methods
	public override NUnit.Framework.Internal.TestResult Execute (NUnit.Framework.Internal.TestExecutionContext context);
}

New Type: NUnit.Framework.Internal.Commands.FlakyTestRetriesDecorator

public class FlakyTestRetriesDecorator : ICommandDecorator {
	// constructors
	public FlakyTestRetriesDecorator ();
}

Namespace NUnitLite.Runner

Type Changed: NUnitLite.Runner.ResultReporter

Added method:

public void PrintFlakyTestRetriesReport ();

Type Changed: NUnitLite.Runner.ResultSummary

Added property:

public int FlakyTestRetriesCount { get; }

Removed Type NUnitLite.Runner.TextUI

Xamarin.WatchOS.dll

Namespace AVFoundation

New Type: AVFoundation.AVMetadataObjectTypeExtensions

public static class AVMetadataObjectTypeExtensions {
	// methods
	public static Foundation.NSString GetConstant (this AVMetadataObjectType self);
	public static AVMetadataObjectType GetValue (Foundation.NSString constant);
}

Namespace CoreFoundation

Type Changed: CoreFoundation.DispatchData

Added methods:

public static DispatchData FromReadOnlySpan (System.ReadOnlySpan<byte> content);
public byte[] ToArray ();

Type Changed: CoreFoundation.DispatchQueue

Added method:

public static DispatchQueue GetGlobalQueue (DispatchQualityOfService service);

Namespace Foundation

Type Changed: Foundation.NSFileManager

Added properties:

public static string FullUserName { get; }
public static string HomeDirectory { get; }
public static string TemporaryDirectory { get; }
public static string UserName { get; }

Added method:

public static string GetHomeDirectory (string userName);

Type Changed: Foundation.NSMutableString

Added interface:

System.IComparable<NSString>

Type Changed: Foundation.NSString

Added interface:

System.IComparable<NSString>

Added method:

public virtual int CompareTo (NSString other);

Type Changed: Foundation.NSUrlSessionConfiguration

Added property:

public NSUrlSessionConfiguration.SessionConfigurationType SessionType { get; }

Namespace Intents

Type Changed: Intents.INIntentIdentifier

Added value:

None = -1,

Namespace ObjCRuntime

Type Changed: ObjCRuntime.Constants

Modified fields:

-public const string Version = "13.16.0";
+public const string Version = "13.20.0";

Namespace System.Net.Http

Type Changed: System.Net.Http.NSUrlSessionHandler

Obsoleted properties:

 [Obsolete ("Use the 'TrustOverrideForUrl' property instead.")]
 public NSUrlSessionHandlerTrustOverrideCallback TrustOverride { get; set; }

Added properties:

public System.Net.CookieContainer CookieContainer { get; set; }
public NSUrlSessionHandlerTrustOverrideForUrlCallback TrustOverrideForUrl { get; set; }
public bool UseCookies { get; set; }

New Type: System.Net.Http.NSUrlSessionHandlerTrustOverrideForUrlCallback

public sealed delegate NSUrlSessionHandlerTrustOverrideForUrlCallback : System.MulticastDelegate, System.ICloneable, System.Runtime.Serialization.ISerializable {
	// constructors
	public NSUrlSessionHandlerTrustOverrideForUrlCallback (object object, IntPtr method);
	// methods
	public virtual System.IAsyncResult BeginInvoke (NSUrlSessionHandler sender, string url, Security.SecTrust trust, System.AsyncCallback callback, object object);
	public virtual bool EndInvoke (System.IAsyncResult result);
	public virtual bool Invoke (NSUrlSessionHandler sender, string url, Security.SecTrust trust);
}