Share via


Xamarin.TVOS SDK API diff: 13.6.0 vs 13.10.0

Mono.Security.dll

Namespace Mono.Security.Authenticode

Type Changed: Mono.Security.Authenticode.AuthenticodeDeformatter

Added constructor:

public AuthenticodeDeformatter (byte[] rawData);

Added property:

public byte[] RawData { get; set; }

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.TVOS.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.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);

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);

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.6.0";
+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);

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; }