Share via


Xamarin.iOS SDK API diff: 14.6.0 vs 14.8.0

Xamarin.iOS.dll

Namespace ARKit

Type Changed: ARKit.ARBodyTrackingConfiguration

Added properties:

public virtual bool AppClipCodeTrackingEnabled { get; set; }
public static bool SupportsAppClipCodeTracking { get; }

Type Changed: ARKit.ARGeoTrackingConfiguration

Added properties:

public virtual bool AppClipCodeTrackingEnabled { get; set; }
public static bool SupportsAppClipCodeTracking { get; }

Type Changed: ARKit.ARWorldTrackingConfiguration

Added properties:

public virtual bool AppClipCodeTrackingEnabled { get; set; }
public static bool SupportsAppClipCodeTracking { get; }

New Type: ARKit.ARAppClipCodeAnchor

public class ARAppClipCodeAnchor : ARKit.ARAnchor, IARAnchorCopying, IARTrackable, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSObjectProtocol, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject> {
	// constructors
	public ARAppClipCodeAnchor (ARAnchor anchor);
	public ARAppClipCodeAnchor (Foundation.NSCoder coder);
	protected ARAppClipCodeAnchor (Foundation.NSObjectFlag t);
	protected ARAppClipCodeAnchor (IntPtr handle);
	// properties
	public override IntPtr ClassHandle { get; }
	public virtual bool IsTracked { get; }
	public virtual float Radius { get; }
	public virtual Foundation.NSUrl Url { get; }
	public virtual ARAppClipCodeUrlDecodingState UrlDecodingState { get; }
}

New Type: ARKit.ARAppClipCodeUrlDecodingState

[Serializable]
public enum ARAppClipCodeUrlDecodingState {
	Decoded = 2,
	Decoding = 0,
	Failed = 1,
}

Namespace AVFoundation

Type Changed: AVFoundation.AVCapturePhotoFileDataRepresentationCustomizer_Extensions

Added method:

public static Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject> GetReplacementAppleProRawCompressionSettings (this IAVCapturePhotoFileDataRepresentationCustomizer This, AVCapturePhoto photo, Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject> defaultSettings, nint maximumBitDepth);

Type Changed: AVFoundation.AVCapturePhotoOutput

Added properties:

public virtual bool AppleProRawEnabled { get; set; }
public virtual bool AppleProRawSupported { get; }

Added methods:

public static bool IsAppleProRawPixelFormat (CoreVideo.CVPixelFormatType pixelFormat);
public static bool IsBayerRawPixelFormat (CoreVideo.CVPixelFormatType pixelFormat);

Type Changed: AVFoundation.AVVideo

Added property:

public static Foundation.NSString AppleProRawBitDepthKey { get; }

Namespace Contacts

Type Changed: Contacts.CNLabelPhoneNumberKey

Added property:

public static Foundation.NSString AppleWatch { get; }

Namespace CoreGraphics

Type Changed: CoreGraphics.CGColor

Added method:

public static CGColor CreateByMatchingToColorSpace (CGColorSpace space, CGColorRenderingIntent intent, CGColor color, Foundation.NSDictionary options);

Namespace CoreVideo

Type Changed: CoreVideo.CVPixelFormatType

Added value:

CV64RgbaLE = 1815491698,

Namespace GameController

New Type: GameController.GCDirectionalGamepad

public class GCDirectionalGamepad : GameController.GCMicroGamepad, Foundation.INSObjectProtocol, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject> {
	// constructors
	protected GCDirectionalGamepad (Foundation.NSObjectFlag t);
	protected GCDirectionalGamepad (IntPtr handle);
	// properties
	public override IntPtr ClassHandle { get; }
}

Namespace HealthKit

Type Changed: HealthKit.HKAppleEcgAlgorithmVersion

Added value:

Version2 = 2,

Type Changed: HealthKit.HKCategoryTypeIdentifier

Added values:

Contraceptive = 57,
Lactation = 56,
LowCardioFitnessEvent = 58,
Pregnancy = 55,

Type Changed: HealthKit.HKMetadataKey

Added properties:

public static Foundation.NSString LowCardioFitnessEventThreshold { get; }
public static Foundation.NSString VO2MaxValue { get; }

Type Changed: HealthKit.HKSample

Added property:

public virtual bool HasUndeterminedDuration { get; }

