Xamarin.TVOS SDK API diff: 11.12.0 vs 11.14.0
mscorlib.dll
Namespace System
Type Changed: System.BitConverter
Removed method:
public static int ToInt32 (System.ReadOnlySpan<byte> value);
Type Changed: System.Int32
Removed method:
public bool TryFormat (System.Span<char> destination, out int charsWritten, System.ReadOnlySpan<char> format, IFormatProvider provider);
Type Changed: System.String
Removed constructor:
public String (System.ReadOnlySpan<char> value);
Removed method:
public static System.ReadOnlySpan<char> op_Implicit (string value);
Removed Type System.Memory`1
Removed Type System.ReadOnlyMemory`1
Namespace System.Buffers
New Type: System.Buffers.IRetainable
public interface IRetainable {
// methods
public virtual bool Release ();
public virtual void Retain ();
}
New Type: System.Buffers.MemoryHandle
public struct MemoryHandle, System.IDisposable {
// constructors
public MemoryHandle (IRetainable retainable, void* pointer, System.Runtime.InteropServices.GCHandle handle);
// properties
public bool HasPointer { get; }
public void* Pointer { get; }
// methods
public virtual void Dispose ();
}
Namespace System.IO
Type Changed: System.IO.Stream
Removed methods:
public virtual int Read (System.Span<byte> destination);
public virtual System.Threading.Tasks.ValueTask<int> ReadAsync (System.Memory<byte> destination, System.Threading.CancellationToken cancellationToken);
public virtual void Write (System.ReadOnlySpan<byte> source);
Namespace System.Text
Type Changed: System.Text.Encoding
Removed method:
public string GetString (System.ReadOnlySpan<byte> bytes);
System.dll
Namespace System.IO.Compression
Type Changed: System.IO.Compression.GZipStream
Removed methods:
public override int Read (System.Span<byte> destination);
public override System.Threading.Tasks.ValueTask<int> ReadAsync (System.Memory<byte> destination, System.Threading.CancellationToken cancellationToken);
public override void Write (System.ReadOnlySpan<byte> source);
Namespace System.Net
Type Changed: System.Net.HttpWebRequest
Added method:
public override System.Threading.Tasks.Task<System.IO.Stream> GetRequestStreamAsync ();
Namespace System.Net.WebSockets
Type Changed: System.Net.WebSockets.ClientWebSocket
Removed methods:
public override System.Threading.Tasks.ValueTask<ValueWebSocketReceiveResult> ReceiveAsync (System.Memory<byte> buffer, System.Threading.CancellationToken cancellationToken);
public override System.Threading.Tasks.Task SendAsync (System.ReadOnlyMemory<byte> buffer, WebSocketMessageType messageType, bool endOfMessage, System.Threading.CancellationToken cancellationToken);
Type Changed: System.Net.WebSockets.WebSocket
Removed methods:
public static WebSocket CreateFromStream (System.IO.Stream stream, bool isServer, string subProtocol, System.TimeSpan keepAliveInterval, System.Memory<byte> buffer);
public virtual System.Threading.Tasks.ValueTask<ValueWebSocketReceiveResult> ReceiveAsync (System.Memory<byte> buffer, System.Threading.CancellationToken cancellationToken);
public virtual System.Threading.Tasks.Task SendAsync (System.ReadOnlyMemory<byte> buffer, WebSocketMessageType messageType, bool endOfMessage, System.Threading.CancellationToken cancellationToken);
System.Numerics.dll
Namespace System.Numerics
Type Changed: System.Numerics.BigInteger
Removed constructor:
public BigInteger (System.ReadOnlySpan<byte> value, bool isUnsigned, bool isBigEndian);
Removed methods:
public static BigInteger Parse (System.ReadOnlySpan<char> value, System.Globalization.NumberStyles style, System.IFormatProvider provider);
public bool TryFormat (System.Span<char> destination, out int charsWritten, System.ReadOnlySpan<char> format, System.IFormatProvider provider);
public static bool TryParse (System.ReadOnlySpan<char> value, out BigInteger result);
public static bool TryParse (System.ReadOnlySpan<char> value, System.Globalization.NumberStyles style, System.IFormatProvider provider, out BigInteger result);
public bool TryWriteBytes (System.Span<byte> destination, out int bytesWritten, bool isUnsigned, bool isBigEndian);
Xamarin.TVOS.dll
Namespace Foundation
Type Changed: Foundation.ProtocolMemberAttribute
Added property:
public System.Type[] ParameterBlockProxy { get; set; }
Namespace GameplayKit
Type Changed: GameplayKit.GKNoise
Obsoleted methods:
[Obsolete ("Use 'GKNoise.Displace' instead.")]
public virtual void DisplaceX (GKNoise xDisplacementNoise, GKNoise yDisplacementNoise, GKNoise zDisplacementNoise);
Added method:
public virtual void Displace (GKNoise xDisplacementNoise, GKNoise yDisplacementNoise, GKNoise zDisplacementNoise);
Namespace ObjCRuntime
Type Changed: ObjCRuntime.Constants
Modified fields:
-public const string Version = "11.12.0";
+public const string Version = "11.14.0";
Added field:
public static const string libcompression = "/usr/lib/libcompression.dylib";
Namespace SceneKit
Type Changed: SceneKit.SCNHitTest
Added property:
public static Foundation.NSString SearchModeKey { get; }
Type Changed: SceneKit.SCNHitTestOptions
Obsoleted properties:
[Obsolete ("Use 'SearchMode' instead.")]
public SCNHitTestSearchMode? OptionSearchMode { get; }
Added property:
public SCNHitTestSearchMode? SearchMode { get; set; }
Type Changed: SceneKit.SCNPhysicsShape
Obsoleted methods:
[Obsolete ("Use the 'Create' method that takes a 'SCNMatrix4 []'.")]
public static SCNPhysicsShape Create (SCNPhysicsShape[] shapes, SCNVector3[] transforms);
Added method:
public static SCNPhysicsShape Create (SCNPhysicsShape[] shapes, SCNMatrix4[] transforms);
Namespace SpriteKit
Type Changed: SpriteKit.SKAction
Obsoleted properties:
[Obsolete ("Use 'TimingFunction2' instead.")]
public virtual SKActionTimingFunction TimingFunction { get; set; }
Added property:
public virtual SKActionTimingFunction2 TimingFunction2 { get; set; }
New Type: SpriteKit.SKActionTimingFunction2
public sealed delegate SKActionTimingFunction2 : System.MulticastDelegate, System.ICloneable, System.Runtime.Serialization.ISerializable {
// constructors
public SKActionTimingFunction2 (object object, IntPtr method);
// methods
public virtual System.IAsyncResult BeginInvoke (float time, System.AsyncCallback callback, object object);
public virtual float EndInvoke (System.IAsyncResult result);
public virtual float Invoke (float time);
}
New Namespace Compression
New Type: Compression.CompressionAlgorithm
[Serializable]
public enum CompressionAlgorithm {
LZ4 = 256,
LZ4Raw = 257,
Lzfse = 2049,
Lzma = 774,
Zlib = 517,
}
New Type: Compression.CompressionStream
public class CompressionStream : System.IO.Stream, System.IDisposable {
// constructors
public CompressionStream (System.IO.Stream stream, CompressionAlgorithm algorithm);
public CompressionStream (System.IO.Stream stream, CompressionAlgorithm algorithm, bool leaveOpen);
public CompressionStream (System.IO.Stream stream, System.IO.Compression.CompressionMode mode, CompressionAlgorithm algorithm);
public CompressionStream (System.IO.Stream stream, System.IO.Compression.CompressionMode mode, CompressionAlgorithm algorithm, bool leaveOpen);
// properties
public System.IO.Stream BaseStream { get; }
public override bool CanRead { get; }
public override bool CanSeek { get; }
public override bool CanWrite { get; }
public override long Length { get; }
public override long Position { get; set; }
// methods
public override System.IAsyncResult BeginRead (byte[] buffer, int offset, int count, System.AsyncCallback asyncCallback, object asyncState);
public override System.IAsyncResult BeginWrite (byte[] array, int offset, int count, System.AsyncCallback asyncCallback, object asyncState);
public override System.Threading.Tasks.Task CopyToAsync (System.IO.Stream destination, int bufferSize, System.Threading.CancellationToken cancellationToken);
protected override void Dispose (bool disposing);
public override int EndRead (System.IAsyncResult asyncResult);
public override void EndWrite (System.IAsyncResult asyncResult);
public override void Flush ();
public override System.Threading.Tasks.Task FlushAsync (System.Threading.CancellationToken cancellationToken);
public override int Read (byte[] array, int offset, int count);
public override System.Threading.Tasks.Task<int> ReadAsync (byte[] array, int offset, int count, System.Threading.CancellationToken cancellationToken);
public override int ReadByte ();
public override long Seek (long offset, System.IO.SeekOrigin origin);
public override void SetLength (long value);
public override void Write (byte[] array, int offset, int count);
public override System.Threading.Tasks.Task WriteAsync (byte[] array, int offset, int count, System.Threading.CancellationToken cancellationToken);
}