Xamarin.WatchOS SDK API diff: 13.4.0 vs 13.8.1

System.dll

Namespace System.Net.Sockets

Type Changed: System.Net.Sockets.Socket

Modified methods:

-public System.IAsyncResult BeginConnect (string host, int port, System.AsyncCallback requestCallback, object state)
+public System.IAsyncResult BeginConnect (string host, int port, System.AsyncCallback callback, object state)

Xamarin.WatchOS.dll

Namespace Foundation

Type Changed: Foundation.NSDate

Added properties:

public virtual double SecondsSince1970 { get; }
public virtual double SecondsSinceNow { get; }

Added method:

public virtual double GetSecondsSince (NSDate anotherDate);

Namespace Network

Type Changed: Network.NWAdvertiseDescriptor

Removed property:

public NWTxtRecord TxtRecord { get; set; }

Type Changed: Network.NWConnection

Removed method:

public void GetEstablishmentReport (CoreFoundation.DispatchQueue queue, System.Action<NWEstablishmentReport> handler);

Type Changed: Network.NWEndpoint

Removed property:

public string Url { get; }

Removed method:

public static NWEndpoint Create (string url);

Type Changed: Network.NWListener

Removed property:

public uint ConnectionLimit { get; set; }

Type Changed: Network.NWParameters

Removed property:

public bool ProhibitConstrained { get; set; }

Type Changed: Network.NWPath

Removed property:

public bool IsConstrained { get; }

Removed method:

public void EnumerateGateways (System.Action<NWEndpoint> callback);

Type Changed: Network.NWPathMonitor

Added properties:

public NWPath CurrentPath { get; }
public System.Action<NWPath> SnapshotHandler { get; set; }

Obsoleted methods:

 [Obsolete ("Use the 'SnapshotHandler' property instead.")]
 public void SetUpdatedSnapshotHandler (System.Action<NWPath> callback);

Type Changed: Network.NWProtocolDefinition

Removed property:

public static NWProtocolDefinition WebSocketDefinition { get; }

Type Changed: Network.NWProtocolMetadata

Removed properties:

public bool IsFramerMessage { get; }
public bool IsWebSocket { get; }

Type Changed: Network.NWProtocolOptions

Removed property:

public NWIPLocalAddressPreference IPLocalAddressPreference { set; }

Removed Type Network.NWBrowseResult

Removed Type Network.NWBrowseResultChange

Removed Type Network.NWBrowser

Removed Type Network.NWBrowserDescriptor

Removed Type Network.NWBrowserState

Removed Type Network.NWDataTransferReport

Removed Type Network.NWDataTransferReportState

Removed Type Network.NWEstablishmentReport

Removed Type Network.NWFramer

Removed Type Network.NWIPLocalAddressPreference

Removed Type Network.NWReportResolutionSource

Removed Type Network.NWTxtRecord

Removed Type Network.NWTxtRecordFindKey

Removed Type Network.NWWebSocketCloseCode

Removed Type Network.NWWebSocketMetadata

Removed Type Network.NWWebSocketOpCode

Removed Type Network.NWWebSocketOptions

Removed Type Network.NWWebSocketRequest

Removed Type Network.NWWebSocketResponse

Removed Type Network.NWWebSocketResponseStatus

Removed Type Network.NWWebSocketVersion

Namespace ObjCRuntime

Type Changed: ObjCRuntime.Constants

Modified fields:

-public const string Version = "13.4.0";
+public const string Version = "13.8.1";

New Type: ObjCRuntime.TrampolineBlockBase

public abstract class TrampolineBlockBase {
	// constructors
	protected TrampolineBlockBase (BlockLiteral* block);
	// properties
	protected IntPtr BlockPointer { get; }
	// methods
	protected static object GetExistingManagedDelegate (IntPtr block);
	protected override void ~TrampolineBlockBase ();
}

Namespace System.Net.Http

Type Changed: System.Net.Http.NSUrlSessionHandler

Added property:

public bool BypassBackgroundSessionCheck { get; set; }