title | description | author | ms.author | ms.date | ms.topic | ms.assetid | ms.prod |
---|---|---|---|---|---|---|---|
Xamarin.iOS SDK API diff: 15.12.0 vs 15.13.0 |
List of API changes between Xamarin.iOS versions 15.12.0 and 15.13.0. |
spouliot |
sepoulio |
10/27/2022 |
article |
dc679b84-d3e8-088b-db05-ca766e747c7a |
xamarin |
Added method:
public void GenerateCGImagesAsynchronously (Foundation.NSValue[] cmTimesRequestedTimes, AVAssetImageGeneratorCompletionHandler2 handler);
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);
}
Obsoleted constructors:
[Obsolete ("Use '.ctor (ICPListTemplateItem [], string, string)' constructor instead. Warning: this will throw InvalidOperationException at runtime.")]
public CPListSection (CPListItem[] items);
[Obsolete ("Use '.ctor (ICPListTemplateItem [], string, string)' constructor instead. Warning: this will throw InvalidOperationException at runtime.")]
public CPListSection (CPListItem[] items, string header, string sectionIndexTitle);
Added constructors:
public CPListSection (ICPListTemplateItem[] items);
public CPListSection (ICPListTemplateItem[] items, string header, string sectionIndexTitle);
Obsoleted properties:
[Obsolete ("Use 'Items2 : ICPListTemplateItem []' instead.")]
public virtual CPListItem[] Items { get; }
Added property:
public virtual ICPListTemplateItem[] Items2 { get; }
Added interfaces:
System.Collections.Generic.IEnumerable<NSObject>
System.Collections.IEnumerable
Added methods:
public TKey[] ToArray<TKey> ();
public NSObject[] ToArray ();
Added method:
public TKey[] ToArray ();
Added constructors:
public NSOperatingSystemVersion (nint major);
public NSOperatingSystemVersion (nint major, nint minor);
Added interfaces:
System.IComparable
System.IEquatable<NSOperatingSystemVersion>
Added methods:
public int CompareTo (NSOperatingSystemVersion otherVersion);
public virtual int CompareTo (object obj);
public virtual bool Equals (NSOperatingSystemVersion other);
public override bool Equals (object obj);
public override int GetHashCode ();
public static bool op_Equality (NSOperatingSystemVersion os1, NSOperatingSystemVersion os2);
public static bool op_Inequality (NSOperatingSystemVersion os1, NSOperatingSystemVersion os2);
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);
Modified fields:
-public const string Version = "15.12.0";
+public const string Version = "15.13.0";
Added method:
public UIContentSizeCategory GetPreferredContentSizeCategory ();
Added constructor:
public UIHoverGestureRecognizer (System.Action<UIHoverGestureRecognizer> action);
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,