Xamarin.iOS SDK API diff: 13.8.3 vs 13.10.0

Xamarin.iOS.dll

Namespace Network

Type Changed: Network.NWFramer

Added properties:

public System.Action<NWFramer> CleanupHandler { set; }
public NWEndpoint Endpoint { get; }
public NWFramerInputDelegate InputHandler { set; }
public NWEndpoint LocalEndpoint { get; }
public System.Action<NWFramer,Network.NWFramerMessage,System.nuint,System.Boolean> OutputHandler { set; }
public NWParameters Parameters { get; }
public System.Action<NWFramer> StopHandler { set; }
public System.Action<NWFramer> WakeupHandler { set; }

Added methods:

public static T CreateOptions<T> (NWProtocolDefinition protocolDefinition);
public void DeliverInput (System.ReadOnlySpan<byte> buffer, NWFramerMessage message, bool isComplete);
public bool DeliverInputNoCopy (nuint length, NWFramerMessage message, bool isComplete);
public void MarkFailedWithError (int errorCode);
public void MarkReady ();
public bool ParseInput (nuint minimumIncompleteLength, nuint maximumLength, System.Memory<byte> tempBuffer, NWFramerParseCompletionDelegate handler);
public bool ParseOutput (nuint minimumIncompleteLength, nuint maximumLength, System.Memory<byte> tempBuffer, System.Action<System.Memory<byte>> handler);
public void PassThroughInput ();
public void PassThroughOutput ();
public bool PrependApplicationProtocol (NWProtocolOptions options);
public void ScheduleAsync (System.Action handler);
public void ScheduleWakeup (ulong milliseconds);
public void WriteOutput (CoreFoundation.DispatchData data);
public void WriteOutput (System.ReadOnlySpan<byte> data);
public bool WriteOutputNoCopy (nuint outputLength);

New Type: Network.NWFramerInputDelegate

public sealed delegate NWFramerInputDelegate : System.MulticastDelegate, System.ICloneable, System.Runtime.Serialization.ISerializable {
	// constructors
	public NWFramerInputDelegate (object object, IntPtr method);
	// methods
	public virtual System.IAsyncResult BeginInvoke (NWFramer framer, System.AsyncCallback callback, object object);
	public virtual nuint EndInvoke (System.IAsyncResult result);
	public virtual nuint Invoke (NWFramer framer);
}

New Type: Network.NWFramerParseCompletionDelegate

public sealed delegate NWFramerParseCompletionDelegate : System.MulticastDelegate, System.ICloneable, System.Runtime.Serialization.ISerializable {
	// constructors
	public NWFramerParseCompletionDelegate (object object, IntPtr method);
	// methods
	public virtual System.IAsyncResult BeginInvoke (System.Memory<byte> buffer, bool isCompleted, System.AsyncCallback callback, object object);
	public virtual nuint EndInvoke (System.IAsyncResult result);
	public virtual nuint Invoke (System.Memory<byte> buffer, bool isCompleted);
}

Namespace ObjCRuntime

Type Changed: ObjCRuntime.Constants

Modified fields:

-public const string Version = "13.8.3";
+public const string Version = "13.10.0";

Type Changed: ObjCRuntime.Runtime

Added method:

public static T GetINativeObject<T> (IntPtr ptr, bool forced_type, bool owns);