Skip to content

Instantly share code, notes, and snippets.

@vs-mobiletools-engineering-service2
Created October 14, 2022 15:14
Show Gist options
  • Save vs-mobiletools-engineering-service2/1fe06c9717a49fb7267c7eaf93b65a9a to your computer and use it in GitHub Desktop.
Save vs-mobiletools-engineering-service2/1fe06c9717a49fb7267c7eaf93b65a9a to your computer and use it in GitHub Desktop.
stable-api-comparison/tvos-api-diff.md
title description author ms.author ms.date ms.topic ms.assetid ms.prod
Xamarin.TVOS SDK API diff: 15.12.0 vs 15.13.0
List of API changes between Xamarin.TVOS versions 15.12.0 and 15.13.0.
spouliot
sepoulio
10/14/2022
article
68db9847-ed0a-8a96-d364-6143333594d7
xamarin

Xamarin.TVOS SDK API diff: 15.12.0 vs 15.13.0

Namespace AVFoundation

Type Changed: AVFoundation.AVAssetImageGenerator

Added method:

public void GenerateCGImagesAsynchronously (Foundation.NSValue[] cmTimesRequestedTimes, AVAssetImageGeneratorCompletionHandler2 handler);

New Type: AVFoundation.AVAssetImageGeneratorCompletionHandler2

public sealed delegate AVAssetImageGeneratorCompletionHandler2 : System.MulticastDelegate {
	// constructors
	public AVAssetImageGeneratorCompletionHandler2 (object object, IntPtr method);
	// methods
	public virtual System.IAsyncResult BeginInvoke (CoreMedia.CMTime requestedTime, CoreGraphics.CGImage imageRef, CoreMedia.CMTime actualTime, AVAssetImageGeneratorResult result, Foundation.NSError error, System.AsyncCallback callback, object object);
	public virtual void EndInvoke (System.IAsyncResult result);
	public virtual void Invoke (CoreMedia.CMTime requestedTime, CoreGraphics.CGImage imageRef, CoreMedia.CMTime actualTime, AVAssetImageGeneratorResult result, Foundation.NSError error);
}

Namespace Foundation

Type Changed: Foundation.NSArray

Added interfaces:

System.Collections.Generic.IEnumerable<NSObject>
System.Collections.IEnumerable

Added methods:

public TKey[] ToArray<TKey> ();
public NSObject[] ToArray ();

Type Changed: Foundation.NSArray`1

Added method:

public TKey[] ToArray ();

Namespace Network

Type Changed: Network.NWPath

Obsoleted methods:

 [Obsolete ("Use the overload that takes a 'Func<NWEndpoint, bool>' instead.")]
 public void EnumerateGateways (System.Action<NWEndpoint> callback);
 [Obsolete ("Use the overload that takes a 'Func<NWInterface, bool>' instead.")]
 public void EnumerateInterfaces (System.Action<NWInterface> callback);

Added methods:

public void EnumerateGateways (System.Func<NWEndpoint,System.Boolean> callback);
public void EnumerateInterfaces (System.Func<NWInterface,System.Boolean> callback);

Namespace ObjCRuntime

Type Changed: ObjCRuntime.Constants

Modified fields:

-public const string Version = "15.12.0";
+public const string Version = "15.13.0";

Namespace UIKit

Type Changed: UIKit.UIApplication

Added method:

public UIContentSizeCategory GetPreferredContentSizeCategory ();

Namespace UserNotifications

Type Changed: UserNotifications.UNNotificationInterruptionLevel

Obsoleted fields:

 [Obsolete ("Use 'Active2'.")]
 Active = 0,
 [Obsolete ("Use 'Critical2'.")]
 Critical = 1,
 [Obsolete ("Use 'Passive2'.")]
 Passive = 2,
 [Obsolete ("Use 'TimeSensitive2'.")]
 TimeSensitive = 3,

Added values:

Active2 = 1,
Critical2 = 3,
Passive2 = 0,
TimeSensitive2 = 2,
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment