--- title: "Xamarin.TVOS SDK API diff: 15.12.0 vs 15.99.0" description: List of API changes between Xamarin.TVOS versions 15.12.0 and 15.99.0. author: spouliot ms.author: sepoulio ms.date: 9/13/2022 ms.topic: article ms.assetid: 2811c4e8-7232-6e88-4662-454ed35c8032 ms.prod: xamarin --- # Xamarin.TVOS SDK API diff: 15.12.0 vs 15.99.0 <a name="Xamarin.TVOS.dll" /> ## Xamarin.TVOS.dll ### Namespace AVFoundation #### Type Changed: AVFoundation.AVPlayerItem Added property: ```csharp public virtual Foundation.NSDictionary WeakNowPlayingInfo { get; set; } ``` ### Namespace AVKit #### Type Changed: AVKit.AVPlayerViewController Added properties: ```csharp public virtual AVPlaybackSpeed SelectedSpeed { get; } public virtual AVPlaybackSpeed[] Speeds { get; set; } ``` Added method: ```csharp public virtual void SelectSpeed (AVPlaybackSpeed speed); ``` #### New Type: AVKit.AVPlaybackSpeed ```csharp public class AVPlaybackSpeed : Foundation.NSObject { // constructors protected AVPlaybackSpeed (Foundation.NSObjectFlag t); protected AVPlaybackSpeed (IntPtr handle); public AVPlaybackSpeed (float rate, string localizedName); // properties public override IntPtr ClassHandle { get; } public virtual string LocalizedName { get; } public virtual string LocalizedNumericName { get; } public virtual float Rate { get; } public static AVPlaybackSpeed[] SystemDefaultSpeeds { get; } } ``` ### Namespace AudioToolbox #### New Type: AudioToolbox.AUSpatialMixerPersonalizedHrtfMode ```csharp [Serializable] public enum AUSpatialMixerPersonalizedHrtfMode { Auto = 2, Off = 0, On = 1, } ``` ### Namespace AudioUnit #### New Type: AudioUnit.AudioUnitEventType ```csharp [Serializable] public enum AudioUnitEventType { BeginParameterChangeGesture = 1, EndParameterChangeGesture = 2, ParameterValueChange = 0, PropertyChange = 3, } ``` ### Namespace AuthenticationServices #### New Type: AuthenticationServices.ASAuthorizationPlatformPublicKeyCredentialAssertion ```csharp public class ASAuthorizationPlatformPublicKeyCredentialAssertion : Foundation.NSObject, IASAuthorizationCredential, IASAuthorizationPublicKeyCredentialAssertion, IASPublicKeyCredential, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable { // constructors public ASAuthorizationPlatformPublicKeyCredentialAssertion (); public ASAuthorizationPlatformPublicKeyCredentialAssertion (Foundation.NSCoder coder); protected ASAuthorizationPlatformPublicKeyCredentialAssertion (Foundation.NSObjectFlag t); protected ASAuthorizationPlatformPublicKeyCredentialAssertion (IntPtr handle); // properties public override IntPtr ClassHandle { get; } public virtual Foundation.NSData CredentialId { get; } public virtual Foundation.NSData RawAuthenticatorData { get; } public virtual Foundation.NSData RawClientDataJson { get; } public virtual Foundation.NSData Signature { get; } public virtual Foundation.NSData UserId { get; } // methods public virtual Foundation.NSObject Copy (Foundation.NSZone zone); public virtual void EncodeTo (Foundation.NSCoder encoder); } ``` #### New Type: AuthenticationServices.ASAuthorizationPlatformPublicKeyCredentialAssertionRequest ```csharp public class ASAuthorizationPlatformPublicKeyCredentialAssertionRequest : AuthenticationServices.ASAuthorizationRequest, IASAuthorizationPublicKeyCredentialAssertionRequest, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable { // constructors public ASAuthorizationPlatformPublicKeyCredentialAssertionRequest (Foundation.NSCoder coder); protected ASAuthorizationPlatformPublicKeyCredentialAssertionRequest (Foundation.NSObjectFlag t); protected ASAuthorizationPlatformPublicKeyCredentialAssertionRequest (IntPtr handle); // properties public virtual IASAuthorizationPublicKeyCredentialDescriptor[] AllowedCredentials { get; set; } public virtual Foundation.NSData Challenge { get; set; } public override IntPtr ClassHandle { get; } public ASAuthorizationPlatformPublicKeyCredentialDescriptor[] PlatformAllowedCredentials { get; set; } public virtual string RelyingPartyIdentifier { get; set; } public virtual Foundation.NSString UserVerificationPreference { get; set; } // methods public virtual Foundation.NSObject Copy (Foundation.NSZone zone); public virtual void EncodeTo (Foundation.NSCoder encoder); } ``` #### New Type: AuthenticationServices.ASAuthorizationPlatformPublicKeyCredentialDescriptor ```csharp public class ASAuthorizationPlatformPublicKeyCredentialDescriptor : Foundation.NSObject, IASAuthorizationPublicKeyCredentialDescriptor, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable { // constructors public ASAuthorizationPlatformPublicKeyCredentialDescriptor (Foundation.NSCoder coder); public ASAuthorizationPlatformPublicKeyCredentialDescriptor (Foundation.NSData credentialId); protected ASAuthorizationPlatformPublicKeyCredentialDescriptor (Foundation.NSObjectFlag t); protected ASAuthorizationPlatformPublicKeyCredentialDescriptor (IntPtr handle); // properties public override IntPtr ClassHandle { get; } public virtual Foundation.NSData CredentialId { get; set; } // methods public virtual Foundation.NSObject Copy (Foundation.NSZone zone); public virtual void EncodeTo (Foundation.NSCoder encoder); } ``` #### New Type: AuthenticationServices.ASAuthorizationPlatformPublicKeyCredentialProvider ```csharp public class ASAuthorizationPlatformPublicKeyCredentialProvider : Foundation.NSObject, IASAuthorizationProvider, ObjCRuntime.INativeObject, System.IDisposable { // constructors protected ASAuthorizationPlatformPublicKeyCredentialProvider (Foundation.NSObjectFlag t); protected ASAuthorizationPlatformPublicKeyCredentialProvider (IntPtr handle); public ASAuthorizationPlatformPublicKeyCredentialProvider (string relyingPartyIdentifier); // properties public override IntPtr ClassHandle { get; } public virtual string RelyingPartyIdentifier { get; } // methods public virtual ASAuthorizationPlatformPublicKeyCredentialAssertionRequest CreateCredentialAssertionRequest (Foundation.NSData challenge); public virtual ASAuthorizationPlatformPublicKeyCredentialRegistrationRequest CreateCredentialRegistrationRequest (Foundation.NSData challenge, string name, Foundation.NSData userId); } ``` #### New Type: AuthenticationServices.ASAuthorizationPlatformPublicKeyCredentialRegistration ```csharp public class ASAuthorizationPlatformPublicKeyCredentialRegistration : Foundation.NSObject, IASAuthorizationCredential, IASAuthorizationPublicKeyCredentialRegistration, IASPublicKeyCredential, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable { // constructors public ASAuthorizationPlatformPublicKeyCredentialRegistration (); public ASAuthorizationPlatformPublicKeyCredentialRegistration (Foundation.NSCoder coder); protected ASAuthorizationPlatformPublicKeyCredentialRegistration (Foundation.NSObjectFlag t); protected ASAuthorizationPlatformPublicKeyCredentialRegistration (IntPtr handle); // properties public override IntPtr ClassHandle { get; } public virtual Foundation.NSData CredentialId { get; } public virtual Foundation.NSData RawAttestationObject { get; } public virtual Foundation.NSData RawClientDataJson { get; } // methods public virtual Foundation.NSObject Copy (Foundation.NSZone zone); public virtual void EncodeTo (Foundation.NSCoder encoder); } ``` #### New Type: AuthenticationServices.ASAuthorizationPlatformPublicKeyCredentialRegistrationRequest ```csharp public class ASAuthorizationPlatformPublicKeyCredentialRegistrationRequest : AuthenticationServices.ASAuthorizationRequest, IASAuthorizationPublicKeyCredentialRegistrationRequest, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable { // constructors public ASAuthorizationPlatformPublicKeyCredentialRegistrationRequest (Foundation.NSCoder coder); protected ASAuthorizationPlatformPublicKeyCredentialRegistrationRequest (Foundation.NSObjectFlag t); protected ASAuthorizationPlatformPublicKeyCredentialRegistrationRequest (IntPtr handle); // properties public virtual Foundation.NSData Challenge { get; set; } public override IntPtr ClassHandle { get; } public virtual string DisplayName { get; set; } public virtual string Name { get; set; } public virtual string RelyingPartyIdentifier { get; } public virtual Foundation.NSData UserId { get; set; } public virtual Foundation.NSString UserVerificationPreference { get; set; } // methods public virtual Foundation.NSObject Copy (Foundation.NSZone zone); public virtual void EncodeTo (Foundation.NSCoder encoder); } ``` #### New Type: AuthenticationServices.ASAuthorizationPublicKeyCredentialUserVerificationPreference ```csharp public static class ASAuthorizationPublicKeyCredentialUserVerificationPreference { // properties public static Foundation.NSString Discouraged { get; } public static Foundation.NSString Preferred { get; } public static Foundation.NSString Required { get; } } ``` #### New Type: AuthenticationServices.ASWebAuthenticationSession ```csharp public class ASWebAuthenticationSession : Foundation.NSObject { // constructors protected ASWebAuthenticationSession (Foundation.NSObjectFlag t); protected ASWebAuthenticationSession (IntPtr handle); public ASWebAuthenticationSession (Foundation.NSUrl url, string callbackUrlScheme, ASWebAuthenticationSessionCompletionHandler completionHandler); // properties public virtual bool CanStart { get; } public override IntPtr ClassHandle { get; } public virtual bool PrefersEphemeralWebBrowserSession { get; set; } // methods public virtual bool Start (); } ``` #### New Type: AuthenticationServices.ASWebAuthenticationSessionCompletionHandler ```csharp public sealed delegate ASWebAuthenticationSessionCompletionHandler : System.MulticastDelegate { // constructors public ASWebAuthenticationSessionCompletionHandler (object object, IntPtr method); // methods public virtual System.IAsyncResult BeginInvoke (Foundation.NSUrl callbackUrl, Foundation.NSError error, System.AsyncCallback callback, object object); public virtual void EndInvoke (System.IAsyncResult result); public virtual void Invoke (Foundation.NSUrl callbackUrl, Foundation.NSError error); } ``` #### New Type: AuthenticationServices.ASWebAuthenticationSessionErrorCode ```csharp [Serializable] public enum ASWebAuthenticationSessionErrorCode { CanceledLogin = 1, PresentationContextInvalid = 3, PresentationContextNotProvided = 2, } ``` #### New Type: AuthenticationServices.ASWebAuthenticationSessionErrorCodeExtensions ```csharp public static class ASWebAuthenticationSessionErrorCodeExtensions { // methods public static Foundation.NSString GetDomain (this ASWebAuthenticationSessionErrorCode self); } ``` #### New Type: AuthenticationServices.IASAuthorizationPublicKeyCredentialAssertion ```csharp public interface IASAuthorizationPublicKeyCredentialAssertion : IASAuthorizationCredential, IASPublicKeyCredential, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable { // properties public virtual Foundation.NSData RawAuthenticatorData { get; } public virtual Foundation.NSData Signature { get; } public virtual Foundation.NSData UserId { get; } } ``` #### New Type: AuthenticationServices.IASAuthorizationPublicKeyCredentialAssertionRequest ```csharp public interface IASAuthorizationPublicKeyCredentialAssertionRequest : Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable { // properties public virtual IASAuthorizationPublicKeyCredentialDescriptor[] AllowedCredentials { get; set; } public virtual Foundation.NSData Challenge { get; set; } public virtual string RelyingPartyIdentifier { get; set; } public virtual Foundation.NSString UserVerificationPreference { get; set; } } ``` #### New Type: AuthenticationServices.IASAuthorizationPublicKeyCredentialDescriptor ```csharp public interface IASAuthorizationPublicKeyCredentialDescriptor : Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable { // properties public virtual Foundation.NSData CredentialId { get; set; } } ``` #### New Type: AuthenticationServices.IASAuthorizationPublicKeyCredentialRegistration ```csharp public interface IASAuthorizationPublicKeyCredentialRegistration : IASAuthorizationCredential, IASPublicKeyCredential, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable { // properties public virtual Foundation.NSData RawAttestationObject { get; } } ``` #### New Type: AuthenticationServices.IASAuthorizationPublicKeyCredentialRegistrationRequest ```csharp public interface IASAuthorizationPublicKeyCredentialRegistrationRequest : Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable { // properties public virtual Foundation.NSData Challenge { get; set; } public virtual string DisplayName { get; set; } public virtual string Name { get; set; } public virtual string RelyingPartyIdentifier { get; } public virtual Foundation.NSData UserId { get; set; } public virtual Foundation.NSString UserVerificationPreference { get; set; } } ``` #### New Type: AuthenticationServices.IASPublicKeyCredential ```csharp public interface IASPublicKeyCredential : IASAuthorizationCredential, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable { // properties public virtual Foundation.NSData CredentialId { get; } public virtual Foundation.NSData RawClientDataJson { get; } } ``` ### Namespace CoreBluetooth #### Type Changed: CoreBluetooth.CBCentralManager Added property: ```csharp public static Foundation.NSString OptionDeviceAccessForMedia { get; } ``` #### Type Changed: CoreBluetooth.CBError Added values: ```csharp LEGattExceededBackgroundNotificationLimit = 17, LEGattNearBackgroundNotificationLimit = 18, ``` ### Namespace CoreFoundation #### New Type: CoreFoundation.CGAffineTransformComponents ```csharp public struct CGAffineTransformComponents { // fields public nfloat HorizontalShear; public nfloat Rotation; public CoreGraphics.CGSize Scale; public CoreGraphics.CGVector Translation; } ``` ### Namespace CoreGraphics #### Type Changed: CoreGraphics.CGAffineTransform Added methods: ```csharp public CoreFoundation.CGAffineTransformComponents Decompose (); public static CGAffineTransform MakeWithComponents (CoreFoundation.CGAffineTransformComponents components); ``` #### Type Changed: CoreGraphics.CGColorSpace Added method: ```csharp public CGColorSpace CreateCopyWithStandardRange (); ``` #### Type Changed: CoreGraphics.CGColorSpaceNames Added property: ```csharp public static Foundation.NSString ItuR_709_Hlg { get; } ``` #### Type Changed: CoreGraphics.CGPDFScanner Added method: ```csharp public void Stop (); ``` #### Type Changed: CoreGraphics.CGPath Added methods: ```csharp public CGPath CreateByFlattening (nfloat flatteningThreshold); public CGPath CreateByIntersectingPath (CGPath maskPath, bool evenOddFillRule); public CGPath CreateByNormalizing (bool evenOddFillRule); public CGPath CreateBySubtractingPath (CGPath maskPath, bool evenOddFillRule); public CGPath CreateBySymmetricDifferenceOfPath (CGPath maskPath, bool evenOddFillRule); public CGPath CreateByUnioningPath (CGPath maskPath, bool evenOddFillRule); public CGPath CreateLineByIntersectingPath (CGPath maskPath, bool evenOddFillRule); public CGPath CreateLineBySubtractingPath (CGPath maskPath, bool evenOddFillRule); public bool DoesIntersect (CGPath maskPath, bool evenOddFillRule); public CGPath[] GetSeparateComponents (bool evenOddFillRule); ``` ### Namespace CoreHaptics #### Type Changed: CoreHaptics.CHHapticAudioResourceDefinition Added property: ```csharp public bool? LoopEnabled { get; set; } ``` #### Type Changed: CoreHaptics.CHHapticEngine Added property: ```csharp public virtual bool PlaysAudioOnly { get; set; } ``` #### Type Changed: CoreHaptics.CHHapticPattern Added constructor: ```csharp public CHHapticPattern (Foundation.NSUrl url, out Foundation.NSError error); ``` ### Namespace CoreImage #### Type Changed: CoreImage.CIAttributedTextImageGenerator Added property: ```csharp public float Padding { get; set; } ``` #### Type Changed: CoreImage.CIColorCube Added property: ```csharp public bool Extrapolate { get; set; } ``` #### Type Changed: CoreImage.CIColorCubeWithColorSpace Added property: ```csharp public bool Extrapolate { get; set; } ``` #### Type Changed: CoreImage.CIColorCubesMixedWithMask Added property: ```csharp public bool Extrapolate { get; set; } ``` #### Type Changed: CoreImage.CIImage Added methods: ```csharp public virtual CIImage ConvertLabToWorkingSpace (); public virtual CIImage ConvertWorkingSpaceToLab (); ``` #### Type Changed: CoreImage.CIImageProcessorInput_Extensions Added method: ```csharp public static ulong GetDigest (this ICIImageProcessorInput This); ``` #### Type Changed: CoreImage.CIImageProcessorOutput_Extensions Added method: ```csharp public static ulong GetDigest (this ICIImageProcessorOutput This); ``` #### Type Changed: CoreImage.CITextImageGenerator Added property: ```csharp public float Padding { get; set; } ``` #### New Type: CoreImage.CIAreaLogarithmicHistogram ```csharp public class CIAreaLogarithmicHistogram : CoreImage.CIFilter, ICIAreaLogarithmicHistogramProtocol, ICIAreaReductionFilterProtocol, ICIFilterProtocol, ObjCRuntime.INativeObject, System.IDisposable { // constructors public CIAreaLogarithmicHistogram (); public CIAreaLogarithmicHistogram (Foundation.NSCoder coder); protected CIAreaLogarithmicHistogram (Foundation.NSObjectFlag t); protected CIAreaLogarithmicHistogram (IntPtr handle); // properties public virtual nint Count { get; set; } public virtual CoreGraphics.CGRect InputExtent { get; set; } public virtual CIImage InputImage { get; set; } public virtual float MaximumStop { get; set; } public virtual float MinimumStop { get; set; } public virtual CIImage OutputImage { get; } public virtual float Scale { get; set; } } ``` #### New Type: CoreImage.CIAttributedTextImageGeneratorProtocol_Extensions ```csharp public static class CIAttributedTextImageGeneratorProtocol_Extensions { // methods public static float GetPadding (this ICIAttributedTextImageGeneratorProtocol This); public static void SetPadding (this ICIAttributedTextImageGeneratorProtocol This, float value); } ``` #### New Type: CoreImage.CIColorCubeProtocol_Extensions ```csharp public static class CIColorCubeProtocol_Extensions { // methods public static bool GetExtrapolate (this ICIColorCubeProtocol This); public static void SetExtrapolate (this ICIColorCubeProtocol This, bool value); } ``` #### New Type: CoreImage.CIColorCubeWithColorSpaceProtocol_Extensions ```csharp public static class CIColorCubeWithColorSpaceProtocol_Extensions { // methods public static bool GetExtrapolate (this ICIColorCubeWithColorSpaceProtocol This); public static void SetExtrapolate (this ICIColorCubeWithColorSpaceProtocol This, bool value); } ``` #### New Type: CoreImage.CIColorCubesMixedWithMaskProtocol_Extensions ```csharp public static class CIColorCubesMixedWithMaskProtocol_Extensions { // methods public static bool GetExtrapolate (this ICIColorCubesMixedWithMaskProtocol This); public static void SetExtrapolate (this ICIColorCubesMixedWithMaskProtocol This, bool value); } ``` #### New Type: CoreImage.CITextImageGeneratorProtocol_Extensions ```csharp public static class CITextImageGeneratorProtocol_Extensions { // methods public static float GetPadding (this ICITextImageGeneratorProtocol This); public static void SetPadding (this ICITextImageGeneratorProtocol This, float value); } ``` #### New Type: CoreImage.ICIAreaLogarithmicHistogramProtocol ```csharp public interface ICIAreaLogarithmicHistogramProtocol : ICIAreaReductionFilterProtocol, ICIFilterProtocol, ObjCRuntime.INativeObject, System.IDisposable { // properties public virtual nint Count { get; set; } public virtual float MaximumStop { get; set; } public virtual float MinimumStop { get; set; } public virtual float Scale { get; set; } } ``` #### New Type: CoreImage.ICIConvertLabProtocol ```csharp public interface ICIConvertLabProtocol : ICIFilterProtocol, ObjCRuntime.INativeObject, System.IDisposable { // properties public virtual CIImage InputImage { get; set; } public virtual bool Normalize { get; set; } } ``` ### Namespace CoreML #### Type Changed: CoreML.MLComputeUnits Added value: ```csharp CPUAndNeuralEngine = 3, ``` #### Type Changed: CoreML.MLModel Added methods: ```csharp public static void CompileModel (Foundation.NSUrl modelUrl, System.Action<Foundation.NSUrl,Foundation.NSError> handler); public static System.Threading.Tasks.Task<Foundation.NSUrl> CompileModelAsync (Foundation.NSUrl modelUrl); public static void Load (MLModelAsset asset, MLModelConfiguration configuration, System.Action<MLModel,Foundation.NSError> handler); public static System.Threading.Tasks.Task<MLModel> LoadAsync (MLModelAsset asset, MLModelConfiguration configuration); ``` #### Type Changed: CoreML.MLModelConfiguration Added property: ```csharp public virtual string ModelDisplayName { get; set; } ``` #### Type Changed: CoreML.MLMultiArray Added constructor: ```csharp public MLMultiArray (CoreVideo.CVPixelBuffer pixelBuffer, Foundation.NSNumber[] shape); ``` Added property: ```csharp public virtual CoreVideo.CVPixelBuffer PixelBuffer { get; } ``` Added methods: ```csharp public virtual void GetBytes (System.Action<System.IntPtr,System.nint> handler); public virtual System.Threading.Tasks.Task<MLMultiArrayDataPointer> GetBytesAsync (); public virtual void GetMutableBytes (System.Action<System.IntPtr,System.nint,Foundation.NSArray<Foundation.NSNumber>> handler); public virtual System.Threading.Tasks.Task<MLMultiArrayMutableDataPointer> GetMutableBytesAsync (); ``` #### Type Changed: CoreML.MLPredictionOptions Added property: ```csharp public virtual Foundation.NSDictionary OutputBackings { get; set; } ``` #### New Type: CoreML.MLModelAsset ```csharp public class MLModelAsset : Foundation.NSObject { // constructors protected MLModelAsset (Foundation.NSObjectFlag t); protected MLModelAsset (IntPtr handle); // properties public override IntPtr ClassHandle { get; } // methods public static MLModelAsset Create (Foundation.NSData specificationData, out Foundation.NSError error); } ``` #### New Type: CoreML.MLModelCompilationLoadResult ```csharp public class MLModelCompilationLoadResult { // constructors public MLModelCompilationLoadResult (MLModel arg1); // properties public MLModel Arg1 { get; set; } } ``` #### New Type: CoreML.MLModelCompilationResult ```csharp public class MLModelCompilationResult { // constructors public MLModelCompilationResult (Foundation.NSUrl arg1); // properties public Foundation.NSUrl Arg1 { get; set; } } ``` #### New Type: CoreML.MLMultiArrayDataPointer ```csharp public class MLMultiArrayDataPointer { // constructors public MLMultiArrayDataPointer (IntPtr arg1, nint arg2); // properties public IntPtr Arg1 { get; set; } public nint Arg2 { get; set; } } ``` #### New Type: CoreML.MLMultiArrayMutableDataPointer ```csharp public class MLMultiArrayMutableDataPointer { // constructors public MLMultiArrayMutableDataPointer (IntPtr arg1, nint arg2, Foundation.NSArray<Foundation.NSNumber> arg3); // properties public IntPtr Arg1 { get; set; } public nint Arg2 { get; set; } public Foundation.NSArray<Foundation.NSNumber> Arg3 { get; set; } } ``` ### Namespace CoreSpotlight #### New Type: CoreSpotlight.CSSearchQuerySourceOptions ```csharp [Serializable] public enum CSSearchQuerySourceOptions { AllowMail = 1, Default = 0, } ``` ### Namespace CoreText #### Type Changed: CoreText.CTFontOptions Added value: ```csharp PreventAutoDownload = 2, ``` ### Namespace CoreVideo #### Type Changed: CoreVideo.CVPixelFormatDescription Added field: ```csharp public static Foundation.NSString ContainsSenselArray; ``` ### Namespace Foundation #### Type Changed: Foundation.NSActivityOptions Added values: ```csharp AnimationTrackingEnabled = 35184372088832, TrackingEnabled = 70368744177664, UserInteractive = 1095233437695, ``` #### Type Changed: Foundation.NSAttributedString Added constructors: ```csharp public NSAttributedString (NSData markdown, NSAttributedStringMarkdownParsingOptions options, NSUrl baseUrl, out NSError error); public NSAttributedString (NSUrl markdownFile, NSAttributedStringMarkdownParsingOptions options, NSUrl baseUrl, out NSError error); public NSAttributedString (string markdownString, NSAttributedStringMarkdownParsingOptions options, NSUrl baseUrl, out NSError error); ``` Added property: ```csharp public virtual NSAttributedString AttributedStringByInflectingString { get; } ``` #### Type Changed: Foundation.NSBundle Added method: ```csharp public virtual NSAttributedString GetLocalizedAttributedString (string key, string value, string tableName); ``` #### Type Changed: Foundation.NSByteCountFormatter Added methods: ```csharp public virtual string Create (NSUnitInformationStorage measurement); public static string Create (NSUnitInformationStorage measurement, NSByteCountFormatterCountStyle countStyle); ``` #### Type Changed: Foundation.NSCocoaError Added value: ```csharp XpcConnectionCodeSigningRequirementFailure = 4102, ``` #### Type Changed: Foundation.NSItemProvider Added constructor: ```csharp public NSItemProvider (NSUrl fileUrl, UniformTypeIdentifiers.UTType contentType, bool openInPlace, bool coordinated, NSItemProviderRepresentationVisibility visibility); ``` Added properties: ```csharp public virtual UniformTypeIdentifiers.UTType[] RegisteredContentTypes { get; } public virtual UniformTypeIdentifiers.UTType[] RegisteredContentTypesForOpenInPlace { get; } ``` Added methods: ```csharp public virtual NSProgress LoadDataRepresentation (UniformTypeIdentifiers.UTType contentType, ItemProviderDataCompletionHandler completionHandler); public virtual NSProgress LoadFileRepresentation (UniformTypeIdentifiers.UTType contentType, bool openInPlace, LoadFileRepresentationHandler completionHandler); public virtual void RegisterDataRepresentation (UniformTypeIdentifiers.UTType contentType, NSItemProviderRepresentationVisibility visibility, NSItemProviderUTTypeLoadDelegate loadHandler); public virtual void RegisterFileRepresentation (UniformTypeIdentifiers.UTType contentType, NSItemProviderRepresentationVisibility visibility, bool openInPlace, NSItemProviderUTTypeLoadDelegate loadHandler); public virtual UniformTypeIdentifiers.UTType[] RegisteredContentTypesConforming (UniformTypeIdentifiers.UTType contentType); ``` #### Type Changed: Foundation.NSJsonReadingOptions Added values: ```csharp Json5Allowed = 8, TopLevelDictionaryAssumed = 16, ``` #### Type Changed: Foundation.NSMutableUrlRequest Added property: ```csharp public virtual NSURLRequestAttribution Attribution { get; set; } ``` #### Type Changed: Foundation.NSPersonNameComponentsFormatter Added property: ```csharp public virtual NSLocale Locale { get; set; } ``` #### Type Changed: Foundation.NSProgress Added property: ```csharp public static NSString FileOperationKindDuplicatingKey { get; } ``` #### Type Changed: Foundation.NSUrlBookmarkCreationOptions Added value: ```csharp CreationWithoutImplicitSecurityScope = 536870912, ``` #### Type Changed: Foundation.NSUrlBookmarkResolutionOptions Added value: ```csharp WithoutImplicitStartAccessing = 32768, ``` #### Type Changed: Foundation.NSUrlComponents Added property: ```csharp public virtual string EncodedHost { get; set; } ``` #### Type Changed: Foundation.NSUrlRequest Added property: ```csharp public virtual NSURLRequestAttribution Attribution { get; } ``` #### Type Changed: Foundation.NSUrlSessionConfiguration Added property: ```csharp public virtual bool RequiresDnsSecValidation { get; set; } ``` #### Type Changed: Foundation.NSUrlSessionTask Added properties: ```csharp public INSUrlSessionTaskDelegate Delegate { get; set; } public virtual NSObject WeakDelegate { get; set; } ``` #### Type Changed: Foundation.NSUrlSessionTaskDelegate Added method: ```csharp public virtual void DidCreateTask (NSUrlSession session, NSUrlSessionTask task); ``` #### Type Changed: Foundation.NSUrlSessionTaskDelegate_Extensions Added method: ```csharp public static void DidCreateTask (this INSUrlSessionTaskDelegate This, NSUrlSession session, NSUrlSessionTask task); ``` #### Type Changed: Foundation.NSUuid Added method: ```csharp public virtual NSComparisonResult Compare (NSUuid otherUuid); ``` #### Type Changed: Foundation.NSXpcConnection Added method: ```csharp public virtual void Activate (); ``` #### Type Changed: Foundation.NSXpcListener Added method: ```csharp public virtual void Activate (); ``` #### New Type: Foundation.LoadFileRepresentationHandler ```csharp public sealed delegate LoadFileRepresentationHandler : System.MulticastDelegate { // constructors public LoadFileRepresentationHandler (object object, IntPtr method); // methods public virtual System.IAsyncResult BeginInvoke (NSUrl fileUrl, bool openInPlace, NSError error, System.AsyncCallback callback, object object); public virtual void EndInvoke (System.IAsyncResult result); public virtual void Invoke (NSUrl fileUrl, bool openInPlace, NSError error); } ``` #### New Type: Foundation.NSAttributedStringFormattingOptions ```csharp [Serializable] [Flags] public enum NSAttributedStringFormattingOptions { ApplyReplacementIndexAttribute = 2, InsertArgumentAttributesWithoutMerging = 1, } ``` #### New Type: Foundation.NSAttributedStringMarkdownInterpretedSyntax ```csharp [Serializable] public enum NSAttributedStringMarkdownInterpretedSyntax { Full = 0, InlineOnly = 1, InlineOnlyPreservingWhitespace = 2, } ``` #### New Type: Foundation.NSAttributedStringMarkdownParsingFailurePolicy ```csharp [Serializable] public enum NSAttributedStringMarkdownParsingFailurePolicy { Error = 0, PartiallyParsedIfPossible = 1, } ``` #### New Type: Foundation.NSAttributedStringMarkdownParsingOptions ```csharp public class NSAttributedStringMarkdownParsingOptions : Foundation.NSObject, INSCopying, ObjCRuntime.INativeObject, System.IDisposable { // constructors public NSAttributedStringMarkdownParsingOptions (); protected NSAttributedStringMarkdownParsingOptions (NSObjectFlag t); protected NSAttributedStringMarkdownParsingOptions (IntPtr handle); // properties public virtual bool AllowsExtendedAttributes { get; set; } public virtual bool AppliesSourcePositionAttributes { get; set; } public override IntPtr ClassHandle { get; } public virtual NSAttributedStringMarkdownParsingFailurePolicy FailurePolicy { get; set; } public virtual NSAttributedStringMarkdownInterpretedSyntax InterpretedSyntax { get; set; } public virtual string LanguageCode { get; set; } // methods public virtual NSObject Copy (NSZone zone); } ``` #### New Type: Foundation.NSAttributedStringMarkdownSourcePosition ```csharp public class NSAttributedStringMarkdownSourcePosition : Foundation.NSObject, INSCoding, INSCopying, INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable { // constructors public NSAttributedStringMarkdownSourcePosition (); public NSAttributedStringMarkdownSourcePosition (NSCoder coder); protected NSAttributedStringMarkdownSourcePosition (NSObjectFlag t); protected NSAttributedStringMarkdownSourcePosition (IntPtr handle); public NSAttributedStringMarkdownSourcePosition (nint startLine, nint startColumn, nint endLine, nint endColumn); // properties public override IntPtr ClassHandle { get; } public virtual nint EndColumn { get; } public virtual nint EndLine { get; } public virtual nint StartColumn { get; } public virtual nint StartLine { get; } // methods public virtual NSObject Copy (NSZone zone); public virtual void EncodeTo (NSCoder encoder); public virtual NSRange RangeInString (string string); } ``` #### New Type: Foundation.NSAttributedStringNameKey ```csharp [Serializable] public enum NSAttributedStringNameKey { AlternateDescription = 0, ImageUrl = 1, InflectionAlternative = 3, InflectionRule = 2, InlinePresentationIntent = 4, LanguageIdentifier = 5, MarkdownSourcePosition = 6, Morphology = 7, PresentationIntentAttributeName = 8, ReplacementIndex = 9, } ``` #### New Type: Foundation.NSAttributedStringNameKeyExtensions ```csharp public static class NSAttributedStringNameKeyExtensions { // methods public static NSString GetConstant (this NSAttributedStringNameKey self); public static NSAttributedStringNameKey GetValue (NSString constant); } ``` #### New Type: Foundation.NSGrammaticalGender ```csharp [Serializable] public enum NSGrammaticalGender { Feminine = 1, Masculine = 2, Neuter = 3, NotSet = 0, } ``` #### New Type: Foundation.NSGrammaticalNumber ```csharp [Serializable] public enum NSGrammaticalNumber { NotSet = 0, Plural = 3, PluralFew = 5, PluralMany = 6, PluralTwo = 4, Singular = 1, Zero = 2, } ``` #### New Type: Foundation.NSGrammaticalPartOfSpeech ```csharp [Serializable] public enum NSGrammaticalPartOfSpeech { Abbreviation = 14, Adjective = 6, Adposition = 7, Adverb = 4, Conjunction = 10, Determiner = 1, Interjection = 12, Letter = 3, NotSet = 0, Noun = 9, Numeral = 11, Particle = 5, Preposition = 13, Pronoun = 2, Verb = 8, } ``` #### New Type: Foundation.NSInflectionRule ```csharp public class NSInflectionRule : Foundation.NSObject, INSCoding, INSCopying, INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable { // constructors public NSInflectionRule (NSCoder coder); protected NSInflectionRule (NSObjectFlag t); protected NSInflectionRule (IntPtr handle); // properties public static NSInflectionRule AutomaticRule { get; } public static bool CanInflectPreferredLocalization { get; } public override IntPtr ClassHandle { get; } // methods public static bool CanInflectLanguage (string language); public virtual NSObject Copy (NSZone zone); public virtual void EncodeTo (NSCoder encoder); } ``` #### New Type: Foundation.NSInflectionRuleExplicit ```csharp public class NSInflectionRuleExplicit : Foundation.NSInflectionRule { // constructors public NSInflectionRuleExplicit (); public NSInflectionRuleExplicit (NSCoder coder); public NSInflectionRuleExplicit (NSMorphology morphology); protected NSInflectionRuleExplicit (NSObjectFlag t); protected NSInflectionRuleExplicit (IntPtr handle); // properties public override IntPtr ClassHandle { get; } public virtual NSMorphology Morphology { get; } } ``` #### New Type: Foundation.NSInlinePresentationIntent ```csharp [Serializable] public enum NSInlinePresentationIntent { BlockHTML = 512, Code = 4, Emphasized = 1, InlineHTML = 256, LineBreak = 128, SoftBreak = 64, Strikethrough = 32, StronglyEmphasized = 2, } ``` #### New Type: Foundation.NSItemProviderUTTypeLoadDelegate ```csharp public sealed delegate NSItemProviderUTTypeLoadDelegate : System.MulticastDelegate { // constructors public NSItemProviderUTTypeLoadDelegate (object object, IntPtr method); // methods public virtual System.IAsyncResult BeginInvoke (ItemProviderDataCompletionHandler completionHandler, System.AsyncCallback callback, object object); public virtual NSProgress EndInvoke (System.IAsyncResult result); public virtual NSProgress Invoke (ItemProviderDataCompletionHandler completionHandler); } ``` #### New Type: Foundation.NSMorphology ```csharp public class NSMorphology : Foundation.NSObject, INSCoding, INSCopying, INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable { // constructors public NSMorphology (); public NSMorphology (NSCoder coder); protected NSMorphology (NSObjectFlag t); protected NSMorphology (IntPtr handle); // properties public override IntPtr ClassHandle { get; } public virtual NSGrammaticalGender GrammaticalGender { get; set; } public virtual NSGrammaticalNumber Number { get; set; } public virtual NSGrammaticalPartOfSpeech PartOfSpeech { get; set; } public virtual bool Unspecified { get; } public static NSMorphology UserMorphology { get; } // methods public virtual NSObject Copy (NSZone zone); public virtual void EncodeTo (NSCoder encoder); public virtual NSMorphologyCustomPronoun GetCustomPronoun (string language); public virtual bool SetCustomPronoun (NSMorphologyCustomPronoun features, string language, out NSError error); } ``` #### New Type: Foundation.NSMorphologyCustomPronoun ```csharp public class NSMorphologyCustomPronoun : Foundation.NSObject, INSCoding, INSCopying, INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable { // constructors public NSMorphologyCustomPronoun (); public NSMorphologyCustomPronoun (NSCoder coder); protected NSMorphologyCustomPronoun (NSObjectFlag t); protected NSMorphologyCustomPronoun (IntPtr handle); // properties public override IntPtr ClassHandle { get; } public virtual string ObjectForm { get; set; } public virtual string PossessiveAdjectiveForm { get; set; } public virtual string PossessiveForm { get; set; } public virtual string ReflexiveForm { get; set; } public virtual string SubjectForm { get; set; } // methods public virtual NSObject Copy (NSZone zone); public virtual void EncodeTo (NSCoder encoder); public static string[] GetRequiredKeysForLanguage (string language); public static bool IsSupported (string language); } ``` #### New Type: Foundation.NSPresentationIntent ```csharp public class NSPresentationIntent : Foundation.NSObject, INSCoding, INSCopying, INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable { // constructors public NSPresentationIntent (NSCoder coder); protected NSPresentationIntent (NSObjectFlag t); protected NSPresentationIntent (IntPtr handle); // properties public override IntPtr ClassHandle { get; } public virtual nint Column { get; } public virtual NSNumber[] ColumnAlignments { get; } public virtual nint ColumnCount { get; } public virtual nint HeaderLevel { get; } public virtual nint Identity { get; } public virtual nint IndentationLevel { get; } public virtual NSPresentationIntentKind IntentKind { get; } public virtual string LanguageHint { get; } public virtual nint Ordinal { get; } public virtual NSPresentationIntent ParentIntent { get; } public virtual nint Row { get; } // methods public virtual NSObject Copy (NSZone zone); public static NSPresentationIntent CreateBlockQuoteIntent (nint identity, NSPresentationIntent parent); public static NSPresentationIntent CreateCodeBlockIntent (nint identity, string languageHint, NSPresentationIntent parent); public static NSPresentationIntent CreateHeaderIntent (nint identity, nint level, NSPresentationIntent parent); public static NSPresentationIntent CreateListItemIntent (nint identity, nint ordinal, NSPresentationIntent parent); public static NSPresentationIntent CreateOrderedListIntent (nint identity, NSPresentationIntent parent); public static NSPresentationIntent CreateParagraphIntent (nint identity, NSPresentationIntent parent); public static NSPresentationIntent CreateTableCellIntent (nint identity, nint column, NSPresentationIntent parent); public static NSPresentationIntent CreateTableHeaderRowIntent (nint identity, NSPresentationIntent parent); public static NSPresentationIntent CreateTableIntent (nint identity, nint columnCount, NSNumber[] alignments, NSPresentationIntent parent); public static NSPresentationIntent CreateTableRowIntent (nint identity, nint row, NSPresentationIntent parent); public static NSPresentationIntent CreateThematicBreakIntent (nint identity, NSPresentationIntent parent); public static NSPresentationIntent CreateUnorderedListIntent (nint identity, NSPresentationIntent parent); public virtual void EncodeTo (NSCoder encoder); public virtual bool IsEquivalent (NSPresentationIntent other); } ``` #### New Type: Foundation.NSPresentationIntentKind ```csharp [Serializable] public enum NSPresentationIntentKind { BlockQuote = 6, CodeBlock = 5, Header = 1, ListItem = 4, OrderedList = 2, Paragraph = 0, Table = 8, TableCell = 11, TableHeaderRow = 9, TableRow = 10, ThematicBreak = 7, UnorderedList = 3, } ``` #### New Type: Foundation.NSPresentationIntentTableColumnAlignment ```csharp [Serializable] public enum NSPresentationIntentTableColumnAlignment { Center = 1, Left = 0, Right = 2, } ``` #### New Type: Foundation.NSURLRequestAttribution ```csharp [Serializable] public enum NSURLRequestAttribution { Developer = 0, User = 1, } ``` ### Namespace GameController #### Type Changed: GameController.GCInput Added properties: ```csharp public static Foundation.NSString LeftPaddle { get; } public static Foundation.NSString PedalAccelerator { get; } public static Foundation.NSString PedalBrake { get; } public static Foundation.NSString PedalClutch { get; } public static Foundation.NSString RightPaddle { get; } public static Foundation.NSString Shifter { get; } public static Foundation.NSString SteeringWheel { get; } ``` #### Type Changed: GameController.GCPhysicalInputProfile Added property: ```csharp public virtual System.Action<GCPhysicalInputProfile,GameController.GCControllerElement> ValueDidChangeHandler { get; set; } ``` #### Type Changed: GameController.GCProductCategory Added property: ```csharp public static Foundation.NSString GCProductCategoryHid { get; } ``` #### New Type: GameController.GCControllerUserCustomizations ```csharp public static class GCControllerUserCustomizations { // properties public static Foundation.NSString DidChangeNotification { get; } // inner types public static class Notifications { // methods public static Foundation.NSObject ObserveDidChange (System.EventHandler<Foundation.NSNotificationEventArgs> handler); public static Foundation.NSObject ObserveDidChange (Foundation.NSObject objectToObserve, System.EventHandler<Foundation.NSNotificationEventArgs> handler); } } ``` #### New Type: GameController.GCDevicePhysicalInputElementChange ```csharp [Serializable] public enum GCDevicePhysicalInputElementChange { Changed = 1, NoChange = 0, UnknownChange = -1, } ``` #### New Type: GameController.GCGearShifterElement ```csharp public class GCGearShifterElement : Foundation.NSObject, IGCPhysicalInputElement, ObjCRuntime.INativeObject, System.IDisposable { // constructors protected GCGearShifterElement (Foundation.NSObjectFlag t); protected GCGearShifterElement (IntPtr handle); // properties public virtual Foundation.NSSet<Foundation.NSString> Aliases { get; } public override IntPtr ClassHandle { get; } public virtual string LocalizedName { get; } public virtual IGCSwitchPositionInput PatternInput { get; } public virtual IGCRelativeInput SequentialInput { get; } public virtual string SfSymbolsName { get; } } ``` #### New Type: GameController.GCRacingWheel ```csharp public class GCRacingWheel : Foundation.NSObject, IGCDevice, ObjCRuntime.INativeObject, System.IDisposable { // constructors protected GCRacingWheel (Foundation.NSObjectFlag t); protected GCRacingWheel (IntPtr handle); // properties public virtual bool Acquired { get; } public virtual GCRacingWheel Capture { get; } public override IntPtr ClassHandle { get; } public static Foundation.NSSet<GCRacingWheel> ConnectedRacingWheels { get; } public static Foundation.NSString DidConnectNotification { get; } public static Foundation.NSString DidDisconnectNotification { get; } public virtual CoreFoundation.DispatchQueue HandlerQueue { get; set; } public virtual GCPhysicalInputProfile PhysicalInputProfile { get; } public virtual string ProductCategory { get; } public virtual bool Snapshot { get; } public virtual string VendorName { get; } public virtual GCRacingWheelInput WheelInput { get; } // methods public virtual bool AcquireDevice (out Foundation.NSError error); public virtual void RelinquishDevice (); // inner types public static class Notifications { // methods public static Foundation.NSObject ObserveDidConnect (System.EventHandler<Foundation.NSNotificationEventArgs> handler); public static Foundation.NSObject ObserveDidConnect (Foundation.NSObject objectToObserve, System.EventHandler<Foundation.NSNotificationEventArgs> handler); public static Foundation.NSObject ObserveDidDisconnect (System.EventHandler<Foundation.NSNotificationEventArgs> handler); public static Foundation.NSObject ObserveDidDisconnect (Foundation.NSObject objectToObserve, System.EventHandler<Foundation.NSNotificationEventArgs> handler); } } ``` #### New Type: GameController.GCRacingWheelInput ```csharp public class GCRacingWheelInput : GameController.GCRacingWheelInputState, IGCDevicePhysicalInput, IGCDevicePhysicalInputState, ObjCRuntime.INativeObject, System.IDisposable { // constructors public GCRacingWheelInput (); protected GCRacingWheelInput (Foundation.NSObjectFlag t); protected GCRacingWheelInput (IntPtr handle); // properties public virtual IGCDevicePhysicalInputState Capture { get; } public override IntPtr ClassHandle { get; } public virtual IGCDevice Device { get; } public virtual System.Action<IGCPhysicalInputElement> ElementValueDidChangeHandler { get; set; } public virtual System.Action InputStateAvailableHandler { get; set; } public virtual nint InputStateQueueDepth { get; set; } public virtual double LastEventLatency { get; } public virtual double LastEventTimestamp { get; } public virtual Foundation.NSObject NextInputState { get; } public GCRacingWheelInputState WheelInputCapture { get; } public IGCDevicePhysicalInputStateDiff WheelInputNextInputState { get; } // methods protected override void Dispose (bool disposing); public virtual IGCPhysicalInputElement GetObject (string key); } ``` #### New Type: GameController.GCRacingWheelInputState ```csharp public class GCRacingWheelInputState : Foundation.NSObject, IGCDevicePhysicalInputState, ObjCRuntime.INativeObject, System.IDisposable { // constructors public GCRacingWheelInputState (); protected GCRacingWheelInputState (Foundation.NSObjectFlag t); protected GCRacingWheelInputState (IntPtr handle); // properties public virtual IGCButtonElement AcceleratorPedal { get; } public virtual IGCButtonElement BrakePedal { get; } public override IntPtr ClassHandle { get; } public virtual IGCButtonElement ClutchPedal { get; } public virtual IGCDevice Device { get; } public virtual double LastEventLatency { get; } public virtual double LastEventTimestamp { get; } public virtual GCGearShifterElement Shifter { get; } public virtual GCSteeringWheelElement Wheel { get; } // methods protected override void Dispose (bool disposing); public virtual IGCPhysicalInputElement GetObject (string key); } ``` #### New Type: GameController.GCSteeringWheelElement ```csharp public class GCSteeringWheelElement : Foundation.NSObject, IGCAxisElement, IGCPhysicalInputElement, ObjCRuntime.INativeObject, System.IDisposable { // constructors protected GCSteeringWheelElement (Foundation.NSObjectFlag t); protected GCSteeringWheelElement (IntPtr handle); // properties public virtual IGCAxisInput AbsoluteInput { get; } public virtual Foundation.NSSet<Foundation.NSString> Aliases { get; } public override IntPtr ClassHandle { get; } public virtual string LocalizedName { get; } public virtual float MaximumDegreesOfRotation { get; } public virtual IGCRelativeInput RelativeInput { get; } public virtual string SfSymbolsName { get; } } ``` #### New Type: GameController.IGCAxisElement ```csharp public interface IGCAxisElement : IGCPhysicalInputElement, ObjCRuntime.INativeObject, System.IDisposable { // properties public virtual IGCAxisInput AbsoluteInput { get; } public virtual IGCRelativeInput RelativeInput { get; } } ``` #### New Type: GameController.IGCAxisInput ```csharp public interface IGCAxisInput : ObjCRuntime.INativeObject, System.IDisposable { // properties public virtual bool Analog { get; } public virtual bool CanWrap { get; } public virtual double LastValueLatency { get; } public virtual double LastValueTimestamp { get; } public virtual float Value { get; } public virtual System.Action<IGCPhysicalInputElement,GameController.IGCAxisInput,System.Single> ValueDidChangeHandler { get; set; } } ``` #### New Type: GameController.IGCButtonElement ```csharp public interface IGCButtonElement : IGCPhysicalInputElement, ObjCRuntime.INativeObject, System.IDisposable { // properties public virtual Foundation.NSObject PressedInput { get; } public virtual IGCTouchedStateInput TouchedInput { get; } } ``` #### New Type: GameController.IGCDevicePhysicalInput ```csharp public interface IGCDevicePhysicalInput : IGCDevicePhysicalInputState, ObjCRuntime.INativeObject, System.IDisposable { // properties public virtual IGCDevicePhysicalInputState Capture { get; } public virtual IGCDevice Device { get; } public virtual System.Action<IGCPhysicalInputElement> ElementValueDidChangeHandler { get; set; } public virtual System.Action InputStateAvailableHandler { get; set; } public virtual nint InputStateQueueDepth { get; set; } public virtual Foundation.NSObject NextInputState { get; } } ``` #### New Type: GameController.IGCDevicePhysicalInputState ```csharp public interface IGCDevicePhysicalInputState : ObjCRuntime.INativeObject, System.IDisposable { // properties public virtual IGCDevice Device { get; } public virtual double LastEventLatency { get; } public virtual double LastEventTimestamp { get; } // methods public virtual IGCPhysicalInputElement GetObject (string key); } ``` #### New Type: GameController.IGCDevicePhysicalInputStateDiff ```csharp public interface IGCDevicePhysicalInputStateDiff : ObjCRuntime.INativeObject, System.IDisposable { // properties public virtual Foundation.NSEnumerator<IGCPhysicalInputElement> ChangedElements { get; } // methods public virtual GCDevicePhysicalInputElementChange GetChange (IGCPhysicalInputElement element); } ``` #### New Type: GameController.IGCDirectionPadElement ```csharp public interface IGCDirectionPadElement : IGCPhysicalInputElement, ObjCRuntime.INativeObject, System.IDisposable { // properties public virtual Foundation.NSObject Down { get; } public virtual Foundation.NSObject Left { get; } public virtual Foundation.NSObject Right { get; } public virtual Foundation.NSObject Up { get; } public virtual IGCAxisInput XAxis { get; } public virtual IGCAxisInput YAxis { get; } } ``` #### New Type: GameController.IGCLinearInput ```csharp public interface IGCLinearInput : ObjCRuntime.INativeObject, System.IDisposable { // properties public virtual bool Analog { get; } public virtual bool CanWrap { get; } public virtual double LastValueLatency { get; } public virtual double LastValueTimestamp { get; } public virtual float Value { get; } public virtual System.Action<IGCPhysicalInputElement,GameController.IGCLinearInput,System.Single> ValueDidChangeHandler { get; set; } } ``` #### New Type: GameController.IGCPhysicalInputElement ```csharp public interface IGCPhysicalInputElement : ObjCRuntime.INativeObject, System.IDisposable { // properties public virtual Foundation.NSSet<Foundation.NSString> Aliases { get; } public virtual string LocalizedName { get; } public virtual string SfSymbolsName { get; } } ``` #### New Type: GameController.IGCPressedStateInput ```csharp public interface IGCPressedStateInput : ObjCRuntime.INativeObject, System.IDisposable { // properties public virtual double LastPressedStateLatency { get; } public virtual double LastPressedStateTimestamp { get; } public virtual bool Pressed { get; } public virtual System.Action<IGCPhysicalInputElement,GameController.IGCPressedStateInput,System.Boolean> PressedDidChangeHandler { get; set; } } ``` #### New Type: GameController.IGCRelativeInput ```csharp public interface IGCRelativeInput : ObjCRuntime.INativeObject, System.IDisposable { // properties public virtual bool Analog { get; } public virtual float Delta { get; } public virtual System.Action<IGCPhysicalInputElement,GameController.IGCRelativeInput,System.Single> DeltaDidChangeHandler { get; set; } public virtual double LastDeltaLatency { get; } public virtual double LastDeltaTimestamp { get; } } ``` #### New Type: GameController.IGCSwitchElement ```csharp public interface IGCSwitchElement : IGCPhysicalInputElement, ObjCRuntime.INativeObject, System.IDisposable { // properties public virtual IGCSwitchPositionInput PositionInput { get; } } ``` #### New Type: GameController.IGCSwitchPositionInput ```csharp public interface IGCSwitchPositionInput : ObjCRuntime.INativeObject, System.IDisposable { // properties public virtual bool CanWrap { get; } public virtual double LastPositionLatency { get; } public virtual double LastPositionTimestamp { get; } public virtual nint Position { get; } public virtual System.Action<IGCPhysicalInputElement,GameController.IGCSwitchPositionInput,System.nint> PositionDidChangeHandler { get; set; } public virtual Foundation.NSRange PositionRange { get; } public virtual bool Sequential { get; } } ``` #### New Type: GameController.IGCTouchedStateInput ```csharp public interface IGCTouchedStateInput : ObjCRuntime.INativeObject, System.IDisposable { // properties public virtual double LastTouchedStateLatency { get; } public virtual double LastTouchedStateTimestamp { get; } public virtual bool Touched { get; } public virtual System.Action<IGCPhysicalInputElement,GameController.IGCTouchedStateInput,System.Boolean> TouchedDidChangeHandler { get; set; } } ``` ### Namespace IOSurface #### Type Changed: IOSurface.IOSurfaceOptions Added property: ```csharp public string Name { get; set; } ``` ### Namespace ImageIO #### Type Changed: ImageIO.CGImageProperties Added properties: ```csharp public static Foundation.NSString GroupImageBaseline { get; } public static Foundation.NSString GroupImageDisparityAdjustment { get; } public static Foundation.NSString HeifDictionary { get; } ``` #### New Type: ImageIO.IOCameraExtrinsics ```csharp public static class IOCameraExtrinsics { // properties public static Foundation.NSString CoordinateSystemId { get; } public static Foundation.NSString Position { get; } public static Foundation.NSString Rotation { get; } } ``` #### New Type: ImageIO.IOCameraModel ```csharp public static class IOCameraModel { // properties public static Foundation.NSString Intrinsics { get; } public static Foundation.NSString ModelType { get; } } ``` #### New Type: ImageIO.IOCameraModelType ```csharp public static class IOCameraModelType { // properties public static Foundation.NSString GenericPinhole { get; } public static Foundation.NSString SimplifiedPinhole { get; } } ``` #### New Type: ImageIO.IOMetadata ```csharp public static class IOMetadata { // properties public static Foundation.NSString CameraExtrinsicsKey { get; } public static Foundation.NSString CameraModelKey { get; } } ``` ### Namespace MediaPlayer #### Type Changed: MediaPlayer.MPNowPlayingInfoCenter Added properties: ```csharp public static Foundation.NSString PropertyAdTimeRanges { get; } public static Foundation.NSString PropertyCreditsStartTime { get; } ``` #### Type Changed: MediaPlayer.MPNowPlayingSession Added property: ```csharp public virtual bool AutomaticallyPublishesNowPlayingInfo { get; set; } ``` #### New Type: MediaPlayer.MPAdTimeRange ```csharp public class MPAdTimeRange : Foundation.NSObject, Foundation.INSCopying, ObjCRuntime.INativeObject, System.IDisposable { // constructors public MPAdTimeRange (CoreMedia.CMTimeRange timeRange); protected MPAdTimeRange (Foundation.NSObjectFlag t); protected MPAdTimeRange (IntPtr handle); // properties public override IntPtr ClassHandle { get; } public virtual CoreMedia.CMTimeRange TimeRange { get; set; } // methods public virtual Foundation.NSObject Copy (Foundation.NSZone zone); } ``` ### Namespace MetalPerformanceShadersGraph #### Type Changed: MetalPerformanceShadersGraph.MPSGraphExecutableExecutionDescriptor Added interfaces: ```csharp Foundation.INSCopying ObjCRuntime.INativeObject System.IDisposable ``` Added method: ```csharp public virtual Foundation.NSObject Copy (Foundation.NSZone zone); ``` ### Namespace NaturalLanguage #### Type Changed: NaturalLanguage.NLLanguage Added value: ```csharp Kazakh = 58, ``` ### Namespace Network #### Type Changed: Network.NWAdvertiseDescriptor Added constructor: ```csharp public NWAdvertiseDescriptor (string applicationServiceName); ``` Added property: ```csharp public string ApplicationServiceName { get; } ``` #### Type Changed: Network.NWBrowserDescriptor Added property: ```csharp public string ApplicationServiceName { get; } ``` Added method: ```csharp public static NWBrowserDescriptor CreateApplicationServiceName (string applicationServiceName); ``` #### Type Changed: Network.NWEndpoint Added properties: ```csharp public System.ReadOnlySpan<byte> Signature { get; } public NWTxtRecord TxtRecord { get; } ``` #### Type Changed: Network.NWEndpointType Added value: ```csharp Url = 4, ``` #### Type Changed: Network.NWFramer Added property: ```csharp public NSProtocolFramerOptions ProtocolOptions { get; } ``` #### Type Changed: Network.NWParameters Added property: ```csharp public bool RequiresDnssecValidation { get; set; } ``` Added method: ```csharp public static NWParameters CreateApplicationService (); ``` #### Type Changed: Network.NWProtocolQuicOptions Added properties: ```csharp public ushort DatagramFrameSize { get; set; } public bool StreamIsDatagram { get; set; } public NWQuicStreamType StreamType { get; } public ushort StreamUsableDatagramFrameSize { get; } ``` #### New Type: Network.NSProtocolFramerOptions ```csharp public class NSProtocolFramerOptions : Network.NWProtocolOptions { // methods public T GetValue<T> (string key); public void SetValue<T> (string key, T value); } ``` #### New Type: Network.NWQuicStreamType ```csharp [Serializable] public enum NWQuicStreamType { Bidirectional = 1, Unidirectional = 2, Unknown = 0, } ``` ### Namespace ObjCRuntime #### Type Changed: ObjCRuntime.Constants Modified fields: ```diff -public const string SdkVersion = "15.4"; +public const string SdkVersion = "16.0"; -public const string Version = "15.12.0"; +public const string Version = "15.99.0"; ``` ### Namespace Photos #### Type Changed: Photos.PHAsset Added property: ```csharp public virtual bool HasAdjustments { get; } ``` #### Type Changed: Photos.PHAssetCollectionSubtype Added value: ```csharp SmartAlbumCinematic = 218, ``` #### Type Changed: Photos.PHAssetMediaSubtype Added value: ```csharp VideoCinematic = 2097152, ``` #### Type Changed: Photos.PHAssetResource Added properties: ```csharp public virtual nint PixelHeight { get; } public virtual nint PixelWidth { get; } ``` #### Type Changed: Photos.PHPhotoLibrary Added property: ```csharp public virtual PHPersistentChangeToken CurrentChangeToken { get; } ``` Added method: ```csharp public virtual PHPersistentChangeFetchResult FetchPersistentChanges (PHPersistentChangeToken since, out Foundation.NSError error); ``` #### Type Changed: Photos.PHPhotosError Added values: ```csharp NetworkError = 3169, PersistentChangeDetailsUnavailable = 3210, PersistentChangeTokenExpired = 3105, ``` #### New Type: Photos.PHObjectType ```csharp [Serializable] public enum PHObjectType { Asset = 1, AssetCollection = 2, CollectionList = 3, } ``` #### New Type: Photos.PHPersistentChange ```csharp public class PHPersistentChange : Foundation.NSObject { // constructors protected PHPersistentChange (Foundation.NSObjectFlag t); protected PHPersistentChange (IntPtr handle); // properties public virtual PHPersistentChangeToken ChangeToken { get; } public override IntPtr ClassHandle { get; } // methods public virtual PHPersistentObjectChangeDetails GetChangeDetails (PHObjectType objectType, out Foundation.NSError error); } ``` #### New Type: Photos.PHPersistentChangeFetchResult ```csharp public class PHPersistentChangeFetchResult : Foundation.NSObject { // constructors protected PHPersistentChangeFetchResult (Foundation.NSObjectFlag t); protected PHPersistentChangeFetchResult (IntPtr handle); // properties public override IntPtr ClassHandle { get; } // methods public virtual void EnumerateChanges (PHPersistentChangeFetchResultEnumerator block); } ``` #### New Type: Photos.PHPersistentChangeFetchResultEnumerator ```csharp public sealed delegate PHPersistentChangeFetchResultEnumerator : System.MulticastDelegate { // constructors public PHPersistentChangeFetchResultEnumerator (object object, IntPtr method); // methods public virtual System.IAsyncResult BeginInvoke (PHPersistentChange change, ref bool stop, System.AsyncCallback callback, object object); public virtual void EndInvoke (ref bool stop, System.IAsyncResult result); public virtual void Invoke (PHPersistentChange change, ref bool stop); } ``` #### New Type: Photos.PHPersistentChangeToken ```csharp public class PHPersistentChangeToken : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable { // constructors public PHPersistentChangeToken (Foundation.NSCoder coder); protected PHPersistentChangeToken (Foundation.NSObjectFlag t); protected PHPersistentChangeToken (IntPtr handle); // properties public override IntPtr ClassHandle { get; } // methods public virtual Foundation.NSObject Copy (Foundation.NSZone zone); public virtual void EncodeTo (Foundation.NSCoder encoder); } ``` #### New Type: Photos.PHPersistentObjectChangeDetails ```csharp public class PHPersistentObjectChangeDetails : Foundation.NSObject { // constructors protected PHPersistentObjectChangeDetails (Foundation.NSObjectFlag t); protected PHPersistentObjectChangeDetails (IntPtr handle); // properties public override IntPtr ClassHandle { get; } public virtual Foundation.NSSet<Foundation.NSString> DeletedLocalIdentifiers { get; } public virtual Foundation.NSSet<Foundation.NSString> InsertedLocalIdentifiers { get; } public virtual PHObjectType ObjectType { get; } public virtual Foundation.NSSet<Foundation.NSString> UpdatedLocalIdentifiers { get; } } ``` ### Namespace PhotosUI #### Type Changed: PhotosUI.PHLivePhotoViewDelegate Added method: ```csharp public virtual double GetExtraMinimumTouchDuration (PHLivePhotoView livePhotoView, UIKit.UITouch touch, PHLivePhotoViewPlaybackStyle playbackStyle); ``` #### Type Changed: PhotosUI.PHLivePhotoViewDelegate_Extensions Added method: ```csharp public static double GetExtraMinimumTouchDuration (this IPHLivePhotoViewDelegate This, PHLivePhotoView livePhotoView, UIKit.UITouch touch, PHLivePhotoViewPlaybackStyle playbackStyle); ``` ### Namespace ShazamKit #### Type Changed: ShazamKit.SHErrorCode Added value: ```csharp InternalError = 500, ``` #### Type Changed: ShazamKit.SHMediaItem Added properties: ```csharp public virtual SHRange[] FrequencySkewRanges { get; } public virtual SHRange[] TimeRanges { get; } ``` #### Type Changed: ShazamKit.SHMediaItemProperty Added values: ```csharp FrequencySkewRanges = 15, TimeRanges = 14, ``` #### Type Changed: ShazamKit.SHSignatureGenerator Added methods: ```csharp public static void GenerateSignature (AVFoundation.AVAsset asset, System.Action<SHSignature,Foundation.NSError> completionHandler); public static System.Threading.Tasks.Task<SHSignature> GenerateSignatureAsync (AVFoundation.AVAsset asset); ``` #### New Type: ShazamKit.SHRange ```csharp public class SHRange : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable { // constructors public SHRange (Foundation.NSCoder coder); protected SHRange (Foundation.NSObjectFlag t); protected SHRange (IntPtr handle); public SHRange (double lowerBound, double upperBound); // properties public override IntPtr ClassHandle { get; } public virtual double LowerBound { get; } public virtual double UpperBound { get; } // methods public virtual Foundation.NSObject Copy (Foundation.NSZone zone); public static SHRange CreateRange (double lowerBound, double upperBound); public virtual void EncodeTo (Foundation.NSCoder encoder); } ``` ### Namespace TVServices #### Type Changed: TVServices.TVUserManager Added property: ```csharp public virtual bool ShouldStorePreferencesForCurrentUser { get; } ``` ### Namespace TVUIKit #### Type Changed: TVUIKit.TVMediaItemContentView Added method: ```csharp public virtual bool SupportsConfiguration (UIKit.IUIContentConfiguration configuration); ``` #### Type Changed: TVUIKit.TVMonogramContentView Added method: ```csharp public virtual bool SupportsConfiguration (UIKit.IUIContentConfiguration configuration); ``` ### Namespace UIKit #### Type Changed: UIKit.NSCollectionLayoutGroup Added methods: ```csharp public static NSCollectionLayoutGroup GetHorizontalGroup (NSCollectionLayoutSize layoutSize, NSCollectionLayoutItem repeatingSubitem, nint count); public static NSCollectionLayoutGroup GetVerticalGroup (NSCollectionLayoutSize layoutSize, NSCollectionLayoutItem repeatingSubitem, nint count); ``` #### Type Changed: UIKit.NSCollectionLayoutSection Added property: ```csharp public virtual UIContentInsetsReference SupplementaryContentInsetsReference { get; set; } ``` #### Type Changed: UIKit.NSMutableParagraphStyle Added property: ```csharp public override NSTextList[] TextLists { get; set; } ``` #### Type Changed: UIKit.NSParagraphStyle Added property: ```csharp public virtual NSTextList[] TextLists { get; set; } ``` #### Type Changed: UIKit.NSTextElement Added properties: ```csharp public virtual NSTextElement[] ChildElements { get; } public virtual bool IsRepresentedElement { get; } public virtual NSTextElement ParentElement { get; } ``` #### Type Changed: UIKit.UIAction Added interfaces: ```csharp ObjCRuntime.INativeObject System.IDisposable IUIMenuLeaf ``` Added method: ```csharp public virtual void Target (Foundation.NSObject sender, Foundation.NSObject target); ``` #### Type Changed: UIKit.UIAlertController Added property: ```csharp public virtual UIAlertControllerSeverity Severity { get; set; } ``` #### Type Changed: UIKit.UIApplication Added method: ```csharp public UIContentSizeCategory GetPreferredContentSizeCategory (); ``` #### Type Changed: UIKit.UIBarButtonItem Added constructors: ```csharp public UIBarButtonItem (UIAction primaryAction, UIMenu menu); public UIBarButtonItem (UIBarButtonSystemItem systemItem, UIAction primaryAction, UIMenu menu); public UIBarButtonItem (string title, UIImage image, Foundation.NSObject target, ObjCRuntime.Selector action, UIMenu menu); ``` #### Type Changed: UIKit.UIButtonConfiguration Added properties: ```csharp public virtual UIButtonConfigurationIndicator Indicator { get; set; } public virtual UIConfigurationColorTransformerHandler IndicatorColorTransformer { get; set; } ``` #### Type Changed: UIKit.UICollectionView Added property: ```csharp public virtual UICollectionViewSelfSizingInvalidation SelfSizingInvalidation { get; set; } ``` #### Type Changed: UIKit.UICollectionViewCell Added property: ```csharp public virtual UIBackgroundConfiguration DefaultBackgroundConfiguration { get; } ``` #### Type Changed: UIKit.UICollectionViewController Added methods: ```csharp public virtual bool CanPerformPrimaryActionForItem (UICollectionView collectionView, Foundation.NSIndexPath indexPath); public virtual void PerformPrimaryActionForItem (UICollectionView collectionView, Foundation.NSIndexPath indexPath); ``` #### Type Changed: UIKit.UICollectionViewDelegate Added methods: ```csharp public virtual bool CanPerformPrimaryActionForItem (UICollectionView collectionView, Foundation.NSIndexPath indexPath); public virtual void PerformPrimaryActionForItem (UICollectionView collectionView, Foundation.NSIndexPath indexPath); ``` #### Type Changed: UIKit.UICollectionViewDelegate_Extensions Added methods: ```csharp public static bool CanPerformPrimaryActionForItem (this IUICollectionViewDelegate This, UICollectionView collectionView, Foundation.NSIndexPath indexPath); public static void PerformPrimaryActionForItem (this IUICollectionViewDelegate This, UICollectionView collectionView, Foundation.NSIndexPath indexPath); ``` #### Type Changed: UIKit.UICollectionViewSource Added methods: ```csharp public virtual bool CanPerformPrimaryActionForItem (UICollectionView collectionView, Foundation.NSIndexPath indexPath); public virtual void PerformPrimaryActionForItem (UICollectionView collectionView, Foundation.NSIndexPath indexPath); ``` #### Type Changed: UIKit.UICommand Added interfaces: ```csharp ObjCRuntime.INativeObject System.IDisposable IUIMenuLeaf ``` Added property: ```csharp public virtual Foundation.NSObject Sender { get; } ``` Added method: ```csharp public virtual void Target (Foundation.NSObject sender, Foundation.NSObject target); ``` #### Type Changed: UIKit.UIFocusDebugger Added methods: ```csharp public static IUIFocusDebuggerOutput GetFocusGroups (IUIFocusEnvironment environment); public static IUIFocusDebuggerOutput GetPreferredFocusEnvironments (IUIFocusEnvironment environment); ``` #### Type Changed: UIKit.UIFont Added method: ```csharp public static UIFont SystemFontOfSize (nfloat fontSize, UIFontWeight weight, UIFontWidth width); ``` #### Type Changed: UIKit.UIImage Added methods: ```csharp public static UIImage FromBundle (string name, Foundation.NSBundle bundle, double value, UIImageConfiguration configuration); public static UIImage GetSystemImage (string name, double value, UIImageConfiguration configuration); ``` #### Type Changed: UIKit.UIImageSymbolConfiguration Added method: ```csharp public static UIImageSymbolConfiguration GetConfigurationPreferringMonochrome (); ``` #### Type Changed: UIKit.UIListContentTextProperties Added property: ```csharp public virtual bool ShowsExpansionTextWhenTruncated { get; set; } ``` #### Type Changed: UIKit.UIListContentView Added method: ```csharp public virtual bool SupportsConfiguration (IUIContentConfiguration configuration); ``` #### Type Changed: UIKit.UIMenu Added property: ```csharp public virtual UIMenuElementSize PreferredElementSize { get; set; } ``` #### Type Changed: UIKit.UIMenuElementAttributes Added value: ```csharp KeepsMenuPresented = 8, ``` #### Type Changed: UIKit.UIMenuIdentifier Added value: ```csharp Document = 46, ``` #### Type Changed: UIKit.UIPageControl Added properties: ```csharp public virtual UIPageControlDirection Direction { get; set; } public virtual UIImage PreferredCurrentPageIndicatorImage { get; set; } ``` Added methods: ```csharp public virtual UIImage GetCurrentPageIndicatorImage (nint page); public virtual void SetCurrentPageIndicatorImage (UIImage image, nint page); ``` #### Type Changed: UIKit.UIResponder Added methods: ```csharp public virtual void Duplicate (Foundation.NSObject sender); public virtual void Export (Foundation.NSObject sender); public virtual void Find (Foundation.NSObject sender); public virtual void FindAndReplace (Foundation.NSObject sender); public virtual void FindNext (Foundation.NSObject sender); public virtual void FindPrevious (Foundation.NSObject sender); public virtual void Move (Foundation.NSObject sender); public virtual void Rename (Foundation.NSObject sender); public virtual void UseSelectionForFind (Foundation.NSObject sender); ``` #### Type Changed: UIKit.UIResponderStandardEditActions_Extensions Added methods: ```csharp public static void Duplicate (this IUIResponderStandardEditActions This, Foundation.NSObject sender); public static void Export (this IUIResponderStandardEditActions This, Foundation.NSObject sender); public static void Find (this IUIResponderStandardEditActions This, Foundation.NSObject sender); public static void FindAndReplace (this IUIResponderStandardEditActions This, Foundation.NSObject sender); public static void FindNext (this IUIResponderStandardEditActions This, Foundation.NSObject sender); public static void FindPrevious (this IUIResponderStandardEditActions This, Foundation.NSObject sender); public static void Move (this IUIResponderStandardEditActions This, Foundation.NSObject sender); public static void Rename (this IUIResponderStandardEditActions This, Foundation.NSObject sender); public static void UseSelectionForFind (this IUIResponderStandardEditActions This, Foundation.NSObject sender); ``` #### Type Changed: UIKit.UISceneErrorCode Added values: ```csharp GeometryRequestDenied = 101, GeometryRequestUnsupported = 100, ``` #### Type Changed: UIKit.UISceneSizeRestrictions Added property: ```csharp public virtual bool AllowsFullScreen { get; set; } ``` #### Type Changed: UIKit.UIScreen Added properties: ```csharp public virtual nfloat CurrentEdrHeadroom { get; } public virtual nfloat PotentialEdrHeadroom { get; } public virtual UIScreenReferenceDisplayModeStatus ReferenceDisplayModeStatus { get; } public static Foundation.NSString ReferenceDisplayModeStatusDidChangeNotification { get; } ``` #### Type Changed: UIKit.UIScreen.Notifications Added methods: ```csharp public static Foundation.NSObject ObserveReferenceDisplayModeStatusDidChange (System.EventHandler<Foundation.NSNotificationEventArgs> handler); public static Foundation.NSObject ObserveReferenceDisplayModeStatusDidChange (Foundation.NSObject objectToObserve, System.EventHandler<Foundation.NSNotificationEventArgs> handler); ``` #### Type Changed: UIKit.UIScrollViewKeyboardDismissMode Added values: ```csharp InteractiveWithAccessory = 4, OnDragWithAccessory = 3, ``` #### Type Changed: UIKit.UISearchSuggestionItem Added property: ```csharp public virtual Foundation.NSObject RepresentedObject { get; set; } ``` #### Type Changed: UIKit.UISearchSuggestion_Extensions Added methods: ```csharp public static Foundation.NSObject GetRepresentedObject (this IUISearchSuggestion This); public static void SetRepresentedObject (this IUISearchSuggestion This, Foundation.NSObject value); ``` #### Type Changed: UIKit.UITableView Added property: ```csharp public virtual UITableViewSelfSizingInvalidation SelfSizingInvalidation { get; set; } ``` #### Type Changed: UIKit.UITableViewCell Added property: ```csharp public virtual UIBackgroundConfiguration DefaultBackgroundConfiguration { get; } ``` #### Type Changed: UIKit.UITableViewController Added methods: ```csharp public virtual bool CanPerformPrimaryAction (UITableView tableView, Foundation.NSIndexPath rowIndexPath); public virtual void PerformPrimaryAction (UITableView tableView, Foundation.NSIndexPath rowIndexPath); ``` #### Type Changed: UIKit.UITableViewDelegate Added methods: ```csharp public virtual bool CanPerformPrimaryAction (UITableView tableView, Foundation.NSIndexPath rowIndexPath); public virtual void PerformPrimaryAction (UITableView tableView, Foundation.NSIndexPath rowIndexPath); ``` #### Type Changed: UIKit.UITableViewDelegate_Extensions Added methods: ```csharp public static bool CanPerformPrimaryAction (this IUITableViewDelegate This, UITableView tableView, Foundation.NSIndexPath rowIndexPath); public static void PerformPrimaryAction (this IUITableViewDelegate This, UITableView tableView, Foundation.NSIndexPath rowIndexPath); ``` #### Type Changed: UIKit.UITableViewHeaderFooterView Added property: ```csharp public virtual UIBackgroundConfiguration DefaultBackgroundConfiguration { get; } ``` #### Type Changed: UIKit.UITableViewSource Added methods: ```csharp public virtual bool CanPerformPrimaryAction (UITableView tableView, Foundation.NSIndexPath rowIndexPath); public virtual void PerformPrimaryAction (UITableView tableView, Foundation.NSIndexPath rowIndexPath); ``` #### Type Changed: UIKit.UITextField Added method: ```csharp public virtual UIMenu GetEditMenu (UITextRange textRange, UIMenuElement[] suggestedActions); ``` #### Type Changed: UIKit.UITextFieldDelegate Added method: ```csharp public virtual UIMenu GetEditMenu (UITextField textField, Foundation.NSRange range, UIMenuElement[] suggestedActions); ``` #### Type Changed: UIKit.UITextFieldDelegate_Extensions Added method: ```csharp public static UIMenu GetEditMenu (this IUITextFieldDelegate This, UITextField textField, Foundation.NSRange range, UIMenuElement[] suggestedActions); ``` #### Type Changed: UIKit.UITextInput_Extensions Added method: ```csharp public static UIMenu GetEditMenu (this IUITextInput This, UITextRange textRange, UIMenuElement[] suggestedActions); ``` #### Type Changed: UIKit.UITextView Added property: ```csharp public virtual NSTextLayoutManager TextLayoutManager { get; } ``` Added methods: ```csharp public virtual UIMenu GetEditMenu (UITextRange textRange, UIMenuElement[] suggestedActions); public static UITextView GetTextView (bool usingTextLayoutManager); ``` #### Type Changed: UIKit.UITextViewDelegate Added method: ```csharp public virtual UIMenu GetEditMenuForText (UITextView textView, Foundation.NSRange range, UIMenuElement[] suggestedActions); ``` #### Type Changed: UIKit.UITextViewDelegate_Extensions Added method: ```csharp public static UIMenu GetEditMenuForText (this IUITextViewDelegate This, UITextView textView, Foundation.NSRange range, UIMenuElement[] suggestedActions); ``` #### Type Changed: UIKit.UITraitCollection Added property: ```csharp public virtual UINSToolbarItemPresentationSize ToolbarItemPresentationSize { get; } ``` Added method: ```csharp public static UITraitCollection GetTraitCollection (UINSToolbarItemPresentationSize toolbarItemPresentationSize); ``` #### Type Changed: UIKit.UIView Added property: ```csharp public virtual CoreGraphics.CGPoint AnchorPoint { get; set; } ``` #### Type Changed: UIKit.UIViewController Added properties: ```csharp public virtual UIPresentationController ActivePresentationController { get; } public virtual string InteractionActivityTrackingBaseName { get; set; } ``` Added method: ```csharp public virtual void SetNeedsUpdateOfSupportedInterfaceOrientations (); ``` #### Type Changed: UIKit.UIWindow Added property: ```csharp public virtual IUILayoutGuideAspectFitting SafeAreaAspectFitLayoutGuide { get; } ``` #### Type Changed: UIKit.UIWindowScene Added properties: ```csharp public virtual UIWindowSceneGeometry EffectiveGeometry { get; } public virtual bool FullScreen { get; } public virtual UISceneWindowingBehaviors WindowingBehaviors { get; } ``` Added method: ```csharp public virtual void RequestGeometryUpdate (UIWindowSceneGeometryPreferences geometryPreferences, System.Action<Foundation.NSError> errorHandler); ``` #### Type Changed: UIKit.UIWindowSceneSessionRole Added value: ```csharp ExternalDisplayNonInteractive = 3, ``` #### New Type: UIKit.IUILayoutGuideAspectFitting ```csharp public interface IUILayoutGuideAspectFitting : ObjCRuntime.INativeObject, System.IDisposable { // properties public virtual nfloat AspectRatio { get; set; } } ``` #### New Type: UIKit.IUIMenuLeaf ```csharp public interface IUIMenuLeaf : ObjCRuntime.INativeObject, System.IDisposable { // properties public virtual UIMenuElementAttributes Attributes { get; set; } public virtual string DiscoverabilityTitle { get; set; } public virtual UIImage Image { get; set; } public virtual Foundation.NSObject Sender { get; } public virtual UIMenuElementState State { get; set; } public virtual string Title { get; set; } // methods public virtual void Target (Foundation.NSObject sender, Foundation.NSObject target); } ``` #### New Type: UIKit.NSTextList ```csharp public class NSTextList : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable { // constructors public NSTextList (); public NSTextList (Foundation.NSCoder coder); protected NSTextList (Foundation.NSObjectFlag t); protected NSTextList (IntPtr handle); public NSTextList (string format, NSTextListOptions mask); public NSTextList (NSTextListMarkerFormats format, NSTextListOptions mask); public NSTextList (string markerFormat, NSTextListOptions options, nint startingItemNumber); // properties public override IntPtr ClassHandle { get; } public virtual NSTextListOptions ListOptions { get; } public virtual string MarkerFormat { get; } public virtual bool Ordered { get; } public virtual nint StartingItemNumber { get; set; } // methods public virtual Foundation.NSObject Copy (Foundation.NSZone zone); public virtual void EncodeTo (Foundation.NSCoder encoder); public virtual string GetMarker (nint itemNum); } ``` #### New Type: UIKit.NSTextListElement ```csharp public class NSTextListElement : UIKit.NSTextParagraph { // constructors public NSTextListElement (); public NSTextListElement (Foundation.NSAttributedString attributedString); protected NSTextListElement (Foundation.NSObjectFlag t); protected NSTextListElement (IntPtr handle); public NSTextListElement (NSTextContentManager textContentManager); public NSTextListElement (NSTextListElement parent, NSTextList textList, Foundation.NSAttributedString contents, Foundation.NSDictionary markerAttributes, NSTextListElement[] children); // properties public virtual Foundation.NSAttributedString AttributedString { get; } public virtual NSTextListElement[] ChildElements { get; } public override IntPtr ClassHandle { get; } public virtual Foundation.NSAttributedString Contents { get; } public virtual NSTextListElement ParentElement { get; } public virtual NSTextList TextList { get; } public virtual Foundation.NSDictionary WeakMarkerAttributes { get; } // methods public static NSTextListElement Create (NSTextListElement[] children, NSTextList textList, nint nestingLevel); public static NSTextListElement Create (Foundation.NSAttributedString contents, Foundation.NSDictionary markerAttributes, NSTextList textList, NSTextListElement[] children); protected override void Dispose (bool disposing); } ``` #### New Type: UIKit.NSTextListMarkerFormats ```csharp [Serializable] public enum NSTextListMarkerFormats { Box = 0, Check = 1, Circle = 2, Decimal = 16, Diamond = 3, Disc = 4, Hyphen = 5, LowercaseAlpha = 10, LowercaseHexadecimal = 7, LowercaseLatin = 12, LowercaseRoman = 14, Octal = 9, Square = 6, UppercaseAlpha = 11, UppercaseHexadecimal = 8, UppercaseLatin = 13, UppercaseRoman = 15, } ``` #### New Type: UIKit.NSTextListMarkerFormatsExtensions ```csharp public static class NSTextListMarkerFormatsExtensions { // methods public static Foundation.NSString GetConstant (this NSTextListMarkerFormats self); public static NSTextListMarkerFormats GetValue (Foundation.NSString constant); } ``` #### New Type: UIKit.NSTextListOptions ```csharp [Serializable] [Flags] public enum NSTextListOptions { PrependEnclosingMarker = 1, } ``` #### New Type: UIKit.UIAlertControllerSeverity ```csharp [Serializable] public enum UIAlertControllerSeverity { Critical = 1, Default = 0, } ``` #### New Type: UIKit.UIButtonConfigurationIndicator ```csharp [Serializable] public enum UIButtonConfigurationIndicator { Automatic = 0, None = 1, Popup = 2, } ``` #### New Type: UIKit.UICollectionViewSelfSizingInvalidation ```csharp [Serializable] public enum UICollectionViewSelfSizingInvalidation { Disabled = 0, Enabled = 1, EnabledIncludingConstraints = 2, } ``` #### New Type: UIKit.UIContentView_Extensions ```csharp public static class UIContentView_Extensions { // methods public static bool SupportsConfiguration (this IUIContentView This, IUIContentConfiguration configuration); } ``` #### New Type: UIKit.UIFindSessionSearchResultDisplayStyle ```csharp [Serializable] public enum UIFindSessionSearchResultDisplayStyle { CurrentAndTotal = 0, None = 2, Total = 1, } ``` #### New Type: UIKit.UIFontWidth ```csharp [Serializable] public enum UIFontWidth { Compressed = 3, Condensed = 0, Expanded = 2, Standard = 1, } ``` #### New Type: UIKit.UIMenuElementSize ```csharp [Serializable] public enum UIMenuElementSize { Large = 2, Medium = 1, Small = 0, } ``` #### New Type: UIKit.UINSToolbarItemPresentationSize ```csharp [Serializable] public enum UINSToolbarItemPresentationSize { Large = 3, Regular = 0, Small = 1, Unspecified = -1, } ``` #### New Type: UIKit.UIPageControlDirection ```csharp [Serializable] public enum UIPageControlDirection { BottomToTop = 4, LeftToRight = 1, Natural = 0, RightToLeft = 2, TopToBottom = 3, } ``` #### New Type: UIKit.UIPasteControlDisplayMode ```csharp [Serializable] public enum UIPasteControlDisplayMode { IconAndLabel = 0, IconOnly = 1, LabelOnly = 2, } ``` #### New Type: UIKit.UISceneWindowingBehaviors ```csharp public class UISceneWindowingBehaviors : Foundation.NSObject { // constructors protected UISceneWindowingBehaviors (Foundation.NSObjectFlag t); protected UISceneWindowingBehaviors (IntPtr handle); // properties public override IntPtr ClassHandle { get; } public virtual bool Closable { get; set; } public virtual bool Miniaturizable { get; set; } } ``` #### New Type: UIKit.UIScreenReferenceDisplayModeStatus ```csharp [Serializable] public enum UIScreenReferenceDisplayModeStatus { Enabled = 3, Limited = 2, NotEnabled = 1, NotSupported = 0, } ``` #### New Type: UIKit.UITableViewSelfSizingInvalidation ```csharp [Serializable] public enum UITableViewSelfSizingInvalidation { Disabled = 0, Enabled = 1, EnabledIncludingConstraints = 2, } ``` #### New Type: UIKit.UITextSearchMatchMethod ```csharp [Serializable] public enum UITextSearchMatchMethod { Contains = 0, FullWord = 2, StartsWith = 1, } ``` #### New Type: UIKit.UIWindowSceneGeometry ```csharp public class UIWindowSceneGeometry : Foundation.NSObject, Foundation.INSCopying, ObjCRuntime.INativeObject, System.IDisposable { // constructors protected UIWindowSceneGeometry (Foundation.NSObjectFlag t); protected UIWindowSceneGeometry (IntPtr handle); // properties public override IntPtr ClassHandle { get; } public virtual CoreGraphics.CGRect SystemFrame { get; } // methods public virtual Foundation.NSObject Copy (Foundation.NSZone zone); } ``` #### New Type: UIKit.UIWindowSceneGeometryPreferences ```csharp public class UIWindowSceneGeometryPreferences : Foundation.NSObject { // constructors public UIWindowSceneGeometryPreferences (); protected UIWindowSceneGeometryPreferences (Foundation.NSObjectFlag t); protected UIWindowSceneGeometryPreferences (IntPtr handle); // properties public override IntPtr ClassHandle { get; } } ``` #### New Type: UIKit.UIWindowSceneGeometryPreferencesMac ```csharp public class UIWindowSceneGeometryPreferencesMac : UIKit.UIWindowSceneGeometryPreferences { // constructors public UIWindowSceneGeometryPreferencesMac (); public UIWindowSceneGeometryPreferencesMac (CoreGraphics.CGRect systemFrame); protected UIWindowSceneGeometryPreferencesMac (Foundation.NSObjectFlag t); protected UIWindowSceneGeometryPreferencesMac (IntPtr handle); // properties public override IntPtr ClassHandle { get; } public virtual CoreGraphics.CGRect SystemFrame { get; set; } } ``` ### Namespace UniformTypeIdentifiers #### Type Changed: UniformTypeIdentifiers.UTType Added properties: ```csharp public static UTType SHCustomCatalogContentType { get; } public static UTType SHSignatureContentType { get; } ``` ### Namespace UserNotifications #### Type Changed: UserNotifications.UNErrorCode Added value: ```csharp BadgeInputInvalid = 1600, ``` #### Type Changed: UserNotifications.UNMutableNotificationContent Added property: ```csharp public virtual string FilterCriteria { get; set; } ``` #### Type Changed: UserNotifications.UNNotificationInterruptionLevel Obsoleted fields: ```diff [Obsolete ("Use 'Active2'.")] Active = 0, [Obsolete ("Use 'Critical2'.")] Critical = 1, [Obsolete ("Use 'Passive2'.")] Passive = 2, [Obsolete ("Use 'TimeSensitive2'.")] TimeSensitive = 3, ``` Added values: ```csharp Active2 = 1, Critical2 = 3, Passive2 = 0, TimeSensitive2 = 2, ``` #### Type Changed: UserNotifications.UNUserNotificationCenter Added methods: ```csharp public virtual void SetBadgeCount (nint newBadgeCount, System.Action<Foundation.NSError> completionHandler); public virtual System.Threading.Tasks.Task SetBadgeCountAsync (nint newBadgeCount); ``` ### Namespace VideoSubscriberAccount #### New Type: VideoSubscriberAccount.VSOriginatingDeviceCategory ```csharp [Serializable] public enum VSOriginatingDeviceCategory { Mobile = 0, Other = 1, } ``` #### New Type: VideoSubscriberAccount.VSUserAccount ```csharp public class VSUserAccount : Foundation.NSObject { // constructors protected VSUserAccount (Foundation.NSObjectFlag t); protected VSUserAccount (IntPtr handle); public VSUserAccount (VSUserAccountType accountType, Foundation.NSUrl url); // properties public virtual string AccountProviderIdentifier { get; set; } public virtual VSUserAccountType AccountType { get; set; } public virtual string AuthenticationData { get; set; } public virtual string BillingIdentifier { get; set; } public override IntPtr ClassHandle { get; } public virtual bool Deleted { get; set; } public virtual VSOriginatingDeviceCategory DeviceCategory { get; } public virtual bool FromCurrentDevice { get; } public virtual string Identifier { get; set; } public virtual bool RequiresSystemTrust { get; set; } public virtual Foundation.NSDate SubscriptionBillingCycleEndDate { get; set; } public virtual string[] TierIdentifiers { get; set; } public virtual Foundation.NSUrl UpdateUrl { get; set; } } ``` #### New Type: VideoSubscriberAccount.VSUserAccountManager ```csharp public class VSUserAccountManager : Foundation.NSObject { // constructors protected VSUserAccountManager (Foundation.NSObjectFlag t); protected VSUserAccountManager (IntPtr handle); // properties public override IntPtr ClassHandle { get; } public static VSUserAccountManager SharedUserAccountManager { get; } // methods public virtual void QueryUserAccounts (VSUserAccountQueryOptions options, System.Action<Foundation.NSArray<VSUserAccount>> completion); public virtual System.Threading.Tasks.Task<Foundation.NSArray<VSUserAccount>> QueryUserAccountsAsync (VSUserAccountQueryOptions options); public virtual void UpdateUserAccount (VSUserAccount account, System.Action<Foundation.NSError> completion); public virtual System.Threading.Tasks.Task UpdateUserAccountAsync (VSUserAccount account); } ``` #### New Type: VideoSubscriberAccount.VSUserAccountQueryOption ```csharp [Serializable] public enum VSUserAccountQueryOption { AllDevices = 1, None = 0, } ``` #### New Type: VideoSubscriberAccount.VSUserAccountQueryOptions ```csharp [Serializable] [Flags] public enum VSUserAccountQueryOptions { AllDevices = 1, None = 0, } ``` #### New Type: VideoSubscriberAccount.VSUserAccountType ```csharp [Serializable] public enum VSUserAccountType { Free = 0, Paid = 1, } ``` ### Namespace Vision #### Type Changed: Vision.VNErrorCode Added values: ```csharp Timeout = 20, TuriCore = -1, ``` #### Type Changed: Vision.VNFaceLandmarkRegion2D Added property: ```csharp public virtual VNPointsClassification PointsClassification { get; } ``` #### Type Changed: Vision.VNGenerateOpticalFlowRequest Added property: ```csharp public virtual bool KeepNetworkOutput { get; set; } ``` #### Type Changed: Vision.VNHorizonObservation Added method: ```csharp public virtual CoreGraphics.CGAffineTransform CreateTransform (nuint width, nuint height); ``` #### Type Changed: Vision.VNImageCropAndScaleOption Added values: ```csharp ScaleFillRotate90Ccw = 258, ScaleFitRotate90Ccw = 257, ``` #### Type Changed: Vision.VNRecognizeTextRequest Added property: ```csharp public virtual bool AutomaticallyDetectsLanguage { get; set; } ``` #### New Type: Vision.VNPointsClassification ```csharp [Serializable] public enum VNPointsClassification { ClosedPath = 2, Disconnected = 0, OpenPath = 1, } ```