New Type: HealthKit.HKCategoryValueContraceptive

[Serializable]
public enum HKCategoryValueContraceptive {
	Implant = 2,
	Injection = 3,
	IntrauterineDevice = 4,
	IntravaginalRing = 5,
	Oral = 6,
	Patch = 7,
	Unspecified = 1,
}

New Type: HealthKit.HKCategoryValueLowCardioFitnessEvent

[Serializable]
public enum HKCategoryValueLowCardioFitnessEvent {
	LowFitness = 1,
}

Namespace ImageIO

Type Changed: ImageIO.CGImageAuxiliaryDataType

Added value:

SemanticSegmentationSkyMatte = 8,

Namespace Network

Type Changed: Network.NWPath

Added method:

public NWPathUnsatisfiedReason GetUnsatisfiedReason ();

New Type: Network.NWPathUnsatisfiedReason

[Serializable]
public enum NWPathUnsatisfiedReason {
	CellularDenied = 1,
	LocalNetworkDenied = 3,
	NotAvailable = 0,
	WifiDenied = 2,
}

Namespace NetworkExtension

Type Changed: NetworkExtension.NEAppProxyFlow

Added properties:

public virtual bool IsBound { get; }
public virtual string RemoteHostname { get; }

Type Changed: NetworkExtension.NEVpnProtocol

Added properties:

public virtual bool EnforceRoutes { get; set; }
public virtual bool ExcludeLocalNetworks { get; set; }

Namespace ObjCRuntime

Type Changed: ObjCRuntime.Constants

Modified fields:

-public const string SdkVersion = "14.2";
+public const string SdkVersion = "14.3";
-public const string Version = "14.6.0";
+public const string Version = "14.8.0";

Added field:

public static const string AdServicesLibrary = "/System/Library/Frameworks/AdServices.framework/AdServices";

Namespace UIKit

Type Changed: UIKit.UICollectionViewDiffableDataSourceCellProvider

Modified methods:

-public virtual System.IAsyncResult BeginInvoke (UICollectionView collectionView, Foundation.NSIndexPath indexPath, Foundation.NSObject obj, System.AsyncCallback callback, object object)
+public virtual System.IAsyncResult BeginInvoke (UICollectionView collectionView, Foundation.NSIndexPath indexPath, Foundation.NSObject itemIdentifier, System.AsyncCallback callback, object object)
-public virtual UICollectionViewCell Invoke (UICollectionView collectionView, Foundation.NSIndexPath indexPath, Foundation.NSObject obj)
+public virtual UICollectionViewCell Invoke (UICollectionView collectionView, Foundation.NSIndexPath indexPath, Foundation.NSObject itemIdentifier)

Type Changed: UIKit.UICollectionViewDiffableDataSourceSupplementaryViewProvider

Modified methods:

-public virtual System.IAsyncResult BeginInvoke (UICollectionView collectionView, string str, Foundation.NSIndexPath indexPath, System.AsyncCallback callback, object object)
+public virtual System.IAsyncResult BeginInvoke (UICollectionView collectionView, string elementKind, Foundation.NSIndexPath indexPath, System.AsyncCallback callback, object object)
-public virtual UICollectionReusableView Invoke (UICollectionView collectionView, string str, Foundation.NSIndexPath indexPath)
+public virtual UICollectionReusableView Invoke (UICollectionView collectionView, string elementKind, Foundation.NSIndexPath indexPath)

Type Changed: UIKit.UIPressType

Added values:

PageDown = 31,
PageUp = 30,

New Namespace AdServices

New Type: AdServices.AAAttribution

public class AAAttribution : Foundation.NSObject, Foundation.INSObjectProtocol, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject> {
	// constructors
	protected AAAttribution (Foundation.NSObjectFlag t);
	protected AAAttribution (IntPtr handle);
	// properties
	public override IntPtr ClassHandle { get; }
	// methods
	public static string GetAttributionToken (out Foundation.NSError error);
}

New Type: AdServices.AAAttributionErrorCode

[Serializable]
public enum AAAttributionErrorCode {
	InternalError = 2,
	NetworkError = 1,
	PlatformNotSupported = 3,
}

New Type: AdServices.AAAttributionErrorCodeExtensions

public static class AAAttributionErrorCodeExtensions {
	// methods
	public static Foundation.NSString GetDomain (this AAAttributionErrorCode self);
}