--- title: "Xamarin.iOS SDK API diff: 16.4.0 vs 17.3.0" description: List of API changes between Xamarin.iOS versions 16.4.0 and 17.3.0. author: spouliot ms.author: sepoulio ms.date: 4/4/2024 ms.topic: article ms.assetid: 9239af2f-232e-d444-683b-c0b1a38664de ms.prod: xamarin --- # Xamarin.iOS SDK API diff: 16.4.0 vs 17.3.0 <a name="Xamarin.iOS.dll" /> ## Xamarin.iOS.dll ### Namespace AVFoundation #### Type Changed: AVFoundation.AVAssetDownloadDelegate Added methods: ```csharp public virtual void DidReceiveInformationalResponse (Foundation.NSUrlSession session, Foundation.NSUrlSessionTask task, Foundation.NSHttpUrlResponse response); public virtual void NeedNewBodyStream (Foundation.NSUrlSession session, Foundation.NSUrlSessionTask task, long offset, System.Action<Foundation.NSInputStream> completionHandler); ``` #### Type Changed: AVFoundation.AVAssetImageGenerator Added method: ```csharp public virtual void GenerateCGImageAsynchronously (CoreMedia.CMTime requestedTime, AVAssetImageGenerateAsynchronouslyForTimeCompletionHandler handler); ``` #### Type Changed: AVFoundation.AVAudioSession Obsoleted properties: ```diff [Obsolete ("Use 'AVAudioSessionCategory' enum values instead.")] public static Foundation.NSString CategoryAmbient { get; } [Obsolete ("Use 'AVAudioSessionCategory' enum values instead.")] public static Foundation.NSString CategoryAudioProcessing { get; } [Obsolete ("Use 'AVAudioSessionCategory' enum values instead.")] public static Foundation.NSString CategoryMultiRoute { get; } [Obsolete ("Use 'AVAudioSessionCategory' enum values instead.")] public static Foundation.NSString CategoryPlayAndRecord { get; } [Obsolete ("Use 'AVAudioSessionCategory' enum values instead.")] public static Foundation.NSString CategoryPlayback { get; } [Obsolete ("Use 'AVAudioSessionCategory' enum values instead.")] public static Foundation.NSString CategoryRecord { get; } [Obsolete ("Use 'AVAudioSessionCategory' enum values instead.")] public static Foundation.NSString CategorySoloAmbient { get; } [Obsolete ("Use 'AVAudioSessionMode' enum values instead.")] public static Foundation.NSString ModeDefault { get; } [Obsolete ("Use 'AVAudioSessionMode' enum values instead.")] public static Foundation.NSString ModeGameChat { get; } [Obsolete ("Use 'AVAudioSessionMode' enum values instead.")] public static Foundation.NSString ModeMeasurement { get; } [Obsolete ("Use 'AVAudioSessionMode' enum values instead.")] public static Foundation.NSString ModeMoviePlayback { get; } [Obsolete ("Use 'AVAudioSessionMode' enum values instead.")] public static Foundation.NSString ModeSpokenAudio { get; } [Obsolete ("Use 'AVAudioSessionMode' enum values instead.")] public static Foundation.NSString ModeVideoChat { get; } [Obsolete ("Use 'AVAudioSessionMode' enum values instead.")] public static Foundation.NSString ModeVideoRecording { get; } [Obsolete ("Use 'AVAudioSessionMode' enum values instead.")] public static Foundation.NSString ModeVoiceChat { get; } [Obsolete ("Use 'AVAudioSessionMode' enum values instead.")] public static Foundation.NSString VoicePrompt { get; } ``` Added properties: ```csharp public static Foundation.NSString RenderingCapabilitiesChangeNotification { get; } public virtual AVAudioSessionRenderingMode RenderingMode { get; } public static Foundation.NSString RenderingModeChangeNotification { get; } public virtual AVAudioChannelLayout[] SupportedOutputChannelLayouts { get; } ``` Added methods: ```csharp public bool SetCategory (AVAudioSessionCategory category, AVAudioSessionCategoryOptions options, out Foundation.NSError outError); public Foundation.NSError SetCategory (AVAudioSessionCategory category, AVAudioSessionMode mode, AVAudioSessionCategoryOptions options); public Foundation.NSError SetCategory (AVAudioSessionCategory category, string mode, AVAudioSessionCategoryOptions options); public bool SetCategory (AVAudioSessionCategory category, AVAudioSessionMode mode, AVAudioSessionCategoryOptions options, out Foundation.NSError outError); public bool SetCategory (AVAudioSessionCategory category, string mode, AVAudioSessionCategoryOptions options, out Foundation.NSError outError); public bool SetCategory (AVAudioSessionCategory category, AVAudioSessionMode mode, AVAudioSessionRouteSharingPolicy policy, AVAudioSessionCategoryOptions options, out Foundation.NSError outError); public bool SetCategory (AVAudioSessionCategory category, string mode, AVAudioSessionRouteSharingPolicy policy, AVAudioSessionCategoryOptions options, out Foundation.NSError outError); public bool SetMode (AVAudioSessionMode mode, out Foundation.NSError error); ``` #### Type Changed: AVFoundation.AVAudioSession.Notifications Added methods: ```csharp public static Foundation.NSObject ObserveRenderingCapabilitiesChange (System.EventHandler<Foundation.NSNotificationEventArgs> handler); public static Foundation.NSObject ObserveRenderingCapabilitiesChange (Foundation.NSObject objectToObserve, System.EventHandler<Foundation.NSNotificationEventArgs> handler); public static Foundation.NSObject ObserveRenderingModeChange (System.EventHandler<RenderingModeChangeNotificationEventArgs> handler); public static Foundation.NSObject ObserveRenderingModeChange (Foundation.NSObject objectToObserve, System.EventHandler<RenderingModeChangeNotificationEventArgs> handler); ``` #### Type Changed: AVFoundation.AVAudioSinkNode Obsoleted constructors: ```diff [Obsolete ("Use the overload that takes a delegate that does not take a 'ref AudioBuffers' instead. Assigning a value to the 'inputData' parameter in the callback has no effect.")] public AVAudioSinkNode (AVAudioSinkNodeReceiverHandler receiverHandler); ``` Added constructors: ```csharp public AVAudioSinkNode (AVAudioSinkNodeReceiverHandler2 receiverHandler); public AVAudioSinkNode (AVAudioSinkNodeReceiverHandlerRaw receiverHandler); ``` #### Type Changed: AVFoundation.AVCaptureSession Added properties: ```csharp public virtual float HardwareCost { get; } public virtual bool MultitaskingCameraAccessEnabled { get; set; } public virtual bool MultitaskingCameraAccessSupported { get; } ``` #### Type Changed: AVFoundation.AVMetadataObjectTypeExtensions Added methods: ```csharp public static Foundation.NSString[] ToArray (this AVMetadataObjectType value); public static AVMetadataObjectType ToFlags (System.Collections.Generic.IEnumerable<Foundation.NSString> constants); ``` #### Type Changed: AVFoundation.AVMutableComposition Added method: ```csharp public virtual Cinematic.CNCompositionInfo AddTracks (Cinematic.CNAssetInfo assetInfo, int preferredStartingTrackID); ``` #### Type Changed: AVFoundation.AVSpeechSynthesizer Obsoleted methods: ```diff [Obsolete ("Do not use this API, it doesn't work correctly. Use the non-Async version (WriteUtterance) instead.")] public virtual System.Threading.Tasks.Task<AVAudioBuffer> WriteUtteranceAsync (AVSpeechUtterance utterance); ``` #### New Type: AVFoundation.AVAssetImageGenerateAsynchronouslyForTimeCompletionHandler ```csharp public sealed delegate AVAssetImageGenerateAsynchronouslyForTimeCompletionHandler : System.MulticastDelegate { // constructors public AVAssetImageGenerateAsynchronouslyForTimeCompletionHandler (object object, IntPtr method); // methods public virtual System.IAsyncResult BeginInvoke (CoreGraphics.CGImage imageRef, CoreMedia.CMTime actualTime, Foundation.NSError error, System.AsyncCallback callback, object object); public virtual void EndInvoke (System.IAsyncResult result); public virtual void Invoke (CoreGraphics.CGImage imageRef, CoreMedia.CMTime actualTime, Foundation.NSError error); } ``` #### New Type: AVFoundation.AVAudioSessionCategoryExtensions ```csharp public static class AVAudioSessionCategoryExtensions { // methods public static Foundation.NSString GetConstant (this AVAudioSessionCategory self); public static AVAudioSessionCategory GetValue (Foundation.NSString constant); } ``` #### New Type: AVFoundation.AVAudioSessionMode ```csharp [Serializable] public enum AVAudioSessionMode { Default = 0, GameChat = 4, Measurement = 3, MoviePlayback = 5, SpokenAudio = 7, VideoChat = 6, VideoRecording = 2, VoiceChat = 1, VoicePrompt = 8, } ``` #### New Type: AVFoundation.AVAudioSessionModeExtensions ```csharp public static class AVAudioSessionModeExtensions { // methods public static Foundation.NSString GetConstant (this AVAudioSessionMode self); public static AVAudioSessionMode GetValue (Foundation.NSString constant); } ``` #### New Type: AVFoundation.AVAudioSessionRenderingMode ```csharp [Serializable] public enum AVAudioSessionRenderingMode { DolbyAtmos = 5, DolbyAudio = 4, MonoStereo = 1, NotApplicable = 0, SpatialAudio = 3, Surround = 2, } ``` #### New Type: AVFoundation.AVAudioSinkNodeReceiverHandler2 ```csharp public sealed delegate AVAudioSinkNodeReceiverHandler2 : System.MulticastDelegate { // constructors public AVAudioSinkNodeReceiverHandler2 (object object, IntPtr method); // methods public virtual System.IAsyncResult BeginInvoke (AudioToolbox.AudioTimeStamp timestamp, uint frameCount, AudioToolbox.AudioBuffers inputData, System.AsyncCallback callback, object object); public virtual int EndInvoke (System.IAsyncResult result); public virtual int Invoke (AudioToolbox.AudioTimeStamp timestamp, uint frameCount, AudioToolbox.AudioBuffers inputData); } ``` #### New Type: AVFoundation.AVAudioSinkNodeReceiverHandlerRaw ```csharp public sealed delegate AVAudioSinkNodeReceiverHandlerRaw : System.MulticastDelegate { // constructors public AVAudioSinkNodeReceiverHandlerRaw (object object, IntPtr method); // methods public virtual System.IAsyncResult BeginInvoke (IntPtr timestamp, uint frameCount, IntPtr inputData, System.AsyncCallback callback, object object); public virtual int EndInvoke (System.IAsyncResult result); public virtual int Invoke (IntPtr timestamp, uint frameCount, IntPtr inputData); } ``` #### New Type: AVFoundation.RenderingModeChangeNotificationEventArgs ```csharp public class RenderingModeChangeNotificationEventArgs : Foundation.NSNotificationEventArgs { // constructors public RenderingModeChangeNotificationEventArgs (Foundation.NSNotification notification); // properties public AVAudioSessionRenderingMode NewRenderingMode { get; } } ``` ### Namespace AVKit #### New Type: AVKit.AVCaptureEvent ```csharp public class AVCaptureEvent : Foundation.NSObject { // constructors protected AVCaptureEvent (Foundation.NSObjectFlag t); protected AVCaptureEvent (IntPtr handle); // properties public override IntPtr ClassHandle { get; } public virtual AVCaptureEventPhase Phase { get; } } ``` #### New Type: AVKit.AVCaptureEventInteraction ```csharp public class AVCaptureEventInteraction : Foundation.NSObject, ObjCRuntime.INativeObject, System.IDisposable, UIKit.IUIInteraction { // constructors protected AVCaptureEventInteraction (Foundation.NSObjectFlag t); public AVCaptureEventInteraction (System.Action<AVCaptureEvent> handler); protected AVCaptureEventInteraction (IntPtr handle); public AVCaptureEventInteraction (System.Action<AVCaptureEvent> primaryHandler, System.Action<AVCaptureEvent> secondaryHandler); // properties public override IntPtr ClassHandle { get; } public virtual bool Enabled { get; set; } public virtual UIKit.UIView View { get; } // methods public virtual void DidMoveToView (UIKit.UIView view); protected override void Dispose (bool disposing); public virtual void WillMoveToView (UIKit.UIView view); } ``` #### New Type: AVKit.AVCaptureEventPhase ```csharp [Serializable] public enum AVCaptureEventPhase { Began = 0, Cancelled = 2, Ended = 1, } ``` ### Namespace Accessibility #### Type Changed: Accessibility.AXHearingUtilities Added method: ```csharp public static byte AXSupportsBidirectionalAXMFiHearingDeviceStreaming (); ``` #### New Type: Accessibility.AXAnimatedImagesUtilities ```csharp public static class AXAnimatedImagesUtilities { // properties public static Foundation.NSString AnimatedImagesEnabledDidChangeNotification { get; } public static bool Enabled { get; } // inner types public static class Notifications { // methods public static Foundation.NSObject ObserveAnimatedImagesEnabledDidChange (System.EventHandler<Foundation.NSNotificationEventArgs> handler); public static Foundation.NSObject ObserveAnimatedImagesEnabledDidChange (Foundation.NSObject objectToObserve, System.EventHandler<Foundation.NSNotificationEventArgs> handler); } } ``` #### New Type: Accessibility.AXCustomContentProvider_Extensions ```csharp public static class AXCustomContentProvider_Extensions { // methods public static System.Func<AXCustomContent[]> GetAccessibilityCustomContentHandler (this IAXCustomContentProvider This); public static void SetAccessibilityCustomContentHandler (this IAXCustomContentProvider This, System.Func<AXCustomContent[]> value); } ``` #### New Type: Accessibility.AXPrefers ```csharp public static class AXPrefers { // properties public static Foundation.NSString HorizontalTextLayoutDidChangeNotification { get; } // methods public static bool HorizontalTextEnabled (); // inner types public static class Notifications { // methods public static Foundation.NSObject ObserveHorizontalTextLayoutDidChange (System.EventHandler<Foundation.NSNotificationEventArgs> handler); public static Foundation.NSObject ObserveHorizontalTextLayoutDidChange (Foundation.NSObject objectToObserve, System.EventHandler<Foundation.NSNotificationEventArgs> handler); } } ``` ### Namespace AudioToolbox #### Type Changed: AudioToolbox.AudioChannelLayoutTag Added values: ```csharp Ogg_3_0 = 9830403, Ogg_4_0 = 12124164, Ogg_5_0 = 13893637, Ogg_5_1 = 13959174, Ogg_6_1 = 14024711, Ogg_7_1 = 14090248, ``` #### Type Changed: AudioToolbox.MusicPlayer Modified methods: ```diff -protected virtual void Dispose (bool disposing) +protected override void Dispose (bool disposing) ``` Added methods: ```csharp public MusicPlayerStatus GetTime (out double time); public MusicPlayerStatus SetTime (double time); ``` ### Namespace AudioUnit #### Type Changed: AudioUnit.AudioObjectPropertySelector Added value: ```csharp InputMute = 1852403056, ``` ### Namespace AuthenticationServices #### Type Changed: AuthenticationServices.ASAuthorizationPlatformPublicKeyCredentialAssertion Added properties: ```csharp public virtual ASAuthorizationPublicKeyCredentialAttachment Attachment { get; } public virtual ASAuthorizationPublicKeyCredentialLargeBlobRegistrationInput LargeBlob { get; } ``` Added method: ```csharp protected override void Dispose (bool disposing); ``` #### Type Changed: AuthenticationServices.ASAuthorizationPlatformPublicKeyCredentialAssertionRequest Added property: ```csharp public virtual ASAuthorizationPublicKeyCredentialLargeBlobAssertionInput LargeBlob { get; set; } ``` Added method: ```csharp protected override void Dispose (bool disposing); ``` #### Type Changed: AuthenticationServices.ASAuthorizationPlatformPublicKeyCredentialRegistration Added properties: ```csharp public virtual ASAuthorizationPublicKeyCredentialAttachment Attachment { get; } public virtual ASAuthorizationPublicKeyCredentialLargeBlobRegistrationInput LargeBlob { get; } ``` Added method: ```csharp protected override void Dispose (bool disposing); ``` #### Type Changed: AuthenticationServices.ASAuthorizationPlatformPublicKeyCredentialRegistrationRequest Added property: ```csharp public virtual ASAuthorizationPublicKeyCredentialLargeBlobRegistrationInput LargeBlob { get; set; } ``` Added method: ```csharp protected override void Dispose (bool disposing); ``` #### Type Changed: AuthenticationServices.ASCredentialIdentityStore Added methods: ```csharp public virtual void RemoveCredentialIdentityEntries (IASCredentialIdentity[] credentialIdentities, System.Action<System.Boolean,Foundation.NSError> completion); public virtual System.Threading.Tasks.Task<System.Tuple<System.Boolean,Foundation.NSError>> RemoveCredentialIdentityEntriesAsync (IASCredentialIdentity[] credentialIdentities); public virtual void ReplaceCredentialIdentityEntries (IASCredentialIdentity[] newCredentialIdentities, System.Action<System.Boolean,Foundation.NSError> completion); public virtual System.Threading.Tasks.Task<System.Tuple<System.Boolean,Foundation.NSError>> ReplaceCredentialIdentityEntriesAsync (IASCredentialIdentity[] newCredentialIdentities); public virtual void SaveCredentialIdentityEntries (IASCredentialIdentity[] credentialIdentities, System.Action<System.Boolean,Foundation.NSError> completion); public virtual System.Threading.Tasks.Task<System.Tuple<System.Boolean,Foundation.NSError>> SaveCredentialIdentityEntriesAsync (IASCredentialIdentity[] credentialIdentities); ``` #### Type Changed: AuthenticationServices.ASCredentialProviderExtensionContext Added methods: ```csharp public virtual void CompleteAssertionRequest (ASPasskeyAssertionCredential credential, System.Action<bool> completionHandler); public virtual System.Threading.Tasks.Task<bool> CompleteAssertionRequestAsync (ASPasskeyAssertionCredential credential); public virtual void CompleteRegistrationRequest (ASPasskeyRegistrationCredential credential, System.Action<bool> completionHandler); public virtual System.Threading.Tasks.Task<bool> CompleteRegistrationRequestAsync (ASPasskeyRegistrationCredential credential); ``` #### Type Changed: AuthenticationServices.ASCredentialProviderViewController Added methods: ```csharp public virtual void PrepareCredentialList (ASCredentialServiceIdentifier[] serviceIdentifiers, ASPasskeyCredentialRequestParameters requestParameters); public virtual void PrepareInterfaceForPasskeyRegistration (IASCredentialRequest registrationRequest); public virtual void PrepareInterfaceToProvideCredential (IASCredentialRequest credentialRequest); public virtual void ProvideCredentialWithoutUserInteraction (IASCredentialRequest credentialRequest); ``` #### Type Changed: AuthenticationServices.ASPasswordCredentialIdentity Added interface: ```csharp IASCredentialIdentity ``` #### New Type: AuthenticationServices.ASAuthorizationPublicKeyCredentialAttachment ```csharp [Serializable] public enum ASAuthorizationPublicKeyCredentialAttachment { CrossPlatform = 1, Platform = 0, } ``` #### New Type: AuthenticationServices.ASAuthorizationPublicKeyCredentialLargeBlobAssertionInput ```csharp public class ASAuthorizationPublicKeyCredentialLargeBlobAssertionInput : Foundation.NSObject { // constructors public ASAuthorizationPublicKeyCredentialLargeBlobAssertionInput (ASAuthorizationPublicKeyCredentialLargeBlobAssertionOperation operation); protected ASAuthorizationPublicKeyCredentialLargeBlobAssertionInput (Foundation.NSObjectFlag t); protected ASAuthorizationPublicKeyCredentialLargeBlobAssertionInput (IntPtr handle); // properties public override IntPtr ClassHandle { get; } public virtual Foundation.NSData DataToWrite { get; set; } public virtual ASAuthorizationPublicKeyCredentialLargeBlobAssertionOperation Operation { get; } // methods protected override void Dispose (bool disposing); } ``` #### New Type: AuthenticationServices.ASAuthorizationPublicKeyCredentialLargeBlobAssertionOperation ```csharp [Serializable] public enum ASAuthorizationPublicKeyCredentialLargeBlobAssertionOperation { Read = 0, Write = 1, } ``` #### New Type: AuthenticationServices.ASAuthorizationPublicKeyCredentialLargeBlobAssertionOutput ```csharp public class ASAuthorizationPublicKeyCredentialLargeBlobAssertionOutput : Foundation.NSObject { // constructors protected ASAuthorizationPublicKeyCredentialLargeBlobAssertionOutput (Foundation.NSObjectFlag t); protected ASAuthorizationPublicKeyCredentialLargeBlobAssertionOutput (IntPtr handle); // properties public override IntPtr ClassHandle { get; } public virtual bool DidWrite { get; } public virtual Foundation.NSData ReadData { get; } } ``` #### New Type: AuthenticationServices.ASAuthorizationPublicKeyCredentialLargeBlobRegistrationInput ```csharp public class ASAuthorizationPublicKeyCredentialLargeBlobRegistrationInput : Foundation.NSObject { // constructors public ASAuthorizationPublicKeyCredentialLargeBlobRegistrationInput (ASAuthorizationPublicKeyCredentialLargeBlobSupportRequirement requirement); protected ASAuthorizationPublicKeyCredentialLargeBlobRegistrationInput (Foundation.NSObjectFlag t); protected ASAuthorizationPublicKeyCredentialLargeBlobRegistrationInput (IntPtr handle); // properties public override IntPtr ClassHandle { get; } public virtual ASAuthorizationPublicKeyCredentialLargeBlobSupportRequirement SupportRequirement { get; set; } } ``` #### New Type: AuthenticationServices.ASAuthorizationPublicKeyCredentialLargeBlobRegistrationOutput ```csharp public class ASAuthorizationPublicKeyCredentialLargeBlobRegistrationOutput : Foundation.NSObject { // constructors public ASAuthorizationPublicKeyCredentialLargeBlobRegistrationOutput (); protected ASAuthorizationPublicKeyCredentialLargeBlobRegistrationOutput (Foundation.NSObjectFlag t); protected ASAuthorizationPublicKeyCredentialLargeBlobRegistrationOutput (IntPtr handle); // properties public override IntPtr ClassHandle { get; } public virtual bool IsSupported { get; } } ``` #### New Type: AuthenticationServices.ASAuthorizationPublicKeyCredentialLargeBlobSupportRequirement ```csharp [Serializable] public enum ASAuthorizationPublicKeyCredentialLargeBlobSupportRequirement { Preferred = 1, Required = 0, } ``` #### New Type: AuthenticationServices.ASAuthorizationWebBrowserPublicKeyCredentialManagerAuthorizationState ```csharp [Serializable] public enum ASAuthorizationWebBrowserPublicKeyCredentialManagerAuthorizationState { Authorized = 0, Denied = 1, NotDetermined = 2, } ``` #### New Type: AuthenticationServices.ASCredentialRequestType ```csharp [Serializable] public enum ASCredentialRequestType { PasskeyAssertion = 1, Password = 0, } ``` #### New Type: AuthenticationServices.ASPasskeyAssertionCredential ```csharp public class ASPasskeyAssertionCredential : Foundation.NSObject, IASAuthorizationCredential, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable { // constructors public ASPasskeyAssertionCredential (Foundation.NSCoder coder); protected ASPasskeyAssertionCredential (Foundation.NSObjectFlag t); protected ASPasskeyAssertionCredential (IntPtr handle); public ASPasskeyAssertionCredential (Foundation.NSData userHandle, string relyingParty, Foundation.NSData signature, Foundation.NSData clientDataHash, Foundation.NSData authenticatorData, Foundation.NSData credentialId); // properties public virtual Foundation.NSData AuthenticatorData { get; } public override IntPtr ClassHandle { get; } public virtual Foundation.NSData ClientDataHash { get; } public virtual Foundation.NSData CredentialId { get; } public virtual string RelyingParty { get; } public virtual Foundation.NSData Signature { get; } public virtual Foundation.NSData UserHandle { get; } // methods public virtual Foundation.NSObject Copy (Foundation.NSZone zone); public static ASPasskeyAssertionCredential CreateCredential (Foundation.NSData userHandle, string relyingParty, Foundation.NSData signature, Foundation.NSData clientDataHash, Foundation.NSData authenticatorData, Foundation.NSData credentialId); public virtual void EncodeTo (Foundation.NSCoder encoder); } ``` #### New Type: AuthenticationServices.ASPasskeyCredentialIdentity ```csharp public class ASPasskeyCredentialIdentity : Foundation.NSObject, IASCredentialIdentity, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable { // constructors public ASPasskeyCredentialIdentity (Foundation.NSCoder coder); protected ASPasskeyCredentialIdentity (Foundation.NSObjectFlag t); protected ASPasskeyCredentialIdentity (IntPtr handle); public ASPasskeyCredentialIdentity (string relyingPartyIdentifier, string userName, Foundation.NSData credentialId, Foundation.NSData userHandle, string recordIdentifier); // properties public override IntPtr ClassHandle { get; } public virtual Foundation.NSData CredentialId { get; } public virtual nint Rank { get; set; } public virtual string RecordIdentifier { get; } public virtual string RelyingPartyIdentifier { get; } public virtual ASCredentialServiceIdentifier ServiceIdentifier { get; } public virtual string User { get; } public virtual Foundation.NSData UserHandle { get; } public virtual string UserName { get; } // methods public virtual Foundation.NSObject Copy (Foundation.NSZone zone); public static ASPasskeyCredentialIdentity CreateIdentity (string relyingPartyIdentifier, string userName, Foundation.NSData credentialId, Foundation.NSData userHandle, string recordIdentifier); public virtual void EncodeTo (Foundation.NSCoder encoder); } ``` #### New Type: AuthenticationServices.ASPasskeyCredentialRequest ```csharp public class ASPasskeyCredentialRequest : Foundation.NSObject, IASCredentialRequest, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable { // constructors public ASPasskeyCredentialRequest (Foundation.NSCoder coder); protected ASPasskeyCredentialRequest (Foundation.NSObjectFlag t); protected ASPasskeyCredentialRequest (IntPtr handle); public ASPasskeyCredentialRequest (ASPasskeyCredentialIdentity credentialIdentity, Foundation.NSData clientDataHash, string userVerificationPreference, Foundation.NSNumber[] supportedAlgorithms); // properties public override IntPtr ClassHandle { get; } public virtual Foundation.NSData ClientDataHash { get; } public virtual IASCredentialIdentity CredentialIdentity { get; } public virtual Foundation.NSNumber[] SupportedAlgorithms { get; } public virtual ASCredentialRequestType Type { get; } public virtual string UserVerificationPreference { get; set; } // methods public virtual Foundation.NSObject Copy (Foundation.NSZone zone); public static ASPasskeyCredentialRequest Create (ASPasskeyCredentialIdentity credentialIdentity, Foundation.NSData clientDataHash, string userVerificationPreference, Foundation.NSNumber[] supportedAlgorithms); public virtual void EncodeTo (Foundation.NSCoder encoder); } ``` #### New Type: AuthenticationServices.ASPasskeyCredentialRequestParameters ```csharp public class ASPasskeyCredentialRequestParameters : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable { // constructors public ASPasskeyCredentialRequestParameters (Foundation.NSCoder coder); protected ASPasskeyCredentialRequestParameters (Foundation.NSObjectFlag t); protected ASPasskeyCredentialRequestParameters (IntPtr handle); // properties public virtual Foundation.NSData[] AllowedCredentials { get; } public override IntPtr ClassHandle { get; } public virtual Foundation.NSData ClientDataHash { get; } public virtual string RelyingPartyIdentifier { get; } public virtual string UserVerificationPreference { get; } // methods public virtual Foundation.NSObject Copy (Foundation.NSZone zone); public virtual void EncodeTo (Foundation.NSCoder encoder); } ``` #### New Type: AuthenticationServices.ASPasskeyRegistrationCredential ```csharp public class ASPasskeyRegistrationCredential : Foundation.NSObject, IASAuthorizationCredential, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable { // constructors public ASPasskeyRegistrationCredential (); public ASPasskeyRegistrationCredential (Foundation.NSCoder coder); protected ASPasskeyRegistrationCredential (Foundation.NSObjectFlag t); protected ASPasskeyRegistrationCredential (IntPtr handle); public ASPasskeyRegistrationCredential (string relyingParty, Foundation.NSData clientDataHash, Foundation.NSData credentialId, Foundation.NSData attestationObject); // properties public virtual Foundation.NSData AttestationObject { get; } public override IntPtr ClassHandle { get; } public virtual Foundation.NSData ClientDataHash { get; } public virtual Foundation.NSData CredentialId { get; } public virtual string RelyingParty { get; } // methods public virtual Foundation.NSObject Copy (Foundation.NSZone zone); public static ASPasskeyRegistrationCredential CreateCredential (string relyingParty, Foundation.NSData clientDataHash, Foundation.NSData credentialId, Foundation.NSData attestationObject); public virtual void EncodeTo (Foundation.NSCoder encoder); } ``` #### New Type: AuthenticationServices.ASPasswordCredentialRequest ```csharp public class ASPasswordCredentialRequest : Foundation.NSObject, IASCredentialRequest, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable { // constructors public ASPasswordCredentialRequest (ASPasswordCredentialIdentity credentialIdentity); public ASPasswordCredentialRequest (Foundation.NSCoder coder); protected ASPasswordCredentialRequest (Foundation.NSObjectFlag t); protected ASPasswordCredentialRequest (IntPtr handle); // properties public override IntPtr ClassHandle { get; } public virtual IASCredentialIdentity CredentialIdentity { get; } public virtual ASCredentialRequestType Type { get; } // methods public virtual Foundation.NSObject Copy (Foundation.NSZone zone); public virtual void EncodeTo (Foundation.NSCoder encoder); public static ASPasswordCredentialRequest Request (ASPasswordCredentialIdentity credentialIdentity); } ``` #### New Type: AuthenticationServices.ASPublicKeyCredentialClientDataCrossOriginValue ```csharp [Serializable] public enum ASPublicKeyCredentialClientDataCrossOriginValue { CrossOrigin = 1, NotSet = 0, SameOriginWithAncestors = 2, } ``` #### New Type: AuthenticationServices.ASSettingsHelper ```csharp public class ASSettingsHelper : Foundation.NSObject { // constructors protected ASSettingsHelper (Foundation.NSObjectFlag t); protected ASSettingsHelper (IntPtr handle); // properties public override IntPtr ClassHandle { get; } // methods public static void OpenCredentialProviderAppSettings (System.Action<Foundation.NSError> completionHandler); public static System.Threading.Tasks.Task OpenCredentialProviderAppSettingsAsync (); public static void OpenVerificationCodeAppSettings (System.Action<Foundation.NSError> completionHandler); public static System.Threading.Tasks.Task OpenVerificationCodeAppSettingsAsync (); } ``` #### New Type: AuthenticationServices.IASCredentialIdentity ```csharp public interface IASCredentialIdentity : ObjCRuntime.INativeObject, System.IDisposable { // properties public virtual nint Rank { get; set; } public virtual string RecordIdentifier { get; } public virtual ASCredentialServiceIdentifier ServiceIdentifier { get; } public virtual string User { get; } } ``` #### New Type: AuthenticationServices.IASCredentialRequest ```csharp public interface IASCredentialRequest : Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable { // properties public virtual IASCredentialIdentity CredentialIdentity { get; } public virtual ASCredentialRequestType Type { get; } } ``` ### Namespace BackgroundAssets #### New Type: BackgroundAssets.BAErrorCode ```csharp [Serializable] public enum BAErrorCode { CallFromExtensionNotAllowed = 50, CallFromInactiveProcessNotAllowed = 51, CallerConnectionInvalid = 56, CallerConnectionNotAccepted = 55, DownloadAlreadyFailed = 103, DownloadAlreadyScheduled = 100, DownloadBackgroundActivityProhibited = 111, DownloadEssentialDownloadNotPermitted = 109, DownloadFailedToStart = 102, DownloadInvalid = 0, DownloadNotScheduled = 101, DownloadWouldExceedAllowance = 112, SessionDownloadAllowanceExceeded = 204, SessionDownloadDisallowedByAllowance = 203, SessionDownloadDisallowedByDomain = 202, SessionDownloadNotPermittedBeforeAppLaunch = 206, } ``` #### New Type: BackgroundAssets.BAErrorCodeExtensions ```csharp public static class BAErrorCodeExtensions { // methods public static Foundation.NSString GetDomain (this BAErrorCode self); } ``` ### Namespace BackgroundTasks #### New Type: BackgroundTasks.BGHealthResearchTask ```csharp public class BGHealthResearchTask : BackgroundTasks.BGProcessingTask { // constructors public BGHealthResearchTask (); protected BGHealthResearchTask (Foundation.NSObjectFlag t); protected BGHealthResearchTask (IntPtr handle); // properties public override IntPtr ClassHandle { get; } } ``` #### New Type: BackgroundTasks.BGHealthResearchTaskRequest ```csharp public class BGHealthResearchTaskRequest : BackgroundTasks.BGProcessingTaskRequest { // constructors public BGHealthResearchTaskRequest (); protected BGHealthResearchTaskRequest (Foundation.NSObjectFlag t); protected BGHealthResearchTaskRequest (IntPtr handle); // properties public override IntPtr ClassHandle { get; } public virtual string ProtectionTypeOfRequiredData { get; set; } } ``` ### Namespace CallKit #### Type Changed: CallKit.CXErrorCodeIncomingCallError Added value: ```csharp FilteredDuringRestrictedSharingMode = 5, ``` #### Type Changed: CallKit.CXSetMutedCallAction Added constructor: ```csharp public CXSetMutedCallAction (Foundation.NSUuid callUuid); ``` ### Namespace CarPlay #### Type Changed: CarPlay.CPTabBarTemplate Added methods: ```csharp public virtual void SelectTemplate (CPTemplate newTemplate); public virtual void SelectTemplate (nint index); ``` ### Namespace CloudKit #### Type Changed: CloudKit.CKQueryOperation Added property: ```csharp public static nint MaximumResults { get; } ``` #### Type Changed: CloudKit.CKRecord Added properties: ```csharp public static Foundation.NSString CreationDateKey { get; } public static Foundation.NSString CreatorUserRecordIdKey { get; } public static Foundation.NSString LastModifiedUserRecordIdKey { get; } public static Foundation.NSString ModificationDateKey { get; } public static Foundation.NSString RecordIdKey { get; } ``` #### Type Changed: CloudKit.CKShareMetadata Obsoleted constructors: ```diff [Obsolete ("Get them from 'CKFetchShareMetadataOperation' or platform-specific scene / app delegate callbacks.")] public CKShareMetadata (); ``` #### New Type: CloudKit.CKSyncEngine ```csharp public class CKSyncEngine : Foundation.NSObject { // constructors public CKSyncEngine (CKSyncEngineConfiguration configuration); protected CKSyncEngine (Foundation.NSObjectFlag t); protected CKSyncEngine (IntPtr handle); // properties public override IntPtr ClassHandle { get; } public virtual CKDatabase Database { get; } public virtual CKSyncEngineState State { get; } // methods public virtual void CancelOperations (System.Action completionHandler); public virtual System.Threading.Tasks.Task CancelOperationsAsync (); public virtual void FetchChanges (System.Action<Foundation.NSError> completionHandler); public virtual void FetchChanges (CKSyncEngineFetchChangesOptions options, System.Action<Foundation.NSError> completionHandler); public virtual System.Threading.Tasks.Task FetchChangesAsync (); public virtual System.Threading.Tasks.Task FetchChangesAsync (CKSyncEngineFetchChangesOptions options); public virtual void SendChanges (System.Action<Foundation.NSError> completionHandler); public virtual void SendChanges (CKSyncEngineSendChangesOptions options, System.Action<Foundation.NSError> completionHandler); public virtual System.Threading.Tasks.Task SendChangesAsync (); public virtual System.Threading.Tasks.Task SendChangesAsync (CKSyncEngineSendChangesOptions options); } ``` #### New Type: CloudKit.CKSyncEngineAccountChangeEvent ```csharp public class CKSyncEngineAccountChangeEvent : CloudKit.CKSyncEngineEvent { // constructors public CKSyncEngineAccountChangeEvent (); protected CKSyncEngineAccountChangeEvent (Foundation.NSObjectFlag t); protected CKSyncEngineAccountChangeEvent (IntPtr handle); // properties public virtual CKSyncEngineAccountChangeType ChangeType { get; } public override IntPtr ClassHandle { get; } public virtual CKRecordID CurrentUser { get; } public virtual CKRecordID PreviousUser { get; } } ``` #### New Type: CloudKit.CKSyncEngineAccountChangeType ```csharp [Serializable] public enum CKSyncEngineAccountChangeType { SignIn = 0, SignOut = 1, SwitchAccounts = 2, } ``` #### New Type: CloudKit.CKSyncEngineConfiguration ```csharp public class CKSyncEngineConfiguration : Foundation.NSObject { // constructors protected CKSyncEngineConfiguration (Foundation.NSObjectFlag t); protected CKSyncEngineConfiguration (IntPtr handle); public CKSyncEngineConfiguration (CKDatabase database, CKSyncEngineStateSerialization stateSerialization, ICKSyncEngineDelegate delegate); // properties public virtual bool AutomaticallySync { get; set; } public override IntPtr ClassHandle { get; } public virtual CKDatabase Database { get; set; } public ICKSyncEngineDelegate Delegate { get; set; } public virtual CKSyncEngineStateSerialization StateSerialization { get; set; } public virtual string SubscriptionId { get; set; } public virtual Foundation.NSObject WeakDelegate { get; set; } // methods protected override void Dispose (bool disposing); } ``` #### New Type: CloudKit.CKSyncEngineDelegate ```csharp public abstract class CKSyncEngineDelegate : Foundation.NSObject, ICKSyncEngineDelegate, ObjCRuntime.INativeObject, System.IDisposable { // constructors protected CKSyncEngineDelegate (); protected CKSyncEngineDelegate (Foundation.NSObjectFlag t); protected CKSyncEngineDelegate (IntPtr handle); // methods public abstract void SyncEngine (CKSyncEngine syncEngine, CKSyncEngineEvent event); public virtual CKSyncEngineFetchChangesOptions SyncEngine (CKSyncEngine syncEngine, CKSyncEngineFetchChangesContext context); public abstract CKSyncEngineRecordZoneChangeBatch SyncEngine (CKSyncEngine syncEngine, CKSyncEngineSendChangesContext context); } ``` #### New Type: CloudKit.CKSyncEngineDelegate_Extensions ```csharp public static class CKSyncEngineDelegate_Extensions { // methods public static CKSyncEngineFetchChangesOptions SyncEngine (this ICKSyncEngineDelegate This, CKSyncEngine syncEngine, CKSyncEngineFetchChangesContext context); } ``` #### New Type: CloudKit.CKSyncEngineDidFetchChangesEvent ```csharp public class CKSyncEngineDidFetchChangesEvent : CloudKit.CKSyncEngineEvent { // constructors public CKSyncEngineDidFetchChangesEvent (); protected CKSyncEngineDidFetchChangesEvent (Foundation.NSObjectFlag t); protected CKSyncEngineDidFetchChangesEvent (IntPtr handle); // properties public override IntPtr ClassHandle { get; } public virtual CKSyncEngineFetchChangesContext Context { get; } } ``` #### New Type: CloudKit.CKSyncEngineDidFetchRecordZoneChangesEvent ```csharp public class CKSyncEngineDidFetchRecordZoneChangesEvent : CloudKit.CKSyncEngineEvent { // constructors public CKSyncEngineDidFetchRecordZoneChangesEvent (); protected CKSyncEngineDidFetchRecordZoneChangesEvent (Foundation.NSObjectFlag t); protected CKSyncEngineDidFetchRecordZoneChangesEvent (IntPtr handle); // properties public override IntPtr ClassHandle { get; } public virtual Foundation.NSError Error { get; } public virtual CKRecordZoneID ZoneId { get; } } ``` #### New Type: CloudKit.CKSyncEngineDidSendChangesEvent ```csharp public class CKSyncEngineDidSendChangesEvent : CloudKit.CKSyncEngineEvent { // constructors public CKSyncEngineDidSendChangesEvent (); protected CKSyncEngineDidSendChangesEvent (Foundation.NSObjectFlag t); protected CKSyncEngineDidSendChangesEvent (IntPtr handle); // properties public override IntPtr ClassHandle { get; } public virtual CKSyncEngineSendChangesContext Context { get; } } ``` #### New Type: CloudKit.CKSyncEngineEvent ```csharp public class CKSyncEngineEvent : Foundation.NSObject { // constructors protected CKSyncEngineEvent (Foundation.NSObjectFlag t); protected CKSyncEngineEvent (IntPtr handle); // properties public virtual CKSyncEngineAccountChangeEvent AccountChangeEvent { get; } public override IntPtr ClassHandle { get; } public virtual CKSyncEngineDidFetchChangesEvent DidFetchChangesEvent { get; } public virtual CKSyncEngineDidFetchRecordZoneChangesEvent DidFetchRecordZoneChangesEvent { get; } public virtual CKSyncEngineDidSendChangesEvent DidSendChangesEvent { get; } public virtual CKSyncEngineFetchedDatabaseChangesEvent FetchedDatabaseChangesEvent { get; } public virtual CKSyncEngineFetchedRecordZoneChangesEvent FetchedRecordZoneChangesEvent { get; } public virtual CKSyncEngineSentDatabaseChangesEvent SentDatabaseChangesEvent { get; } public virtual CKSyncEngineSentRecordZoneChangesEvent SentRecordZoneChangesEvent { get; } public virtual CKSyncEngineStateUpdateEvent StateUpdateEvent { get; } public virtual CKSyncEngineEventType Type { get; } public virtual CKSyncEngineWillFetchChangesEvent WillFetchChangesEvent { get; } public virtual CKSyncEngineWillFetchRecordZoneChangesEvent WillFetchRecordZoneChangesEvent { get; } public virtual CKSyncEngineWillSendChangesEvent WillSendChangesEvent { get; } } ``` #### New Type: CloudKit.CKSyncEngineEventType ```csharp [Serializable] public enum CKSyncEngineEventType { AccountChange = 1, DidFetchChanges = 9, DidFetchRecordZoneChanges = 8, DidSendChanges = 11, FetchedDatabaseChanges = 2, FetchedRecordZoneChanges = 3, SentDatabaseChanges = 4, SentRecordZoneChanges = 5, StateUpdate = 0, WillFetchChanges = 6, WillFetchRecordZoneChanges = 7, WillSendChanges = 10, } ``` #### New Type: CloudKit.CKSyncEngineFailedRecordSave ```csharp public class CKSyncEngineFailedRecordSave : Foundation.NSObject { // constructors protected CKSyncEngineFailedRecordSave (Foundation.NSObjectFlag t); protected CKSyncEngineFailedRecordSave (IntPtr handle); // properties public override IntPtr ClassHandle { get; } public virtual Foundation.NSError Error { get; } public virtual CKRecord Record { get; } } ``` #### New Type: CloudKit.CKSyncEngineFailedZoneSave ```csharp public class CKSyncEngineFailedZoneSave : Foundation.NSObject { // constructors protected CKSyncEngineFailedZoneSave (Foundation.NSObjectFlag t); protected CKSyncEngineFailedZoneSave (IntPtr handle); // properties public override IntPtr ClassHandle { get; } public virtual Foundation.NSError Error { get; } public virtual CKRecordZone RecordZone { get; } } ``` #### New Type: CloudKit.CKSyncEngineFetchChangesContext ```csharp public class CKSyncEngineFetchChangesContext : Foundation.NSObject { // constructors protected CKSyncEngineFetchChangesContext (Foundation.NSObjectFlag t); protected CKSyncEngineFetchChangesContext (IntPtr handle); // properties public override IntPtr ClassHandle { get; } public virtual CKSyncEngineFetchChangesOptions Options { get; } public virtual CKSyncEngineSyncReason Reason { get; } } ``` #### New Type: CloudKit.CKSyncEngineFetchChangesOptions ```csharp public class CKSyncEngineFetchChangesOptions : Foundation.NSObject, Foundation.INSCopying, ObjCRuntime.INativeObject, System.IDisposable { // constructors public CKSyncEngineFetchChangesOptions (); public CKSyncEngineFetchChangesOptions (CKSyncEngineFetchChangesScope scope); protected CKSyncEngineFetchChangesOptions (Foundation.NSObjectFlag t); protected CKSyncEngineFetchChangesOptions (IntPtr handle); // properties public override IntPtr ClassHandle { get; } public virtual CKOperationGroup OperationGroup { get; set; } public virtual CKRecordZoneID[] PrioritizedZoneIds { get; set; } public virtual CKSyncEngineFetchChangesScope Scope { get; set; } // methods public virtual Foundation.NSObject Copy (Foundation.NSZone zone); } ``` #### New Type: CloudKit.CKSyncEngineFetchChangesScope ```csharp public class CKSyncEngineFetchChangesScope : Foundation.NSObject, Foundation.INSCopying, ObjCRuntime.INativeObject, System.IDisposable { // constructors public CKSyncEngineFetchChangesScope (); protected CKSyncEngineFetchChangesScope (Foundation.NSObjectFlag t); protected CKSyncEngineFetchChangesScope (IntPtr handle); public CKSyncEngineFetchChangesScope (Foundation.NSSet<CKRecordZoneID> zoneIds, bool excluded); // properties public override IntPtr ClassHandle { get; } public virtual Foundation.NSSet<CKRecordZoneID> ExcludedZoneIds { get; } public virtual Foundation.NSSet<CKRecordZoneID> ZoneIds { get; } // methods public virtual bool Contains (CKRecordZoneID zoneId); public virtual Foundation.NSObject Copy (Foundation.NSZone zone); } ``` #### New Type: CloudKit.CKSyncEngineFetchedDatabaseChangesEvent ```csharp public class CKSyncEngineFetchedDatabaseChangesEvent : CloudKit.CKSyncEngineEvent { // constructors public CKSyncEngineFetchedDatabaseChangesEvent (); protected CKSyncEngineFetchedDatabaseChangesEvent (Foundation.NSObjectFlag t); protected CKSyncEngineFetchedDatabaseChangesEvent (IntPtr handle); // properties public override IntPtr ClassHandle { get; } public virtual CKSyncEngineFetchedZoneDeletion[] Deletions { get; } public virtual CKRecordZone[] Modifications { get; } } ``` #### New Type: CloudKit.CKSyncEngineFetchedRecordDeletion ```csharp public class CKSyncEngineFetchedRecordDeletion : Foundation.NSObject { // constructors protected CKSyncEngineFetchedRecordDeletion (Foundation.NSObjectFlag t); protected CKSyncEngineFetchedRecordDeletion (IntPtr handle); // properties public override IntPtr ClassHandle { get; } public virtual CKRecordID RecordId { get; } public virtual string RecordType { get; } } ``` #### New Type: CloudKit.CKSyncEngineFetchedRecordZoneChangesEvent ```csharp public class CKSyncEngineFetchedRecordZoneChangesEvent : CloudKit.CKSyncEngineEvent { // constructors public CKSyncEngineFetchedRecordZoneChangesEvent (); protected CKSyncEngineFetchedRecordZoneChangesEvent (Foundation.NSObjectFlag t); protected CKSyncEngineFetchedRecordZoneChangesEvent (IntPtr handle); // properties public override IntPtr ClassHandle { get; } public virtual CKSyncEngineFetchedRecordDeletion[] Deletions { get; } public virtual CKRecord[] Modifications { get; } } ``` #### New Type: CloudKit.CKSyncEngineFetchedZoneDeletion ```csharp public class CKSyncEngineFetchedZoneDeletion : Foundation.NSObject { // constructors protected CKSyncEngineFetchedZoneDeletion (Foundation.NSObjectFlag t); protected CKSyncEngineFetchedZoneDeletion (IntPtr handle); // properties public override IntPtr ClassHandle { get; } public virtual CKSyncEngineZoneDeletionReason Reason { get; } public virtual CKRecordZoneID ZoneId { get; } } ``` #### New Type: CloudKit.CKSyncEnginePendingDatabaseChange ```csharp public class CKSyncEnginePendingDatabaseChange : Foundation.NSObject { // constructors protected CKSyncEnginePendingDatabaseChange (Foundation.NSObjectFlag t); protected CKSyncEnginePendingDatabaseChange (IntPtr handle); // properties public override IntPtr ClassHandle { get; } public virtual CKSyncEnginePendingDatabaseChangeType Type { get; } public virtual CKRecordZoneID ZoneId { get; } } ``` #### New Type: CloudKit.CKSyncEnginePendingDatabaseChangeType ```csharp [Serializable] public enum CKSyncEnginePendingDatabaseChangeType { DeleteZone = 1, SaveZone = 0, } ``` #### New Type: CloudKit.CKSyncEnginePendingRecordZoneChange ```csharp public class CKSyncEnginePendingRecordZoneChange : Foundation.NSObject { // constructors protected CKSyncEnginePendingRecordZoneChange (Foundation.NSObjectFlag t); protected CKSyncEnginePendingRecordZoneChange (IntPtr handle); public CKSyncEnginePendingRecordZoneChange (CKRecordID recordId, CKSyncEnginePendingRecordZoneChangeType type); // properties public override IntPtr ClassHandle { get; } public virtual CKRecordID RecordId { get; } public virtual CKSyncEnginePendingRecordZoneChangeType Type { get; } } ``` #### New Type: CloudKit.CKSyncEnginePendingRecordZoneChangeType ```csharp [Serializable] public enum CKSyncEnginePendingRecordZoneChangeType { DeleteRecord = 1, SaveRecord = 0, } ``` #### New Type: CloudKit.CKSyncEnginePendingZoneDelete ```csharp public class CKSyncEnginePendingZoneDelete : CloudKit.CKSyncEnginePendingDatabaseChange { // constructors public CKSyncEnginePendingZoneDelete (); public CKSyncEnginePendingZoneDelete (CKRecordZoneID zoneId); protected CKSyncEnginePendingZoneDelete (Foundation.NSObjectFlag t); protected CKSyncEnginePendingZoneDelete (IntPtr handle); // properties public override IntPtr ClassHandle { get; } } ``` #### New Type: CloudKit.CKSyncEnginePendingZoneSave ```csharp public class CKSyncEnginePendingZoneSave : CloudKit.CKSyncEnginePendingDatabaseChange { // constructors public CKSyncEnginePendingZoneSave (); public CKSyncEnginePendingZoneSave (CKRecordZone zone); protected CKSyncEnginePendingZoneSave (Foundation.NSObjectFlag t); protected CKSyncEnginePendingZoneSave (IntPtr handle); // properties public override IntPtr ClassHandle { get; } public virtual CKRecordZone Zone { get; } } ``` #### New Type: CloudKit.CKSyncEngineRecordZoneChangeBatch ```csharp public class CKSyncEngineRecordZoneChangeBatch : Foundation.NSObject { // constructors protected CKSyncEngineRecordZoneChangeBatch (Foundation.NSObjectFlag t); protected CKSyncEngineRecordZoneChangeBatch (IntPtr handle); public CKSyncEngineRecordZoneChangeBatch (CKSyncEnginePendingRecordZoneChange[] pendingChanges, System.Func<CKRecordID,CloudKit.CKRecord> recordProvider); public CKSyncEngineRecordZoneChangeBatch (CKRecord[] recordsToSave, CKRecordID[] recordIdsToDelete, bool atomicByZone); // properties public virtual bool AtomicByZone { get; set; } public override IntPtr ClassHandle { get; } public virtual CKRecordID[] RecordIdsToDelete { get; } public virtual CKRecord[] RecordsToSave { get; } } ``` #### New Type: CloudKit.CKSyncEngineSendChangesContext ```csharp public class CKSyncEngineSendChangesContext : Foundation.NSObject { // constructors protected CKSyncEngineSendChangesContext (Foundation.NSObjectFlag t); protected CKSyncEngineSendChangesContext (IntPtr handle); // properties public override IntPtr ClassHandle { get; } public virtual CKSyncEngineSendChangesOptions Options { get; } public virtual CKSyncEngineSyncReason Reason { get; } } ``` #### New Type: CloudKit.CKSyncEngineSendChangesOptions ```csharp public class CKSyncEngineSendChangesOptions : Foundation.NSObject, Foundation.INSCopying, ObjCRuntime.INativeObject, System.IDisposable { // constructors public CKSyncEngineSendChangesOptions (); public CKSyncEngineSendChangesOptions (CKSyncEngineSendChangesScope scope); protected CKSyncEngineSendChangesOptions (Foundation.NSObjectFlag t); protected CKSyncEngineSendChangesOptions (IntPtr handle); // properties public override IntPtr ClassHandle { get; } public virtual CKOperationGroup OperationGroup { get; set; } public virtual CKSyncEngineSendChangesScope Scope { get; set; } // methods public virtual Foundation.NSObject Copy (Foundation.NSZone zone); } ``` #### New Type: CloudKit.CKSyncEngineSendChangesScope ```csharp public class CKSyncEngineSendChangesScope : Foundation.NSObject, Foundation.INSCopying, ObjCRuntime.INativeObject, System.IDisposable { // constructors public CKSyncEngineSendChangesScope (); protected CKSyncEngineSendChangesScope (Foundation.NSObjectFlag t); public CKSyncEngineSendChangesScope (Foundation.NSSet<CKRecordID> recordIds); protected CKSyncEngineSendChangesScope (IntPtr handle); public CKSyncEngineSendChangesScope (Foundation.NSSet<CKRecordZoneID> zoneIds, bool excluded); // properties public override IntPtr ClassHandle { get; } public virtual Foundation.NSSet<CKRecordZoneID> ExcludedZoneIds { get; } public virtual Foundation.NSSet<CKRecordID> RecordIds { get; } public virtual Foundation.NSSet<CKRecordZoneID> ZoneIds { get; } // methods public virtual bool ContainsPendingRecordZoneChange (CKSyncEnginePendingRecordZoneChange pendingRecordZoneChange); public virtual bool ContainsRecordId (CKRecordID recordId); public virtual Foundation.NSObject Copy (Foundation.NSZone zone); } ``` #### New Type: CloudKit.CKSyncEngineSentDatabaseChangesEvent ```csharp public class CKSyncEngineSentDatabaseChangesEvent : CloudKit.CKSyncEngineEvent { // constructors public CKSyncEngineSentDatabaseChangesEvent (); protected CKSyncEngineSentDatabaseChangesEvent (Foundation.NSObjectFlag t); protected CKSyncEngineSentDatabaseChangesEvent (IntPtr handle); // properties public override IntPtr ClassHandle { get; } public virtual CKRecordZoneID[] DeletedZoneIds { get; } public virtual Foundation.NSDictionary<CKRecordZoneID,Foundation.NSError> FailedZoneDeletes { get; } public virtual CKSyncEngineFailedZoneSave[] FailedZoneSaves { get; } public virtual CKRecordZone[] SavedZones { get; } } ``` #### New Type: CloudKit.CKSyncEngineSentRecordZoneChangesEvent ```csharp public class CKSyncEngineSentRecordZoneChangesEvent : CloudKit.CKSyncEngineEvent { // constructors public CKSyncEngineSentRecordZoneChangesEvent (); protected CKSyncEngineSentRecordZoneChangesEvent (Foundation.NSObjectFlag t); protected CKSyncEngineSentRecordZoneChangesEvent (IntPtr handle); // properties public override IntPtr ClassHandle { get; } public virtual CKRecordID[] DeletedRecordIds { get; } public virtual Foundation.NSDictionary<CKRecordID,Foundation.NSError> FailedRecordDeletes { get; } public virtual CKSyncEngineFailedRecordSave[] FailedRecordSaves { get; } public virtual CKRecord[] SavedRecords { get; } } ``` #### New Type: CloudKit.CKSyncEngineState ```csharp public class CKSyncEngineState : Foundation.NSObject { // constructors protected CKSyncEngineState (Foundation.NSObjectFlag t); protected CKSyncEngineState (IntPtr handle); // properties public override IntPtr ClassHandle { get; } public virtual bool HasPendingUntrackedChanges { get; set; } public virtual CKSyncEnginePendingDatabaseChange[] PendingDatabaseChanges { get; } public virtual CKSyncEnginePendingRecordZoneChange[] PendingRecordZoneChanges { get; } public virtual CKRecordZoneID[] ZoneIdsWithUnfetchedServerChanges { get; } // methods public virtual void AddPendingDatabaseChanges (CKSyncEnginePendingDatabaseChange[] changes); public virtual void AddPendingRecordZoneChanges (CKSyncEnginePendingRecordZoneChange[] changes); public virtual void RemovePendingDatabaseChanges (CKSyncEnginePendingDatabaseChange[] changes); public virtual void RemovePendingRecordZoneChanges (CKSyncEnginePendingRecordZoneChange[] changes); } ``` #### New Type: CloudKit.CKSyncEngineStateSerialization ```csharp public class CKSyncEngineStateSerialization : Foundation.NSObject, Foundation.INSCoding, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable { // constructors public CKSyncEngineStateSerialization (Foundation.NSCoder coder); protected CKSyncEngineStateSerialization (Foundation.NSObjectFlag t); protected CKSyncEngineStateSerialization (IntPtr handle); // properties public override IntPtr ClassHandle { get; } // methods public virtual void EncodeTo (Foundation.NSCoder encoder); } ``` #### New Type: CloudKit.CKSyncEngineStateUpdateEvent ```csharp public class CKSyncEngineStateUpdateEvent : CloudKit.CKSyncEngineEvent { // constructors public CKSyncEngineStateUpdateEvent (); protected CKSyncEngineStateUpdateEvent (Foundation.NSObjectFlag t); protected CKSyncEngineStateUpdateEvent (IntPtr handle); // properties public override IntPtr ClassHandle { get; } public virtual CKSyncEngineStateSerialization StateSerialization { get; } } ``` #### New Type: CloudKit.CKSyncEngineSyncReason ```csharp [Serializable] public enum CKSyncEngineSyncReason { Manual = 1, Scheduled = 0, } ``` #### New Type: CloudKit.CKSyncEngineWillFetchChangesEvent ```csharp public class CKSyncEngineWillFetchChangesEvent : CloudKit.CKSyncEngineEvent { // constructors public CKSyncEngineWillFetchChangesEvent (); protected CKSyncEngineWillFetchChangesEvent (Foundation.NSObjectFlag t); protected CKSyncEngineWillFetchChangesEvent (IntPtr handle); // properties public override IntPtr ClassHandle { get; } public virtual CKSyncEngineFetchChangesContext Context { get; } } ``` #### New Type: CloudKit.CKSyncEngineWillFetchRecordZoneChangesEvent ```csharp public class CKSyncEngineWillFetchRecordZoneChangesEvent : CloudKit.CKSyncEngineEvent { // constructors public CKSyncEngineWillFetchRecordZoneChangesEvent (); protected CKSyncEngineWillFetchRecordZoneChangesEvent (Foundation.NSObjectFlag t); protected CKSyncEngineWillFetchRecordZoneChangesEvent (IntPtr handle); // properties public override IntPtr ClassHandle { get; } public virtual CKRecordZoneID ZoneId { get; } } ``` #### New Type: CloudKit.CKSyncEngineWillSendChangesEvent ```csharp public class CKSyncEngineWillSendChangesEvent : CloudKit.CKSyncEngineEvent { // constructors public CKSyncEngineWillSendChangesEvent (); protected CKSyncEngineWillSendChangesEvent (Foundation.NSObjectFlag t); protected CKSyncEngineWillSendChangesEvent (IntPtr handle); // properties public override IntPtr ClassHandle { get; } public virtual CKSyncEngineSendChangesContext Context { get; } } ``` #### New Type: CloudKit.CKSyncEngineZoneDeletionReason ```csharp [Serializable] public enum CKSyncEngineZoneDeletionReason { Deleted = 0, EncryptedDataReset = 2, Purged = 1, } ``` #### New Type: CloudKit.ICKSyncEngineDelegate ```csharp public interface ICKSyncEngineDelegate : ObjCRuntime.INativeObject, System.IDisposable { // methods public abstract void SyncEngine (CKSyncEngine syncEngine, CKSyncEngineEvent event); public abstract CKSyncEngineRecordZoneChangeBatch SyncEngine (CKSyncEngine syncEngine, CKSyncEngineSendChangesContext context); } ``` ### Namespace Compression #### Type Changed: Compression.CompressionAlgorithm Added values: ```csharp Brotli = 2818, LZBitmap = 1794, ``` ### Namespace Contacts #### Type Changed: Contacts.CNErrorCode Added value: ```csharp FeatureNotAvailable = 104, ``` ### Namespace CoreBluetooth #### Type Changed: CoreBluetooth.CBCentralManager Added event: ```csharp public event System.EventHandler<CBPeripheralDiconnectionEventEventArgs> DidDisconnectPeripheral; ``` #### Type Changed: CoreBluetooth.CBCentralManagerDelegate Added method: ```csharp public virtual void DidDisconnectPeripheral (CBCentralManager central, CBPeripheral peripheral, double timestamp, bool isReconnecting, Foundation.NSError error); ``` #### Type Changed: CoreBluetooth.CBCentralManagerDelegate_Extensions Added method: ```csharp public static void DidDisconnectPeripheral (this ICBCentralManagerDelegate This, CBCentralManager central, CBPeripheral peripheral, double timestamp, bool isReconnecting, Foundation.NSError error); ``` #### Type Changed: CoreBluetooth.CBConnectPeripheralOptions Added property: ```csharp public bool? EnableAutoReconnect { get; } ``` #### New Type: CoreBluetooth.CBPeripheralDiconnectionEventEventArgs ```csharp public class CBPeripheralDiconnectionEventEventArgs : System.EventArgs { // constructors public CBPeripheralDiconnectionEventEventArgs (CBPeripheral peripheral, double timestamp, bool isReconnecting, Foundation.NSError error); // properties public Foundation.NSError Error { get; set; } public bool IsReconnecting { get; set; } public CBPeripheral Peripheral { get; set; } public double Timestamp { get; set; } } ``` ### Namespace CoreData #### Type Changed: CoreData.NSAttributeType Added value: ```csharp CompositeAttributeType = 2100, ``` #### Type Changed: CoreData.NSManagedObjectModel Added property: ```csharp public virtual string VersionChecksum { get; } ``` Added method: ```csharp public static Foundation.NSDictionary<Foundation.NSString,Foundation.NSString> ChecksumsForVersionedModel (Foundation.NSUrl modelUrl, out Foundation.NSError error); ``` #### Type Changed: CoreData.NSPersistentStoreCoordinator Added methods: ```csharp public virtual bool FinishDeferredLightweightMigration (out Foundation.NSError error); public virtual bool FinishDeferredLightweightMigrationTask (out Foundation.NSError error); ``` #### Type Changed: CoreData.UserInfoKeys Added properties: ```csharp public static Foundation.NSString DeferredLightweightMigrationOptionKey { get; } public static Foundation.NSString StagedMigrationManagerOptionKey { get; } ``` #### New Type: CoreData.NSCompositeAttributeDescription ```csharp public class NSCompositeAttributeDescription : CoreData.NSAttributeDescription { // constructors public NSCompositeAttributeDescription (); public NSCompositeAttributeDescription (Foundation.NSCoder coder); protected NSCompositeAttributeDescription (Foundation.NSObjectFlag t); protected NSCompositeAttributeDescription (IntPtr handle); // properties public override IntPtr ClassHandle { get; } public virtual NSAttributeDescription[] Elements { get; set; } } ``` #### New Type: CoreData.NSCustomMigrationStage ```csharp public class NSCustomMigrationStage : CoreData.NSMigrationStage { // constructors protected NSCustomMigrationStage (Foundation.NSObjectFlag t); protected NSCustomMigrationStage (IntPtr handle); public NSCustomMigrationStage (NSManagedObjectModelReference currentModel, NSManagedObjectModelReference nextModel); // properties public override IntPtr ClassHandle { get; } public virtual NSManagedObjectModelReference CurrentModel { get; } public virtual System.Func<NSStagedMigrationManager,CoreData.NSCustomMigrationStage,Foundation.NSError,System.Boolean> DidMigrateHandler { get; set; } public virtual NSManagedObjectModelReference NextModel { get; } public virtual System.Func<NSStagedMigrationManager,CoreData.NSCustomMigrationStage,Foundation.NSError,System.Boolean> WillMigrateHandler { get; set; } } ``` #### New Type: CoreData.NSLightweightMigrationStage ```csharp public class NSLightweightMigrationStage : CoreData.NSMigrationStage { // constructors protected NSLightweightMigrationStage (Foundation.NSObjectFlag t); protected NSLightweightMigrationStage (IntPtr handle); public NSLightweightMigrationStage (string[] versionChecksums); // properties public override IntPtr ClassHandle { get; } public virtual string[] VersionChecksums { get; } } ``` #### New Type: CoreData.NSManagedObjectModelReference ```csharp public class NSManagedObjectModelReference : Foundation.NSObject { // constructors protected NSManagedObjectModelReference (Foundation.NSObjectFlag t); protected NSManagedObjectModelReference (IntPtr handle); public NSManagedObjectModelReference (NSManagedObjectModel model, string versionChecksum); public NSManagedObjectModelReference (Foundation.NSUrl fileUrl, string versionChecksum); public NSManagedObjectModelReference (Foundation.NSDictionary versionHash, Foundation.NSBundle bundle, string versionChecksum); public NSManagedObjectModelReference (string modelName, Foundation.NSBundle bundle, string versionChecksum); // properties public override IntPtr ClassHandle { get; } public virtual NSManagedObjectModel ResolvedModel { get; } public virtual string VersionChecksum { get; } } ``` #### New Type: CoreData.NSMigrationStage ```csharp public class NSMigrationStage : Foundation.NSObject { // constructors public NSMigrationStage (); protected NSMigrationStage (Foundation.NSObjectFlag t); protected NSMigrationStage (IntPtr handle); // properties public override IntPtr ClassHandle { get; } public virtual string Label { get; set; } } ``` #### New Type: CoreData.NSStagedMigrationManager ```csharp public class NSStagedMigrationManager : Foundation.NSObject { // constructors public NSStagedMigrationManager (NSMigrationStage[] stages); protected NSStagedMigrationManager (Foundation.NSObjectFlag t); protected NSStagedMigrationManager (IntPtr handle); // properties public override IntPtr ClassHandle { get; } public virtual NSPersistentContainer Container { get; } public virtual NSMigrationStage[] Stages { get; } } ``` ### Namespace CoreFoundation #### Type Changed: CoreFoundation.CFRunLoop Added properties: ```csharp public string[] AllModes { get; } public string CurrentMode { get; } ``` Added method: ```csharp public CFRunLoopExitReason RunInMode (string mode, double seconds, bool returnAfterSourceHandled); ``` ### Namespace CoreGraphics #### Type Changed: CoreGraphics.CGContext Added method: ```csharp public void DrawConicGradient (CGGradient gradient, CGPoint point, nfloat angle); ``` ### Namespace CoreImage #### Type Changed: CoreImage.CIContext Added property: ```csharp public static Foundation.NSString MemoryLimit { get; } ``` Added methods: ```csharp public virtual Foundation.NSData GetOpenEXRRepresentation (CIImage image, Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject> options, out Foundation.NSError errorPtr); public virtual bool WriteOpenExrRepresentation (CIImage image, Foundation.NSUrl url, Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject> options, out Foundation.NSError errorPtr); ``` #### Type Changed: CoreImage.CIFilter Added properties: ```csharp public static CIBlurredRectangleGenerator BlurredRectangleGeneratorFilter { get; } public static CICannyEdgeDetector CannyEdgeDetectorFilter { get; } public static CIRoundedRectangleStrokeGenerator RoundedRectangleStrokeGeneratorFilter { get; } public static CISobelGradients SobelGradientsFilter { get; } ``` #### Type Changed: CoreImage.CIImage Added properties: ```csharp public static int FormatRgb10 { get; } public static int FormatRgbX16 { get; } public static int FormatRgbXf { get; } public static int FormatRgbXh { get; } ``` #### Type Changed: CoreImage.CIImageProcessorInput_Extensions Added methods: ```csharp public static nuint GetRoiTileCount (this ICIImageProcessorInput This); public static nuint GetRoiTileIndex (this ICIImageProcessorInput This); ``` #### Type Changed: CoreImage.CIImageProcessorKernel Added method: ```csharp public static CIVector[] GetRoiTileArray (int input, Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject> arguments, CoreGraphics.CGRect outputRect); ``` #### Type Changed: CoreImage.CIPhotoEffect Added property: ```csharp public bool Extrapolate { get; set; } ``` #### Type Changed: CoreImage.CIRenderInfo Added property: ```csharp public virtual double KernelCompileTime { get; } ``` #### New Type: CoreImage.CIBlurredRectangleGenerator ```csharp public class CIBlurredRectangleGenerator : CoreImage.CIFilter, ICIBlurredRectangleGeneratorProtocol, ICIFilterProtocol, ObjCRuntime.INativeObject, System.IDisposable { // constructors public CIBlurredRectangleGenerator (); public CIBlurredRectangleGenerator (Foundation.NSCoder coder); protected CIBlurredRectangleGenerator (Foundation.NSObjectFlag t); public CIBlurredRectangleGenerator (IntPtr handle); // properties public virtual CIColor Color { get; set; } public virtual CoreGraphics.CGRect InputExtent { get; set; } public virtual CIImage OutputImage { get; } public virtual float Sigma { get; set; } } ``` #### New Type: CoreImage.CICannyEdgeDetector ```csharp public class CICannyEdgeDetector : CoreImage.CIFilter, ICICannyEdgeDetectorProtocol, ICIFilterProtocol, ObjCRuntime.INativeObject, System.IDisposable { // constructors public CICannyEdgeDetector (); public CICannyEdgeDetector (Foundation.NSCoder coder); protected CICannyEdgeDetector (Foundation.NSObjectFlag t); public CICannyEdgeDetector (IntPtr handle); // properties public virtual float GaussianSigma { get; set; } public virtual nint HysteresisPasses { get; set; } public virtual CIImage InputImage { get; set; } public virtual CIImage OutputImage { get; } public virtual bool Perceptual { get; set; } public virtual float ThresholdHigh { get; set; } public virtual float ThresholdLow { get; set; } } ``` #### New Type: CoreImage.CIFilterGenerator ```csharp public class CIFilterGenerator : Foundation.NSObject, ICIFilterConstructor, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable { // constructors public CIFilterGenerator (Foundation.NSCoder coder); protected CIFilterGenerator (Foundation.NSObjectFlag t); public CIFilterGenerator (Foundation.NSUrl aURL); protected CIFilterGenerator (IntPtr handle); // properties public virtual Foundation.NSDictionary ClassAttributes { get; set; } public override IntPtr ClassHandle { get; } public virtual Foundation.NSDictionary ExportedKeys { get; } // methods public virtual void ConnectObject (Foundation.NSObject sourceObject, string withSourceKey, Foundation.NSObject targetObject, string targetKey); public virtual Foundation.NSObject Copy (Foundation.NSZone zone); public static CIFilterGenerator Create (); public virtual CIFilter CreateFilter (); public virtual void DisconnectObject (Foundation.NSObject sourceObject, string sourceKey, Foundation.NSObject targetObject, string targetKey); public virtual void EncodeTo (Foundation.NSCoder encoder); public virtual void ExportKey (string key, Foundation.NSObject targetObject, string exportedKeyName); public virtual CIFilter FilterWithName (string name); public static CIFilterGenerator FromUrl (Foundation.NSUrl aURL); public virtual void RegisterFilterName (string name); public virtual void RemoveExportedKey (string exportedKeyName); public virtual bool Save (Foundation.NSUrl toUrl, bool atomically); public virtual void SetAttributesforExportedKey (Foundation.NSDictionary attributes, Foundation.NSString exportedKey); } ``` #### New Type: CoreImage.CIPhotoEffectProtocol_Extensions ```csharp public static class CIPhotoEffectProtocol_Extensions { // methods public static bool GetExtrapolate (this ICIPhotoEffectProtocol This); public static void SetExtrapolate (this ICIPhotoEffectProtocol This, bool value); } ``` #### New Type: CoreImage.CIRoundedRectangleStrokeGenerator ```csharp public class CIRoundedRectangleStrokeGenerator : CoreImage.CIFilter, ICIFilterProtocol, ICIRoundedRectangleStrokeGeneratorProtocol, ObjCRuntime.INativeObject, System.IDisposable { // constructors public CIRoundedRectangleStrokeGenerator (); public CIRoundedRectangleStrokeGenerator (Foundation.NSCoder coder); protected CIRoundedRectangleStrokeGenerator (Foundation.NSObjectFlag t); public CIRoundedRectangleStrokeGenerator (IntPtr handle); // properties public virtual CIColor Color { get; set; } public virtual CoreGraphics.CGRect InputExtent { get; set; } public virtual CIImage OutputImage { get; } public virtual float Radius { get; set; } public virtual float Width { get; set; } } ``` #### New Type: CoreImage.CISobelGradients ```csharp public class CISobelGradients : CoreImage.CIFilter, ICIFilterProtocol, ICISobelGradientsProtocol, ObjCRuntime.INativeObject, System.IDisposable { // constructors public CISobelGradients (); public CISobelGradients (Foundation.NSCoder coder); protected CISobelGradients (Foundation.NSObjectFlag t); public CISobelGradients (IntPtr handle); // properties public virtual CIImage InputImage { get; set; } public virtual CIImage OutputImage { get; } } ``` #### New Type: CoreImage.ICIBlurredRectangleGeneratorProtocol ```csharp public interface ICIBlurredRectangleGeneratorProtocol : ICIFilterProtocol, ObjCRuntime.INativeObject, System.IDisposable { // properties public virtual CIColor Color { get; set; } public virtual CoreGraphics.CGRect InputExtent { get; set; } public virtual float Sigma { get; set; } } ``` #### New Type: CoreImage.ICICannyEdgeDetectorProtocol ```csharp public interface ICICannyEdgeDetectorProtocol : ICIFilterProtocol, ObjCRuntime.INativeObject, System.IDisposable { // properties public virtual float GaussianSigma { get; set; } public virtual nint HysteresisPasses { get; set; } public virtual CIImage InputImage { get; set; } public virtual bool Perceptual { get; set; } public virtual float ThresholdHigh { get; set; } public virtual float ThresholdLow { get; set; } } ``` #### New Type: CoreImage.ICIRoundedRectangleStrokeGeneratorProtocol ```csharp public interface ICIRoundedRectangleStrokeGeneratorProtocol : ICIFilterProtocol, ObjCRuntime.INativeObject, System.IDisposable { // properties public virtual CIColor Color { get; set; } public virtual CoreGraphics.CGRect InputExtent { get; set; } public virtual float Radius { get; set; } public virtual float Width { get; set; } } ``` #### New Type: CoreImage.ICISobelGradientsProtocol ```csharp public interface ICISobelGradientsProtocol : ICIFilterProtocol, ObjCRuntime.INativeObject, System.IDisposable { // properties public virtual CIImage InputImage { get; set; } } ``` ### Namespace CoreLocation #### New Type: CoreLocation.CLBackgroundActivitySession ```csharp public class CLBackgroundActivitySession : Foundation.NSObject { // constructors protected CLBackgroundActivitySession (Foundation.NSObjectFlag t); protected CLBackgroundActivitySession (IntPtr handle); // properties public override IntPtr ClassHandle { get; } // methods public static CLBackgroundActivitySession Create (); public virtual void Invalidate (); } ``` #### New Type: CoreLocation.CLBeaconIdentityCondition ```csharp public class CLBeaconIdentityCondition : CoreLocation.CLCondition, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable { // constructors public CLBeaconIdentityCondition (Foundation.NSCoder coder); protected CLBeaconIdentityCondition (Foundation.NSObjectFlag t); public CLBeaconIdentityCondition (Foundation.NSUuid uuid); protected CLBeaconIdentityCondition (IntPtr handle); public CLBeaconIdentityCondition (Foundation.NSUuid uuid, ushort major); public CLBeaconIdentityCondition (Foundation.NSUuid uuid, ushort major, ushort minor); // properties public override IntPtr ClassHandle { get; } public virtual Foundation.NSNumber Major { get; } public virtual Foundation.NSNumber Minor { get; } public virtual Foundation.NSUuid Uuid { get; } // methods public virtual Foundation.NSObject Copy (Foundation.NSZone zone); public virtual void EncodeTo (Foundation.NSCoder encoder); } ``` #### New Type: CoreLocation.CLCircularGeographicCondition ```csharp public class CLCircularGeographicCondition : CoreLocation.CLCondition, Foundation.INSCoding, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable { // constructors public CLCircularGeographicCondition (); public CLCircularGeographicCondition (Foundation.NSCoder coder); protected CLCircularGeographicCondition (Foundation.NSObjectFlag t); protected CLCircularGeographicCondition (IntPtr handle); public CLCircularGeographicCondition (CLLocationCoordinate2D center, double radius); // properties public virtual CLLocationCoordinate2D Center { get; } public override IntPtr ClassHandle { get; } public virtual double Radius { get; } // methods public virtual void EncodeTo (Foundation.NSCoder encoder); } ``` #### New Type: CoreLocation.CLCondition ```csharp public class CLCondition : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable { // constructors public CLCondition (); public CLCondition (Foundation.NSCoder coder); protected CLCondition (Foundation.NSObjectFlag t); protected CLCondition (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: CoreLocation.CLLiveUpdateConfiguration ```csharp [Serializable] public enum CLLiveUpdateConfiguration { Airborne = 4, AutomotiveNavigation = 1, Default = 0, Fitness = 3, OtherNavigation = 2, } ``` #### New Type: CoreLocation.CLLocationUpdater ```csharp public class CLLocationUpdater : Foundation.NSObject { // constructors protected CLLocationUpdater (Foundation.NSObjectFlag t); protected CLLocationUpdater (IntPtr handle); // properties public override IntPtr ClassHandle { get; } // methods public static CLLocationUpdater CreateLiveUpdates (CoreFoundation.DispatchQueue queue, System.Action<CLUpdate> handler); public static CLLocationUpdater CreateLiveUpdates (CLLiveUpdateConfiguration configuration, CoreFoundation.DispatchQueue queue, System.Action<CLUpdate> handler); public virtual void Invalidate (); public virtual void Pause (); public virtual void Resume (); } ``` #### New Type: CoreLocation.CLMonitor ```csharp public class CLMonitor : Foundation.NSObject { // constructors protected CLMonitor (Foundation.NSObjectFlag t); protected CLMonitor (IntPtr handle); // properties public override IntPtr ClassHandle { get; } public virtual string[] MonitoredIdentifiers { get; } public virtual string Name { get; } // methods public virtual void AddCondition (CLCondition condition, string identifier); public virtual void AddCondition (CLCondition condition, string identifier, CLMonitoringState state); public virtual CLMonitoringRecord GetMonitoringRecord (string identifier); public virtual void RemoveCondition (string identifier); public static void RequestMonitor (CLMonitorConfiguration config, System.Action<CLMonitor> completionHandler); public static System.Threading.Tasks.Task<CLMonitor> RequestMonitorAsync (CLMonitorConfiguration config); } ``` #### New Type: CoreLocation.CLMonitorConfiguration ```csharp public class CLMonitorConfiguration : Foundation.NSObject { // constructors public CLMonitorConfiguration (); protected CLMonitorConfiguration (Foundation.NSObjectFlag t); protected CLMonitorConfiguration (IntPtr handle); // properties public override IntPtr ClassHandle { get; } public virtual System.Action<CLMonitor,CoreLocation.CLMonitoringEvent> EventHandler { get; } public virtual string Name { get; } public virtual CoreFoundation.DispatchQueue Queue { get; } // methods public static CLMonitorConfiguration Create (string name, CoreFoundation.DispatchQueue queue, System.Action<CLMonitor,CoreLocation.CLMonitoringEvent> eventHandler); } ``` #### New Type: CoreLocation.CLMonitoringEvent ```csharp public class CLMonitoringEvent : Foundation.NSObject, Foundation.INSCoding, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable { // constructors public CLMonitoringEvent (Foundation.NSCoder coder); protected CLMonitoringEvent (Foundation.NSObjectFlag t); protected CLMonitoringEvent (IntPtr handle); // properties public override IntPtr ClassHandle { get; } public virtual Foundation.NSDate Date { get; } public virtual string Identifier { get; } public virtual CLCondition Refinement { get; } public virtual CLMonitoringState State { get; } // methods public virtual void EncodeTo (Foundation.NSCoder encoder); } ``` #### New Type: CoreLocation.CLMonitoringRecord ```csharp public class CLMonitoringRecord : Foundation.NSObject, Foundation.INSCoding, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable { // constructors public CLMonitoringRecord (Foundation.NSCoder coder); protected CLMonitoringRecord (Foundation.NSObjectFlag t); protected CLMonitoringRecord (IntPtr handle); // properties public override IntPtr ClassHandle { get; } public virtual CLCondition Condition { get; } public virtual CLMonitoringEvent LastEvent { get; } // methods public virtual void EncodeTo (Foundation.NSCoder encoder); } ``` #### New Type: CoreLocation.CLMonitoringState ```csharp [Serializable] public enum CLMonitoringState { Satisfied = 1, Unknown = 0, Unmonitored = 3, Unsatisfied = 2, } ``` #### New Type: CoreLocation.CLUpdate ```csharp public class CLUpdate : Foundation.NSObject { // constructors public CLUpdate (); protected CLUpdate (Foundation.NSObjectFlag t); protected CLUpdate (IntPtr handle); // properties public override IntPtr ClassHandle { get; } public virtual bool IsStationary { get; } public virtual CLLocation Location { get; } } ``` ### Namespace CoreML #### Type Changed: CoreML.MLModel Added properties: ```csharp public static IMLComputeDeviceProtocol[] AllComputeDevices { get; } public static IMLComputeDeviceProtocol[] AvailableComputeDevices { get; } ``` Added methods: ```csharp public virtual void GetPrediction (IMLFeatureProvider input, System.Action<IMLFeatureProvider,Foundation.NSError> completionHandler); public virtual void GetPrediction (IMLFeatureProvider input, MLPredictionOptions options, System.Action<IMLFeatureProvider,Foundation.NSError> completionHandler); public virtual System.Threading.Tasks.Task<IMLFeatureProvider> GetPredictionAsync (IMLFeatureProvider input); public virtual System.Threading.Tasks.Task<IMLFeatureProvider> GetPredictionAsync (IMLFeatureProvider input, MLPredictionOptions options); ``` #### Type Changed: CoreML.MLModelError Added value: ```csharp PredictionCancelled = 11, ``` #### New Type: CoreML.IMLComputeDeviceProtocol ```csharp public interface IMLComputeDeviceProtocol : ObjCRuntime.INativeObject, System.IDisposable { } ``` #### New Type: CoreML.MLCpuComputeDevice ```csharp public class MLCpuComputeDevice : Foundation.NSObject, IMLComputeDeviceProtocol, ObjCRuntime.INativeObject, System.IDisposable { // constructors protected MLCpuComputeDevice (Foundation.NSObjectFlag t); protected MLCpuComputeDevice (IntPtr handle); // properties public override IntPtr ClassHandle { get; } } ``` #### New Type: CoreML.MLGpuComputeDevice ```csharp public class MLGpuComputeDevice : Foundation.NSObject, IMLComputeDeviceProtocol, ObjCRuntime.INativeObject, System.IDisposable { // constructors protected MLGpuComputeDevice (Foundation.NSObjectFlag t); protected MLGpuComputeDevice (IntPtr handle); // properties public override IntPtr ClassHandle { get; } public virtual Metal.IMTLDevice MetalDevice { get; } } ``` #### New Type: CoreML.MLNeuralEngineComputeDevice ```csharp public class MLNeuralEngineComputeDevice : Foundation.NSObject, IMLComputeDeviceProtocol, ObjCRuntime.INativeObject, System.IDisposable { // constructors protected MLNeuralEngineComputeDevice (Foundation.NSObjectFlag t); protected MLNeuralEngineComputeDevice (IntPtr handle); // properties public override IntPtr ClassHandle { get; } public virtual nint TotalCoreCount { get; } } ``` ### Namespace CoreMidi #### Type Changed: CoreMidi.MidiPacket Obsoleted properties: ```diff [Obsolete ("This property may return a pointer to a managed object, and this pointer is never safe to use. Use ByteArray or BytePointer instead.")] public IntPtr Bytes { get; } ``` ### Namespace CoreMotion #### New Type: CoreMotion.CMBatchedSensorManager ```csharp public class CMBatchedSensorManager : Foundation.NSObject { // constructors public CMBatchedSensorManager (); protected CMBatchedSensorManager (Foundation.NSObjectFlag t); protected CMBatchedSensorManager (IntPtr handle); // properties public virtual bool AccelerometerActive { get; } public virtual CMAccelerometerData[] AccelerometerBatch { get; } public virtual nint AccelerometerDataFrequency { get; } public static bool AccelerometerSupported { get; } public static CMAuthorizationStatus AuthorizationStatus { get; } public override IntPtr ClassHandle { get; } public virtual bool DeviceMotionActive { get; } public virtual CMDeviceMotion[] DeviceMotionBatch { get; } public virtual nint DeviceMotionDataFrequency { get; } public static bool DeviceMotionSupported { get; } // methods public virtual void StartAccelerometerUpdates (); public virtual void StartAccelerometerUpdates (System.Action<CMAccelerometerData[],Foundation.NSError> handler); public virtual void StartDeviceMotionUpdates (); public virtual void StartDeviceMotionUpdates (System.Action<CMDeviceMotion[],Foundation.NSError> handler); public virtual void StopAccelerometerUpdates (); public virtual void StopDeviceMotionUpdates (); } ``` #### New Type: CoreMotion.CMHighFrequencyHeartRateData ```csharp public class CMHighFrequencyHeartRateData : CoreMotion.CMLogItem { // constructors public CMHighFrequencyHeartRateData (); public CMHighFrequencyHeartRateData (Foundation.NSCoder coder); protected CMHighFrequencyHeartRateData (Foundation.NSObjectFlag t); protected CMHighFrequencyHeartRateData (IntPtr handle); // properties public override IntPtr ClassHandle { get; } public virtual CMHighFrequencyHeartRateDataConfidence Confidence { get; } public virtual Foundation.NSDate Date { get; } public virtual double HeartRate { get; } } ``` #### New Type: CoreMotion.CMHighFrequencyHeartRateDataConfidence ```csharp [Serializable] public enum CMHighFrequencyHeartRateDataConfidence { High = 2, Highest = 3, Low = 0, Medium = 1, } ``` #### New Type: CoreMotion.CMOdometerData ```csharp public class CMOdometerData : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable { // constructors public CMOdometerData (); public CMOdometerData (Foundation.NSCoder coder); protected CMOdometerData (Foundation.NSObjectFlag t); protected CMOdometerData (IntPtr handle); // properties public override IntPtr ClassHandle { get; } public virtual double DeltaAltitude { get; } public virtual double DeltaDistance { get; } public virtual double DeltaDistanceAccuracy { get; } public virtual Foundation.NSDate EndDate { get; } public virtual Foundation.NSDate GpsDate { get; } public virtual Foundation.NSNumber MaxAbsSlope { get; } public virtual CMOdometerOriginDevice OriginDevice { get; } public virtual Foundation.NSNumber Slope { get; } public virtual double Speed { get; } public virtual double SpeedAccuracy { get; } public virtual Foundation.NSDate StartDate { get; } public virtual double VerticalAccuracy { get; } // methods public virtual Foundation.NSObject Copy (Foundation.NSZone zone); public virtual void EncodeTo (Foundation.NSCoder encoder); } ``` #### New Type: CoreMotion.CMOdometerOriginDevice ```csharp [Serializable] public enum CMOdometerOriginDevice { Local = 1, Remote = 2, Unknown = 0, } ``` #### New Type: CoreMotion.CMWaterSubmersionDepthState ```csharp [Serializable] public enum CMWaterSubmersionDepthState { ApproachingMaxDepth = 400, NotSubmerged = 100, PastMaxDepth = 500, SensorDepthError = 600, SubmergedDeep = 300, SubmergedShallow = 200, Unknown = 0, } ``` #### New Type: CoreMotion.CMWaterSubmersionEvent ```csharp public class CMWaterSubmersionEvent : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable { // constructors public CMWaterSubmersionEvent (); public CMWaterSubmersionEvent (Foundation.NSCoder coder); protected CMWaterSubmersionEvent (Foundation.NSObjectFlag t); protected CMWaterSubmersionEvent (IntPtr handle); // properties public override IntPtr ClassHandle { get; } public virtual Foundation.NSDate Date { get; } public virtual CMWaterSubmersionState State { get; } // methods public virtual Foundation.NSObject Copy (Foundation.NSZone zone); public virtual void EncodeTo (Foundation.NSCoder encoder); } ``` #### New Type: CoreMotion.CMWaterSubmersionManager ```csharp public class CMWaterSubmersionManager : Foundation.NSObject { // constructors public CMWaterSubmersionManager (); protected CMWaterSubmersionManager (Foundation.NSObjectFlag t); protected CMWaterSubmersionManager (IntPtr handle); // properties public static CMAuthorizationStatus AuthorizationStatus { get; } public override IntPtr ClassHandle { get; } public ICMWaterSubmersionManagerDelegate Delegate { get; set; } public static bool IsWaterSubmersionAvailable { get; } public virtual Foundation.NSMeasurement<Foundation.NSUnitLength> MaximumDepth { get; } public virtual Foundation.NSObject WeakDelegate { get; set; } // methods protected override void Dispose (bool disposing); } ``` #### New Type: CoreMotion.CMWaterSubmersionManagerDelegate ```csharp public abstract class CMWaterSubmersionManagerDelegate : Foundation.NSObject, ICMWaterSubmersionManagerDelegate, ObjCRuntime.INativeObject, System.IDisposable { // constructors protected CMWaterSubmersionManagerDelegate (); protected CMWaterSubmersionManagerDelegate (Foundation.NSObjectFlag t); protected CMWaterSubmersionManagerDelegate (IntPtr handle); // methods public abstract void DidUpdateEvent (CMWaterSubmersionManager manager, CMWaterSubmersionEvent event); public abstract void DidUpdateMeasurement (CMWaterSubmersionManager manager, CMWaterSubmersionMeasurement measurement); public abstract void DidUpdateTemperature (CMWaterSubmersionManager manager, CMWaterTemperature measurement); public abstract void ErrorOccurred (CMWaterSubmersionManager manager, Foundation.NSError error); } ``` #### New Type: CoreMotion.CMWaterSubmersionMeasurement ```csharp public class CMWaterSubmersionMeasurement : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable { // constructors public CMWaterSubmersionMeasurement (); public CMWaterSubmersionMeasurement (Foundation.NSCoder coder); protected CMWaterSubmersionMeasurement (Foundation.NSObjectFlag t); protected CMWaterSubmersionMeasurement (IntPtr handle); // properties public override IntPtr ClassHandle { get; } public virtual Foundation.NSDate Date { get; } public virtual Foundation.NSMeasurement<Foundation.NSUnitLength> Depth { get; } public virtual Foundation.NSMeasurement<Foundation.NSUnitPressure> Pressure { get; } public virtual CMWaterSubmersionDepthState SubmersionState { get; } public virtual Foundation.NSMeasurement<Foundation.NSUnitPressure> SurfacePressure { get; } // methods public virtual Foundation.NSObject Copy (Foundation.NSZone zone); public virtual void EncodeTo (Foundation.NSCoder encoder); } ``` #### New Type: CoreMotion.CMWaterSubmersionState ```csharp [Serializable] public enum CMWaterSubmersionState { NotSubmerged = 1, Submerged = 2, Unknown = 0, } ``` #### New Type: CoreMotion.CMWaterTemperature ```csharp public class CMWaterTemperature : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable { // constructors public CMWaterTemperature (); public CMWaterTemperature (Foundation.NSCoder coder); protected CMWaterTemperature (Foundation.NSObjectFlag t); protected CMWaterTemperature (IntPtr handle); // properties public override IntPtr ClassHandle { get; } public virtual Foundation.NSDate Date { get; } public virtual Foundation.NSMeasurement<Foundation.NSUnitTemperature> Temperature { get; } public virtual Foundation.NSMeasurement<Foundation.NSUnitTemperature> TemperatureUncertainty { get; } // methods public virtual Foundation.NSObject Copy (Foundation.NSZone zone); public virtual void EncodeTo (Foundation.NSCoder encoder); } ``` #### New Type: CoreMotion.ICMWaterSubmersionManagerDelegate ```csharp public interface ICMWaterSubmersionManagerDelegate : ObjCRuntime.INativeObject, System.IDisposable { // methods public abstract void DidUpdateEvent (CMWaterSubmersionManager manager, CMWaterSubmersionEvent event); public abstract void DidUpdateMeasurement (CMWaterSubmersionManager manager, CMWaterSubmersionMeasurement measurement); public abstract void DidUpdateTemperature (CMWaterSubmersionManager manager, CMWaterTemperature measurement); public abstract void ErrorOccurred (CMWaterSubmersionManager manager, Foundation.NSError error); } ``` ### Namespace CoreSpotlight #### Type Changed: CoreSpotlight.CSSearchableIndex Added constructors: ```csharp public CSSearchableIndex (string name, Foundation.NSFileProtectionType protectionClass, string bundleIdentifier, nint options); public CSSearchableIndex (string name, Foundation.NSString protectionClass, string bundleIdentifier, nint options); ``` #### Type Changed: CoreSpotlight.CSSuggestion Added properties: ```csharp public virtual Foundation.NSNumber Score { get; } public virtual Foundation.NSObject[] SuggestionDataSources { get; } ``` ### Namespace CoreTelephony #### Type Changed: CoreTelephony.CTCellularPlanProvisioningAddPlanResult Added value: ```csharp Cancel = 3, ``` ### Namespace CoreText #### Type Changed: CoreText.CTFontDescriptor Obsoleted methods: ```diff [Obsolete ("Use 'MatchFontDescriptors (CTFontDescriptor[], NSSet, CTFontDescriptorProgressHandler)' instead.")] public static bool MatchFontDescriptors (CTFontDescriptor[] descriptors, Foundation.NSSet mandatoryAttributes, System.Func<CTFontDescriptorMatchingState,System.IntPtr,System.Boolean> progressHandler); ``` Added method: ```csharp public static bool MatchFontDescriptors (CTFontDescriptor[] descriptors, Foundation.NSSet mandatoryAttributes, CTFontDescriptor.CTFontDescriptorProgressHandler progressHandler); ``` #### Type Changed: CoreText.CTFontDescriptorAttributes Added property: ```csharp public bool? WeakEnabled { get; set; } ``` #### New Type: CoreText.CTFontDescriptorMatchingProgress ```csharp public class CTFontDescriptorMatchingProgress : Foundation.DictionaryContainer { // constructors public CTFontDescriptorMatchingProgress (); public CTFontDescriptorMatchingProgress (Foundation.NSDictionary dictionary); // properties public long? CurrentAssetSize { get; } public CTFontDescriptor[] Descriptors { get; } public Foundation.NSError Error { get; } public double? Percentage { get; } public CTFontDescriptor[] Result { get; } public CTFontDescriptor SourceDescriptor { get; } public long? TotalAssetSize { get; } public long? TotalDownloadedSize { get; } } ``` ### Namespace CoreVideo #### Type Changed: CoreVideo.CVImageBuffer Added properties: ```csharp public static Foundation.NSString LogTransferFunctionAppleLogKey { get; } public static Foundation.NSString LogTransferFunctionKey { get; } ``` #### Type Changed: CoreVideo.CVPixelBufferPool Added properties: ```csharp public static Foundation.NSString LogTransferFunctionAppleLogKey { get; } public static Foundation.NSString LogTransferFunctionKey { get; } ``` ### Namespace EventKit #### Type Changed: EventKit.EKAuthorizationStatus Added value: ```csharp WriteOnly = 4, ``` #### Type Changed: EventKit.EKEventStore Added methods: ```csharp public virtual void RequestFullAccessToEvents (EKEventStoreRequestAccessCompletionHandler completion); public virtual System.Threading.Tasks.Task<System.Tuple<System.Boolean,Foundation.NSError>> RequestFullAccessToEventsAsync (); public virtual void RequestFullAccessToReminders (EKEventStoreRequestAccessCompletionHandler completion); public virtual System.Threading.Tasks.Task<System.Tuple<System.Boolean,Foundation.NSError>> RequestFullAccessToRemindersAsync (); public virtual void RequestWriteOnlyAccessToEvents (EKEventStoreRequestAccessCompletionHandler completion); public virtual System.Threading.Tasks.Task<System.Tuple<System.Boolean,Foundation.NSError>> RequestWriteOnlyAccessToEventsAsync (); ``` #### New Type: EventKit.EKEventStoreRequestAccessCompletionHandler ```csharp public sealed delegate EKEventStoreRequestAccessCompletionHandler : System.MulticastDelegate { // constructors public EKEventStoreRequestAccessCompletionHandler (object object, IntPtr method); // methods public virtual System.IAsyncResult BeginInvoke (bool didRequestAccess, Foundation.NSError error, System.AsyncCallback callback, object object); public virtual void EndInvoke (System.IAsyncResult result); public virtual void Invoke (bool didRequestAccess, Foundation.NSError error); } ``` ### Namespace Foundation #### Type Changed: Foundation.DictionaryContainer Added methods: ```csharp protected T GetStrongDictionary<T> (NSString key, System.Func<NSDictionary,T> createStrongDictionary); protected UIKit.UIEdgeInsets? GetUIEdgeInsets (NSString key); protected void SetUIEdgeInsets (NSString key, UIKit.UIEdgeInsets? value); ``` #### Type Changed: Foundation.NSAttributedStringDocumentAttributes Obsoleted properties: ```diff [Obsolete ("Use 'CharacterEncoding' instead.")] public NSStringEncoding? StringEncoding { get; set; } ``` Added properties: ```csharp public NSStringEncoding? CharacterEncoding { get; set; } public float? CocoaVersion { get; set; } public NSAttributedStringDocumentAttributes DefaultAttributes { get; set; } public UIKit.NSTextScalingType? SourceTextScaling { get; set; } public UIKit.NSTextScalingType? TextScaling { get; set; } ``` #### Type Changed: Foundation.NSAttributedStringNameKey Added values: ```csharp InflectionAgreementArgument = 10, InflectionAgreementConcept = 11, InflectionReferentConcept = 12, ``` #### Type Changed: Foundation.NSBundle Added property: ```csharp public static NSString BundleDidLoadNotification { get; } ``` #### Type Changed: Foundation.NSDataWritingOptions Added value: ```csharp FileProtectionCompleteWhenUserInactive = 1342177280, ``` #### Type Changed: Foundation.NSDate Added property: ```csharp public static NSString SystemClockDidChangeNotification { get; } ``` #### Type Changed: Foundation.NSError Added property: ```csharp public static NSString NSNetServicesErrorCode { get; } ``` #### Type Changed: Foundation.NSFileManager Obsoleted properties: ```diff [Obsolete ("Use the 'NSFileProtectionType' instead.")] public static NSString FileProtectionComplete { get; } [Obsolete ("Use the 'NSFileProtectionType' instead.")] public static NSString FileProtectionCompleteUnlessOpen { get; } [Obsolete ("Use the 'NSFileProtectionType' instead.")] public static NSString FileProtectionCompleteUntilFirstUserAuthentication { get; } [Obsolete ("Use the 'NSFileProtectionType' instead.")] public static NSString FileProtectionNone { get; } ``` #### Type Changed: Foundation.NSFileProviderService Added methods: ```csharp public virtual void GetFileProviderConnection (System.Action<NSXpcConnection,Foundation.NSError> completionHandler); public virtual System.Threading.Tasks.Task<NSXpcConnection> GetFileProviderConnectionAsync (); ``` #### Type Changed: Foundation.NSLocale Added properties: ```csharp public virtual string LanguageIdentifier { get; } public virtual string RegionCode { get; } ``` #### Type Changed: Foundation.NSMorphology Added properties: ```csharp public virtual NSGrammaticalDefiniteness Definiteness { get; set; } public virtual NSGrammaticalDetermination Determination { get; set; } public virtual NSGrammaticalCase GrammaticalCase { get; set; } public virtual NSGrammaticalPerson GrammaticalPerson { get; set; } public virtual NSGrammaticalPronounType PronounType { get; set; } ``` #### Type Changed: Foundation.NSPort Added property: ```csharp public static NSString PortDidBecomeInvalidNotification { get; } ``` #### Type Changed: Foundation.NSThread Added properties: ```csharp public static NSString ThreadWillExitNotification { get; } public static NSString WillBecomeMultiThreadedNotification { get; } ``` #### Type Changed: Foundation.NSTimeZone Added property: ```csharp public static NSString SystemTimeZoneDidChangeNotification { get; } ``` #### Type Changed: Foundation.NSUrl Added properties: ```csharp public static NSString DirectoryEntryCountKey { get; } public static NSString FileProtectionCompleteWhenUserInactive { get; } ``` Added methods: ```csharp public static NSUrl CreateFileUrl (string path); public static NSUrl CreateFileUrl (string path, bool isDir); public static NSUrl FromString (string url, bool encodingInvalidCharacters); ``` #### Type Changed: Foundation.NSUrlComponents Added method: ```csharp public static NSUrlComponents FromString (string url, bool encodingInvalidCharacters); ``` #### Type Changed: Foundation.NSUrlConnection Obsoleted properties: ```diff [Obsolete ("The NewsstandKit framework has been removed from iOS.")] public virtual NewsstandKit.NKAssetDownload NewsstandAssetDownload { get; } ``` Removed method: ```csharp protected override void Dispose (bool disposing); ``` #### Type Changed: Foundation.NSUrlSession Added methods: ```csharp public virtual NSUrlSessionUploadTask CreateUploadTask (NSData resumeData); public virtual NSUrlSessionUploadTask CreateUploadTask (NSData resumeData, System.Action<NSData,Foundation.NSUrlResponse,Foundation.NSError> completionHandler); public virtual System.Threading.Tasks.Task<NSUrlSessionUploadTaskResumeRequest> CreateUploadTaskAsync (NSData resumeData); public virtual System.Threading.Tasks.Task<NSUrlSessionUploadTaskResumeRequest> CreateUploadTaskAsync (NSData resumeData, out NSUrlSessionUploadTask result); ``` #### Type Changed: Foundation.NSUrlSessionConfiguration Added property: ```csharp public Network.NWProxyConfig[] ProxyConfigurations { get; set; } ``` #### Type Changed: Foundation.NSUrlSessionTaskDelegate Added methods: ```csharp public virtual void DidReceiveInformationalResponse (NSUrlSession session, NSUrlSessionTask task, NSHttpUrlResponse response); public virtual void NeedNewBodyStream (NSUrlSession session, NSUrlSessionTask task, long offset, System.Action<NSInputStream> completionHandler); ``` #### Type Changed: Foundation.NSUrlSessionTaskDelegate_Extensions Added methods: ```csharp public static void DidReceiveInformationalResponse (this INSUrlSessionTaskDelegate This, NSUrlSession session, NSUrlSessionTask task, NSHttpUrlResponse response); public static void NeedNewBodyStream (this INSUrlSessionTaskDelegate This, NSUrlSession session, NSUrlSessionTask task, long offset, System.Action<NSInputStream> completionHandler); ``` #### Type Changed: Foundation.NSUrlSessionUploadTask Added property: ```csharp public static NSString ResumeDataKey { get; } ``` Added methods: ```csharp public virtual void CancelByProducingResumeData (System.Action<NSData> completionHandler); public virtual System.Threading.Tasks.Task<NSData> CancelByProducingResumeDataAsync (); ``` #### New Type: Foundation.NSExceptionError ```csharp public sealed class NSExceptionError : Foundation.NSError { // constructors public NSExceptionError (System.Exception exception); // properties public System.Exception Exception { get; } } ``` #### New Type: Foundation.NSFileProtectionType ```csharp [Serializable] public enum NSFileProtectionType { Complete = 0, CompleteUnlessOpen = 1, CompleteUntilFirstUserAuthentication = 2, CompleteWhenUserInactive = 4, None = 3, } ``` #### New Type: Foundation.NSFileProtectionTypeExtensions ```csharp public static class NSFileProtectionTypeExtensions { // methods public static NSString GetConstant (this NSFileProtectionType self); public static NSFileProtectionType GetValue (NSString constant); } ``` #### New Type: Foundation.NSGrammaticalCase ```csharp [Serializable] public enum NSGrammaticalCase { Ablative = 6, Accusative = 2, Adessive = 7, Allative = 8, Dative = 3, Elative = 9, Essive = 11, Genitive = 4, Illative = 10, Inessive = 12, Locative = 13, Nominative = 1, NotSet = 0, Prepositional = 5, Translative = 14, } ``` #### New Type: Foundation.NSGrammaticalDefiniteness ```csharp [Serializable] public enum NSGrammaticalDefiniteness { Definite = 2, Indefinite = 1, NotSet = 0, } ``` #### New Type: Foundation.NSGrammaticalDetermination ```csharp [Serializable] public enum NSGrammaticalDetermination { Dependent = 2, Independent = 1, NotSet = 0, } ``` #### New Type: Foundation.NSGrammaticalPerson ```csharp [Serializable] public enum NSGrammaticalPerson { First = 1, NotSet = 0, Second = 2, Third = 3, } ``` #### New Type: Foundation.NSGrammaticalPronounType ```csharp [Serializable] public enum NSGrammaticalPronounType { NotSet = 0, Personal = 1, Possessive = 3, Reflexive = 2, } ``` #### New Type: Foundation.NSMorphologyPronoun ```csharp public class NSMorphologyPronoun : Foundation.NSObject, INSCoding, INSCopying, INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable { // constructors public NSMorphologyPronoun (NSCoder coder); protected NSMorphologyPronoun (NSObjectFlag t); protected NSMorphologyPronoun (IntPtr handle); public NSMorphologyPronoun (string pronoun, NSMorphology morphology, NSMorphology dependentMorphology); // properties public override IntPtr ClassHandle { get; } public virtual NSMorphology DependentMorphology { get; } public virtual NSMorphology Morphology { get; } public virtual string Pronoun { get; } // methods public virtual NSObject Copy (NSZone zone); public virtual void EncodeTo (NSCoder encoder); } ``` #### New Type: Foundation.NSTermOfAddress ```csharp public class NSTermOfAddress : Foundation.NSObject, INSCoding, INSCopying, INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable { // constructors public NSTermOfAddress (NSCoder coder); protected NSTermOfAddress (NSObjectFlag t); protected NSTermOfAddress (IntPtr handle); // properties public override IntPtr ClassHandle { get; } public static NSTermOfAddress Feminine { get; } public virtual string LanguageIdentifier { get; } public static NSTermOfAddress Masculine { get; } public static NSTermOfAddress Neutral { get; } public virtual NSMorphologyPronoun[] Pronouns { get; } // methods public virtual NSObject Copy (NSZone zone); public virtual void EncodeTo (NSCoder encoder); public static NSTermOfAddress GetLocalized (string language, NSMorphologyPronoun[] pronouns); } ``` #### New Type: Foundation.NSUrlSessionUploadTaskResumeRequest ```csharp public class NSUrlSessionUploadTaskResumeRequest { // constructors public NSUrlSessionUploadTaskResumeRequest (NSData arg1, NSUrlResponse arg2); // properties public NSData Arg1 { get; set; } public NSUrlResponse Arg2 { get; set; } } ``` ### Namespace GameKit #### Type Changed: GameKit.GKAchievement Added methods: ```csharp public virtual UIKit.UIViewController ChallengeComposeControllerWithMessage (string message, GKPlayer[] players, GKChallengeComposeHandler2 completionHandler); public virtual System.Threading.Tasks.Task<GKChallengeComposeControllerResult> ChallengeComposeControllerWithMessageAsync (string message, GKPlayer[] players); public virtual System.Threading.Tasks.Task<GKChallengeComposeControllerResult> ChallengeComposeControllerWithMessageAsync (string message, GKPlayer[] players, out UIKit.UIViewController result); ``` #### Type Changed: GameKit.GKAchievementDescription Added property: ```csharp public virtual Foundation.NSNumber RarityPercent { get; } ``` #### Type Changed: GameKit.GKError Added values: ```csharp ICloudUnavailable = 35, LockdownMode = 36, ``` #### Type Changed: GameKit.GKLeaderboardEntry Added methods: ```csharp public virtual UIKit.UIViewController ChallengeComposeControllerWithMessage (string message, GKPlayer[] players, GKChallengeComposeHandler2 completionHandler); public virtual System.Threading.Tasks.Task<GKChallengeComposeControllerResult> ChallengeComposeControllerWithMessageAsync (string message, GKPlayer[] players); public virtual System.Threading.Tasks.Task<GKChallengeComposeControllerResult> ChallengeComposeControllerWithMessageAsync (string message, GKPlayer[] players, out UIKit.UIViewController result); ``` #### Type Changed: GameKit.GKMatch Added properties: ```csharp public virtual Foundation.NSDictionary<GameKit.GKPlayer,Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject>> PlayerProperties { get; } public virtual Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject> Properties { get; } ``` #### Type Changed: GameKit.GKMatchRequest Added properties: ```csharp public virtual Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject> Properties { get; set; } public virtual string QueueName { get; set; } public virtual Foundation.NSDictionary<GameKit.GKPlayer,Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject>> RecipientProperties { get; set; } ``` #### Type Changed: GameKit.GKMatchmaker Added methods: ```csharp public virtual void FindMatchedPlayers (GKMatchRequest request, System.Action<GKMatchedPlayers,Foundation.NSError> completionHandler); public virtual System.Threading.Tasks.Task<GKMatchedPlayers> FindMatchedPlayersAsync (GKMatchRequest request); public virtual void QueryQueueActivity (string queueName, System.Action<System.nint,Foundation.NSError> completionHandler); public virtual System.Threading.Tasks.Task<nint> QueryQueueActivityAsync (string queueName); ``` #### Type Changed: GameKit.GKMatchmakerViewControllerDelegate Added method: ```csharp public virtual void GetMatchProperties (GKMatchmakerViewController viewController, GKPlayer recipient, System.Action<Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject>> completionHandler); ``` #### Type Changed: GameKit.GKMatchmakerViewControllerDelegate_Extensions Added method: ```csharp public static void GetMatchProperties (this IGKMatchmakerViewControllerDelegate This, GKMatchmakerViewController viewController, GKPlayer recipient, System.Action<Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject>> completionHandler); ``` #### Type Changed: GameKit.GKVoiceChat Added property: ```csharp public virtual System.Action<GKPlayer,GameKit.GKVoiceChatPlayerState> PlayerVoiceChatStateDidChangeHandler { get; } ``` #### New Type: GameKit.GKChallengeComposeControllerResult ```csharp public class GKChallengeComposeControllerResult { // constructors public GKChallengeComposeControllerResult (UIKit.UIViewController composeController, bool issuedChallenge, GKPlayer[] sentPlayers); // properties public UIKit.UIViewController ComposeController { get; set; } public bool IssuedChallenge { get; set; } public GKPlayer[] SentPlayers { get; set; } } ``` #### New Type: GameKit.GKChallengeComposeHandler2 ```csharp public sealed delegate GKChallengeComposeHandler2 : System.MulticastDelegate { // constructors public GKChallengeComposeHandler2 (object object, IntPtr method); // methods public virtual System.IAsyncResult BeginInvoke (UIKit.UIViewController composeController, bool issuedChallenge, GKPlayer[] sentPlayers, System.AsyncCallback callback, object object); public virtual void EndInvoke (System.IAsyncResult result); public virtual void Invoke (UIKit.UIViewController composeController, bool issuedChallenge, GKPlayer[] sentPlayers); } ``` #### New Type: GameKit.GKMatchedPlayers ```csharp public class GKMatchedPlayers : Foundation.NSObject { // constructors public GKMatchedPlayers (); protected GKMatchedPlayers (Foundation.NSObjectFlag t); protected GKMatchedPlayers (IntPtr handle); // properties public override IntPtr ClassHandle { get; } public virtual Foundation.NSDictionary<GameKit.GKPlayer,Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject>> PlayerProperties { get; } public virtual GKPlayer[] Players { get; } public virtual Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject> Properties { get; } } ``` ### Namespace HealthKit #### Type Changed: HealthKit.HKErrorCode Added values: ```csharp BackgroundWorkoutSessionNotAllowed = 14, DataSizeExceeded = 13, WorkoutActivityNotAllowed = 12, ``` #### Type Changed: HealthKit.HKHealthStore Added properties: ```csharp public virtual UIKit.UIViewController AuthorizationViewControllerPresenter { get; set; } public virtual System.Action<HKWorkoutSession> WorkoutSessionMirroringStartHandler { get; set; } ``` #### Type Changed: HealthKit.HKMetadataKey Added properties: ```csharp public static Foundation.NSString AppleFitnessPlusSession { get; } public static Foundation.NSString CyclingFunctionalThresholdPowerTestType { get; } public static Foundation.NSString KeyActivityType { get; } public static Foundation.NSString MaximumLightIntensity { get; } public static Foundation.NSString PhysicalEffortEstimationType { get; } public static Foundation.NSString WaterSalinity { get; } ``` #### Type Changed: HealthKit.HKQuantityTypeIdentifier Added values: ```csharp CyclingCadence = 103, CyclingFunctionalThresholdPower = 104, CyclingPower = 105, CyclingSpeed = 106, EnvironmentalSoundReduction = 107, PhysicalEffort = 108, TimeInDaylight = 109, ``` #### Type Changed: HealthKit.HKUnit Added property: ```csharp public static HKUnit Lux { get; } ``` Added method: ```csharp public static HKUnit CreateLux (HKMetricPrefix prefix); ``` #### Type Changed: HealthKit.HKWorkoutActivityType Added value: ```csharp UnderwaterDiving = 84, ``` #### New Type: HealthKit.HKCyclingFunctionalThresholdPowerTestType ```csharp [Serializable] public enum HKCyclingFunctionalThresholdPowerTestType { MaxExercise20Minute = 2, MaxExercise60Minute = 1, PredictionExercise = 4, RampTest = 3, } ``` #### New Type: HealthKit.HKPhysicalEffortEstimationType ```csharp [Serializable] public enum HKPhysicalEffortEstimationType { ActivityLookup = 1, DeviceSensed = 2, } ``` #### New Type: HealthKit.HKWaterSalinity ```csharp [Serializable] public enum HKWaterSalinity { FreshWater = 1, SaltWater = 2, } ``` #### New Type: HealthKit.HKWorkoutSession ```csharp public class HKWorkoutSession : Foundation.NSObject, Foundation.INSCoding, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable { // constructors public HKWorkoutSession (Foundation.NSCoder coder); protected HKWorkoutSession (Foundation.NSObjectFlag t); protected HKWorkoutSession (IntPtr handle); // properties public virtual HKWorkoutActivityType ActivityType { get; } public override IntPtr ClassHandle { get; } public virtual HKWorkoutActivity CurrentActivity { get; } public IHKWorkoutSessionDelegate Delegate { get; set; } public virtual Foundation.NSDate EndDate { get; } public virtual HKWorkoutSessionLocationType LocationType { get; } public virtual Foundation.NSDate StartDate { get; } public virtual HKWorkoutSessionState State { get; } public virtual HKWorkoutSessionType Type { get; } public virtual Foundation.NSObject WeakDelegate { get; set; } public virtual HKWorkoutConfiguration WorkoutConfiguration { get; } // methods public virtual void BeginNewActivity (HKWorkoutConfiguration workoutConfiguration, Foundation.NSDate date, Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject> metadata); protected override void Dispose (bool disposing); public virtual void EncodeTo (Foundation.NSCoder encoder); public virtual void End (); public virtual void EndCurrentActivity (Foundation.NSDate date); public virtual void Pause (); public virtual void Prepare (); public virtual void Resume (); public virtual void SendDataToRemoteWorkoutSession (Foundation.NSData data, System.Action<System.Boolean,Foundation.NSError> completion); public virtual System.Threading.Tasks.Task<System.Tuple<System.Boolean,Foundation.NSError>> SendDataToRemoteWorkoutSessionAsync (Foundation.NSData data); public virtual void StartActivity (Foundation.NSDate date); public virtual void StopActivity (Foundation.NSDate date); } ``` #### New Type: HealthKit.HKWorkoutSessionDelegate ```csharp public abstract class HKWorkoutSessionDelegate : Foundation.NSObject, IHKWorkoutSessionDelegate, ObjCRuntime.INativeObject, System.IDisposable { // constructors protected HKWorkoutSessionDelegate (); protected HKWorkoutSessionDelegate (Foundation.NSObjectFlag t); protected HKWorkoutSessionDelegate (IntPtr handle); // methods public virtual void DidBeginActivity (HKWorkoutSession workoutSession, HKWorkoutConfiguration workoutConfiguration, Foundation.NSDate date); public abstract void DidChangeToState (HKWorkoutSession workoutSession, HKWorkoutSessionState toState, HKWorkoutSessionState fromState, Foundation.NSDate date); public virtual void DidDisconnect (HKWorkoutSession workoutSession, Foundation.NSError error); public virtual void DidEndActivity (HKWorkoutSession workoutSession, HKWorkoutConfiguration workoutConfiguration, Foundation.NSDate date); public abstract void DidFail (HKWorkoutSession workoutSession, Foundation.NSError error); public virtual void DidGenerateEvent (HKWorkoutSession workoutSession, HKWorkoutEvent event); public virtual void DidReceiveData (HKWorkoutSession workoutSession, Foundation.NSData[] data); } ``` #### New Type: HealthKit.HKWorkoutSessionDelegate_Extensions ```csharp public static class HKWorkoutSessionDelegate_Extensions { // methods public static void DidBeginActivity (this IHKWorkoutSessionDelegate This, HKWorkoutSession workoutSession, HKWorkoutConfiguration workoutConfiguration, Foundation.NSDate date); public static void DidDisconnect (this IHKWorkoutSessionDelegate This, HKWorkoutSession workoutSession, Foundation.NSError error); public static void DidEndActivity (this IHKWorkoutSessionDelegate This, HKWorkoutSession workoutSession, HKWorkoutConfiguration workoutConfiguration, Foundation.NSDate date); public static void DidGenerateEvent (this IHKWorkoutSessionDelegate This, HKWorkoutSession workoutSession, HKWorkoutEvent event); public static void DidReceiveData (this IHKWorkoutSessionDelegate This, HKWorkoutSession workoutSession, Foundation.NSData[] data); } ``` #### New Type: HealthKit.HKWorkoutSessionState ```csharp [Serializable] public enum HKWorkoutSessionState { Ended = 3, NotStarted = 1, Paused = 4, Prepared = 5, Running = 2, Stopped = 6, } ``` #### New Type: HealthKit.HKWorkoutSessionType ```csharp [Serializable] public enum HKWorkoutSessionType { Mirrored = 1, Primary = 0, } ``` #### New Type: HealthKit.IHKWorkoutSessionDelegate ```csharp public interface IHKWorkoutSessionDelegate : ObjCRuntime.INativeObject, System.IDisposable { // methods public abstract void DidChangeToState (HKWorkoutSession workoutSession, HKWorkoutSessionState toState, HKWorkoutSessionState fromState, Foundation.NSDate date); public abstract void DidFail (HKWorkoutSession workoutSession, Foundation.NSError error); } ``` ### Namespace HomeKit #### Type Changed: HomeKit.HMServiceTypeExtensions Added methods: ```csharp public static Foundation.NSString[] ToArray (this HMServiceType value); public static HMServiceType ToFlags (System.Collections.Generic.IEnumerable<Foundation.NSString> constants); ``` ### Namespace ImageIO #### Type Changed: ImageIO.CGImageDestinationOptions Added property: ```csharp public Foundation.NSDictionary AvisDictionary { get; set; } ``` #### Type Changed: ImageIO.CGImageDestinationOptionsKeys Added property: ```csharp public static Foundation.NSString AvisDictionary { get; } ``` #### Type Changed: ImageIO.CGImageProperties Added property: ```csharp public static Foundation.NSString AvisDictionary { get; } ``` #### New Type: ImageIO.CGImageDecodeOptions ```csharp public class CGImageDecodeOptions { // constructors public CGImageDecodeOptions (); } ``` ### Namespace Intents #### Type Changed: Intents.INIntentErrorCode Added values: ```csharp NoAppIntent = 10001, UnableToCreateAppIntentRepresentation = 10000, ``` #### Type Changed: Intents.INMessage Added constructors: ```csharp public INMessage (string identifier, string conversationIdentifier, string content, Foundation.NSDate dateSent, INPerson sender, INPerson[] recipients, INSpeakableString groupName, string serviceName, INMessageLinkMetadata linkMetadata); public INMessage (string identifier, string conversationIdentifier, string content, Foundation.NSDate dateSent, INPerson sender, INPerson[] recipients, INSpeakableString groupName, INMessageType messageType, string serviceName, INFile[] attachmentFiles); public INMessage (string identifier, string conversationIdentifier, string content, Foundation.NSDate dateSent, INPerson sender, INPerson[] recipients, INSpeakableString groupName, string serviceName, INMessageType messageType, Foundation.NSNumber numberOfAttachments); ``` Added properties: ```csharp public virtual INFile[] AttachmentFiles { get; } public virtual INMessageLinkMetadata LinkMetadata { get; } public virtual int NumberOfAttachments { get; } ``` #### Type Changed: Intents.INMessageType Added value: ```csharp Reaction = 26, ``` #### Type Changed: Intents.INSearchForMessagesIntentResponseCode Added value: ```csharp FailureRequiringInAppAuthentication = 8, ``` #### Type Changed: Intents.INSendMessageIntentResponseCode Added value: ```csharp FailureRequiringInAppAuthentication = 7, ``` #### Type Changed: Intents.INSendMessageRecipientUnsupportedReason Added value: ```csharp RequiringInAppAuthentication = 7, ``` #### Type Changed: Intents.INStartCallContactUnsupportedReason Added value: ```csharp RequiringInAppAuthentication = 8, ``` #### Type Changed: Intents.INStartCallIntentResponseCode Added value: ```csharp ResponseCode = 13, ``` #### New Type: Intents.IINEditMessageIntentHandling ```csharp public interface IINEditMessageIntentHandling : ObjCRuntime.INativeObject, System.IDisposable { // methods public abstract void HandleEditMessage (INEditMessageIntent intent, System.Action<INEditMessageIntentResponse> completion); } ``` #### New Type: Intents.IINUnsendMessagesIntentHandling ```csharp public interface IINUnsendMessagesIntentHandling : ObjCRuntime.INativeObject, System.IDisposable { // methods public abstract void HandleUnsendMessages (INUnsendMessagesIntent intent, System.Action<INUnsendMessagesIntentResponse> completion); } ``` #### New Type: Intents.INEditMessageIntent ```csharp public class INEditMessageIntent : Intents.INIntent { // constructors public INEditMessageIntent (); public INEditMessageIntent (Foundation.NSCoder coder); protected INEditMessageIntent (Foundation.NSObjectFlag t); protected INEditMessageIntent (IntPtr handle); public INEditMessageIntent (string messageIdentifier, string editedContent); // properties public override IntPtr ClassHandle { get; } public virtual string EditedContent { get; } public virtual string MessageIdentifier { get; } } ``` #### New Type: Intents.INEditMessageIntentHandling_Extensions ```csharp public static class INEditMessageIntentHandling_Extensions { // methods public static void ConfirmEditMessage (this IINEditMessageIntentHandling This, INEditMessageIntent intent, System.Action<INEditMessageIntentResponse> completion); public static void ResolveEditedContent (this IINEditMessageIntentHandling This, INEditMessageIntent intent, System.Action<INStringResolutionResult> completion); } ``` #### New Type: Intents.INEditMessageIntentResponse ```csharp public class INEditMessageIntentResponse : Intents.INIntentResponse { // constructors public INEditMessageIntentResponse (Foundation.NSCoder coder); protected INEditMessageIntentResponse (Foundation.NSObjectFlag t); protected INEditMessageIntentResponse (IntPtr handle); public INEditMessageIntentResponse (INEditMessageIntentResponseCode code, Foundation.NSUserActivity userActivity); // properties public override IntPtr ClassHandle { get; } public virtual INEditMessageIntentResponseCode Code { get; } } ``` #### New Type: Intents.INEditMessageIntentResponseCode ```csharp [Serializable] public enum INEditMessageIntentResponseCode { Failure = 4, FailureMessageNotFound = 6, FailureMessageServiceNotAvailable = 10, FailureMessageTypeUnsupported = 8, FailurePastEditTimeLimit = 7, FailureRequiringAppLaunch = 5, FailureRequiringInAppAuthentication = 11, FailureUnsupportedOnService = 9, InProgress = 2, Ready = 1, Success = 3, Unspecified = 0, } ``` #### New Type: Intents.INMessageLinkMetadata ```csharp public class INMessageLinkMetadata : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable { // constructors public INMessageLinkMetadata (); public INMessageLinkMetadata (Foundation.NSCoder coder); protected INMessageLinkMetadata (Foundation.NSObjectFlag t); protected INMessageLinkMetadata (IntPtr handle); public INMessageLinkMetadata (string siteName, string summary, string title, string openGraphType, Foundation.NSUrl linkUrl); // properties public override IntPtr ClassHandle { get; } public virtual Foundation.NSUrl LinkUrl { get; set; } public virtual string OpenGraphType { get; set; } public virtual string SiteName { get; set; } public virtual string Summary { get; set; } public virtual string Title { get; set; } // methods public virtual Foundation.NSObject Copy (Foundation.NSZone zone); public virtual void EncodeTo (Foundation.NSCoder encoder); } ``` #### New Type: Intents.INUnsendMessagesIntent ```csharp public class INUnsendMessagesIntent : Intents.INIntent { // constructors public INUnsendMessagesIntent (); public INUnsendMessagesIntent (Foundation.NSCoder coder); protected INUnsendMessagesIntent (Foundation.NSObjectFlag t); protected INUnsendMessagesIntent (IntPtr handle); public INUnsendMessagesIntent (string[] messageIdentifiers); // properties public override IntPtr ClassHandle { get; } public virtual string[] MessageIdentifiers { get; } } ``` #### New Type: Intents.INUnsendMessagesIntentHandling_Extensions ```csharp public static class INUnsendMessagesIntentHandling_Extensions { // methods public static void ConfirmUnsendMessages (this IINUnsendMessagesIntentHandling This, INUnsendMessagesIntent intent, System.Action<INUnsendMessagesIntentResponse> completion); } ``` #### New Type: Intents.INUnsendMessagesIntentResponse ```csharp public class INUnsendMessagesIntentResponse : Intents.INIntentResponse { // constructors public INUnsendMessagesIntentResponse (Foundation.NSCoder coder); protected INUnsendMessagesIntentResponse (Foundation.NSObjectFlag t); protected INUnsendMessagesIntentResponse (IntPtr handle); public INUnsendMessagesIntentResponse (INUnsendMessagesIntentResponseCode code, Foundation.NSUserActivity userActivity); // properties public override IntPtr ClassHandle { get; } public virtual INUnsendMessagesIntentResponseCode Code { get; } } ``` #### New Type: Intents.INUnsendMessagesIntentResponseCode ```csharp [Serializable] public enum INUnsendMessagesIntentResponseCode { Failure = 4, FailureMessageNotFound = 6, FailureMessageServiceNotAvailable = 10, FailureMessageTypeUnsupported = 8, FailurePastUnsendTimeLimit = 7, FailureRequiringAppLaunch = 5, FailureRequiringInAppAuthentication = 11, FailureUnsupportedOnService = 9, InProgress = 2, Ready = 1, Success = 3, Unspecified = 0, } ``` ### Namespace LocalAuthentication #### Type Changed: LocalAuthentication.LABiometryType Added value: ```csharp OpticId = 4, ``` ### Namespace MapKit #### Type Changed: MapKit.MKMapSnapshotOptions Added property: ```csharp public virtual MKMapConfiguration PreferredConfiguration { get; set; } ``` #### Type Changed: MapKit.MKMapView Added properties: ```csharp public virtual MKFeatureVisibility PitchButtonVisibility { get; set; } public virtual bool ShowsUserTrackingButton { get; set; } ``` ### Namespace MediaAccessibility #### New Type: MediaAccessibility.MAFlashingLightsProcessor ```csharp public class MAFlashingLightsProcessor : Foundation.NSObject { // constructors public MAFlashingLightsProcessor (); protected MAFlashingLightsProcessor (Foundation.NSObjectFlag t); protected MAFlashingLightsProcessor (IntPtr handle); // properties public override IntPtr ClassHandle { get; } // methods public virtual bool CanProcess (IOSurface.IOSurface surface); public virtual MAFlashingLightsProcessorResult Process (IOSurface.IOSurface inSurface, IOSurface.IOSurface outSurface, double timestamp, Foundation.NSDictionary options); } ``` #### New Type: MediaAccessibility.MAFlashingLightsProcessorResult ```csharp public class MAFlashingLightsProcessorResult : Foundation.NSObject { // constructors public MAFlashingLightsProcessorResult (); protected MAFlashingLightsProcessorResult (Foundation.NSObjectFlag t); protected MAFlashingLightsProcessorResult (IntPtr handle); // properties public override IntPtr ClassHandle { get; } public virtual float IntensityLevel { get; } public virtual float MitigationLevel { get; } public virtual bool SurfaceProcessed { get; } } ``` ### Namespace MessageUI #### Type Changed: MessageUI.MFMessageComposeViewController Added methods: ```csharp public virtual void SetUpiVerificationCodeSendCompletion (System.Action<bool> completion); public virtual System.Threading.Tasks.Task<bool> SetUpiVerificationCodeSendCompletionAsync (); ``` ### Namespace Messages #### Type Changed: Messages.MSSticker Added constructor: ```csharp public MSSticker (Foundation.NSUrl url, Foundation.NSUuid identifier, string localizedDescription); ``` ### Namespace Metal #### Type Changed: Metal.IMTLAccelerationStructure Added property: ```csharp public virtual MTLResourceId GpuResourceId { get; } ``` #### Type Changed: Metal.IMTLRenderPipelineState Added properties: ```csharp public virtual MTLResourceId GpuResourceId { get; } public virtual nuint MaxTotalThreadgroupsPerMeshGrid { get; } public virtual nuint MeshThreadExecutionWidth { get; } ``` #### Type Changed: Metal.MTLAccelerationStructureCommandEncoder_Extensions Added method: ```csharp public static void RefitAccelerationStructure (this IMTLAccelerationStructureCommandEncoder This, IMTLAccelerationStructure sourceAccelerationStructure, MTLAccelerationStructureDescriptor descriptor, IMTLAccelerationStructure destinationAccelerationStructure, IMTLBuffer scratchBuffer, nuint scratchBufferOffset, MTLAccelerationStructureRefitOptions options); ``` #### Type Changed: Metal.MTLAccelerationStructureGeometryDescriptor Added properties: ```csharp public virtual IMTLBuffer PrimitiveDataBuffer { get; set; } public virtual nuint PrimitiveDataBufferOffset { get; set; } public virtual nuint PrimitiveDataElementSize { get; set; } public virtual nuint PrimitiveDataStride { get; set; } ``` #### Type Changed: Metal.MTLAccelerationStructureInstanceDescriptorType Added values: ```csharp Indirect = 3, IndirectMotion = 4, ``` #### Type Changed: Metal.MTLAccelerationStructureMotionTriangleGeometryDescriptor Added properties: ```csharp public virtual IMTLBuffer TransformationMatrixBuffer { get; set; } public virtual nuint TransformationMatrixBufferOffset { get; set; } public virtual MTLAttributeFormat VertexFormat { get; set; } ``` #### Type Changed: Metal.MTLAccelerationStructureTriangleGeometryDescriptor Added properties: ```csharp public virtual IMTLBuffer TransformationMatrixBuffer { get; set; } public virtual nuint TransformationMatrixBufferOffset { get; set; } public virtual MTLAttributeFormat VertexFormat { get; set; } ``` #### Type Changed: Metal.MTLAttributeFormat Added values: ```csharp FloatRG11B10 = 54, FloatRGB9E5 = 55, ``` #### Type Changed: Metal.MTLBinaryArchiveError Added value: ```csharp InternalError = 4, ``` #### Type Changed: Metal.MTLBuffer_Extensions Added method: ```csharp public static ulong GetGpuAddress (this IMTLBuffer This); ``` #### Type Changed: Metal.MTLCommandBuffer_Extensions Added method: ```csharp public static IMTLAccelerationStructureCommandEncoder CreateAccelerationStructureCommandEncoder (this IMTLCommandBuffer This, MTLAccelerationStructurePassDescriptor descriptor); ``` #### Type Changed: Metal.MTLCompileOptions Added properties: ```csharp public virtual bool AllowReferencingUndefinedSymbols { get; set; } public virtual MTLCompileSymbolVisibility CompileSymbolVisibility { get; set; } public virtual nuint MaxTotalThreadsPerThreadgroup { get; set; } public virtual MTLLibraryOptimizationLevel OptimizationLevel { get; set; } ``` #### Type Changed: Metal.MTLComputeCommandEncoder_Extensions Added methods: ```csharp public static void SetBuffer (this IMTLComputeCommandEncoder This, IMTLBuffer buffer, nuint offset, nuint stride, nuint index); public static void SetBufferOffset (this IMTLComputeCommandEncoder This, nuint offset, nuint stride, nuint index); public static void SetBuffers (this IMTLComputeCommandEncoder This, IntPtr buffers, IntPtr offsets, IntPtr strides, Foundation.NSRange range); public static void SetBytes (this IMTLComputeCommandEncoder This, IntPtr bytes, nuint length, nuint stride, nuint index); ``` #### Type Changed: Metal.MTLComputePipelineReflection Added property: ```csharp public virtual IMTLBinding[] Bindings { get; } ``` #### Type Changed: Metal.MTLComputePipelineState_Extensions Added method: ```csharp public static MTLResourceId GetGpuResourceId (this IMTLComputePipelineState This); ``` #### Type Changed: Metal.MTLDataType Added values: ```csharp BFloat = 121, BFloat2 = 122, BFloat3 = 123, BFloat4 = 124, ``` #### Type Changed: Metal.MTLDevice_Extensions Added methods: ```csharp public static IMTLArgumentEncoder CreateArgumentEncoder (this IMTLDevice This, IMTLBufferBinding bufferBinding); public static void CreateRenderPipelineState (this IMTLDevice This, MTLMeshRenderPipelineDescriptor descriptor, MTLPipelineOption options, MTLNewRenderPipelineStateWithReflectionCompletionHandler completionHandler); public static IMTLRenderPipelineState CreateRenderPipelineState (this IMTLDevice This, MTLMeshRenderPipelineDescriptor descriptor, MTLPipelineOption options, out MTLRenderPipelineReflection reflection, out Foundation.NSError error); public static MTLArchitecture GetArchitecture (this IMTLDevice This); public static MTLSizeAndAlign GetHeapAccelerationStructureSizeAndAlign (this IMTLDevice This, MTLAccelerationStructureDescriptor descriptor); public static MTLSizeAndAlign GetHeapAccelerationStructureSizeAndAlign (this IMTLDevice This, nuint size); public static ulong GetRecommendedMaxWorkingSetSize (this IMTLDevice This); public static MTLSize GetSparseTileSize (this IMTLDevice This, MTLTextureType textureType, MTLPixelFormat pixelFormat, nuint sampleCount, MTLSparsePageSize sparsePageSize); public static nuint GetSparseTileSizeInBytes (this IMTLDevice This, MTLSparsePageSize sparsePageSize); public static bool GetSupportsBCTextureCompression (this IMTLDevice This); ``` #### Type Changed: Metal.MTLFunctionOptions Added value: ```csharp StoreFunctionInMetalScript = 2, ``` #### Type Changed: Metal.MTLFunctionType Added values: ```csharp Mesh = 7, Object = 8, ``` #### Type Changed: Metal.MTLGpuFamily Added values: ```csharp Apple8 = 1008, Apple9 = 1009, Metal3 = 5001, ``` #### Type Changed: Metal.MTLHeapDescriptor Added property: ```csharp public virtual MTLSparsePageSize SparsePageSize { get; set; } ``` #### Type Changed: Metal.MTLHeap_Extensions Added methods: ```csharp public static IMTLAccelerationStructure CreateAccelerationStructure (this IMTLHeap This, MTLAccelerationStructureDescriptor descriptor); public static IMTLAccelerationStructure CreateAccelerationStructure (this IMTLHeap This, nuint size); public static IMTLAccelerationStructure CreateAccelerationStructure (this IMTLHeap This, MTLAccelerationStructureDescriptor descriptor, nuint offset); public static IMTLAccelerationStructure CreateAccelerationStructure (this IMTLHeap This, nuint size, nuint offset); ``` #### Type Changed: Metal.MTLIndirectCommandBufferDescriptor Added properties: ```csharp public virtual nuint MaxKernelThreadgroupMemoryBindCount { get; set; } public virtual nuint MaxMeshBufferBindCount { get; set; } public virtual nuint MaxObjectBufferBindCount { get; set; } public virtual nuint MaxObjectThreadgroupMemoryBindCount { get; set; } public virtual bool SupportDynamicAttributeStride { get; set; } public virtual bool SupportRayTracing { get; set; } ``` #### Type Changed: Metal.MTLIndirectCommandBuffer_Extensions Added method: ```csharp public static MTLResourceId GetGpuResourceID (this IMTLIndirectCommandBuffer This); ``` #### Type Changed: Metal.MTLIndirectCommandType Added values: ```csharp DrawMeshThreadgroups = 128, DrawMeshThreads = 256, ``` #### Type Changed: Metal.MTLIndirectComputeCommand_Extensions Added method: ```csharp public static void SetKernelBuffer (this IMTLIndirectComputeCommand This, IMTLBuffer buffer, nuint offset, nuint stride, nuint index); ``` #### Type Changed: Metal.MTLIndirectRenderCommand_Extensions Added methods: ```csharp public static void ClearBarrier (this IMTLIndirectRenderCommand This); public static void DrawMeshThreadgroups (this IMTLIndirectRenderCommand This, MTLSize threadgroupsPerGrid, MTLSize threadsPerObjectThreadgroup, MTLSize threadsPerMeshThreadgroup); public static void DrawMeshThreads (this IMTLIndirectRenderCommand This, MTLSize threadsPerGrid, MTLSize threadsPerObjectThreadgroup, MTLSize threadsPerMeshThreadgroup); public static void SetBarrier (this IMTLIndirectRenderCommand This); public static void SetMeshBuffer (this IMTLIndirectRenderCommand This, IMTLBuffer buffer, nuint offset, nuint index); public static void SetObjectBuffer (this IMTLIndirectRenderCommand This, IMTLBuffer buffer, nuint offset, nuint index); public static void SetObjectThreadgroupMemoryLength (this IMTLIndirectRenderCommand This, nuint length, nuint index); public static void SetVertexBuffer (this IMTLIndirectRenderCommand This, IMTLBuffer buffer, nuint offset, nuint stride, nuint index); ``` #### Type Changed: Metal.MTLIntersectionFunctionSignature Added values: ```csharp CurveData = 128, MaxLevels = 64, ``` #### Type Changed: Metal.MTLLanguageVersion Added values: ```csharp v3_0 = 196608, v3_1 = 196609, ``` #### Type Changed: Metal.MTLRenderCommandEncoder_Extensions Added methods: ```csharp public static void DrawMeshThreadgroups (this IMTLRenderCommandEncoder This, MTLSize threadgroupsPerGrid, MTLSize threadsPerObjectThreadgroup, MTLSize threadsPerMeshThreadgroup); public static void DrawMeshThreadgroups (this IMTLRenderCommandEncoder This, IMTLBuffer indirectBuffer, nuint indirectBufferOffset, MTLSize threadsPerObjectThreadgroup, MTLSize threadsPerMeshThreadgroup); public static void DrawMeshThreads (this IMTLRenderCommandEncoder This, MTLSize threadsPerGrid, MTLSize threadsPerObjectThreadgroup, MTLSize threadsPerMeshThreadgroup); public static void MemoryBarrier (this IMTLRenderCommandEncoder This, MTLBarrierScope scope, MTLRenderStages after, MTLRenderStages before); public static void MemoryBarrier (this IMTLRenderCommandEncoder This, IMTLResource[] resources, nuint count, MTLRenderStages after, MTLRenderStages before); public static void SetMeshBuffer (this IMTLRenderCommandEncoder This, IMTLBuffer buffer, nuint offset, nuint index); public static void SetMeshBufferOffset (this IMTLRenderCommandEncoder This, nuint offset, nuint index); public static void SetMeshBuffers (this IMTLRenderCommandEncoder This, IntPtr buffers, IntPtr offsets, Foundation.NSRange range); public static void SetMeshBytes (this IMTLRenderCommandEncoder This, IntPtr bytes, nuint length, nuint index); public static void SetMeshSamplerState (this IMTLRenderCommandEncoder This, IMTLSamplerState sampler, nuint index); public static void SetMeshSamplerState (this IMTLRenderCommandEncoder This, IMTLSamplerState sampler, float lodMinClamp, float lodMaxClamp, nuint index); public static void SetMeshSamplerStates (this IMTLRenderCommandEncoder This, IntPtr samplers, Foundation.NSRange range); public static void SetMeshSamplerStates (this IMTLRenderCommandEncoder This, IntPtr samplers, IntPtr lodMinClamps, IntPtr lodMaxClamps, Foundation.NSRange range); public static void SetMeshTexture (this IMTLRenderCommandEncoder This, IMTLTexture texture, nuint index); public static void SetMeshTextures (this IMTLRenderCommandEncoder This, IntPtr textures, Foundation.NSRange range); public static void SetObjectBuffer (this IMTLRenderCommandEncoder This, IMTLBuffer buffer, nuint offset, nuint index); public static void SetObjectBufferOffset (this IMTLRenderCommandEncoder This, nuint offset, nuint index); public static void SetObjectBuffers (this IMTLRenderCommandEncoder This, IntPtr buffers, IntPtr offsets, Foundation.NSRange range); public static void SetObjectBytes (this IMTLRenderCommandEncoder This, IntPtr bytes, nuint length, nuint index); public static void SetObjectSamplerState (this IMTLRenderCommandEncoder This, IMTLSamplerState sampler, nuint index); public static void SetObjectSamplerState (this IMTLRenderCommandEncoder This, IMTLSamplerState sampler, float lodMinClamp, float lodMaxClamp, nuint index); public static void SetObjectSamplerStates (this IMTLRenderCommandEncoder This, IntPtr samplers, Foundation.NSRange range); public static void SetObjectSamplerStates (this IMTLRenderCommandEncoder This, IntPtr samplers, IntPtr lodMinClamps, IntPtr lodMaxClamps, Foundation.NSRange range); public static void SetObjectTexture (this IMTLRenderCommandEncoder This, IMTLTexture texture, nuint index); public static void SetObjectTextures (this IMTLRenderCommandEncoder This, IntPtr textures, Foundation.NSRange range); public static void SetObjectThreadgroupMemoryLength (this IMTLRenderCommandEncoder This, nuint length, nuint index); public static void SetVertexBuffer (this IMTLRenderCommandEncoder This, IMTLBuffer buffer, nuint offset, nuint stride, nuint index); public static void SetVertexBufferOffset (this IMTLRenderCommandEncoder This, nuint offset, nuint stride, nuint index); public static void SetVertexBuffers (this IMTLRenderCommandEncoder This, IntPtr buffers, IntPtr offsets, IntPtr strides, Foundation.NSRange range); public static void SetVertexBytes (this IMTLRenderCommandEncoder This, IntPtr bytes, nuint length, nuint stride, nuint index); ``` #### Type Changed: Metal.MTLRenderPipelineReflection Added properties: ```csharp public virtual IMTLBinding[] FragmentBindings { get; } public virtual IMTLBinding[] MeshBindings { get; } public virtual IMTLBinding[] ObjectBindings { get; } public virtual IMTLBinding[] TileBindings { get; } public virtual IMTLBinding[] VertexBindings { get; } ``` #### Type Changed: Metal.MTLRenderPipelineState_Extensions Added methods: ```csharp public static nuint GetMaxTotalThreadsPerMeshThreadgroup (this IMTLRenderPipelineState This); public static nuint GetMaxTotalThreadsPerObjectThreadgroup (this IMTLRenderPipelineState This); public static nuint GetObjectThreadExecutionWidth (this IMTLRenderPipelineState This); ``` #### Type Changed: Metal.MTLRenderStages Added values: ```csharp Mesh = 16, Object = 8, ``` #### Type Changed: Metal.MTLResourceStateCommandEncoder_Extensions Added method: ```csharp public static void MoveTextureMappings (this IMTLResourceStateCommandEncoder This, IMTLTexture sourceTexture, nuint sourceSlice, nuint sourceLevel, MTLOrigin sourceOrigin, MTLSize sourceSize, IMTLTexture destinationTexture, nuint destinationSlice, nuint destinationLevel, MTLOrigin destinationOrigin); ``` #### Type Changed: Metal.MTLTextureUsage Added value: ```csharp ShaderAtomic = 32, ``` #### Type Changed: Metal.MTLTexture_Extensions Added method: ```csharp public static MTLResourceId GetGpuResourceId (this IMTLTexture This); ``` #### Type Changed: Metal.MTLVertexFormat Added values: ```csharp FloatRG11B10 = 54, FloatRgb9E5 = 55, ``` #### New Type: Metal.IMTLBinding ```csharp public interface IMTLBinding : ObjCRuntime.INativeObject, System.IDisposable { // properties public virtual MTLBindingAccess Access { get; } public virtual bool Argument { get; } public virtual nuint Index { get; } public virtual string Name { get; } public virtual MTLBindingType Type { get; } public virtual bool Used { get; } } ``` #### New Type: Metal.IMTLBufferBinding ```csharp public interface IMTLBufferBinding : IMTLBinding, ObjCRuntime.INativeObject, System.IDisposable { // properties public virtual nuint BufferAlignment { get; } public virtual nuint BufferDataSize { get; } public virtual MTLDataType BufferDataType { get; } public virtual MTLPointerType BufferPointerType { get; } public virtual MTLStructType BufferStructType { get; } } ``` #### New Type: Metal.IMTLObjectPayloadBinding ```csharp public interface IMTLObjectPayloadBinding : IMTLBinding, ObjCRuntime.INativeObject, System.IDisposable { // properties public virtual nuint ObjectPayloadAlignment { get; } public virtual nuint ObjectPayloadDataSize { get; } } ``` #### New Type: Metal.IMTLTextureBinding ```csharp public interface IMTLTextureBinding : IMTLBinding, ObjCRuntime.INativeObject, System.IDisposable { // properties public virtual nuint ArrayLength { get; } public virtual bool DepthTexture { get; } public virtual MTLDataType TextureDataType { get; } public virtual MTLTextureType TextureType { get; } } ``` #### New Type: Metal.IMTLThreadgroupBinding ```csharp public interface IMTLThreadgroupBinding : IMTLBinding, ObjCRuntime.INativeObject, System.IDisposable { // properties public virtual nuint ThreadgroupMemoryAlignment { get; } public virtual nuint ThreadgroupMemoryDataSize { get; } } ``` #### New Type: Metal.MTLAccelerationStructureCurveGeometryDescriptor ```csharp public class MTLAccelerationStructureCurveGeometryDescriptor : Metal.MTLAccelerationStructureGeometryDescriptor { // constructors public MTLAccelerationStructureCurveGeometryDescriptor (); protected MTLAccelerationStructureCurveGeometryDescriptor (Foundation.NSObjectFlag t); protected MTLAccelerationStructureCurveGeometryDescriptor (IntPtr handle); // properties public override IntPtr ClassHandle { get; } public virtual IMTLBuffer ControlPointBuffer { get; set; } public virtual nuint ControlPointBufferOffset { get; set; } public virtual nuint ControlPointCount { get; set; } public virtual MTLAttributeFormat ControlPointFormat { get; set; } public virtual nuint ControlPointStride { get; set; } public virtual MTLCurveBasis CurveBasis { get; set; } public virtual MTLCurveEndCaps CurveEndCaps { get; set; } public virtual MTLCurveType CurveType { get; set; } public virtual IMTLBuffer IndexBuffer { get; set; } public virtual nuint IndexBufferOffset { get; set; } public virtual MTLIndexType IndexType { get; set; } public virtual IMTLBuffer RadiusBuffer { get; set; } public virtual nuint RadiusBufferOffset { get; set; } public virtual MTLAttributeFormat RadiusFormat { get; set; } public virtual nuint RadiusStride { get; set; } public virtual nuint SegmentControlPointCount { get; set; } public virtual nuint SegmentCount { get; set; } // methods public static MTLAccelerationStructureCurveGeometryDescriptor GetDescriptor (); } ``` #### New Type: Metal.MTLAccelerationStructureMotionCurveGeometryDescriptor ```csharp public class MTLAccelerationStructureMotionCurveGeometryDescriptor : Metal.MTLAccelerationStructureGeometryDescriptor { // constructors public MTLAccelerationStructureMotionCurveGeometryDescriptor (); protected MTLAccelerationStructureMotionCurveGeometryDescriptor (Foundation.NSObjectFlag t); protected MTLAccelerationStructureMotionCurveGeometryDescriptor (IntPtr handle); // properties public override IntPtr ClassHandle { get; } public virtual MTLMotionKeyframeData[] ControlPointBuffers { get; set; } public virtual nuint ControlPointCount { get; set; } public virtual MTLAttributeFormat ControlPointFormat { get; set; } public virtual nuint ControlPointStride { get; set; } public virtual MTLCurveBasis CurveBasis { get; set; } public virtual MTLCurveEndCaps CurveEndCaps { get; set; } public virtual MTLCurveType CurveType { get; set; } public virtual IMTLBuffer IndexBuffer { get; set; } public virtual nuint IndexBufferOffset { get; set; } public virtual MTLIndexType IndexType { get; set; } public virtual MTLMotionKeyframeData[] RadiusBuffers { get; set; } public virtual MTLAttributeFormat RadiusFormat { get; set; } public virtual nuint RadiusStride { get; set; } public virtual nuint SegmentControlPointCount { get; set; } public virtual nuint SegmentCount { get; set; } // methods public static MTLAccelerationStructureMotionCurveGeometryDescriptor GetDescriptor (); } ``` #### New Type: Metal.MTLAccelerationStructurePassDescriptor ```csharp public class MTLAccelerationStructurePassDescriptor : Foundation.NSObject, Foundation.INSCopying, ObjCRuntime.INativeObject, System.IDisposable { // constructors public MTLAccelerationStructurePassDescriptor (); protected MTLAccelerationStructurePassDescriptor (Foundation.NSObjectFlag t); protected MTLAccelerationStructurePassDescriptor (IntPtr handle); // properties public static MTLAccelerationStructurePassDescriptor AccelerationStructurePassDescriptor { get; } public override IntPtr ClassHandle { get; } public virtual MTLAccelerationStructurePassSampleBufferAttachmentDescriptorArray SampleBufferAttachments { get; } // methods public virtual Foundation.NSObject Copy (Foundation.NSZone zone); } ``` #### New Type: Metal.MTLAccelerationStructurePassSampleBufferAttachmentDescriptor ```csharp public class MTLAccelerationStructurePassSampleBufferAttachmentDescriptor : Foundation.NSObject, Foundation.INSCopying, ObjCRuntime.INativeObject, System.IDisposable { // constructors public MTLAccelerationStructurePassSampleBufferAttachmentDescriptor (); protected MTLAccelerationStructurePassSampleBufferAttachmentDescriptor (Foundation.NSObjectFlag t); protected MTLAccelerationStructurePassSampleBufferAttachmentDescriptor (IntPtr handle); // properties public override IntPtr ClassHandle { get; } public virtual nuint EndOfEncoderSampleIndex { get; set; } public virtual IMTLCounterSampleBuffer SampleBuffer { get; set; } public virtual nuint StartOfEncoderSampleIndex { get; set; } // methods public virtual Foundation.NSObject Copy (Foundation.NSZone zone); } ``` #### New Type: Metal.MTLAccelerationStructurePassSampleBufferAttachmentDescriptorArray ```csharp public class MTLAccelerationStructurePassSampleBufferAttachmentDescriptorArray : Foundation.NSObject { // constructors public MTLAccelerationStructurePassSampleBufferAttachmentDescriptorArray (); protected MTLAccelerationStructurePassSampleBufferAttachmentDescriptorArray (Foundation.NSObjectFlag t); protected MTLAccelerationStructurePassSampleBufferAttachmentDescriptorArray (IntPtr handle); // properties public override IntPtr ClassHandle { get; } // methods public virtual MTLAccelerationStructurePassSampleBufferAttachmentDescriptor GetObject (nuint attachmentIndex); public virtual void SetObject (MTLAccelerationStructurePassSampleBufferAttachmentDescriptor attachment, nuint attachmentIndex); } ``` #### New Type: Metal.MTLAccelerationStructureRefitOptions ```csharp [Serializable] [Flags] public enum MTLAccelerationStructureRefitOptions { PerPrimitiveData = 2, VertexData = 1, } ``` #### New Type: Metal.MTLArchitecture ```csharp public class MTLArchitecture : Foundation.NSObject, Foundation.INSCopying, ObjCRuntime.INativeObject, System.IDisposable { // constructors public MTLArchitecture (); protected MTLArchitecture (Foundation.NSObjectFlag t); protected MTLArchitecture (IntPtr handle); // properties public override IntPtr ClassHandle { get; } public virtual string Name { get; } // methods public virtual Foundation.NSObject Copy (Foundation.NSZone zone); } ``` #### New Type: Metal.MTLBindingAccess ```csharp [Serializable] public enum MTLBindingAccess { ReadOnly = 0, ReadWrite = 1, WriteOnly = 2, } ``` #### New Type: Metal.MTLBindingType ```csharp [Serializable] public enum MTLBindingType { Buffer = 0, Imageblock = 17, ImageblockData = 16, InstanceAccelerationStructure = 26, IntersectionFunctionTable = 27, ObjectPayload = 34, PrimitiveAccelerationStructure = 25, Sampler = 3, Texture = 2, ThreadgroupMemory = 1, VisibleFunctionTable = 24, } ``` #### New Type: Metal.MTLCompileSymbolVisibility ```csharp [Serializable] public enum MTLCompileSymbolVisibility { Default = 0, Hidden = 1, } ``` #### New Type: Metal.MTLCurveBasis ```csharp [Serializable] public enum MTLCurveBasis { BSpline = 0, Bezier = 3, CatmullRom = 1, Linear = 2, } ``` #### New Type: Metal.MTLCurveEndCaps ```csharp [Serializable] public enum MTLCurveEndCaps { Disk = 1, None = 0, Sphere = 2, } ``` #### New Type: Metal.MTLCurveType ```csharp [Serializable] public enum MTLCurveType { Flat = 1, Round = 0, } ``` #### New Type: Metal.MTLIOCommandQueueType ```csharp [Serializable] public enum MTLIOCommandQueueType { Concurrent = 0, Serial = 1, } ``` #### New Type: Metal.MTLIOCompressionContext ```csharp public class MTLIOCompressionContext : ObjCRuntime.DisposableObject { // properties public static nint DefaultChunkSize { get; } // methods public void AppendData (Foundation.NSData data); public void AppendData (byte[] data); public void AppendData (System.ReadOnlySpan<byte> data); public static MTLIOCompressionContext Create (string path, MTLIOCompressionMethod type, long chunkSize); protected override void Dispose (bool disposing); public MTLIOCompressionStatus FlushAndDestroy (); } ``` #### New Type: Metal.MTLIOCompressionMethod ```csharp [Serializable] public enum MTLIOCompressionMethod { Lz4 = 2, LzBitmap = 4, Lzfse = 1, Lzma = 3, Zlib = 0, } ``` #### New Type: Metal.MTLIOCompressionStatus ```csharp [Serializable] public enum MTLIOCompressionStatus { Complete = 0, Error = 1, } ``` #### New Type: Metal.MTLIOError ```csharp [Serializable] public enum MTLIOError { Internal = 2, UrlInvalid = 1, } ``` #### New Type: Metal.MTLIOErrorExtensions ```csharp public static class MTLIOErrorExtensions { // methods public static Foundation.NSString GetDomain (this MTLIOError self); } ``` #### New Type: Metal.MTLIOPriority ```csharp [Serializable] public enum MTLIOPriority { High = 0, Low = 2, Normal = 1, } ``` #### New Type: Metal.MTLIOStatus ```csharp [Serializable] public enum MTLIOStatus { Cancelled = 1, Complete = 3, Error = 2, Pending = 0, } ``` #### New Type: Metal.MTLIndirectInstanceAccelerationStructureDescriptor ```csharp public class MTLIndirectInstanceAccelerationStructureDescriptor : Metal.MTLAccelerationStructureDescriptor { // constructors public MTLIndirectInstanceAccelerationStructureDescriptor (); protected MTLIndirectInstanceAccelerationStructureDescriptor (Foundation.NSObjectFlag t); protected MTLIndirectInstanceAccelerationStructureDescriptor (IntPtr handle); // properties public override IntPtr ClassHandle { get; } public virtual IMTLBuffer InstanceCountBuffer { get; set; } public virtual nuint InstanceCountBufferOffset { get; set; } public virtual IMTLBuffer InstanceDescriptorBuffer { get; set; } public virtual nuint InstanceDescriptorBufferOffset { get; set; } public virtual nuint InstanceDescriptorStride { get; set; } public virtual MTLAccelerationStructureInstanceDescriptorType InstanceDescriptorType { get; set; } public virtual nuint MaxInstanceCount { get; set; } public virtual nuint MaxMotionTransformCount { get; set; } public virtual IMTLBuffer MotionTransformBuffer { get; set; } public virtual nuint MotionTransformBufferOffset { get; set; } public virtual IMTLBuffer MotionTransformCountBuffer { get; set; } public virtual nuint MotionTransformCountBufferOffset { get; set; } // methods public static MTLIndirectInstanceAccelerationStructureDescriptor GetDescriptor (); } ``` #### New Type: Metal.MTLIntersectionFunctionTable_Extensions ```csharp public static class MTLIntersectionFunctionTable_Extensions { // methods public static MTLResourceId GetGpuResourceId (this IMTLIntersectionFunctionTable This); public static void SetOpaqueCurveIntersectionFunction (this IMTLIntersectionFunctionTable This, MTLIntersectionFunctionSignature signature, Foundation.NSRange range); public static void SetOpaqueCurveIntersectionFunction (this IMTLIntersectionFunctionTable This, MTLIntersectionFunctionSignature signature, nuint index); } ``` #### New Type: Metal.MTLLibraryOptimizationLevel ```csharp [Serializable] public enum MTLLibraryOptimizationLevel { Default = 0, Size = 1, } ``` #### New Type: Metal.MTLMeshRenderPipelineDescriptor ```csharp public class MTLMeshRenderPipelineDescriptor : Foundation.NSObject, Foundation.INSCopying, ObjCRuntime.INativeObject, System.IDisposable { // constructors public MTLMeshRenderPipelineDescriptor (); protected MTLMeshRenderPipelineDescriptor (Foundation.NSObjectFlag t); protected MTLMeshRenderPipelineDescriptor (IntPtr handle); // properties public virtual bool AlphaToCoverageEnabled { get; set; } public virtual bool AlphaToOneEnabled { get; set; } public override IntPtr ClassHandle { get; } public virtual MTLRenderPipelineColorAttachmentDescriptorArray ColorAttachments { get; } public virtual MTLPixelFormat DepthAttachmentPixelFormat { get; set; } public virtual MTLPipelineBufferDescriptorArray FragmentBuffers { get; } public virtual IMTLFunction FragmentFunction { get; set; } public virtual MTLLinkedFunctions FragmentLinkedFunctions { get; set; } public virtual string Label { get; set; } public virtual nuint MaxTotalThreadgroupsPerMeshGrid { get; set; } public virtual nuint MaxTotalThreadsPerMeshThreadgroup { get; set; } public virtual nuint MaxTotalThreadsPerObjectThreadgroup { get; set; } public virtual nuint MaxVertexAmplificationCount { get; set; } public virtual MTLPipelineBufferDescriptorArray MeshBuffers { get; } public virtual IMTLFunction MeshFunction { get; set; } public virtual MTLLinkedFunctions MeshLinkedFunctions { get; set; } public virtual bool MeshThreadgroupSizeIsMultipleOfThreadExecutionWidth { get; set; } public virtual MTLPipelineBufferDescriptorArray ObjectBuffers { get; } public virtual IMTLFunction ObjectFunction { get; set; } public virtual MTLLinkedFunctions ObjectLinkedFunctions { get; set; } public virtual bool ObjectThreadgroupSizeIsMultipleOfThreadExecutionWidth { get; set; } public virtual nuint PayloadMemoryLength { get; set; } public virtual nuint RasterSampleCount { get; set; } public virtual bool RasterizationEnabled { get; set; } public virtual MTLPixelFormat StencilAttachmentPixelFormat { get; set; } public virtual bool SupportIndirectCommandBuffers { get; set; } // methods public virtual Foundation.NSObject Copy (Foundation.NSZone zone); public virtual void Reset (); } ``` #### New Type: Metal.MTLResourceId ```csharp public struct MTLResourceId { // fields public ulong Impl; } ``` #### New Type: Metal.MTLSamplerState_Extensions ```csharp public static class MTLSamplerState_Extensions { // methods public static MTLResourceId GetGpuResourceId (this IMTLSamplerState This); } ``` #### New Type: Metal.MTLSparsePageSize ```csharp [Serializable] public enum MTLSparsePageSize { Size16 = 101, Size256 = 103, Size64 = 102, } ``` #### New Type: Metal.MTLVisibleFunctionTable_Extensions ```csharp public static class MTLVisibleFunctionTable_Extensions { // methods public static MTLResourceId GetGpuResourceId (this IMTLVisibleFunctionTable This); } ``` ### Namespace MetalKit #### Type Changed: MetalKit.MTKTextureLoaderOptions Added property: ```csharp public bool? LoadAsArray { get; set; } ``` #### Type Changed: MetalKit.MTKView Added property: ```csharp public virtual Metal.MTLStorageMode DepthStencilStorageMode { get; set; } ``` ### Namespace MetalPerformanceShaders #### Type Changed: MetalPerformanceShaders.MPSCommandBuffer Added method: ```csharp public virtual Metal.IMTLAccelerationStructureCommandEncoder CreateAccelerationStructureCommandEncoder (Metal.MTLAccelerationStructurePassDescriptor descriptor); ``` ### Namespace MetricKit #### Type Changed: MetricKit.MXCrashDiagnostic Added property: ```csharp public virtual MXCrashDiagnosticObjectiveCExceptionReason ExceptionReason { get; } ``` #### Type Changed: MetricKit.MXDiagnostic Added property: ```csharp public virtual MXSignpostRecord[] SignpostData { get; } ``` #### Type Changed: MetricKit.MXMetaData Added properties: ```csharp public virtual bool IsTestFlightApp { get; } public virtual bool LowPowerModeEnabled { get; } public virtual int Pid { get; } ``` #### New Type: MetricKit.MXCrashDiagnosticObjectiveCExceptionReason ```csharp public class MXCrashDiagnosticObjectiveCExceptionReason : Foundation.NSObject, Foundation.INSCoding, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable { // constructors public MXCrashDiagnosticObjectiveCExceptionReason (); public MXCrashDiagnosticObjectiveCExceptionReason (Foundation.NSCoder coder); protected MXCrashDiagnosticObjectiveCExceptionReason (Foundation.NSObjectFlag t); protected MXCrashDiagnosticObjectiveCExceptionReason (IntPtr handle); // properties public virtual string[] Arguments { get; } public override IntPtr ClassHandle { get; } public virtual string ClassName { get; } public virtual string ComposedMessage { get; } public virtual Foundation.NSDictionary DictionaryRepresentation { get; } public virtual string ExceptionName { get; } public virtual string ExceptionType { get; } public virtual string FormatString { get; } public virtual Foundation.NSData JsonRepresentation { get; } // methods public virtual void EncodeTo (Foundation.NSCoder encoder); } ``` #### New Type: MetricKit.MXSignpostRecord ```csharp public class MXSignpostRecord : Foundation.NSObject, Foundation.INSCoding, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable { // constructors public MXSignpostRecord (); public MXSignpostRecord (Foundation.NSCoder coder); protected MXSignpostRecord (Foundation.NSObjectFlag t); protected MXSignpostRecord (IntPtr handle); // properties public virtual Foundation.NSDate BeginTimeStamp { get; } public virtual string Category { get; } public override IntPtr ClassHandle { get; } public virtual Foundation.NSDictionary DictionaryRepresentation { get; } public virtual Foundation.NSMeasurement<Foundation.NSUnitDuration> Duration { get; } public virtual Foundation.NSDate EndTimeStamp { get; } public virtual bool IsInterval { get; } public virtual Foundation.NSData JsonRepresentation { get; } public virtual string Name { get; } public virtual string Subsystem { get; } // methods public virtual void EncodeTo (Foundation.NSCoder encoder); } ``` ### Namespace ModelIO #### Type Changed: ModelIO.MDLMaterial Added properties: ```csharp public MDLMaterialProperty Item { get; } public MDLMaterialProperty Item { get; } ``` ### Namespace NaturalLanguage #### New Type: NaturalLanguage.NLContextualEmbedding ```csharp public class NLContextualEmbedding : Foundation.NSObject { // constructors protected NLContextualEmbedding (Foundation.NSObjectFlag t); protected NLContextualEmbedding (IntPtr handle); // properties public override IntPtr ClassHandle { get; } public virtual nuint Dimension { get; } public virtual bool HasAvailableAssets { get; } public virtual string[] Languages { get; } public virtual nuint MaximumSequenceLength { get; } public virtual string ModelIdentifier { get; } public virtual nuint Revision { get; } public virtual string[] Scripts { get; } // methods public static NLContextualEmbedding[] Create (Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject> values); public static NLContextualEmbedding CreateWithLanguage (string language); public static NLContextualEmbedding CreateWithModelIdentifier (string modelIdentifier); public static NLContextualEmbedding CreateWithScript (string script); public virtual NLContextualEmbeddingResult GetEmbeddingResult (string string, string language, out Foundation.NSError error); public virtual bool Load (out Foundation.NSError error); public virtual void RequestAssets (System.Action<NLContextualEmbeddingAssetsResult,Foundation.NSError> completionHandler); public virtual System.Threading.Tasks.Task<NLContextualEmbeddingAssetsResult> RequestAssetsAsync (); public virtual void Unload (); } ``` #### New Type: NaturalLanguage.NLContextualEmbeddingAssetsResult ```csharp [Serializable] public enum NLContextualEmbeddingAssetsResult { Available = 0, Error = 2, NotAvailable = 1, } ``` #### New Type: NaturalLanguage.NLContextualEmbeddingResult ```csharp public class NLContextualEmbeddingResult : Foundation.NSObject { // constructors protected NLContextualEmbeddingResult (Foundation.NSObjectFlag t); protected NLContextualEmbeddingResult (IntPtr handle); // properties public override IntPtr ClassHandle { get; } public virtual string Language { get; } public virtual nuint SequenceLength { get; } public virtual string String { get; } // methods public virtual void EnumerateTokenVectors (Foundation.NSRange range, TokenVectorEnumeratorHandler enumerationHandler); public virtual nuint[] GetVector (nuint characterIndex, ref Foundation.NSRange tokenRange); } ``` #### New Type: NaturalLanguage.NLContextualEmebeddingKey ```csharp [Serializable] public enum NLContextualEmebeddingKey { Languages = 0, Revision = 2, Scripts = 1, } ``` #### New Type: NaturalLanguage.NLContextualEmebeddingKeyExtensions ```csharp public static class NLContextualEmebeddingKeyExtensions { // methods public static Foundation.NSString GetConstant (this NLContextualEmebeddingKey self); public static NLContextualEmebeddingKey GetValue (Foundation.NSString constant); } ``` #### New Type: NaturalLanguage.NLScript ```csharp [Serializable] public enum NLScript { Arabic = 1, Armenian = 2, Bengali = 3, CanadianAboriginalSyllabics = 4, Cherokee = 5, Cyrillic = 6, Devanagari = 7, Ethiopic = 8, Georgian = 9, Greek = 10, Gujarati = 11, Gurmukhi = 12, Hebrew = 13, Japanese = 14, Kannada = 15, Khmer = 16, Korean = 17, Lao = 18, Latin = 19, Malayalam = 20, Mongolian = 21, Myanmar = 22, Oriya = 23, SimplifiedChinese = 24, Sinhala = 25, Tamil = 26, Telugu = 27, Thai = 28, Tibetan = 29, TraditionalChinese = 30, Undetermined = 0, } ``` #### New Type: NaturalLanguage.NLScriptExtensions ```csharp public static class NLScriptExtensions { // methods public static Foundation.NSString GetConstant (this NLScript self); public static NLScript GetValue (Foundation.NSString constant); } ``` #### New Type: NaturalLanguage.TokenVectorEnumeratorHandler ```csharp public sealed delegate TokenVectorEnumeratorHandler : System.MulticastDelegate { // constructors public TokenVectorEnumeratorHandler (object object, IntPtr method); // methods public virtual System.IAsyncResult BeginInvoke (Foundation.NSArray<Foundation.NSNumber> tokenVector, Foundation.NSRange tokenRange, out bool stop, System.AsyncCallback callback, object object); public virtual void EndInvoke (out bool stop, System.IAsyncResult result); public virtual void Invoke (Foundation.NSArray<Foundation.NSNumber> tokenVector, Foundation.NSRange tokenRange, out bool stop); } ``` ### Namespace NearbyInteraction #### Type Changed: NearbyInteraction.NIDiscoveryToken Added property: ```csharp public virtual INIDeviceCapability DeviceCapabilities { get; } ``` #### Type Changed: NearbyInteraction.NIErrorCode Added values: ```csharp ActiveExtendedDistanceSessionsLimitExceeded = -5880, IncompatiblePeerDevice = -5881, ``` #### Type Changed: NearbyInteraction.NINearbyPeerConfiguration Added property: ```csharp public virtual bool ExtendedDistanceMeasurementEnabled { get; set; } ``` #### New Type: NearbyInteraction.NIDeviceCapability_Extensions ```csharp public static class NIDeviceCapability_Extensions { // methods public static bool GetSupportsExtendedDistanceMeasurement (this INIDeviceCapability This); } ``` ### Namespace Network #### Type Changed: Network.NWPrivacyContext Added methods: ```csharp public void AddProxy (NWProxyConfig proxyConfig); public void ClearProxies (); ``` #### New Type: Network.NWProxyConfig ```csharp public class NWProxyConfig : CoreFoundation.NativeObject { // constructors public NWProxyConfig (IntPtr handle, bool owns); // properties public bool FailoverAllowed { get; set; } // methods public void AddExcludedDomain (string domain); public void AddMatchDomain (string domain); public void ClearExcludedDomains (); public void ClearMatchDomains (); public static NWProxyConfig CreateHttpConnect (NWEndpoint proxyEndpoint, NWProtocolTlsOptions options); public static NWProxyConfig CreateObliviousHttp (NWRelayHop hop, string relaysResourcePath, byte[] gatewayKeyConfig); public static NWProxyConfig CreateRelay (NWRelayHop firstHop, NWRelayHop secondHop); public static NWProxyConfig CreateSocksV5 (NWEndpoint endpoint); public void EnumerateExcludedDomains (System.Action<string> handler); public void EnumerateMatchDomains (System.Action<string> handler); public void SetUsernameAndPassword (string username, string password); } ``` #### New Type: Network.NWRelayHop ```csharp public class NWRelayHop : CoreFoundation.NativeObject { // constructors public NWRelayHop (IntPtr handle, bool owns); // methods public void AddAdditionalHttpHeaderField (string fieldName, string fieldValue); public static NWRelayHop Create (NWEndpoint http3RelayEndpoint, NWEndpoint http2RelayEndpoint, NWProtocolOptions relayTlsOptions); } ``` ### Namespace NetworkExtension #### Type Changed: NetworkExtension.NEVpnIke2CertificateType Added value: ```csharp Rsapss = 6, ``` #### Type Changed: NetworkExtension.NEVpnIke2DiffieHellman Added value: ```csharp Group32 = 32, ``` #### New Type: NetworkExtension.NEFailureHandlerProvider ```csharp public class NEFailureHandlerProvider : NetworkExtension.NEProvider { // constructors protected NEFailureHandlerProvider (Foundation.NSObjectFlag t); protected NEFailureHandlerProvider (IntPtr handle); // properties public override IntPtr ClassHandle { get; } // methods public virtual void HandleFailure (Foundation.NSError error, System.Action completionHandler); public virtual System.Threading.Tasks.Task HandleFailureAsync (Foundation.NSError error); } ``` #### New Type: NetworkExtension.NERelay ```csharp public class NERelay : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable { // constructors public NERelay (); public NERelay (Foundation.NSCoder coder); protected NERelay (Foundation.NSObjectFlag t); protected NERelay (IntPtr handle); // properties public virtual Foundation.NSDictionary<Foundation.NSString,Foundation.NSString> AdditionalHttpHeaderFields { get; set; } public override IntPtr ClassHandle { get; } public static Foundation.NSString ConfigurationDidChangeNotification { get; } public virtual Foundation.NSUrl DnsOverHttpsUrl { get; set; } public static Foundation.NSString ErrorDomain { get; } public virtual Foundation.NSUrl Http2RelayUrl { get; set; } public virtual Foundation.NSUrl Http3RelayUrl { get; set; } public virtual Foundation.NSData IdentityData { get; set; } public virtual string IdentityDataPassword { get; set; } public virtual Foundation.NSData[] RawPublicKeys { get; set; } public virtual string SyntheticDnsAnswerIPv4Prefix { get; set; } public virtual string SyntheticDnsAnswerIPv6Prefix { get; set; } // methods public virtual Foundation.NSObject Copy (Foundation.NSZone zone); public virtual void EncodeTo (Foundation.NSCoder encoder); // inner types public static class Notifications { // methods public static Foundation.NSObject ObserveConfigurationDidChange (System.EventHandler<Foundation.NSNotificationEventArgs> handler); public static Foundation.NSObject ObserveConfigurationDidChange (Foundation.NSObject objectToObserve, System.EventHandler<Foundation.NSNotificationEventArgs> handler); } } ``` #### New Type: NetworkExtension.NERelayManager ```csharp public class NERelayManager : Foundation.NSObject { // constructors public NERelayManager (); protected NERelayManager (Foundation.NSObjectFlag t); protected NERelayManager (IntPtr handle); // properties public override IntPtr ClassHandle { get; } public virtual bool Enabled { get; set; } public virtual string[] ExcludedDomains { get; set; } public virtual string LocalizedDescription { get; set; } public virtual string[] MatchDomains { get; set; } public virtual NEOnDemandRule[] OnDemandRules { get; set; } public virtual NERelay[] Relays { get; set; } public static NERelayManager Shared { get; } // methods public static void LoadAllManagersFromPreferences (System.Action<Foundation.NSArray<NERelayManager>> completionHandler); public static System.Threading.Tasks.Task<Foundation.NSArray<NERelayManager>> LoadAllManagersFromPreferencesAsync (); public virtual void LoadFromPreferences (System.Action<Foundation.NSError> completionHandler); public virtual System.Threading.Tasks.Task LoadFromPreferencesAsync (); public virtual void RemoveFromPreferences (System.Action<Foundation.NSError> completionHandler); public virtual System.Threading.Tasks.Task RemoveFromPreferencesAsync (); public virtual void SaveToPreferences (System.Action<Foundation.NSError> completionHandler); public virtual System.Threading.Tasks.Task SaveToPreferencesAsync (); } ``` #### New Type: NetworkExtension.NERelayManagerError ```csharp [Serializable] public enum NERelayManagerError { CannotBeRemoved = 4, Disabled = 2, Invalid = 1, Stale = 3, } ``` ### Namespace ObjCRuntime #### Type Changed: ObjCRuntime.Constants Modified fields: ```diff -public const string SdkVersion = "16.4"; +public const string SdkVersion = "17.2"; -public const string Version = "16.4.0"; +public const string Version = "17.3.0"; ``` Added fields: ```csharp public static const string CinematicLibrary = "/System/Library/Frameworks/Cinematic.framework/Cinematic"; public static const string DeviceDiscoveryExtensionLibrary = "/System/Library/Frameworks/DeviceDiscoveryExtension.framework/DeviceDiscoveryExtension"; public static const string MetalFXLibrary = "/System/Library/Frameworks/MetalFX.framework/MetalFX"; public static const string SafetyKitLibrary = "/System/Library/Frameworks/SafetyKit.framework/SafetyKit"; public static const string SensitiveContentAnalysisLibrary = "/System/Library/Frameworks/SensitiveContentAnalysis.framework/SensitiveContentAnalysis"; public static const string SymbolsLibrary = "/System/Library/Frameworks/Symbols.framework/Symbols"; ``` #### New Type: ObjCRuntime.BlockCallbackAttribute ```csharp public class BlockCallbackAttribute : System.Attribute { // constructors public BlockCallbackAttribute (); } ``` #### New Type: ObjCRuntime.CCallbackAttribute ```csharp public class CCallbackAttribute : System.Attribute { // constructors public CCallbackAttribute (); } ``` ### Namespace PassKit #### Type Changed: PassKit.PKContactFieldsExtensions Added methods: ```csharp public static Foundation.NSString[] ToArray (this PKContactFields value); public static PKContactFields ToFlags (System.Collections.Generic.IEnumerable<Foundation.NSString> constants); ``` #### Type Changed: PassKit.PKDisbursementAuthorizationControllerDelegate Modified methods: ```diff -public abstract void DidAuthorize (PKDisbursementAuthorizationController controller, PKDisbursementVoucher disbursementVoucher) +public virtual void DidAuthorize (PKDisbursementAuthorizationController controller, PKDisbursementVoucher disbursementVoucher) -public abstract void DidFinish (PKDisbursementAuthorizationController controller) +public virtual void DidFinish (PKDisbursementAuthorizationController controller) ``` #### Type Changed: PassKit.PKDisbursementRequest Added constructor: ```csharp public PKDisbursementRequest (string merchantIdentifier, string currencyCode, string regionCode, string[] supportedNetworks, PKMerchantCapability merchantCapabilities, PKPaymentSummaryItem[] summaryItems); ``` Obsoleted properties: ```diff [Obsolete ("This property is removed.")] public virtual Foundation.NSDecimalNumber Amount { get; set; } [Obsolete ("This property is removed.")] public virtual string CountryCode { get; set; } [Obsolete ("This property is removed.")] public virtual PKDisbursementRequestSchedule RequestSchedule { get; set; } ``` Added properties: ```csharp public virtual Foundation.NSData ApplicationData { get; set; } public static Foundation.NSError DisbursementCardUnsupportedError { get; } public virtual PKMerchantCapability MerchantCapabilities { get; set; } public virtual string MerchantIdentifier { get; set; } public virtual PKContact RecipientContact { get; set; } public virtual string RegionCode { get; set; } public virtual string[] RequiredRecipientContactFields { get; set; } public virtual string[] SupportedNetworks { get; set; } public virtual string[] SupportedRegions { get; set; } ``` Added method: ```csharp public static Foundation.NSError GetDisbursementContactInvalidError (string field, string localizedDescription); ``` #### Type Changed: PassKit.PKIdentityElement Added properties: ```csharp public static PKIdentityElement DocumentDhsComplianceStatusElement { get; } public static PKIdentityElement SexElement { get; } ``` #### Type Changed: PassKit.PKMerchantCapability Added value: ```csharp InstantFundsOut = 128, ``` #### Type Changed: PassKit.PKPaymentAuthorizationController Added constructor: ```csharp public PKPaymentAuthorizationController (PKDisbursementRequest request); ``` Added methods: ```csharp public static bool SupportsDisbursements (); public static bool SupportsDisbursements (string[] supportedNetworks); public static bool SupportsDisbursements (string[] supportedNetworks, PKMerchantCapability capabilities); ``` #### Type Changed: PassKit.PKPaymentAuthorizationViewController Added constructor: ```csharp public PKPaymentAuthorizationViewController (PKDisbursementRequest request); ``` Added methods: ```csharp public static bool SupportsDisbursements (); public static bool SupportsDisbursements (string[] supportedNetworks); public static bool SupportsDisbursements (string[] supportedNetworks, PKMerchantCapability capabilities); ``` #### Type Changed: PassKit.PKPaymentNetwork Added properties: ```csharp public static Foundation.NSString PagoBancomat { get; } public static Foundation.NSString Tmoney { get; } ``` #### Type Changed: PassKit.PKPaymentRequest Added property: ```csharp public virtual PKApplePayLaterAvailability ApplePayLaterAvailability { get; set; } ``` #### New Type: PassKit.IPKPayLaterViewDelegate ```csharp public interface IPKPayLaterViewDelegate : ObjCRuntime.INativeObject, System.IDisposable { // methods public abstract void PayLaterViewDidUpdateHeight (PKPayLaterView view); } ``` #### New Type: PassKit.PKApplePayLaterAvailability ```csharp [Serializable] public enum PKApplePayLaterAvailability { Available = 0, UnavailableItemIneligible = 1, UnavailableRecurringTransaction = 2, } ``` #### New Type: PassKit.PKDirbursementError ```csharp public static class PKDirbursementError { // properties public static Foundation.NSString ContactFieldUserInfoKey { get; } } ``` #### New Type: PassKit.PKDisbursementErrorCode ```csharp [Serializable] public enum PKDisbursementErrorCode { RecipientContactInvalidError = 2, UnknownError = -1, UnsupportedCardError = 1, } ``` #### New Type: PassKit.PKDisbursementErrorCodeExtensions ```csharp public static class PKDisbursementErrorCodeExtensions { // methods public static Foundation.NSString GetDomain (this PKDisbursementErrorCode self); } ``` #### New Type: PassKit.PKDisbursementSummaryItem ```csharp public class PKDisbursementSummaryItem : PassKit.PKPaymentSummaryItem, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable { // constructors public PKDisbursementSummaryItem (Foundation.NSCoder coder); protected PKDisbursementSummaryItem (Foundation.NSObjectFlag t); protected PKDisbursementSummaryItem (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: PassKit.PKInstantFundsOutFeeSummaryItem ```csharp public class PKInstantFundsOutFeeSummaryItem : PassKit.PKPaymentSummaryItem, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable { // constructors public PKInstantFundsOutFeeSummaryItem (Foundation.NSCoder coder); protected PKInstantFundsOutFeeSummaryItem (Foundation.NSObjectFlag t); protected PKInstantFundsOutFeeSummaryItem (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: PassKit.PKPayLaterAction ```csharp [Serializable] public enum PKPayLaterAction { Calculator = 1, LearnMore = 0, } ``` #### New Type: PassKit.PKPayLaterDisplayStyle ```csharp [Serializable] public enum PKPayLaterDisplayStyle { Badge = 1, Checkout = 2, Price = 3, Standard = 0, } ``` #### New Type: PassKit.PKPayLaterView ```csharp public class PKPayLaterView : UIKit.UIView { // constructors public PKPayLaterView (Foundation.NSCoder coder); protected PKPayLaterView (Foundation.NSObjectFlag t); protected PKPayLaterView (IntPtr handle); public PKPayLaterView (Foundation.NSDecimalNumber amount, string currencyCode); // properties public virtual PKPayLaterAction Action { get; set; } public virtual Foundation.NSDecimalNumber Amount { get; set; } public static PKPayLaterView.PKPayLaterViewAppearance Appearance { get; } public override IntPtr ClassHandle { get; } public virtual string CurrencyCode { get; set; } public IPKPayLaterViewDelegate Delegate { get; set; } public virtual PKPayLaterDisplayStyle DisplayStyle { get; set; } public virtual Foundation.NSObject WeakDelegate { get; set; } // methods public static PKPayLaterView.PKPayLaterViewAppearance AppearanceWhenContainedIn (System.Type[] containers); protected override void Dispose (bool disposing); public static PKPayLaterView.PKPayLaterViewAppearance GetAppearance<T> (); public static PKPayLaterView.PKPayLaterViewAppearance GetAppearance<T> (UIKit.UITraitCollection traits); public static PKPayLaterView.PKPayLaterViewAppearance GetAppearance (UIKit.UITraitCollection traits); public static PKPayLaterView.PKPayLaterViewAppearance GetAppearance<T> (UIKit.UITraitCollection traits, System.Type[] containers); public static PKPayLaterView.PKPayLaterViewAppearance GetAppearance (UIKit.UITraitCollection traits, System.Type[] containers); // inner types public class PKPayLaterViewAppearance : UIKit.UIView+UIViewAppearance { // constructors protected PKPayLaterView.PKPayLaterViewAppearance (IntPtr handle); } } ``` #### New Type: PassKit.PKPayLaterViewDelegate ```csharp public abstract class PKPayLaterViewDelegate : Foundation.NSObject, ObjCRuntime.INativeObject, IPKPayLaterViewDelegate, System.IDisposable { // constructors protected PKPayLaterViewDelegate (); protected PKPayLaterViewDelegate (Foundation.NSObjectFlag t); protected PKPayLaterViewDelegate (IntPtr handle); // methods public abstract void PayLaterViewDidUpdateHeight (PKPayLaterView view); } ``` ### Namespace PdfKit #### Type Changed: PdfKit.PdfAnnotation Added property: ```csharp public virtual bool ActivatableTextField { get; } ``` ### Namespace PencilKit #### Type Changed: PencilKit.PKCanvasView Added property: ```csharp public virtual PKContentVersion MaximumSupportedContentVersion { get; set; } ``` #### Type Changed: PencilKit.PKDrawing Added property: ```csharp public virtual PKContentVersion RequiredContentVersion { get; } ``` #### Type Changed: PencilKit.PKInk Added property: ```csharp public virtual PKContentVersion RequiredContentVersion { get; } ``` #### Type Changed: PencilKit.PKInkType Added values: ```csharp Crayon = 6, FountainPen = 4, Monoline = 3, Watercolor = 5, ``` #### Type Changed: PencilKit.PKInkingTool Added property: ```csharp public virtual PKContentVersion RequiredContentVersion { get; } ``` #### Type Changed: PencilKit.PKStroke Added property: ```csharp public virtual PKContentVersion RequiredContentVersion { get; } ``` #### Type Changed: PencilKit.PKStrokePoint Added constructor: ```csharp public PKStrokePoint (CoreGraphics.CGPoint location, double timeOffset, CoreGraphics.CGSize size, nfloat opacity, nfloat force, nfloat azimuth, nfloat altitude, nfloat secondaryScale); ``` Added property: ```csharp public virtual nfloat SecondaryScale { get; } ``` #### Type Changed: PencilKit.PKToolPicker Added property: ```csharp public virtual PKContentVersion MaximumSupportedContentVersion { get; set; } ``` #### New Type: PencilKit.PKContentVersion ```csharp [Serializable] public enum PKContentVersion { Version1 = 1, Version2 = 2, } ``` ### Namespace Photos #### Type Changed: Photos.PHAssetResourceType Added value: ```csharp PhotoProxy = 19, ``` #### Type Changed: Photos.PHContentEditingOutput Added properties: ```csharp public virtual UniformTypeIdentifiers.UTType DefaultRenderedContentType { get; } public virtual UniformTypeIdentifiers.UTType[] SupportedRenderedContentTypes { get; } ``` Added method: ```csharp public virtual Foundation.NSUrl GetRenderedContentUrl (UniformTypeIdentifiers.UTType type, out Foundation.NSError error); ``` #### Type Changed: Photos.PHImageRequestOptions Added property: ```csharp public virtual bool AllowSecondaryDegradedImage { get; set; } ``` #### Type Changed: Photos.PHVideoRequestOptions Added interfaces: ```csharp Foundation.INSCopying ObjCRuntime.INativeObject System.IDisposable ``` Added method: ```csharp public virtual Foundation.NSObject Copy (Foundation.NSZone zone); ``` ### Namespace PhotosUI #### Type Changed: PhotosUI.PHLivePhotoView Added property: ```csharp public virtual CoreGraphics.CGRect ContentsRect { get; set; } ``` #### Type Changed: PhotosUI.PHPickerConfiguration Added properties: ```csharp public virtual PHPickerCapabilities DisabledCapabilities { get; set; } public virtual UIKit.NSDirectionalRectEdge EdgesWithoutContentMargins { get; set; } public virtual PHPickerMode Mode { get; set; } ``` #### Type Changed: PhotosUI.PHPickerConfigurationSelection Added values: ```csharp Continuous = 2, ContinuousAndOrdered = 3, ``` #### Type Changed: PhotosUI.PHPickerViewController Added methods: ```csharp public virtual void ScrollToInitialPosition (); public virtual void UpdatePicker (PHPickerUpdateConfiguration configuration); public virtual void ZoomIn (); public virtual void ZoomOut (); ``` #### New Type: PhotosUI.PHPickerCapabilities ```csharp [Serializable] [Flags] public enum PHPickerCapabilities { CollectionNavigation = 4, None = 0, Search = 1, SelectionActions = 8, SensitivityAnalysisIntervention = 16, StagingArea = 2, } ``` #### New Type: PhotosUI.PHPickerMode ```csharp [Serializable] public enum PHPickerMode { Compact = 1, Default = 0, } ``` #### New Type: PhotosUI.PHPickerUpdateConfiguration ```csharp public class PHPickerUpdateConfiguration : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable { // constructors public PHPickerUpdateConfiguration (); public PHPickerUpdateConfiguration (Foundation.NSCoder coder); protected PHPickerUpdateConfiguration (Foundation.NSObjectFlag t); protected PHPickerUpdateConfiguration (IntPtr handle); // properties public override IntPtr ClassHandle { get; } public virtual UIKit.NSDirectionalRectEdge EdgesWithoutContentMargins { get; set; } public virtual nint SelectionLimit { get; set; } // methods public virtual Foundation.NSObject Copy (Foundation.NSZone zone); public virtual void EncodeTo (Foundation.NSCoder encoder); } ``` ### Namespace PushToTalk #### Type Changed: PushToTalk.PTChannelManager Added methods: ```csharp public virtual void SetAccessoryButtonEvents (bool enabled, Foundation.NSUuid channelUuid, System.Action<Foundation.NSError> completionHandler); public virtual System.Threading.Tasks.Task SetAccessoryButtonEventsAsync (bool enabled, Foundation.NSUuid channelUuid); ``` #### Type Changed: PushToTalk.PTChannelManagerDelegate Added method: ```csharp public virtual void IncomingServiceUpdatePush (PTChannelManager channelManager, Foundation.NSUuid channelUuid, Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject> pushPayload, bool isHighPriority, nint remainingHighPriorityBudget, System.Action completion); ``` #### Type Changed: PushToTalk.PTChannelManagerDelegate_Extensions Added method: ```csharp public static void IncomingServiceUpdatePush (this IPTChannelManagerDelegate This, PTChannelManager channelManager, Foundation.NSUuid channelUuid, Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject> pushPayload, bool isHighPriority, nint remainingHighPriorityBudget, System.Action completion); ``` ### Namespace SafariServices #### Type Changed: SafariServices.SFContentBlockerManager Obsoleted constructors: ```diff [Obsolete ("Constructor marked as unavailable.")] public SFContentBlockerManager (); ``` #### Type Changed: SafariServices.SFExtension Added property: ```csharp public static Foundation.NSString ProfileKey { get; } ``` ### Namespace SceneKit #### Type Changed: SceneKit.SCNRenderer Added property: ```csharp public virtual CoreGraphics.CGColorSpace WorkingColorSpace { get; } ``` #### Type Changed: SceneKit.SCNSceneRenderer Added property: ```csharp public virtual CoreGraphics.CGColorSpace WorkingColorSpace { get; } ``` #### Type Changed: SceneKit.SCNSceneRenderer_Extensions Added method: ```csharp public static CoreGraphics.CGColorSpace GetWorkingColorSpace (this ISCNSceneRenderer This); ``` #### Type Changed: SceneKit.SCNView Added property: ```csharp public virtual CoreGraphics.CGColorSpace WorkingColorSpace { get; } ``` ### Namespace Security #### Type Changed: Security.SecKeyAlgorithm Added values: ```csharp EcdsaSignatureDigestRfc4754 = 76, EcdsaSignatureDigestRfc4754Sha1 = 77, EcdsaSignatureDigestRfc4754Sha224 = 78, EcdsaSignatureDigestRfc4754Sha256 = 79, EcdsaSignatureDigestRfc4754Sha384 = 80, EcdsaSignatureDigestRfc4754Sha512 = 81, EcdsaSignatureMessageRfc4754Sha1 = 82, EcdsaSignatureMessageRfc4754Sha224 = 83, EcdsaSignatureMessageRfc4754Sha256 = 84, EcdsaSignatureMessageRfc4754Sha384 = 85, EcdsaSignatureMessageRfc4754Sha512 = 86, ``` ### Namespace ShazamKit #### Type Changed: ShazamKit.SHErrorCode Added value: ```csharp MediaItemFetchFailed = 600, ``` #### Type Changed: ShazamKit.SHMediaItem Added property: ```csharp public virtual Foundation.NSDate CreationDate { get; } ``` #### Type Changed: ShazamKit.SHMediaItemProperty Added value: ```csharp CreationDate = 16, ``` ### Namespace Social #### Type Changed: Social.SLComposeServiceViewController Added methods: ```csharp public virtual UIKit.UITextItemMenuConfiguration GetMenuConfiguration (UIKit.UITextView textView, UIKit.UITextItem textItem, UIKit.UIMenu defaultMenu); public virtual UIKit.UIAction GetPrimaryAction (UIKit.UITextView textView, UIKit.UITextItem textItem, UIKit.UIAction defaultAction); public virtual void WillDisplay (UIKit.UITextView textView, UIKit.UITextItem textItem, UIKit.IUIContextMenuInteractionAnimating animator); public virtual void WillEnd (UIKit.UITextView textView, UIKit.UITextItem textItem, UIKit.IUIContextMenuInteractionAnimating animator); ``` ### Namespace Speech #### Type Changed: Speech.SFSpeechRecognitionRequest Added property: ```csharp public virtual SFSpeechLanguageModelConfiguration CustomizedLanguageModel { get; set; } ``` #### New Type: Speech.SFAnalysisContextTag ```csharp public class SFAnalysisContextTag { // constructors public SFAnalysisContextTag (); // properties [Obsolete ("This API has been removed from the framework.")] public static Foundation.NSString LeftContext { get; } [Obsolete ("This API has been removed from the framework.")] public static Foundation.NSString RightContext { get; } [Obsolete ("This API has been removed from the framework.")] public static Foundation.NSString SelectedText { get; } } ``` #### New Type: Speech.SFSpeechErrorCode ```csharp [Serializable] public enum SFSpeechErrorCode { InternalServiceError = 1, MalformedSupplementalModel = 8, UndefinedTemplateClassName = 7, } ``` #### New Type: Speech.SFSpeechErrorCodeExtensions ```csharp public static class SFSpeechErrorCodeExtensions { // methods public static Foundation.NSString GetDomain (this SFSpeechErrorCode self); } ``` #### New Type: Speech.SFSpeechLanguageModel ```csharp public class SFSpeechLanguageModel : Foundation.NSObject { // constructors protected SFSpeechLanguageModel (Foundation.NSObjectFlag t); protected SFSpeechLanguageModel (IntPtr handle); // properties public override IntPtr ClassHandle { get; } // methods public static void PrepareCustomModel (Foundation.NSUrl asset, string clientIdentifier, SFSpeechLanguageModelConfiguration configuration, System.Action<Foundation.NSError> completion); public static void PrepareCustomModel (Foundation.NSUrl asset, string clientIdentifier, SFSpeechLanguageModelConfiguration configuration, bool ignoresCache, System.Action<Foundation.NSError> completion); public static System.Threading.Tasks.Task PrepareCustomModelAsync (Foundation.NSUrl asset, string clientIdentifier, SFSpeechLanguageModelConfiguration configuration); public static System.Threading.Tasks.Task PrepareCustomModelAsync (Foundation.NSUrl asset, string clientIdentifier, SFSpeechLanguageModelConfiguration configuration, bool ignoresCache); } ``` #### New Type: Speech.SFSpeechLanguageModelConfiguration ```csharp public class SFSpeechLanguageModelConfiguration : Foundation.NSObject, Foundation.INSCopying, ObjCRuntime.INativeObject, System.IDisposable { // constructors public SFSpeechLanguageModelConfiguration (); protected SFSpeechLanguageModelConfiguration (Foundation.NSObjectFlag t); public SFSpeechLanguageModelConfiguration (Foundation.NSUrl languageModel); protected SFSpeechLanguageModelConfiguration (IntPtr handle); public SFSpeechLanguageModelConfiguration (Foundation.NSUrl languageModel, Foundation.NSUrl vocabulary); // properties public override IntPtr ClassHandle { get; } public virtual Foundation.NSUrl LanguageModel { get; } public virtual Foundation.NSUrl Vocabulary { get; } // methods public virtual Foundation.NSObject Copy (Foundation.NSZone zone); } ``` ### Namespace UIKit #### Type Changed: UIKit.NSCollectionLayoutDimension Added property: ```csharp public virtual bool IsUniformAcrossSiblings { get; } ``` Added method: ```csharp public static NSCollectionLayoutDimension CreateUniformAcrossSiblings (nfloat estimatedDimension); ``` #### Type Changed: UIKit.NSCollectionLayoutSection Added property: ```csharp public virtual UICollectionLayoutSectionOrthogonalScrollingProperties OrthogonalScrollingProperties { get; } ``` #### Type Changed: UIKit.NSTextLayoutFragment Added methods: ```csharp public virtual NSTextLineFragment GetTextLineFragment (nfloat verticalOffset, bool requiresExactMatch); public virtual NSTextLineFragment GetTextLineFragment (INSTextLocation textLocation, bool isUpstreamAffinity); ``` #### Type Changed: UIKit.UIAction Added property: ```csharp public virtual UIImage SelectedImage { get; set; } ``` #### Type Changed: UIKit.UIApplication Added method: ```csharp public virtual void ActivateSceneSession (UISceneSessionActivationRequest request, System.Action<Foundation.NSError> errorHandler); ``` #### Type Changed: UIKit.UIBarButtonItem Added property: ```csharp public virtual bool SymbolAnimationEnabled { get; set; } ``` Added methods: ```csharp public virtual void AddSymbolEffect (Symbols.NSSymbolEffect symbolEffect); public virtual void AddSymbolEffect (Symbols.NSSymbolEffect symbolEffect, Symbols.NSSymbolEffectOptions options); public virtual void AddSymbolEffect (Symbols.NSSymbolEffect symbolEffect, Symbols.NSSymbolEffectOptions options, bool animated); public virtual CoreGraphics.CGRect GetFrame (UIView referenceView); public virtual void RemoveAllSymbolEffects (); public virtual void RemoveAllSymbolEffects (Symbols.NSSymbolEffectOptions options); public virtual void RemoveAllSymbolEffects (Symbols.NSSymbolEffectOptions options, bool animated); public virtual void RemoveSymbolEffect (Symbols.NSSymbolEffect symbolEffect); public virtual void RemoveSymbolEffect (Symbols.NSSymbolEffect symbolEffect, Symbols.NSSymbolEffectOptions options); public virtual void RemoveSymbolEffect (Symbols.NSSymbolEffect symbolEffect, Symbols.NSSymbolEffectOptions options, bool animated); public virtual void SetSymbolImage (UIImage symbolImage, Symbols.NSSymbolContentTransition transition); public virtual void SetSymbolImage (UIImage symbolImage, Symbols.NSSymbolContentTransition transition, Symbols.NSSymbolEffectOptions options); ``` #### Type Changed: UIKit.UIBarItem Obsoleted properties: ```diff [Obsolete ("Use 'UIAccessibilityTraits' enum instead.")] public static long TraitAdjustable { get; } [Obsolete ("Use 'UIAccessibilityTraits' enum instead.")] public static long TraitAllowsDirectInteraction { get; } [Obsolete ("Use 'UIAccessibilityTraits' enum instead.")] public static long TraitButton { get; } [Obsolete ("Use 'UIAccessibilityTraits' enum instead.")] public static long TraitCausesPageTurn { get; } [Obsolete ("Use 'UIAccessibilityTraits' enum instead.")] public static long TraitHeader { get; } [Obsolete ("Use 'UIAccessibilityTraits' enum instead.")] public static long TraitImage { get; } [Obsolete ("Use 'UIAccessibilityTraits' enum instead.")] public static long TraitKeyboardKey { get; } [Obsolete ("Use 'UIAccessibilityTraits' enum instead.")] public static long TraitLink { get; } [Obsolete ("Use 'UIAccessibilityTraits' enum instead.")] public static long TraitNone { get; } [Obsolete ("Use 'UIAccessibilityTraits' enum instead.")] public static long TraitNotEnabled { get; } [Obsolete ("Use 'UIAccessibilityTraits' enum instead.")] public static long TraitPlaysSound { get; } [Obsolete ("Use 'UIAccessibilityTraits' enum instead.")] public static long TraitSearchField { get; } [Obsolete ("Use 'UIAccessibilityTraits' enum instead.")] public static long TraitSelected { get; } [Obsolete ("Use 'UIAccessibilityTraits' enum instead.")] public static long TraitStartsMediaSession { get; } [Obsolete ("Use 'UIAccessibilityTraits' enum instead.")] public static long TraitStaticText { get; } [Obsolete ("Use 'UIAccessibilityTraits' enum instead.")] public static long TraitSummaryElement { get; } [Obsolete ("Use 'UIAccessibilityTraits' enum instead.")] public static long TraitTabBar { get; } [Obsolete ("Use 'UIAccessibilityTraits' enum instead.")] public static long TraitUpdatesFrequently { get; } ``` Added properties: ```csharp public virtual UIAccessibilityDirectTouchOptions AccessibilityDirectTouchOptions { get; set; } public static Foundation.NSString SpeechAttributeAnnouncementPriority { get; } ``` #### Type Changed: UIKit.UICommand Added property: ```csharp public virtual UIImage SelectedImage { get; set; } ``` #### Type Changed: UIKit.UIControl Added property: ```csharp public virtual bool SymbolAnimationEnabled { get; set; } ``` #### Type Changed: UIKit.UIFontTextStyle Added values: ```csharp ExtraLargeTitle = 11, ExtraLargeTitle2 = 12, ``` #### Type Changed: UIKit.UIGraphicsImageRendererFormat Added property: ```csharp public virtual bool SupportsHighDynamicRange { get; } ``` #### Type Changed: UIKit.UIImage Obsoleted properties: ```diff [Obsolete ("Use 'UIAccessibilityTraits' enum instead.")] public static long TraitAdjustable { get; } [Obsolete ("Use 'UIAccessibilityTraits' enum instead.")] public static long TraitAllowsDirectInteraction { get; } [Obsolete ("Use 'UIAccessibilityTraits' enum instead.")] public static long TraitButton { get; } [Obsolete ("Use 'UIAccessibilityTraits' enum instead.")] public static long TraitCausesPageTurn { get; } [Obsolete ("Use 'UIAccessibilityTraits' enum instead.")] public static long TraitHeader { get; } [Obsolete ("Use 'UIAccessibilityTraits' enum instead.")] public static long TraitImage { get; } [Obsolete ("Use 'UIAccessibilityTraits' enum instead.")] public static long TraitKeyboardKey { get; } [Obsolete ("Use 'UIAccessibilityTraits' enum instead.")] public static long TraitLink { get; } [Obsolete ("Use 'UIAccessibilityTraits' enum instead.")] public static long TraitNone { get; } [Obsolete ("Use 'UIAccessibilityTraits' enum instead.")] public static long TraitNotEnabled { get; } [Obsolete ("Use 'UIAccessibilityTraits' enum instead.")] public static long TraitPlaysSound { get; } [Obsolete ("Use 'UIAccessibilityTraits' enum instead.")] public static long TraitSearchField { get; } [Obsolete ("Use 'UIAccessibilityTraits' enum instead.")] public static long TraitSelected { get; } [Obsolete ("Use 'UIAccessibilityTraits' enum instead.")] public static long TraitStartsMediaSession { get; } [Obsolete ("Use 'UIAccessibilityTraits' enum instead.")] public static long TraitStaticText { get; } [Obsolete ("Use 'UIAccessibilityTraits' enum instead.")] public static long TraitSummaryElement { get; } [Obsolete ("Use 'UIAccessibilityTraits' enum instead.")] public static long TraitTabBar { get; } [Obsolete ("Use 'UIAccessibilityTraits' enum instead.")] public static long TraitUpdatesFrequently { get; } ``` Added properties: ```csharp public virtual UIAccessibilityDirectTouchOptions AccessibilityDirectTouchOptions { get; set; } public Foundation.NSData HeicRepresentation { get; } public virtual UIImage ImageRestrictedToStandardDynamicRange { get; } public virtual bool IsHighDynamicRange { get; } public static Foundation.NSString SpeechAttributeAnnouncementPriority { get; } ``` #### Type Changed: UIKit.UIImageConfiguration Added property: ```csharp public virtual Foundation.NSLocale Locale { get; } ``` Added methods: ```csharp public static UIImageConfiguration CreateConfiguration (Foundation.NSLocale locale); public static UIImageConfiguration CreateConfiguration (UITraitCollection traitCollection); public virtual UIImageConfiguration GetConfiguration (Foundation.NSLocale locale); ``` #### Type Changed: UIKit.UIImageView Added properties: ```csharp public virtual UIImageDynamicRange ImageDynamicRange { get; } public virtual UIImageDynamicRange PreferredImageDynamicRange { get; set; } ``` Added methods: ```csharp public virtual void AddSymbolEffect (Symbols.NSSymbolEffect symbolEffect); public virtual void AddSymbolEffect (Symbols.NSSymbolEffect symbolEffect, Symbols.NSSymbolEffectOptions options); public virtual void AddSymbolEffect (Symbols.NSSymbolEffect symbolEffect, Symbols.NSSymbolEffectOptions options, bool animated); public virtual void AddSymbolEffect (Symbols.NSSymbolEffect symbolEffect, Symbols.NSSymbolEffectOptions options, bool animated, System.Action<UISymbolEffectCompletionContext> completionHandler); public virtual System.Threading.Tasks.Task<UISymbolEffectCompletionContext> AddSymbolEffectAsync (Symbols.NSSymbolEffect symbolEffect, Symbols.NSSymbolEffectOptions options, bool animated); public virtual void RemoveAllSymbolEffects (); public virtual void RemoveAllSymbolEffects (Symbols.NSSymbolEffectOptions options); public virtual void RemoveAllSymbolEffects (Symbols.NSSymbolEffectOptions options, bool animated); public virtual void RemoveSymbolEffect (Symbols.NSSymbolEffect symbolEffect); public virtual void RemoveSymbolEffect (Symbols.NSSymbolEffect symbolEffect, Symbols.NSSymbolEffectOptions options); public virtual void RemoveSymbolEffect (Symbols.NSSymbolEffect symbolEffect, Symbols.NSSymbolEffectOptions options, bool animated); public virtual void RemoveSymbolEffect (Symbols.NSSymbolEffect symbolEffect, Symbols.NSSymbolEffectOptions options, bool animated, System.Action<UISymbolEffectCompletionContext> completionHandler); public virtual System.Threading.Tasks.Task<UISymbolEffectCompletionContext> RemoveSymbolEffectAsync (Symbols.NSSymbolEffect symbolEffect, Symbols.NSSymbolEffectOptions options, bool animated); public virtual void SetSymbolImage (UIImage symbolImage, Symbols.NSSymbolContentTransition transition); public virtual void SetSymbolImage (UIImage symbolImage, Symbols.NSSymbolContentTransition transition, Symbols.NSSymbolEffectOptions options); public virtual void SetSymbolImage (UIImage symbolImage, Symbols.NSSymbolContentTransition transition, Symbols.NSSymbolEffectOptions options, System.Action<UISymbolEffectCompletionContext> completionHandler); public virtual System.Threading.Tasks.Task<UISymbolEffectCompletionContext> SetSymbolImageAsync (UIImage symbolImage, Symbols.NSSymbolContentTransition transition, Symbols.NSSymbolEffectOptions options); ``` #### Type Changed: UIKit.UIKeyboardLayoutGuide Added properties: ```csharp public virtual nfloat KeyboardDismissPadding { get; set; } public virtual bool UsesBottomSafeArea { get; set; } ``` #### Type Changed: UIKit.UILabel Added interface: ```csharp IUILetterformAwareAdjusting ``` Added properties: ```csharp public virtual UILabelVibrancy PreferredVibrancy { get; set; } public virtual UILetterformAwareSizingRule SizingRule { get; set; } ``` #### Type Changed: UIKit.UILabel.UILabelAppearance Added property: ```csharp public virtual UILabelVibrancy PreferredVibrancy { get; set; } ``` #### Type Changed: UIKit.UILayoutGuide Added method: ```csharp public virtual CoreGraphics.CGRect GetFrame (UIView referenceView); ``` #### Type Changed: UIKit.UIMenuElementSize Added value: ```csharp Automatic = -1, ``` #### Type Changed: UIKit.UIMenuIdentifier Added value: ```csharp AutoFill = 47, ``` #### Type Changed: UIKit.UIMenuOptions Added value: ```csharp DisplayAsPalette = 128, ``` #### Type Changed: UIKit.UINavigationItemLargeTitleDisplayMode Added value: ```csharp Inline = 3, ``` #### Type Changed: UIKit.UIPageControl Added property: ```csharp public virtual UIPageControlProgress Progress { get; set; } ``` #### Type Changed: UIKit.UIPointerEffect Added interface: ```csharp IUIHoverEffect ``` #### Type Changed: UIKit.UIPointerStyle Modified base type: ```diff -Foundation.NSObject +UIKit.UIHoverStyle ``` #### Type Changed: UIKit.UIPresentationController Added interface: ```csharp IUITraitChangeObservable ``` Added property: ```csharp public virtual IUITraitOverrides TraitOverrides { get; } ``` Added methods: ```csharp [Obsolete ("Use the 'UITraitChangeObservable.RegisterForTraitChanges (Class[], Selector)' method instead.")] public virtual IUITraitChangeRegistration RegisterForTraitChanges (IUITraitDefinition[] traits, ObjCRuntime.Selector action); [Obsolete ("Use the 'UITraitChangeObservable.RegisterForTraitChanges (Class[], Action<IUITraitEnvironment, UITraitCollection>)' method instead.")] public virtual IUITraitChangeRegistration RegisterForTraitChanges (IUITraitDefinition[] traits, System.Action<IUITraitEnvironment,UIKit.UITraitCollection> handler); [Obsolete ("Use the 'UITraitChangeObservable.RegisterForTraitChanges (Class[], NSObject, Selector)' method instead.")] public virtual IUITraitChangeRegistration RegisterForTraitChanges (IUITraitDefinition[] traits, Foundation.NSObject target, ObjCRuntime.Selector action); public virtual void UnregisterForTraitChanges (IUITraitChangeRegistration registration); ``` #### Type Changed: UIKit.UIScrollView Added property: ```csharp public virtual bool AllowsKeyboardScrolling { get; set; } ``` #### Type Changed: UIKit.UISearchBar Added interface: ```csharp IUILookToDictateCapable ``` Added properties: ```csharp public virtual UITextInlinePredictionType InlinePredictionType { get; set; } public virtual bool LookToDictateEnabled { get; set; } ``` #### Type Changed: UIKit.UISheetPresentationController Added property: ```csharp public virtual bool PrefersPageSizing { get; set; } ``` #### Type Changed: UIKit.UISpringTimingParameters Added constructors: ```csharp public UISpringTimingParameters (double duration, nfloat bounce); public UISpringTimingParameters (double duration, nfloat bounce, CoreGraphics.CGVector velocity); ``` #### Type Changed: UIKit.UIStringAttributeKey Added property: ```csharp public static Foundation.NSString Name { get; } ``` #### Type Changed: UIKit.UITabBarItem Added method: ```csharp public virtual CoreGraphics.CGRect GetFrame (UIView referenceView); ``` #### Type Changed: UIKit.UITextContentType Added properties: ```csharp public static Foundation.NSString Birthdate { get; } public static Foundation.NSString BirthdateDay { get; } public static Foundation.NSString BirthdateMonth { get; } public static Foundation.NSString BirthdateYear { get; } public static Foundation.NSString CreditCardExpiration { get; } public static Foundation.NSString CreditCardExpirationMonth { get; } public static Foundation.NSString CreditCardExpirationYear { get; } public static Foundation.NSString CreditCardFamilyName { get; } public static Foundation.NSString CreditCardGivenName { get; } public static Foundation.NSString CreditCardMiddleName { get; } public static Foundation.NSString CreditCardName { get; } public static Foundation.NSString CreditCardSecurityCode { get; } public static Foundation.NSString CreditCardType { get; } ``` #### Type Changed: UIKit.UITextDocumentProxy Added property: ```csharp public virtual UITextInlinePredictionType InlinePredictionType { get; set; } ``` #### Type Changed: UIKit.UITextField Added interface: ```csharp IUILetterformAwareAdjusting ``` Added properties: ```csharp public virtual UITextInlinePredictionType InlinePredictionType { get; set; } public virtual UILetterformAwareSizingRule SizingRule { get; set; } ``` #### Type Changed: UIKit.UITextInputTraits_Extensions Added methods: ```csharp public static UITextInlinePredictionType GetInlinePredictionType (this IUITextInputTraits This); public static void SetInlinePredictionType (this IUITextInputTraits This, UITextInlinePredictionType value); ``` #### Type Changed: UIKit.UITextView Added interface: ```csharp IUILetterformAwareAdjusting ``` Obsoleted properties: ```diff [Obsolete ("Use 'TypingAttributes2' instead, because this property will return null instead of an empty dictionary.")] public virtual Foundation.NSDictionary TypingAttributes { get; set; } ``` Added properties: ```csharp public virtual UITextViewBorderStyle BorderStyle { get; set; } public virtual UITextInlinePredictionType InlinePredictionType { get; set; } public virtual UILetterformAwareSizingRule SizingRule { get; set; } public Foundation.NSDictionary TypingAttributes2 { get; set; } ``` #### Type Changed: UIKit.UITextViewDelegate Added methods: ```csharp public virtual UITextItemMenuConfiguration GetMenuConfiguration (UITextView textView, UITextItem textItem, UIMenu defaultMenu); public virtual UIAction GetPrimaryAction (UITextView textView, UITextItem textItem, UIAction defaultAction); public virtual void WillDisplay (UITextView textView, UITextItem textItem, IUIContextMenuInteractionAnimating animator); public virtual void WillEnd (UITextView textView, UITextItem textItem, IUIContextMenuInteractionAnimating animator); ``` #### Type Changed: UIKit.UITextViewDelegate_Extensions Added methods: ```csharp public static UITextItemMenuConfiguration GetMenuConfiguration (this IUITextViewDelegate This, UITextView textView, UITextItem textItem, UIMenu defaultMenu); public static UIAction GetPrimaryAction (this IUITextViewDelegate This, UITextView textView, UITextItem textItem, UIAction defaultAction); public static void WillDisplay (this IUITextViewDelegate This, UITextView textView, UITextItem textItem, IUIContextMenuInteractionAnimating animator); public static void WillEnd (this IUITextViewDelegate This, UITextView textView, UITextItem textItem, IUIContextMenuInteractionAnimating animator); ``` #### Type Changed: UIKit.UITraitCollection Added properties: ```csharp public virtual UIImageDynamicRange ImageDynamicRange { get; } public virtual UISceneCaptureState SceneCaptureState { get; } [Obsolete ("Use 'SystemTraitsAffectingColorAppearance2' instead.")] public static IUITraitDefinition[] SystemTraitsAffectingColorAppearance { get; } public ObjCRuntime.Class[] SystemTraitsAffectingColorAppearance2 { get; } [Obsolete ("Use 'SystemTraitsAffectingImageLookup2' instead.")] public static IUITraitDefinition[] SystemTraitsAffectingImageLookup { get; } public ObjCRuntime.Class[] SystemTraitsAffectingImageLookup2 { get; } public virtual string TypesettingLanguage { get; } ``` Added methods: ```csharp public static UITraitCollection FromSceneCaptureState (UISceneCaptureState sceneCaptureState); [Obsolete ("Use 'GetChangedTraits2' instead.")] public virtual Foundation.NSSet<IUITraitDefinition> GetChangedTraits (UITraitCollection traitCollection); public Foundation.NSSet<ObjCRuntime.Class> GetChangedTraits2 (UITraitCollection traitCollection); public virtual Foundation.NSObject GetObject (IUIObjectTraitDefinition trait); public static UITraitCollection GetTraitCollection (string language); public static UITraitCollection GetTraitCollection (UIImageDynamicRange imageDynamicRange); public virtual UITraitCollection GetTraitCollectionByModifyingTraits (System.Func<IUIMutableTraits> mutations); public virtual UITraitCollection GetTraitCollectionByReplacingObject (Foundation.NSObject object, IUIObjectTraitDefinition trait); public virtual UITraitCollection GetTraitCollectionByReplacingValue (nfloat value, IUICGFloatTraitDefinition trait); public static UITraitCollection GetTraitCollectionWithObject (Foundation.NSObject object, IUIObjectTraitDefinition trait); public static UITraitCollection GetTraitCollectionWithTraits (System.Func<IUIMutableTraits> mutations); public static UITraitCollection GetTraitCollectionWithValue (nfloat value, IUICGFloatTraitDefinition trait); public static UITraitCollection GetTraitCollectionWithValue (nint value, IUINSIntegerTraitDefinition trait); public virtual nfloat GetValueForTrait (IUICGFloatTraitDefinition trait); public virtual nint GetValueForTrait (IUINSIntegerTraitDefinition trait); public virtual UITraitCollection TraitCollectionByReplacingValue (nint value, IUINSIntegerTraitDefinition trait); ``` #### Type Changed: UIKit.UIUserInterfaceIdiom Added value: ```csharp Vision = 6, ``` #### Type Changed: UIKit.UIView Added interface: ```csharp IUITraitChangeObservable ``` Obsoleted properties: ```diff [Obsolete ("Use 'UIAccessibilityTraits' enum instead.")] public static long TraitAdjustable { get; } [Obsolete ("Use 'UIAccessibilityTraits' enum instead.")] public static long TraitAllowsDirectInteraction { get; } [Obsolete ("Use 'UIAccessibilityTraits' enum instead.")] public static long TraitButton { get; } [Obsolete ("Use 'UIAccessibilityTraits' enum instead.")] public static long TraitCausesPageTurn { get; } [Obsolete ("Use 'UIAccessibilityTraits' enum instead.")] public static long TraitHeader { get; } [Obsolete ("Use 'UIAccessibilityTraits' enum instead.")] public static long TraitImage { get; } [Obsolete ("Use 'UIAccessibilityTraits' enum instead.")] public static long TraitKeyboardKey { get; } [Obsolete ("Use 'UIAccessibilityTraits' enum instead.")] public static long TraitLink { get; } [Obsolete ("Use 'UIAccessibilityTraits' enum instead.")] public static long TraitNone { get; } [Obsolete ("Use 'UIAccessibilityTraits' enum instead.")] public static long TraitNotEnabled { get; } [Obsolete ("Use 'UIAccessibilityTraits' enum instead.")] public static long TraitPlaysSound { get; } [Obsolete ("Use 'UIAccessibilityTraits' enum instead.")] public static long TraitSearchField { get; } [Obsolete ("Use 'UIAccessibilityTraits' enum instead.")] public static long TraitSelected { get; } [Obsolete ("Use 'UIAccessibilityTraits' enum instead.")] public static long TraitStartsMediaSession { get; } [Obsolete ("Use 'UIAccessibilityTraits' enum instead.")] public static long TraitStaticText { get; } [Obsolete ("Use 'UIAccessibilityTraits' enum instead.")] public static long TraitSummaryElement { get; } [Obsolete ("Use 'UIAccessibilityTraits' enum instead.")] public static long TraitTabBar { get; } [Obsolete ("Use 'UIAccessibilityTraits' enum instead.")] public static long TraitUpdatesFrequently { get; } ``` Added properties: ```csharp public virtual UIAccessibilityDirectTouchOptions AccessibilityDirectTouchOptions { get; set; } public virtual UIHoverStyle HoverStyle { get; set; } public static Foundation.NSString SpeechAttributeAnnouncementPriority { get; } public virtual IUITraitOverrides TraitOverrides { get; } ``` Added methods: ```csharp public static void Animate (double duration, nfloat bounce, nfloat velocity, double delay, UIViewAnimationOptions options, System.Action animations, System.Action<bool> completion); public static System.Threading.Tasks.Task<bool> AnimateAsync (double duration, nfloat bounce, nfloat velocity, double delay, UIViewAnimationOptions options, System.Action animations); public virtual CoreGraphics.CGRect GetFrame (UIView referenceView); [Obsolete ("Use the 'UITraitChangeObservable.RegisterForTraitChanges (Class[], Selector)' method instead.")] public virtual IUITraitChangeRegistration RegisterForTraitChanges (IUITraitDefinition[] traits, ObjCRuntime.Selector action); [Obsolete ("Use the 'UITraitChangeObservable.RegisterForTraitChanges (Class[], Action<IUITraitEnvironment, UITraitCollection>)' method instead.")] public virtual IUITraitChangeRegistration RegisterForTraitChanges (IUITraitDefinition[] traits, System.Action<IUITraitEnvironment,UIKit.UITraitCollection> handler); [Obsolete ("Use the 'UITraitChangeObservable.RegisterForTraitChanges (Class[], NSObject, Selector)' method instead.")] public virtual IUITraitChangeRegistration RegisterForTraitChanges (IUITraitDefinition[] traits, Foundation.NSObject target, ObjCRuntime.Selector action); public virtual void UnregisterForTraitChanges (IUITraitChangeRegistration registration); public virtual void UpdateTraitsIfNeeded (); ``` #### Type Changed: UIKit.UIViewController Added interface: ```csharp IUITraitChangeObservable ``` Added properties: ```csharp public virtual IUIContentConfiguration ContentUnavailableConfiguration { get; set; } public virtual UIContentUnavailableConfigurationState ContentUnavailableConfigurationState { get; } public virtual IUITraitOverrides TraitOverrides { get; } ``` Added methods: ```csharp [Obsolete ("Use the 'UITraitChangeObservable.RegisterForTraitChanges (Class[], Selector)' method instead.")] public virtual IUITraitChangeRegistration RegisterForTraitChanges (IUITraitDefinition[] traits, ObjCRuntime.Selector action); [Obsolete ("Use the 'UITraitChangeObservable.RegisterForTraitChanges (Class[], Action<IUITraitEnvironment, UITraitCollection>)' method instead.")] public virtual IUITraitChangeRegistration RegisterForTraitChanges (IUITraitDefinition[] traits, System.Action<IUITraitEnvironment,UIKit.UITraitCollection> handler); [Obsolete ("Use the 'UITraitChangeObservable.RegisterForTraitChanges (Class[], NSObject, Selector)' method instead.")] public virtual IUITraitChangeRegistration RegisterForTraitChanges (IUITraitDefinition[] traits, Foundation.NSObject target, ObjCRuntime.Selector action); public virtual void SetNeedsUpdateContentUnavailableConfiguration (); public virtual void UnregisterForTraitChanges (IUITraitChangeRegistration registration); public virtual void UpdateContentUnavailableConfiguration (UIContentUnavailableConfigurationState state); public virtual void UpdateTraitsIfNeeded (); public virtual void ViewIsAppearing (bool animated); ``` #### Type Changed: UIKit.UIWindowScene Added interfaces: ```csharp ObjCRuntime.INativeObject System.IDisposable IUITraitChangeObservable ``` Added property: ```csharp public virtual IUITraitOverrides TraitOverrides { get; } ``` Added methods: ```csharp [Obsolete ("Use the 'UITraitChangeObservable.RegisterForTraitChanges (Class[], Selector)' method instead.")] public virtual IUITraitChangeRegistration RegisterForTraitChanges (IUITraitDefinition[] traits, ObjCRuntime.Selector action); [Obsolete ("Use the 'UITraitChangeObservable.RegisterForTraitChanges (Class[], Action<IUITraitEnvironment, UITraitCollection>)' method instead.")] public virtual IUITraitChangeRegistration RegisterForTraitChanges (IUITraitDefinition[] traits, System.Action<IUITraitEnvironment,UIKit.UITraitCollection> handler); [Obsolete ("Use the 'UITraitChangeObservable.RegisterForTraitChanges (Class[], NSObject, Selector)' method instead.")] public virtual IUITraitChangeRegistration RegisterForTraitChanges (IUITraitDefinition[] traits, Foundation.NSObject target, ObjCRuntime.Selector action); public virtual void UnregisterForTraitChanges (IUITraitChangeRegistration registration); ``` #### Type Changed: UIKit.UIWindowSceneActivationRequestOptions Added property: ```csharp public virtual UIWindowScenePlacement Placement { get; set; } ``` #### New Type: UIKit.IUICGFloatTraitDefinition ```csharp public interface IUICGFloatTraitDefinition : ObjCRuntime.INativeObject, System.IDisposable, IUITraitDefinition { } ``` #### New Type: UIKit.IUIHoverEffect ```csharp public interface IUIHoverEffect : ObjCRuntime.INativeObject, System.IDisposable { } ``` #### New Type: UIKit.IUILetterformAwareAdjusting ```csharp public interface IUILetterformAwareAdjusting : ObjCRuntime.INativeObject, System.IDisposable { // properties public virtual UILetterformAwareSizingRule SizingRule { get; set; } } ``` #### New Type: UIKit.IUILookToDictateCapable ```csharp public interface IUILookToDictateCapable : ObjCRuntime.INativeObject, System.IDisposable { // properties public virtual bool LookToDictateEnabled { get; set; } } ``` #### New Type: UIKit.IUIMutableTraits ```csharp public interface IUIMutableTraits : ObjCRuntime.INativeObject, System.IDisposable { // properties public virtual UIAccessibilityContrast AccessibilityContrast { get; set; } public virtual UIUserInterfaceActiveAppearance ActiveAppearance { get; set; } public virtual UIDisplayGamut DisplayGamut { get; set; } public virtual nfloat DisplayScale { get; set; } public virtual UIForceTouchCapability ForceTouchCapability { get; set; } public virtual UIUserInterfaceSizeClass HorizontalSizeClass { get; set; } public virtual UIImageDynamicRange ImageDynamicRange { get; set; } public virtual UITraitEnvironmentLayoutDirection LayoutDirection { get; set; } public virtual UILegibilityWeight LegibilityWeight { get; set; } public virtual string PreferredContentSizeCategory { get; set; } public virtual UISceneCaptureState SceneCaptureState { get; set; } public virtual UINSToolbarItemPresentationSize ToolbarItemPresentationSize { get; set; } public virtual string TypesettingLanguage { get; set; } public virtual UIUserInterfaceIdiom UserInterfaceIdiom { get; set; } public virtual UIUserInterfaceLevel UserInterfaceLevel { get; set; } public virtual UIUserInterfaceStyle UserInterfaceStyle { get; set; } public virtual UIUserInterfaceSizeClass VerticalSizeClass { get; set; } // methods public abstract Foundation.NSObject GetObject (IUIObjectTraitDefinition trait); public abstract nfloat GetValue (IUICGFloatTraitDefinition trait); public abstract nint GetValue (IUINSIntegerTraitDefinition trait); public abstract void SetObject (Foundation.NSObject object, IUIObjectTraitDefinition trait); public abstract void SetValue (nfloat value, IUICGFloatTraitDefinition trait); public abstract void SetValue (nint value, IUINSIntegerTraitDefinition trait); } ``` #### New Type: UIKit.IUINSIntegerTraitDefinition ```csharp public interface IUINSIntegerTraitDefinition : ObjCRuntime.INativeObject, System.IDisposable, IUITraitDefinition { } ``` #### New Type: UIKit.IUIObjectTraitDefinition ```csharp public interface IUIObjectTraitDefinition : ObjCRuntime.INativeObject, System.IDisposable, IUITraitDefinition { } ``` #### New Type: UIKit.IUIPageControlProgressDelegate ```csharp public interface IUIPageControlProgressDelegate : ObjCRuntime.INativeObject, System.IDisposable { } ``` #### New Type: UIKit.IUIPageControlTimerProgressDelegate ```csharp public interface IUIPageControlTimerProgressDelegate : ObjCRuntime.INativeObject, System.IDisposable, IUIPageControlProgressDelegate { } ``` #### New Type: UIKit.IUIShapeProvider ```csharp public interface IUIShapeProvider : ObjCRuntime.INativeObject, System.IDisposable { // methods public abstract UIResolvedShape CreateResolvedShape (UIShapeResolutionContext context); } ``` #### New Type: UIKit.IUITextCursorView ```csharp public interface IUITextCursorView : ObjCRuntime.INativeObject, System.IDisposable, IUICoordinateSpace { // properties public virtual bool Blinking { get; set; } // methods public abstract void ResetBlinkAnimation (); } ``` #### New Type: UIKit.IUITextSelectionDisplayInteractionDelegate ```csharp public interface IUITextSelectionDisplayInteractionDelegate : ObjCRuntime.INativeObject, System.IDisposable { } ``` #### New Type: UIKit.IUITextSelectionHandleView ```csharp public interface IUITextSelectionHandleView : ObjCRuntime.INativeObject, System.IDisposable, IUICoordinateSpace { // properties public virtual UIBezierPath CustomShape { get; set; } public virtual NSDirectionalRectEdge Direction { get; set; } public virtual bool Vertical { get; } // methods public abstract CoreGraphics.CGRect GetPreferredFrame (CoreGraphics.CGRect rect); } ``` #### New Type: UIKit.IUITextSelectionHighlightView ```csharp public interface IUITextSelectionHighlightView : ObjCRuntime.INativeObject, System.IDisposable, IUICoordinateSpace { // properties public virtual UITextSelectionRect[] SelectionRects { get; set; } } ``` #### New Type: UIKit.IUITraitChangeObservable ```csharp public interface IUITraitChangeObservable : ObjCRuntime.INativeObject, System.IDisposable { // methods public static IntPtr NativeHandle_objc_msgSend_NativeHandle_BlockLiteral (IntPtr receiver, IntPtr selector, IntPtr arg1, ObjCRuntime.BlockLiteral* arg2); public static IntPtr NativeHandle_objc_msgSend_NativeHandle_NativeHandle (IntPtr receiver, IntPtr selector, IntPtr arg1, IntPtr arg2); public static IntPtr NativeHandle_objc_msgSend_NativeHandle_NativeHandle_NativeHandle (IntPtr receiver, IntPtr selector, IntPtr arg1, IntPtr arg2, IntPtr arg3); public virtual IUITraitChangeRegistration RegisterForTraitChanges<T> (System.Action<IUITraitEnvironment,UIKit.UITraitCollection> handler); public virtual IUITraitChangeRegistration RegisterForTraitChanges<T1, T2> (System.Action<IUITraitEnvironment,UIKit.UITraitCollection> handler); public virtual IUITraitChangeRegistration RegisterForTraitChanges<T1, T2, T3> (System.Action<IUITraitEnvironment,UIKit.UITraitCollection> handler); public virtual IUITraitChangeRegistration RegisterForTraitChanges<T1, T2, T3, T4> (System.Action<IUITraitEnvironment,UIKit.UITraitCollection> handler); public virtual IUITraitChangeRegistration RegisterForTraitChanges (ObjCRuntime.Class[] traits, ObjCRuntime.Selector action); public virtual IUITraitChangeRegistration RegisterForTraitChanges (ObjCRuntime.Class[] traits, System.Action<IUITraitEnvironment,UIKit.UITraitCollection> handler); public virtual IUITraitChangeRegistration RegisterForTraitChanges (System.Action<IUITraitEnvironment,UIKit.UITraitCollection> handler, System.Type[] traits); public virtual IUITraitChangeRegistration RegisterForTraitChanges (System.Type[] traits, ObjCRuntime.Selector action); public virtual IUITraitChangeRegistration RegisterForTraitChanges (System.Type[] traits, System.Action<IUITraitEnvironment,UIKit.UITraitCollection> handler); [Obsolete ("Use the 'UITraitChangeObservable.RegisterForTraitChanges (Class[], Selector)' method instead.")] public virtual IUITraitChangeRegistration RegisterForTraitChanges (IUITraitDefinition[] traits, ObjCRuntime.Selector action); [Obsolete ("Use the 'UITraitChangeObservable.RegisterForTraitChanges (Class[], Action<IUITraitEnvironment, UITraitCollection>)' method instead.")] public virtual IUITraitChangeRegistration RegisterForTraitChanges (IUITraitDefinition[] traits, System.Action<IUITraitEnvironment,UIKit.UITraitCollection> handler); public virtual IUITraitChangeRegistration RegisterForTraitChanges (ObjCRuntime.Class[] traits, Foundation.NSObject target, ObjCRuntime.Selector action); public virtual IUITraitChangeRegistration RegisterForTraitChanges (System.Type[] traits, Foundation.NSObject target, ObjCRuntime.Selector action); [Obsolete ("Use the 'UITraitChangeObservable.RegisterForTraitChanges (Class[], NSObject, Selector)' method instead.")] public virtual IUITraitChangeRegistration RegisterForTraitChanges (IUITraitDefinition[] traits, Foundation.NSObject target, ObjCRuntime.Selector action); public static ObjCRuntime.Class[] ToClasses (System.Type[] traits); public static ObjCRuntime.Class[] ToClasses (IUITraitDefinition[] traits); public abstract void UnregisterForTraitChanges (IUITraitChangeRegistration registration); } ``` #### New Type: UIKit.IUITraitChangeRegistration ```csharp public interface IUITraitChangeRegistration : Foundation.INSCopying, ObjCRuntime.INativeObject, System.IDisposable { } ``` #### New Type: UIKit.IUITraitDefinition ```csharp public interface IUITraitDefinition : ObjCRuntime.INativeObject, System.IDisposable { } ``` #### New Type: UIKit.IUITraitOverrides ```csharp public interface IUITraitOverrides : ObjCRuntime.INativeObject, System.IDisposable, IUIMutableTraits { // methods public bool ContainsTrait<T> (); public bool ContainsTrait (ObjCRuntime.Class trait); public bool ContainsTrait (System.Type trait); [Obsolete ("Use 'ContainsTrait<T> ()', 'ContainsTrait (Type)' or 'ContainsTrait (Class)' instead.")] public abstract bool ContainsTrait (IUITraitDefinition trait); public void RemoveTrait<T> (); public void RemoveTrait (ObjCRuntime.Class trait); public void RemoveTrait (System.Type trait); [Obsolete ("Use 'RemoveTrait<T> ()', 'RemoveTrait (Type)' or 'RemoveTrait (Class)' instead.")] public abstract void RemoveTrait (IUITraitDefinition trait); } ``` #### New Type: UIKit.NSAttributedStringDocumentReadingOptions ```csharp public class NSAttributedStringDocumentReadingOptions : Foundation.DictionaryContainer { // constructors public NSAttributedStringDocumentReadingOptions (); public NSAttributedStringDocumentReadingOptions (Foundation.NSDictionary dictionary); // properties public Foundation.NSStringEncoding? CharacterEncoding { get; set; } public Foundation.NSDictionary DefaultAttributes { get; set; } public NSAttributedStringDocumentType? DocumentType { get; set; } public NSTextScalingType? SourceTextScaling { get; set; } public NSTextScalingType? TargetTextScaling { get; set; } } ``` #### New Type: UIKit.NSAttributedStringDocumentType ```csharp [Serializable] public enum NSAttributedStringDocumentType { DocFormat = 5, Html = 3, MacSimple = 4, OfficeOpenXml = 7, OpenDocument = 9, Plain = 0, Rtf = 1, Rtfd = 2, Unknown = -1, WebArchive = 8, WordML = 6, } ``` #### New Type: UIKit.NSAttributedStringDocumentTypeExtensions ```csharp public static class NSAttributedStringDocumentTypeExtensions { // methods public static Foundation.NSString GetConstant (this NSAttributedStringDocumentType self); public static NSAttributedStringDocumentType GetValue (Foundation.NSString constant); } ``` #### New Type: UIKit.UIAccessibilityDirectTouchOptions ```csharp [Serializable] [Flags] public enum UIAccessibilityDirectTouchOptions { None = 0, RequiresActivation = 2, SilentOnTouch = 1, } ``` #### New Type: UIKit.UIAccessibilityPriority ```csharp [Serializable] public enum UIAccessibilityPriority { Default = 1, High = 0, Low = 2, } ``` #### New Type: UIKit.UIAccessibilityPriorityExtensions ```csharp public static class UIAccessibilityPriorityExtensions { // methods public static Foundation.NSString GetConstant (this UIAccessibilityPriority self); public static UIAccessibilityPriority GetValue (Foundation.NSString constant); } ``` #### New Type: UIKit.UIAccessibilityTraits ```csharp [Serializable] public enum UIAccessibilityTraits { Adjustable = 14, AllowsDirectInteraction = 15, Button = 1, CausesPageTurn = 16, Header = 3, Image = 5, KeyboardKey = 8, Link = 2, None = 0, NotEnabled = 11, PlaysSound = 7, SearchField = 4, Selected = 6, StartsMediaSession = 13, StaticText = 9, SummaryElement = 10, SupportsZoom = 18, TabBar = 17, ToggleButton = 19, UpdatesFrequently = 12, } ``` #### New Type: UIKit.UIAccessibilityTraitsExtensions ```csharp public static class UIAccessibilityTraitsExtensions { // methods public static Foundation.NSString GetConstant (this UIAccessibilityTraits self); public static UIAccessibilityTraits GetValue (Foundation.NSString constant); } ``` #### New Type: UIKit.UICGFloatTraitDefinition ```csharp public abstract class UICGFloatTraitDefinition : Foundation.NSObject, ObjCRuntime.INativeObject, System.IDisposable, IUICGFloatTraitDefinition, IUITraitDefinition { // constructors protected UICGFloatTraitDefinition (); protected UICGFloatTraitDefinition (Foundation.NSObjectFlag t); protected UICGFloatTraitDefinition (IntPtr handle); // properties public static bool AffectsColorAppearance { get; } public static nfloat DefaultValue { get; } public static string Identifier { get; } public static string Name { get; } } ``` #### New Type: UIKit.UICollectionLayoutSectionOrthogonalScrollingBounce ```csharp [Serializable] public enum UICollectionLayoutSectionOrthogonalScrollingBounce { Always = 1, Automatic = 0, Never = 2, } ``` #### New Type: UIKit.UICollectionLayoutSectionOrthogonalScrollingDecelerationRate ```csharp public static class UICollectionLayoutSectionOrthogonalScrollingDecelerationRate { // properties public static double Automatic { get; } public static double Fast { get; } public static double Normal { get; } } ``` #### New Type: UIKit.UICollectionLayoutSectionOrthogonalScrollingProperties ```csharp public class UICollectionLayoutSectionOrthogonalScrollingProperties : Foundation.NSObject, Foundation.INSCopying, ObjCRuntime.INativeObject, System.IDisposable { // constructors public UICollectionLayoutSectionOrthogonalScrollingProperties (); protected UICollectionLayoutSectionOrthogonalScrollingProperties (Foundation.NSObjectFlag t); protected UICollectionLayoutSectionOrthogonalScrollingProperties (IntPtr handle); // properties public virtual UICollectionLayoutSectionOrthogonalScrollingBounce Bounce { get; set; } public override IntPtr ClassHandle { get; } public virtual double DecelerationRate { get; set; } // methods public virtual Foundation.NSObject Copy (Foundation.NSZone zone); } ``` #### New Type: UIKit.UIContentUnavailableAlignment ```csharp [Serializable] public enum UIContentUnavailableAlignment { Center = 0, Natural = 1, } ``` #### New Type: UIKit.UIContentUnavailableButtonProperties ```csharp public class UIContentUnavailableButtonProperties : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable { // constructors public UIContentUnavailableButtonProperties (); public UIContentUnavailableButtonProperties (Foundation.NSCoder coder); protected UIContentUnavailableButtonProperties (Foundation.NSObjectFlag t); protected UIContentUnavailableButtonProperties (IntPtr handle); // properties public override IntPtr ClassHandle { get; } public virtual bool Enabled { get; set; } public virtual UIMenu Menu { get; set; } public virtual UIAction PrimaryAction { get; set; } public virtual UIButtonRole Role { get; set; } // methods public virtual Foundation.NSObject Copy (Foundation.NSZone zone); public virtual void EncodeTo (Foundation.NSCoder encoder); } ``` #### New Type: UIKit.UIContentUnavailableConfiguration ```csharp public class UIContentUnavailableConfiguration : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable, IUIContentConfiguration { // constructors public UIContentUnavailableConfiguration (Foundation.NSCoder coder); protected UIContentUnavailableConfiguration (Foundation.NSObjectFlag t); protected UIContentUnavailableConfiguration (IntPtr handle); // properties public virtual UIContentUnavailableAlignment Alignment { get; set; } public virtual Foundation.NSAttributedString AttributedText { get; set; } public virtual UIAxis AxesPreservingSuperviewLayoutMargins { get; set; } public virtual UIBackgroundConfiguration Background { get; set; } public virtual UIButtonConfiguration Button { get; set; } public virtual UIContentUnavailableButtonProperties ButtonProperties { get; } public virtual nfloat ButtonToSecondaryButtonPadding { get; set; } public override IntPtr ClassHandle { get; } public virtual NSDirectionalEdgeInsets DirectionalLayoutMargins { get; set; } public virtual UIImage Image { get; set; } public virtual UIContentUnavailableImageProperties ImageProperties { get; } public virtual nfloat ImageToTextPadding { get; set; } public virtual Foundation.NSAttributedString SecondaryAttributedText { get; set; } public virtual UIButtonConfiguration SecondaryButton { get; set; } public virtual UIContentUnavailableButtonProperties SecondaryButtonProperties { get; } public virtual string SecondaryText { get; set; } public virtual UIContentUnavailableTextProperties SecondaryTextProperties { get; } public virtual string Text { get; set; } public virtual UIContentUnavailableTextProperties TextProperties { get; } public virtual nfloat TextToButtonPadding { get; set; } public virtual nfloat TextToSecondaryTextPadding { get; set; } // methods public virtual Foundation.NSObject Copy (Foundation.NSZone zone); public static UIContentUnavailableConfiguration CreateEmptyConfiguration (); public static UIContentUnavailableConfiguration CreateLoadingConfiguration (); public static UIContentUnavailableConfiguration CreateSearchConfiguration (); public virtual void EncodeTo (Foundation.NSCoder encoder); public virtual IUIContentConfiguration GetUpdatedConfiguration (IUIConfigurationState state); public virtual IUIContentView MakeContentView (); } ``` #### New Type: UIKit.UIContentUnavailableConfigurationState ```csharp public class UIContentUnavailableConfigurationState : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable, IUIConfigurationState { // constructors public UIContentUnavailableConfigurationState (Foundation.NSCoder coder); protected UIContentUnavailableConfigurationState (Foundation.NSObjectFlag t); protected UIContentUnavailableConfigurationState (IntPtr handle); public UIContentUnavailableConfigurationState (UITraitCollection traitCollection); // properties public override IntPtr ClassHandle { get; } public virtual string SearchText { get; set; } public virtual UITraitCollection TraitCollection { get; set; } // methods public virtual Foundation.NSObject Copy (Foundation.NSZone zone); public virtual void EncodeTo (Foundation.NSCoder encoder); public virtual Foundation.NSObject GetCustomState (string key); public virtual Foundation.NSObject GetObject (string key); public virtual void SetCustomState (Foundation.NSObject customState, string key); public virtual void SetObject (Foundation.NSObject obj, string key); } ``` #### New Type: UIKit.UIContentUnavailableImageProperties ```csharp public class UIContentUnavailableImageProperties : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable { // constructors public UIContentUnavailableImageProperties (); public UIContentUnavailableImageProperties (Foundation.NSCoder coder); protected UIContentUnavailableImageProperties (Foundation.NSObjectFlag t); protected UIContentUnavailableImageProperties (IntPtr handle); // properties public virtual bool AccessibilityIgnoresInvertColors { get; set; } public override IntPtr ClassHandle { get; } public virtual nfloat CornerRadius { get; set; } public virtual CoreGraphics.CGSize MaximumSize { get; set; } public virtual UIImageSymbolConfiguration PreferredSymbolConfiguration { get; set; } public virtual UIColor TintColor { get; set; } // methods public virtual Foundation.NSObject Copy (Foundation.NSZone zone); public virtual void EncodeTo (Foundation.NSCoder encoder); } ``` #### New Type: UIKit.UIContentUnavailableTextProperties ```csharp public class UIContentUnavailableTextProperties : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable { // constructors public UIContentUnavailableTextProperties (); public UIContentUnavailableTextProperties (Foundation.NSCoder coder); protected UIContentUnavailableTextProperties (Foundation.NSObjectFlag t); protected UIContentUnavailableTextProperties (IntPtr handle); // properties public virtual bool AdjustsFontSizeToFitWidth { get; set; } public virtual bool AllowsDefaultTighteningForTruncation { get; set; } public override IntPtr ClassHandle { get; } public virtual UIColor Color { get; set; } public virtual UIFont Font { get; set; } public virtual UILineBreakMode LineBreakMode { get; set; } public virtual nfloat MinimumScaleFactor { get; set; } public virtual nint NumberOfLines { get; set; } // methods public virtual Foundation.NSObject Copy (Foundation.NSZone zone); public virtual void EncodeTo (Foundation.NSCoder encoder); } ``` #### New Type: UIKit.UIContentUnavailableView ```csharp public class UIContentUnavailableView : UIKit.UIView, ObjCRuntime.INativeObject, System.IDisposable, IUIContentView { // constructors public UIContentUnavailableView (Foundation.NSCoder coder); protected UIContentUnavailableView (Foundation.NSObjectFlag t); protected UIContentUnavailableView (IntPtr handle); public UIContentUnavailableView (UIContentUnavailableConfiguration configuration); // properties public static UIContentUnavailableView.UIContentUnavailableViewAppearance Appearance { get; } public override IntPtr ClassHandle { get; } public virtual IUIContentConfiguration Configuration { get; set; } public virtual bool ScrollEnabled { get; set; } // methods public static UIContentUnavailableView.UIContentUnavailableViewAppearance AppearanceWhenContainedIn (System.Type[] containers); public static UIContentUnavailableView.UIContentUnavailableViewAppearance GetAppearance<T> (); public static UIContentUnavailableView.UIContentUnavailableViewAppearance GetAppearance<T> (UITraitCollection traits); public static UIContentUnavailableView.UIContentUnavailableViewAppearance GetAppearance (UITraitCollection traits); public static UIContentUnavailableView.UIContentUnavailableViewAppearance GetAppearance<T> (UITraitCollection traits, System.Type[] containers); public static UIContentUnavailableView.UIContentUnavailableViewAppearance GetAppearance (UITraitCollection traits, System.Type[] containers); public virtual bool SupportsConfiguration (IUIContentConfiguration configuration); // inner types public class UIContentUnavailableViewAppearance : UIKit.UIView+UIViewAppearance { // constructors protected UIContentUnavailableView.UIContentUnavailableViewAppearance (IntPtr handle); } } ``` #### New Type: UIKit.UICornerCurve ```csharp [Serializable] public enum UICornerCurve { Automatic = 0, Circular = 1, Continuous = 2, } ``` #### New Type: UIKit.UIDocViewController ```csharp public class UIDocViewController : UIKit.UIViewController { // constructors public UIDocViewController (); public UIDocViewController (Foundation.NSCoder coder); protected UIDocViewController (Foundation.NSObjectFlag t); protected UIDocViewController (IntPtr handle); public UIDocViewController (UIDocument document); public UIDocViewController (string nibName, Foundation.NSBundle bundle); // properties public override IntPtr ClassHandle { get; } public virtual UIDocument Document { get; set; } public virtual UIBarButtonItemGroup UndoRedoItemGroup { get; } // methods public virtual void DocumentDidOpen (); public virtual void NavigationItemDidUpdate (); public virtual void OpenDocument (System.Action<bool> completionHandler); public virtual System.Threading.Tasks.Task<bool> OpenDocumentAsync (); } ``` #### New Type: UIKit.UIHoverAutomaticEffect ```csharp public class UIHoverAutomaticEffect : Foundation.NSObject, Foundation.INSCopying, ObjCRuntime.INativeObject, System.IDisposable, IUIHoverEffect { // constructors protected UIHoverAutomaticEffect (Foundation.NSObjectFlag t); protected UIHoverAutomaticEffect (IntPtr handle); // properties public override IntPtr ClassHandle { get; } // methods public virtual Foundation.NSObject Copy (Foundation.NSZone zone); public static UIHoverAutomaticEffect Create (); } ``` #### New Type: UIKit.UIHoverHighlightEffect ```csharp public class UIHoverHighlightEffect : Foundation.NSObject, Foundation.INSCopying, ObjCRuntime.INativeObject, System.IDisposable, IUIHoverEffect { // constructors protected UIHoverHighlightEffect (Foundation.NSObjectFlag t); protected UIHoverHighlightEffect (IntPtr handle); // properties public override IntPtr ClassHandle { get; } // methods public virtual Foundation.NSObject Copy (Foundation.NSZone zone); public static UIHoverHighlightEffect Create (); } ``` #### New Type: UIKit.UIHoverLiftEffect ```csharp public class UIHoverLiftEffect : Foundation.NSObject, Foundation.INSCopying, ObjCRuntime.INativeObject, System.IDisposable, IUIHoverEffect { // constructors protected UIHoverLiftEffect (Foundation.NSObjectFlag t); protected UIHoverLiftEffect (IntPtr handle); // properties public override IntPtr ClassHandle { get; } // methods public virtual Foundation.NSObject Copy (Foundation.NSZone zone); public static UIHoverLiftEffect Create (); } ``` #### New Type: UIKit.UIHoverStyle ```csharp public class UIHoverStyle : Foundation.NSObject, Foundation.INSCopying, ObjCRuntime.INativeObject, System.IDisposable { // constructors protected UIHoverStyle (Foundation.NSObjectFlag t); protected UIHoverStyle (IntPtr handle); // properties public override IntPtr ClassHandle { get; } public virtual IUIHoverEffect Effect { get; set; } public virtual bool Enabled { get; set; } public virtual UIShape Shape { get; set; } // methods public virtual Foundation.NSObject Copy (Foundation.NSZone zone); public static UIHoverStyle Create (UIShape shape); public static UIHoverStyle Create (IUIHoverEffect effect, UIShape shape); public static UIHoverStyle CreateAutomatic (); } ``` #### New Type: UIKit.UIImageDynamicRange ```csharp [Serializable] public enum UIImageDynamicRange { ConstrainedHigh = 1, High = 2, Standard = 0, Unspecified = -1, } ``` #### New Type: UIKit.UIImageReader ```csharp public class UIImageReader : Foundation.NSObject { // constructors public UIImageReader (); protected UIImageReader (Foundation.NSObjectFlag t); protected UIImageReader (IntPtr handle); // properties public override IntPtr ClassHandle { get; } public virtual UIImageReaderConfiguration Configuration { get; } public static UIImageReader DefaultReader { get; } // methods public static UIImageReader CreateReader (UIImageReaderConfiguration configuration); public virtual UIImage GetImage (Foundation.NSData data); public virtual UIImage GetImage (Foundation.NSUrl url); public virtual void GetImage (Foundation.NSData data, System.Action<UIImage> completion); public virtual void GetImage (Foundation.NSUrl url, System.Action<UIImage> completion); public virtual System.Threading.Tasks.Task<UIImage> GetImageAsync (Foundation.NSData data); public virtual System.Threading.Tasks.Task<UIImage> GetImageAsync (Foundation.NSUrl url); } ``` #### New Type: UIKit.UIImageReaderConfiguration ```csharp public class UIImageReaderConfiguration : Foundation.NSObject, Foundation.INSCopying, ObjCRuntime.INativeObject, System.IDisposable { // constructors public UIImageReaderConfiguration (); protected UIImageReaderConfiguration (Foundation.NSObjectFlag t); protected UIImageReaderConfiguration (IntPtr handle); // properties public override IntPtr ClassHandle { get; } public virtual nfloat PixelsPerInch { get; set; } public virtual CoreGraphics.CGSize PreferredThumbnailSize { get; set; } public virtual bool PrefersHighDynamicRange { get; set; } public virtual bool PreparesImagesForDisplay { get; set; } // methods public virtual Foundation.NSObject Copy (Foundation.NSZone zone); } ``` #### New Type: UIKit.UILabelVibrancy ```csharp [Serializable] public enum UILabelVibrancy { Automatic = 1, None = 0, } ``` #### New Type: UIKit.UILetterformAwareSizingRule ```csharp [Serializable] public enum UILetterformAwareSizingRule { Oversize = 1, Typographic = 0, } ``` #### New Type: UIKit.UIMenuLeaf_Extensions ```csharp public static class UIMenuLeaf_Extensions { // methods public static UIImage GetSelectedImage (this IUIMenuLeaf This); public static void SetSelectedImage (this IUIMenuLeaf This, UIImage value); } ``` #### New Type: UIKit.UIMutableTraits ```csharp public abstract class UIMutableTraits : Foundation.NSObject, ObjCRuntime.INativeObject, System.IDisposable, IUIMutableTraits { // constructors protected UIMutableTraits (); protected UIMutableTraits (Foundation.NSObjectFlag t); protected UIMutableTraits (IntPtr handle); // properties public virtual UIAccessibilityContrast AccessibilityContrast { get; set; } public virtual UIUserInterfaceActiveAppearance ActiveAppearance { get; set; } public virtual UIDisplayGamut DisplayGamut { get; set; } public virtual nfloat DisplayScale { get; set; } public virtual UIForceTouchCapability ForceTouchCapability { get; set; } public virtual UIUserInterfaceSizeClass HorizontalSizeClass { get; set; } public virtual UIImageDynamicRange ImageDynamicRange { get; set; } public virtual UITraitEnvironmentLayoutDirection LayoutDirection { get; set; } public virtual UILegibilityWeight LegibilityWeight { get; set; } public virtual string PreferredContentSizeCategory { get; set; } public virtual UISceneCaptureState SceneCaptureState { get; set; } public virtual UINSToolbarItemPresentationSize ToolbarItemPresentationSize { get; set; } public virtual string TypesettingLanguage { get; set; } public virtual UIUserInterfaceIdiom UserInterfaceIdiom { get; set; } public virtual UIUserInterfaceLevel UserInterfaceLevel { get; set; } public virtual UIUserInterfaceStyle UserInterfaceStyle { get; set; } public virtual UIUserInterfaceSizeClass VerticalSizeClass { get; set; } // methods public abstract Foundation.NSObject GetObject (IUIObjectTraitDefinition trait); public abstract nfloat GetValue (IUICGFloatTraitDefinition trait); public abstract nint GetValue (IUINSIntegerTraitDefinition trait); public abstract void SetObject (Foundation.NSObject object, IUIObjectTraitDefinition trait); public abstract void SetValue (nfloat value, IUICGFloatTraitDefinition trait); public abstract void SetValue (nint value, IUINSIntegerTraitDefinition trait); } ``` #### New Type: UIKit.UINSIntegerTraitDefinition ```csharp public abstract class UINSIntegerTraitDefinition : Foundation.NSObject, ObjCRuntime.INativeObject, System.IDisposable, IUINSIntegerTraitDefinition, IUITraitDefinition { // constructors protected UINSIntegerTraitDefinition (); protected UINSIntegerTraitDefinition (Foundation.NSObjectFlag t); protected UINSIntegerTraitDefinition (IntPtr handle); // properties public static bool AffectsColorAppearance { get; } public static nint DefaultValue { get; } public static string Identifier { get; } public static string Name { get; } } ``` #### New Type: UIKit.UIObjectTraitDefinition ```csharp public abstract class UIObjectTraitDefinition : Foundation.NSObject, ObjCRuntime.INativeObject, System.IDisposable, IUIObjectTraitDefinition, IUITraitDefinition { // constructors protected UIObjectTraitDefinition (); protected UIObjectTraitDefinition (Foundation.NSObjectFlag t); protected UIObjectTraitDefinition (IntPtr handle); // properties public static bool AffectsColorAppearance { get; } public static Foundation.NSObject DefaultValue { get; } public static string Identifier { get; } public static string Name { get; } } ``` #### New Type: UIKit.UIPageControlProgress ```csharp public class UIPageControlProgress : Foundation.NSObject { // constructors public UIPageControlProgress (); protected UIPageControlProgress (Foundation.NSObjectFlag t); protected UIPageControlProgress (IntPtr handle); // properties public override IntPtr ClassHandle { get; } public virtual float CurrentProgress { get; set; } public IUIPageControlProgressDelegate Delegate { get; set; } public virtual bool ProgressVisible { get; } public virtual Foundation.NSObject WeakDelegate { get; set; } // methods protected override void Dispose (bool disposing); } ``` #### New Type: UIKit.UIPageControlProgressDelegate ```csharp public class UIPageControlProgressDelegate : Foundation.NSObject, ObjCRuntime.INativeObject, System.IDisposable, IUIPageControlProgressDelegate { // constructors public UIPageControlProgressDelegate (); protected UIPageControlProgressDelegate (Foundation.NSObjectFlag t); protected UIPageControlProgressDelegate (IntPtr handle); // methods public virtual float GetInitialProgressForPage (UIPageControlProgress progress, nint page); public virtual void VisibilityDidChange (UIPageControlProgress progress); } ``` #### New Type: UIKit.UIPageControlProgressDelegate_Extensions ```csharp public static class UIPageControlProgressDelegate_Extensions { // methods public static float GetInitialProgressForPage (this IUIPageControlProgressDelegate This, UIPageControlProgress progress, nint page); public static void VisibilityDidChange (this IUIPageControlProgressDelegate This, UIPageControlProgress progress); } ``` #### New Type: UIKit.UIPageControlTimerProgress ```csharp public class UIPageControlTimerProgress : UIKit.UIPageControlProgress { // constructors protected UIPageControlTimerProgress (Foundation.NSObjectFlag t); public UIPageControlTimerProgress (double preferredDuration); protected UIPageControlTimerProgress (IntPtr handle); // properties public override IntPtr ClassHandle { get; } public IUIPageControlTimerProgressDelegate Delegate { get; set; } public virtual double PreferredDuration { get; set; } public virtual bool ResetsToInitialPageAfterEnd { get; set; } public virtual bool Running { get; } public virtual Foundation.NSObject WeakDelegate { get; set; } // methods protected override void Dispose (bool disposing); public virtual double GetDuration (nint page); public virtual void PauseTimer (); public virtual void ResumeTimer (); public virtual void SetDuration (double duration, nint page); } ``` #### New Type: UIKit.UIPageControlTimerProgressDelegate ```csharp public class UIPageControlTimerProgressDelegate : Foundation.NSObject, ObjCRuntime.INativeObject, System.IDisposable, IUIPageControlProgressDelegate, IUIPageControlTimerProgressDelegate { // constructors public UIPageControlTimerProgressDelegate (); protected UIPageControlTimerProgressDelegate (Foundation.NSObjectFlag t); protected UIPageControlTimerProgressDelegate (IntPtr handle); // methods public virtual float GetInitialProgressForPage (UIPageControlProgress progress, nint page); public virtual void PageControlTimerProgressDidChange (UIPageControlTimerProgress progress); public virtual bool ShouldAdvanceToPage (UIPageControlTimerProgress progress, nint page); public virtual void VisibilityDidChange (UIPageControlProgress progress); } ``` #### New Type: UIKit.UIPageControlTimerProgressDelegate_Extensions ```csharp public static class UIPageControlTimerProgressDelegate_Extensions { // methods public static void PageControlTimerProgressDidChange (this IUIPageControlTimerProgressDelegate This, UIPageControlTimerProgress progress); public static bool ShouldAdvanceToPage (this IUIPageControlTimerProgressDelegate This, UIPageControlTimerProgress progress, nint page); } ``` #### New Type: UIKit.UIPopoverPresentationControllerSourceItem_Extensions ```csharp public static class UIPopoverPresentationControllerSourceItem_Extensions { // methods public static CoreGraphics.CGRect GetFrame (this IUIPopoverPresentationControllerSourceItem This, UIView referenceView); } ``` #### New Type: UIKit.UIResolvedShape ```csharp public class UIResolvedShape : Foundation.NSObject, Foundation.INSCopying, ObjCRuntime.INativeObject, System.IDisposable { // constructors protected UIResolvedShape (Foundation.NSObjectFlag t); protected UIResolvedShape (IntPtr handle); // properties public virtual CoreGraphics.CGRect BoundingRect { get; } public override IntPtr ClassHandle { get; } public virtual UIBezierPath Path { get; } public virtual UIShape Shape { get; } // methods public virtual Foundation.NSObject Copy (Foundation.NSZone zone); public virtual UIResolvedShape CreateShape (nfloat inset); public virtual UIResolvedShape CreateShape (UIEdgeInsets insets); } ``` #### New Type: UIKit.UISceneCaptureState ```csharp [Serializable] public enum UISceneCaptureState { Active = 1, Inactive = 0, Unspecified = -1, } ``` #### New Type: UIKit.UISceneSessionActivationRequest ```csharp public class UISceneSessionActivationRequest : Foundation.NSObject, Foundation.INSCopying, ObjCRuntime.INativeObject, System.IDisposable { // constructors protected UISceneSessionActivationRequest (Foundation.NSObjectFlag t); protected UISceneSessionActivationRequest (IntPtr handle); // properties public override IntPtr ClassHandle { get; } public virtual UISceneActivationRequestOptions Options { get; set; } public virtual string Role { get; } public virtual UISceneSession Session { get; } public virtual Foundation.NSUserActivity UserActivity { get; set; } // methods public virtual Foundation.NSObject Copy (Foundation.NSZone zone); public static UISceneSessionActivationRequest Create (); public static UISceneSessionActivationRequest Create (string role); public static UISceneSessionActivationRequest Create (UISceneSession session); } ``` #### New Type: UIKit.UIShape ```csharp public class UIShape : Foundation.NSObject, Foundation.INSCopying, ObjCRuntime.INativeObject, System.IDisposable, IUIShapeProvider { // constructors protected UIShape (Foundation.NSObjectFlag t); protected UIShape (IntPtr handle); // properties public override IntPtr ClassHandle { get; } // methods public virtual Foundation.NSObject Copy (Foundation.NSZone zone); public static UIShape CreateCapsuleShape (); public static UIShape CreateCircleShape (); public static UIShape CreateFixedRectShape (CoreGraphics.CGRect rect); public static UIShape CreateFixedRectShape (CoreGraphics.CGRect rect, nfloat cornerRadius); public static UIShape CreateFixedRectShape (CoreGraphics.CGRect rect, nfloat cornerRadius, UICornerCurve cornerCurve, UIRectCorner maskedCorners); public static UIShape CreateRectShape (); public static UIShape CreateRectShape (nfloat cornerRadius); public static UIShape CreateRectShape (nfloat cornerRadius, UICornerCurve cornerCurve); public static UIShape CreateRectShape (nfloat cornerRadius, UICornerCurve cornerCurve, UIRectCorner maskedCorners); public virtual UIResolvedShape CreateResolvedShape (UIShapeResolutionContext context); public static UIShape CreateShape (IUIShapeProvider provider); public static UIShape CreateShape (UIBezierPath path); public virtual UIShape CreateShape (UIEdgeInsets insets); public virtual UIShape CreateShapeByApplyingInset (nfloat inset); } ``` #### New Type: UIKit.UIShapeResolutionContext ```csharp public class UIShapeResolutionContext : Foundation.NSObject { // constructors protected UIShapeResolutionContext (Foundation.NSObjectFlag t); protected UIShapeResolutionContext (IntPtr handle); // properties public override IntPtr ClassHandle { get; } public virtual UIResolvedShape ContentShape { get; } } ``` #### New Type: UIKit.UISymbolEffectCompletionContext ```csharp public class UISymbolEffectCompletionContext : Foundation.NSObject { // constructors protected UISymbolEffectCompletionContext (Foundation.NSObjectFlag t); protected UISymbolEffectCompletionContext (IntPtr handle); // properties public override IntPtr ClassHandle { get; } public virtual Symbols.NSSymbolContentTransition ContentTransition { get; } public virtual Symbols.NSSymbolEffect Effect { get; } public virtual bool Finished { get; } public virtual Foundation.NSObject Sender { get; } // methods protected override void Dispose (bool disposing); } ``` #### New Type: UIKit.UITextInlinePredictionType ```csharp [Serializable] public enum UITextInlinePredictionType { Default = 0, No = 1, Yes = 2, } ``` #### New Type: UIKit.UITextItem ```csharp public class UITextItem : Foundation.NSObject { // constructors protected UITextItem (Foundation.NSObjectFlag t); protected UITextItem (IntPtr handle); // properties public override IntPtr ClassHandle { get; } public virtual UITextItemContentType ContentType { get; } public virtual Foundation.NSUrl Link { get; } public virtual Foundation.NSRange Range { get; } public virtual string TagIdentifier { get; } public virtual NSTextAttachment TextAttachment { get; } } ``` #### New Type: UIKit.UITextItemContentType ```csharp [Serializable] public enum UITextItemContentType { Link = 0, Tag = 2, TextAttachment = 1, } ``` #### New Type: UIKit.UITextItemMenuConfiguration ```csharp public class UITextItemMenuConfiguration : Foundation.NSObject { // constructors protected UITextItemMenuConfiguration (Foundation.NSObjectFlag t); protected UITextItemMenuConfiguration (IntPtr handle); // properties public override IntPtr ClassHandle { get; } // methods public static UITextItemMenuConfiguration Create (UIMenu menu); public static UITextItemMenuConfiguration Create (UITextItemMenuPreview preview, UIMenu menu); } ``` #### New Type: UIKit.UITextItemMenuPreview ```csharp public class UITextItemMenuPreview : Foundation.NSObject { // constructors protected UITextItemMenuPreview (Foundation.NSObjectFlag t); protected UITextItemMenuPreview (IntPtr handle); public UITextItemMenuPreview (UIView view); // properties public override IntPtr ClassHandle { get; } public static UITextItemMenuPreview DefaultPreview { get; } } ``` #### New Type: UIKit.UITextLoupeSession ```csharp public class UITextLoupeSession : Foundation.NSObject { // constructors public UITextLoupeSession (); protected UITextLoupeSession (Foundation.NSObjectFlag t); protected UITextLoupeSession (IntPtr handle); // properties public override IntPtr ClassHandle { get; } // methods public static UITextLoupeSession BeginLoupeSession (CoreGraphics.CGPoint point, UIView selectionWidget, UIView interactionView); public virtual void Invalidate (); public virtual void MoveToPoint (CoreGraphics.CGPoint point, CoreGraphics.CGRect caretRect, bool tracksCaret); } ``` #### New Type: UIKit.UITextSelectionDisplayInteraction ```csharp public class UITextSelectionDisplayInteraction : Foundation.NSObject, ObjCRuntime.INativeObject, System.IDisposable, IUIInteraction { // constructors protected UITextSelectionDisplayInteraction (Foundation.NSObjectFlag t); protected UITextSelectionDisplayInteraction (IntPtr handle); public UITextSelectionDisplayInteraction (IUITextInput textInput, IUITextSelectionDisplayInteractionDelegate delegate); // properties public virtual bool Activated { get; set; } public override IntPtr ClassHandle { get; } public virtual IUITextCursorView CursorView { get; set; } public IUITextSelectionDisplayInteractionDelegate Delegate { get; } public virtual IUITextSelectionHandleView[] HandleViews { get; set; } public virtual IUITextSelectionHighlightView HighlightView { get; set; } public virtual IUITextInput TextInput { get; } public virtual UIView View { get; } public virtual Foundation.NSObject WeakDelegate { get; } // methods public virtual void DidMoveToView (UIView view); protected override void Dispose (bool disposing); public virtual void LayoutManagedSubviews (); public virtual void SetNeedsSelectionUpdate (); public virtual void WillMoveToView (UIView view); } ``` #### New Type: UIKit.UITextSelectionDisplayInteractionDelegate ```csharp public class UITextSelectionDisplayInteractionDelegate : Foundation.NSObject, ObjCRuntime.INativeObject, System.IDisposable, IUITextSelectionDisplayInteractionDelegate { // constructors public UITextSelectionDisplayInteractionDelegate (); protected UITextSelectionDisplayInteractionDelegate (Foundation.NSObjectFlag t); protected UITextSelectionDisplayInteractionDelegate (IntPtr handle); // methods public virtual UIView GetSelectionContainerViewBelowText (UITextSelectionDisplayInteraction interaction); } ``` #### New Type: UIKit.UITextSelectionDisplayInteractionDelegate_Extensions ```csharp public static class UITextSelectionDisplayInteractionDelegate_Extensions { // methods public static UIView GetSelectionContainerViewBelowText (this IUITextSelectionDisplayInteractionDelegate This, UITextSelectionDisplayInteraction interaction); } ``` #### New Type: UIKit.UITextViewBorderStyle ```csharp [Serializable] public enum UITextViewBorderStyle { None = 0, RoundedRect = 1, } ``` #### New Type: UIKit.UITraitAccessibilityContrast ```csharp public class UITraitAccessibilityContrast : Foundation.NSObject, ObjCRuntime.INativeObject, System.IDisposable, IUINSIntegerTraitDefinition, IUITraitDefinition { // constructors public UITraitAccessibilityContrast (); protected UITraitAccessibilityContrast (Foundation.NSObjectFlag t); protected UITraitAccessibilityContrast (IntPtr handle); // properties public static bool AffectsColorAppearance { get; } public override IntPtr ClassHandle { get; } public static nint DefaultValue { get; } public static string Identifier { get; } public static string Name { get; } } ``` #### New Type: UIKit.UITraitActiveAppearance ```csharp public class UITraitActiveAppearance : Foundation.NSObject, ObjCRuntime.INativeObject, System.IDisposable, IUINSIntegerTraitDefinition, IUITraitDefinition { // constructors public UITraitActiveAppearance (); protected UITraitActiveAppearance (Foundation.NSObjectFlag t); protected UITraitActiveAppearance (IntPtr handle); // properties public static bool AffectsColorAppearance { get; } public override IntPtr ClassHandle { get; } public static nint DefaultValue { get; } public static string Identifier { get; } public static string Name { get; } } ``` #### New Type: UIKit.UITraitChangeObservable_Extensions ```csharp public static class UITraitChangeObservable_Extensions { // methods [Obsolete ("Use the 'UITraitChangeObservable.RegisterForTraitChanges (Class[], Selector)' method instead.")] public static IUITraitChangeRegistration RegisterForTraitChanges (this IUITraitChangeObservable This, IUITraitDefinition[] traits, ObjCRuntime.Selector action); [Obsolete ("Use the 'UITraitChangeObservable.RegisterForTraitChanges (Class[], Action<IUITraitEnvironment, UITraitCollection>)' method instead.")] public static IUITraitChangeRegistration RegisterForTraitChanges (this IUITraitChangeObservable This, IUITraitDefinition[] traits, System.Action<IUITraitEnvironment,UIKit.UITraitCollection> handler); [Obsolete ("Use the 'UITraitChangeObservable.RegisterForTraitChanges (Class[], NSObject, Selector)' method instead.")] public static IUITraitChangeRegistration RegisterForTraitChanges (this IUITraitChangeObservable This, IUITraitDefinition[] traits, Foundation.NSObject target, ObjCRuntime.Selector action); } ``` #### New Type: UIKit.UITraitDisplayGamut ```csharp public class UITraitDisplayGamut : Foundation.NSObject, ObjCRuntime.INativeObject, System.IDisposable, IUINSIntegerTraitDefinition, IUITraitDefinition { // constructors public UITraitDisplayGamut (); protected UITraitDisplayGamut (Foundation.NSObjectFlag t); protected UITraitDisplayGamut (IntPtr handle); // properties public static bool AffectsColorAppearance { get; } public override IntPtr ClassHandle { get; } public static nint DefaultValue { get; } public static string Identifier { get; } public static string Name { get; } } ``` #### New Type: UIKit.UITraitDisplayScale ```csharp public class UITraitDisplayScale : Foundation.NSObject, ObjCRuntime.INativeObject, System.IDisposable, IUICGFloatTraitDefinition, IUITraitDefinition { // constructors public UITraitDisplayScale (); protected UITraitDisplayScale (Foundation.NSObjectFlag t); protected UITraitDisplayScale (IntPtr handle); // properties public static bool AffectsColorAppearance { get; } public override IntPtr ClassHandle { get; } public static nfloat DefaultValue { get; } public static string Identifier { get; } public static string Name { get; } } ``` #### New Type: UIKit.UITraitForceTouchCapability ```csharp public class UITraitForceTouchCapability : Foundation.NSObject, ObjCRuntime.INativeObject, System.IDisposable, IUINSIntegerTraitDefinition, IUITraitDefinition { // constructors public UITraitForceTouchCapability (); protected UITraitForceTouchCapability (Foundation.NSObjectFlag t); protected UITraitForceTouchCapability (IntPtr handle); // properties public static bool AffectsColorAppearance { get; } public override IntPtr ClassHandle { get; } public static nint DefaultValue { get; } public static string Identifier { get; } public static string Name { get; } } ``` #### New Type: UIKit.UITraitHorizontalSizeClass ```csharp public class UITraitHorizontalSizeClass : Foundation.NSObject, ObjCRuntime.INativeObject, System.IDisposable, IUINSIntegerTraitDefinition, IUITraitDefinition { // constructors public UITraitHorizontalSizeClass (); protected UITraitHorizontalSizeClass (Foundation.NSObjectFlag t); protected UITraitHorizontalSizeClass (IntPtr handle); // properties public static bool AffectsColorAppearance { get; } public override IntPtr ClassHandle { get; } public static nint DefaultValue { get; } public static string Identifier { get; } public static string Name { get; } } ``` #### New Type: UIKit.UITraitImageDynamicRange ```csharp public class UITraitImageDynamicRange : Foundation.NSObject, ObjCRuntime.INativeObject, System.IDisposable, IUINSIntegerTraitDefinition, IUITraitDefinition { // constructors public UITraitImageDynamicRange (); protected UITraitImageDynamicRange (Foundation.NSObjectFlag t); protected UITraitImageDynamicRange (IntPtr handle); // properties public static bool AffectsColorAppearance { get; } public override IntPtr ClassHandle { get; } public static nint DefaultValue { get; } public static string Identifier { get; } public static string Name { get; } } ``` #### New Type: UIKit.UITraitLayoutDirection ```csharp public class UITraitLayoutDirection : Foundation.NSObject, ObjCRuntime.INativeObject, System.IDisposable, IUINSIntegerTraitDefinition, IUITraitDefinition { // constructors public UITraitLayoutDirection (); protected UITraitLayoutDirection (Foundation.NSObjectFlag t); protected UITraitLayoutDirection (IntPtr handle); // properties public static bool AffectsColorAppearance { get; } public override IntPtr ClassHandle { get; } public static nint DefaultValue { get; } public static string Identifier { get; } public static string Name { get; } } ``` #### New Type: UIKit.UITraitLegibilityWeight ```csharp public class UITraitLegibilityWeight : Foundation.NSObject, ObjCRuntime.INativeObject, System.IDisposable, IUINSIntegerTraitDefinition, IUITraitDefinition { // constructors public UITraitLegibilityWeight (); protected UITraitLegibilityWeight (Foundation.NSObjectFlag t); protected UITraitLegibilityWeight (IntPtr handle); // properties public static bool AffectsColorAppearance { get; } public override IntPtr ClassHandle { get; } public static nint DefaultValue { get; } public static string Identifier { get; } public static string Name { get; } } ``` #### New Type: UIKit.UITraitPreferredContentSizeCategory ```csharp public class UITraitPreferredContentSizeCategory : Foundation.NSObject, ObjCRuntime.INativeObject, System.IDisposable, IUIObjectTraitDefinition, IUITraitDefinition { // constructors public UITraitPreferredContentSizeCategory (); protected UITraitPreferredContentSizeCategory (Foundation.NSObjectFlag t); protected UITraitPreferredContentSizeCategory (IntPtr handle); // properties public static bool AffectsColorAppearance { get; } public override IntPtr ClassHandle { get; } public static Foundation.NSObject DefaultValue { get; } public static string Identifier { get; } public static string Name { get; } } ``` #### New Type: UIKit.UITraitSceneCaptureState ```csharp public class UITraitSceneCaptureState : Foundation.NSObject, ObjCRuntime.INativeObject, System.IDisposable, IUINSIntegerTraitDefinition, IUITraitDefinition { // constructors public UITraitSceneCaptureState (); protected UITraitSceneCaptureState (Foundation.NSObjectFlag t); protected UITraitSceneCaptureState (IntPtr handle); // properties public static bool AffectsColorAppearance { get; } public override IntPtr ClassHandle { get; } public static nint DefaultValue { get; } public static string Identifier { get; } public static string Name { get; } } ``` #### New Type: UIKit.UITraitToolbarItemPresentationSize ```csharp public class UITraitToolbarItemPresentationSize : Foundation.NSObject, ObjCRuntime.INativeObject, System.IDisposable, IUINSIntegerTraitDefinition, IUITraitDefinition { // constructors public UITraitToolbarItemPresentationSize (); protected UITraitToolbarItemPresentationSize (Foundation.NSObjectFlag t); protected UITraitToolbarItemPresentationSize (IntPtr handle); // properties public static bool AffectsColorAppearance { get; } public override IntPtr ClassHandle { get; } public static nint DefaultValue { get; } public static string Identifier { get; } public static string Name { get; } } ``` #### New Type: UIKit.UITraitTypesettingLanguage ```csharp public class UITraitTypesettingLanguage : Foundation.NSObject, ObjCRuntime.INativeObject, System.IDisposable, IUIObjectTraitDefinition, IUITraitDefinition { // constructors public UITraitTypesettingLanguage (); protected UITraitTypesettingLanguage (Foundation.NSObjectFlag t); protected UITraitTypesettingLanguage (IntPtr handle); // properties public static bool AffectsColorAppearance { get; } public override IntPtr ClassHandle { get; } public static Foundation.NSObject DefaultValue { get; } public static string Identifier { get; } public static string Name { get; } } ``` #### New Type: UIKit.UITraitUserInterfaceIdiom ```csharp public class UITraitUserInterfaceIdiom : Foundation.NSObject, ObjCRuntime.INativeObject, System.IDisposable, IUINSIntegerTraitDefinition, IUITraitDefinition { // constructors public UITraitUserInterfaceIdiom (); protected UITraitUserInterfaceIdiom (Foundation.NSObjectFlag t); protected UITraitUserInterfaceIdiom (IntPtr handle); // properties public static bool AffectsColorAppearance { get; } public override IntPtr ClassHandle { get; } public static nint DefaultValue { get; } public static string Identifier { get; } public static string Name { get; } } ``` #### New Type: UIKit.UITraitUserInterfaceLevel ```csharp public class UITraitUserInterfaceLevel : Foundation.NSObject, ObjCRuntime.INativeObject, System.IDisposable, IUINSIntegerTraitDefinition, IUITraitDefinition { // constructors public UITraitUserInterfaceLevel (); protected UITraitUserInterfaceLevel (Foundation.NSObjectFlag t); protected UITraitUserInterfaceLevel (IntPtr handle); // properties public static bool AffectsColorAppearance { get; } public override IntPtr ClassHandle { get; } public static nint DefaultValue { get; } public static string Identifier { get; } public static string Name { get; } } ``` #### New Type: UIKit.UITraitUserInterfaceStyle ```csharp public class UITraitUserInterfaceStyle : Foundation.NSObject, ObjCRuntime.INativeObject, System.IDisposable, IUINSIntegerTraitDefinition, IUITraitDefinition { // constructors public UITraitUserInterfaceStyle (); protected UITraitUserInterfaceStyle (Foundation.NSObjectFlag t); protected UITraitUserInterfaceStyle (IntPtr handle); // properties public static bool AffectsColorAppearance { get; } public override IntPtr ClassHandle { get; } public static nint DefaultValue { get; } public static string Identifier { get; } public static string Name { get; } } ``` #### New Type: UIKit.UITraitVerticalSizeClass ```csharp public class UITraitVerticalSizeClass : Foundation.NSObject, ObjCRuntime.INativeObject, System.IDisposable, IUINSIntegerTraitDefinition, IUITraitDefinition { // constructors public UITraitVerticalSizeClass (); protected UITraitVerticalSizeClass (Foundation.NSObjectFlag t); protected UITraitVerticalSizeClass (IntPtr handle); // properties public static bool AffectsColorAppearance { get; } public override IntPtr ClassHandle { get; } public static nint DefaultValue { get; } public static string Identifier { get; } public static string Name { get; } } ``` #### New Type: UIKit.UIWindowSceneDragInteraction ```csharp public class UIWindowSceneDragInteraction : Foundation.NSObject, ObjCRuntime.INativeObject, System.IDisposable, IUIInteraction { // constructors public UIWindowSceneDragInteraction (); protected UIWindowSceneDragInteraction (Foundation.NSObjectFlag t); protected UIWindowSceneDragInteraction (IntPtr handle); // properties public override IntPtr ClassHandle { get; } public virtual UIGestureRecognizer GestureForFailureRelationships { get; } public virtual UIView View { get; } // methods public virtual void DidMoveToView (UIView view); protected override void Dispose (bool disposing); public virtual void WillMoveToView (UIView view); } ``` #### New Type: UIKit.UIWindowScenePlacement ```csharp public class UIWindowScenePlacement : Foundation.NSObject, Foundation.INSCopying, ObjCRuntime.INativeObject, System.IDisposable { // constructors public UIWindowScenePlacement (); protected UIWindowScenePlacement (Foundation.NSObjectFlag t); protected UIWindowScenePlacement (IntPtr handle); // properties public override IntPtr ClassHandle { get; } // methods public virtual Foundation.NSObject Copy (Foundation.NSZone zone); } ``` #### New Type: UIKit.UIWindowSceneProminentPlacement ```csharp public class UIWindowSceneProminentPlacement : UIKit.UIWindowScenePlacement { // constructors public UIWindowSceneProminentPlacement (); protected UIWindowSceneProminentPlacement (Foundation.NSObjectFlag t); protected UIWindowSceneProminentPlacement (IntPtr handle); // properties public override IntPtr ClassHandle { get; } // methods public static UIWindowSceneProminentPlacement Create (); } ``` #### New Type: UIKit.UIWindowSceneStandardPlacement ```csharp public class UIWindowSceneStandardPlacement : UIKit.UIWindowScenePlacement { // constructors public UIWindowSceneStandardPlacement (); protected UIWindowSceneStandardPlacement (Foundation.NSObjectFlag t); protected UIWindowSceneStandardPlacement (IntPtr handle); // properties public override IntPtr ClassHandle { get; } // methods public static UIWindowSceneStandardPlacement Create (); } ``` ### Namespace UniformTypeIdentifiers #### Type Changed: UniformTypeIdentifiers.UTTypes Added property: ```csharp public static UTType Ahap { get; } ``` ### Namespace Vision #### Type Changed: Vision.VNBarcodeObservation Added properties: ```csharp public virtual bool IsColorInverted { get; } public virtual bool IsGS1DataCarrier { get; } public virtual Foundation.NSData PayloadData { get; } public virtual VNBarcodeCompositeType SupplementalCompositeType { get; } public virtual Foundation.NSData SupplementalPayloadData { get; } public virtual string SupplementalPayloadString { get; } ``` #### Type Changed: Vision.VNBarcodeSymbology Added value: ```csharp MsiPlessey = 23, ``` #### Type Changed: Vision.VNClassifyImageRequestRevision Added value: ```csharp Two = 2, ``` #### Type Changed: Vision.VNDetectBarcodesRequest Added property: ```csharp public virtual bool CoalesceCompositeSymbologies { get; set; } ``` #### Type Changed: Vision.VNDetectBarcodesRequestRevision Added values: ```csharp Four = 4, Three = 3, ``` #### Type Changed: Vision.VNDetectFaceCaptureQualityRequestRevision Added value: ```csharp Three = 3, ``` #### Type Changed: Vision.VNDetectHumanBodyPoseRequest Added methods: ```csharp public virtual VNHumanBodyPoseObservationJointName[] GetSupportedJointNames (out Foundation.NSError error); public virtual VNHumanBodyPoseObservationJointsGroupName[] GetSupportedJointsGroupNames (out Foundation.NSError error); ``` #### Type Changed: Vision.VNDetectHumanHandPoseRequest Added methods: ```csharp public virtual VNHumanHandPoseObservationJointName[] GetSupportedJointNames (out Foundation.NSError error); public virtual VNHumanHandPoseObservationJointsGroupName[] GetSupportedJointsGroupNames (out Foundation.NSError error); ``` #### Type Changed: Vision.VNErrorCode Added values: ```csharp UnsupportedComputeDevice = 22, UnsupportedComputeStage = 21, ``` #### Type Changed: Vision.VNGenerateAttentionBasedSaliencyImageRequestRevision Added value: ```csharp Two = 2, ``` #### Type Changed: Vision.VNGenerateImageFeaturePrintRequestRevision Added value: ```csharp Two = 2, ``` #### Type Changed: Vision.VNGenerateObjectnessBasedSaliencyImageRequestRevision Added value: ```csharp Two = 2, ``` #### Type Changed: Vision.VNImageRequestHandler Added constructors: ```csharp public VNImageRequestHandler (CoreMedia.CMSampleBuffer sampleBuffer, AVFoundation.AVDepthData depthData, ImageIO.CGImagePropertyOrientation orientation, Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject> options); public VNImageRequestHandler (CoreVideo.CVPixelBuffer pixelBuffer, AVFoundation.AVDepthData depthData, ImageIO.CGImagePropertyOrientation orientation, Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject> options); ``` #### Type Changed: Vision.VNRectangleObservation Added method: ```csharp public static VNRectangleObservation FromRectangleObservation (VNRectangleObservationRequestRevision requestRevision, CoreGraphics.CGPoint topLeft, CoreGraphics.CGPoint topRight, CoreGraphics.CGPoint bottomRight, CoreGraphics.CGPoint bottomLeft); ``` #### Type Changed: Vision.VNRequest Added methods: ```csharp public virtual CoreML.IMLComputeDeviceProtocol GetComputeDevice (string computeStage); public virtual Foundation.NSDictionary<Foundation.NSString,Foundation.NSArray<CoreML.IMLComputeDeviceProtocol>> GetSupportedComputeDevices (out Foundation.NSError error); public virtual void SetComputeDevice (CoreML.IMLComputeDeviceProtocol computeDevice, string computeStage); ``` #### Type Changed: Vision.VNTrackingRequest Added method: ```csharp public virtual nuint GetSupportedNumberOfTrackers (out Foundation.NSError error); ``` #### New Type: Vision.VNAnimalBodyPoseObservation ```csharp public class VNAnimalBodyPoseObservation : Vision.VNRecognizedPointsObservation { // constructors public VNAnimalBodyPoseObservation (Foundation.NSCoder coder); protected VNAnimalBodyPoseObservation (Foundation.NSObjectFlag t); protected VNAnimalBodyPoseObservation (IntPtr handle); // properties public virtual VNAnimalBodyPoseObservationJointsGroupName[] AvailableJointGroupNames { get; } public virtual VNAnimalBodyPoseObservationJointName[] AvailableJointNames { get; } public override IntPtr ClassHandle { get; } // methods public virtual VNRecognizedPoint GetRecognizedPoint (VNAnimalBodyPoseObservationJointName jointName, out Foundation.NSError error); public virtual Foundation.NSDictionary<Foundation.NSString,Vision.VNRecognizedPoint> GetRecognizedPoints (VNAnimalBodyPoseObservationJointsGroupName jointsGroupName, out Foundation.NSError error); } ``` #### New Type: Vision.VNAnimalBodyPoseObservationJointName ```csharp [Serializable] public enum VNAnimalBodyPoseObservationJointName { LeftBackElbow = 17, LeftBackKnee = 19, LeftBackPaw = 21, LeftEarBottom = 5, LeftEarMiddle = 3, LeftEarTop = 1, LeftEye = 7, LeftFrontElbow = 11, LeftFrontKnee = 13, LeftFrontPaw = 15, Neck = 10, None = 0, Nose = 9, RightBackElbow = 18, RightBackKnee = 20, RightBackPaw = 22, RightEarBottom = 6, RightEarMiddle = 4, RightEarTop = 2, RightEye = 8, RightFrontElbow = 12, RightFrontKnee = 14, RightFrontPaw = 16, TailBottom = 25, TailMiddle = 24, TailTop = 23, } ``` #### New Type: Vision.VNAnimalBodyPoseObservationJointNameExtensions ```csharp public static class VNAnimalBodyPoseObservationJointNameExtensions { // methods public static Foundation.NSString GetConstant (this VNAnimalBodyPoseObservationJointName self); public static VNAnimalBodyPoseObservationJointName GetValue (Foundation.NSString constant); } ``` #### New Type: Vision.VNAnimalBodyPoseObservationJointsGroupName ```csharp [Serializable] public enum VNAnimalBodyPoseObservationJointsGroupName { All = 6, Forelegs = 3, Head = 1, Hindlegs = 4, None = 0, Tail = 5, Trunk = 2, } ``` #### New Type: Vision.VNAnimalBodyPoseObservationJointsGroupNameExtensions ```csharp public static class VNAnimalBodyPoseObservationJointsGroupNameExtensions { // methods public static Foundation.NSString GetConstant (this VNAnimalBodyPoseObservationJointsGroupName self); public static VNAnimalBodyPoseObservationJointsGroupName GetValue (Foundation.NSString constant); } ``` #### New Type: Vision.VNBarcodeCompositeType ```csharp [Serializable] public enum VNBarcodeCompositeType { Gs1TypeA = 2, Gs1TypeB = 3, Gs1TypeC = 4, Linked = 1, None = 0, } ``` #### New Type: Vision.VNComputeStage ```csharp [Serializable] public enum VNComputeStage { Main = 1, None = 0, PostProcessing = 2, } ``` #### New Type: Vision.VNComputeStageExtensions ```csharp public static class VNComputeStageExtensions { // methods public static Foundation.NSString GetConstant (this VNComputeStage self); public static VNComputeStage GetValue (Foundation.NSString constant); } ``` #### New Type: Vision.VNDetectAnimalBodyPoseRequest ```csharp public class VNDetectAnimalBodyPoseRequest : Vision.VNImageBasedRequest { // constructors protected VNDetectAnimalBodyPoseRequest (Foundation.NSObjectFlag t); protected VNDetectAnimalBodyPoseRequest (IntPtr handle); public VNDetectAnimalBodyPoseRequest (VNRequestCompletionHandler completionHandler); // properties public override IntPtr ClassHandle { get; } public virtual VNAnimalBodyPoseObservation[] Results { get; } // methods public virtual VNAnimalBodyPoseObservationJointName[] GetSupportedJointNames (out Foundation.NSError error); public virtual VNAnimalBodyPoseObservationJointsGroupName[] GetSupportedJointsGroupNames (out Foundation.NSError error); } ``` #### New Type: Vision.VNDetectHumanBodyPose3DRequest ```csharp public class VNDetectHumanBodyPose3DRequest : Vision.VNStatefulRequest { // constructors public VNDetectHumanBodyPose3DRequest (); protected VNDetectHumanBodyPose3DRequest (Foundation.NSObjectFlag t); protected VNDetectHumanBodyPose3DRequest (IntPtr handle); public VNDetectHumanBodyPose3DRequest (VNRequestCompletionHandler completionHandler); // properties public override IntPtr ClassHandle { get; } public static VNDetectHumanBodyPose3DRequestRevision CurrentRevision { get; } public static VNDetectHumanBodyPose3DRequestRevision DefaultRevision { get; } public virtual VNHumanBodyPose3DObservation[] Results { get; } public virtual VNDetectHumanBodyPose3DRequestRevision Revision { get; set; } public static VNDetectHumanBodyPose3DRequestRevision[] SupportedRevisions { get; } public static Foundation.NSIndexSet WeakSupportedRevisions { get; } // methods public virtual VNHumanBodyPose3DObservationJointName[] GetSupportedJointNames (out Foundation.NSError error); public virtual VNHumanBodyPose3DObservationJointsGroupName[] GetSupportedJointsGroupNames (out Foundation.NSError error); } ``` #### New Type: Vision.VNDetectHumanBodyPose3DRequestRevision ```csharp [Serializable] public enum VNDetectHumanBodyPose3DRequestRevision { One = 1, } ``` #### New Type: Vision.VNGenerateForegroundInstanceMaskRequest ```csharp public class VNGenerateForegroundInstanceMaskRequest : Vision.VNImageBasedRequest { // constructors protected VNGenerateForegroundInstanceMaskRequest (Foundation.NSObjectFlag t); protected VNGenerateForegroundInstanceMaskRequest (IntPtr handle); public VNGenerateForegroundInstanceMaskRequest (VNRequestCompletionHandler completionHandler); // properties public override IntPtr ClassHandle { get; } public virtual VNInstanceMaskObservation[] Results { get; } } ``` #### New Type: Vision.VNGeneratePersonInstanceMaskRequest ```csharp public class VNGeneratePersonInstanceMaskRequest : Vision.VNImageBasedRequest { // constructors protected VNGeneratePersonInstanceMaskRequest (Foundation.NSObjectFlag t); protected VNGeneratePersonInstanceMaskRequest (IntPtr handle); public VNGeneratePersonInstanceMaskRequest (VNRequestCompletionHandler completionHandler); // properties public override IntPtr ClassHandle { get; } public virtual VNInstanceMaskObservation[] Results { get; } } ``` #### New Type: Vision.VNHumanBodyPose3DObservation ```csharp public class VNHumanBodyPose3DObservation : Vision.VNRecognizedPoints3DObservation { // constructors public VNHumanBodyPose3DObservation (Foundation.NSCoder coder); protected VNHumanBodyPose3DObservation (Foundation.NSObjectFlag t); protected VNHumanBodyPose3DObservation (IntPtr handle); // properties public virtual VNHumanBodyPose3DObservationJointName[] AvailableJointNames { get; } public virtual VNHumanBodyPose3DObservationJointsGroupName[] AvailableJointsGroupNames { get; } public virtual float BodyHeight { get; } public virtual OpenTK.NMatrix4 CameraOriginMatrix { get; } public override IntPtr ClassHandle { get; } public virtual VNHumanBodyPose3DObservationHeightEstimation HeightEstimation { get; } // methods public virtual bool GetCameraRelativePosition (out OpenTK.NMatrix4 modelPositionOut, VNHumanBodyPose3DObservationJointName jointName, out Foundation.NSError error); public virtual VNHumanBodyPose3DObservationJointName GetParentJointName (VNHumanBodyPose3DObservationJointName jointName); public virtual VNPoint GetPointInImage (VNHumanBodyPose3DObservationJointName jointName, out Foundation.NSError error); public virtual VNHumanBodyRecognizedPoint3D GetRecognizedPoint (VNHumanBodyPose3DObservationJointName jointName, out Foundation.NSError error); public virtual Foundation.NSDictionary<Foundation.NSString,Vision.VNHumanBodyRecognizedPoint3D> GetRecognizedPoints (VNHumanBodyPose3DObservationJointsGroupName jointName, out Foundation.NSError error); } ``` #### New Type: Vision.VNHumanBodyPose3DObservationHeightEstimation ```csharp [Serializable] public enum VNHumanBodyPose3DObservationHeightEstimation { Measured = 1, Reference = 0, } ``` #### New Type: Vision.VNHumanBodyPose3DObservationJointName ```csharp [Serializable] public enum VNHumanBodyPose3DObservationJointName { CenterHead = 11, CenterShoulder = 10, LeftAnkle = 8, LeftElbow = 14, LeftHip = 6, LeftKnee = 7, LeftShoulder = 13, LeftWrist = 15, None = 0, RightAnkle = 4, RightElbow = 16, RightHip = 2, RightKnee = 3, RightShoulder = 5, RightWrist = 17, Root = 1, Spine = 9, TopHead = 12, } ``` #### New Type: Vision.VNHumanBodyPose3DObservationJointNameExtensions ```csharp public static class VNHumanBodyPose3DObservationJointNameExtensions { // methods public static Foundation.NSString GetConstant (this VNHumanBodyPose3DObservationJointName self); public static VNHumanBodyPose3DObservationJointName GetValue (Foundation.NSString constant); } ``` #### New Type: Vision.VNHumanBodyPose3DObservationJointsGroupName ```csharp [Serializable] public enum VNHumanBodyPose3DObservationJointsGroupName { All = 7, Head = 1, LeftArm = 3, LeftLeg = 5, None = 0, RightArm = 4, RightLeg = 6, Torso = 2, } ``` #### New Type: Vision.VNHumanBodyPose3DObservationJointsGroupNameExtensions ```csharp public static class VNHumanBodyPose3DObservationJointsGroupNameExtensions { // methods public static Foundation.NSString GetConstant (this VNHumanBodyPose3DObservationJointsGroupName self); public static VNHumanBodyPose3DObservationJointsGroupName GetValue (Foundation.NSString constant); } ``` #### New Type: Vision.VNHumanBodyRecognizedPoint3D ```csharp public class VNHumanBodyRecognizedPoint3D : Vision.VNRecognizedPoint3D { // constructors public VNHumanBodyRecognizedPoint3D (Foundation.NSCoder coder); protected VNHumanBodyRecognizedPoint3D (Foundation.NSObjectFlag t); public VNHumanBodyRecognizedPoint3D (OpenTK.NMatrix4 position); protected VNHumanBodyRecognizedPoint3D (IntPtr handle); // properties public override IntPtr ClassHandle { get; } public virtual OpenTK.NMatrix4 LocalPosition { get; } public virtual VNHumanBodyPose3DObservationJointName ParentJoint { get; } } ``` #### New Type: Vision.VNInstanceMaskObservation ```csharp public class VNInstanceMaskObservation : Vision.VNObservation { // constructors public VNInstanceMaskObservation (Foundation.NSCoder coder); protected VNInstanceMaskObservation (Foundation.NSObjectFlag t); protected VNInstanceMaskObservation (IntPtr handle); // properties public virtual Foundation.NSIndexSet AllInstances { get; } public override IntPtr ClassHandle { get; } public virtual CoreVideo.CVPixelBuffer InstanceMask { get; } // methods public virtual CoreVideo.CVPixelBuffer GenerateMask (Foundation.NSIndexSet instances, out Foundation.NSError error); public virtual CoreVideo.CVPixelBuffer GenerateMaskedImage (Foundation.NSIndexSet instances, VNImageRequestHandler requestHandler, bool cropResult, out Foundation.NSError error); public virtual CoreVideo.CVPixelBuffer GenerateScaledMask (Foundation.NSIndexSet instances, VNImageRequestHandler requestHandler, out Foundation.NSError error); } ``` #### New Type: Vision.VNPoint3D ```csharp public class VNPoint3D : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable { // constructors public VNPoint3D (Foundation.NSCoder coder); protected VNPoint3D (Foundation.NSObjectFlag t); public VNPoint3D (OpenTK.NMatrix4 position); protected VNPoint3D (IntPtr handle); // properties public override IntPtr ClassHandle { get; } public virtual OpenTK.NMatrix4 Position { get; } // methods public virtual Foundation.NSObject Copy (Foundation.NSZone zone); public virtual void EncodeTo (Foundation.NSCoder encoder); } ``` #### New Type: Vision.VNRecognizedPoint3D ```csharp public class VNRecognizedPoint3D : Vision.VNPoint3D { // constructors public VNRecognizedPoint3D (Foundation.NSCoder coder); protected VNRecognizedPoint3D (Foundation.NSObjectFlag t); public VNRecognizedPoint3D (OpenTK.NMatrix4 position); protected VNRecognizedPoint3D (IntPtr handle); // properties public override IntPtr ClassHandle { get; } public static Foundation.NSString GroupKeyAll { get; } public virtual string Identifier { get; } } ``` #### New Type: Vision.VNRecognizedPoints3DObservation ```csharp public class VNRecognizedPoints3DObservation : Vision.VNObservation { // constructors public VNRecognizedPoints3DObservation (Foundation.NSCoder coder); protected VNRecognizedPoints3DObservation (Foundation.NSObjectFlag t); protected VNRecognizedPoints3DObservation (IntPtr handle); // properties public virtual Foundation.NSString[] AvailableGroupKeys { get; } public virtual Foundation.NSString[] AvailableKeys { get; } public override IntPtr ClassHandle { get; } // methods public virtual VNRecognizedPoint3D GetRecognizedPoint (Foundation.NSString pointKey, out Foundation.NSError error); public virtual Foundation.NSDictionary<Foundation.NSString,Vision.VNRecognizedPoint3D> GetRecognizedPoints (Foundation.NSString groupKey, out Foundation.NSError error); } ``` #### New Type: Vision.VNTrackHomographicImageRegistrationRequest ```csharp public class VNTrackHomographicImageRegistrationRequest : Vision.VNStatefulRequest { // constructors public VNTrackHomographicImageRegistrationRequest (); protected VNTrackHomographicImageRegistrationRequest (Foundation.NSObjectFlag t); protected VNTrackHomographicImageRegistrationRequest (IntPtr handle); public VNTrackHomographicImageRegistrationRequest (VNRequestCompletionHandler completionHandler); // properties public override IntPtr ClassHandle { get; } public static VNTrackHomographicImageRegistrationRequestRevision CurrentRevision { get; } public static VNTrackHomographicImageRegistrationRequestRevision DefaultRevision { get; } public virtual VNImageHomographicAlignmentObservation[] Results { get; } public virtual VNTrackHomographicImageRegistrationRequestRevision Revision { get; set; } public static VNTrackHomographicImageRegistrationRequestRevision[] SupportedRevisions { get; } public static Foundation.NSIndexSet WeakSupportedRevisions { get; } } ``` #### New Type: Vision.VNTrackHomographicImageRegistrationRequestRevision ```csharp [Serializable] public enum VNTrackHomographicImageRegistrationRequestRevision { One = 1, } ``` #### New Type: Vision.VNTrackOpticalFlowRequest ```csharp public class VNTrackOpticalFlowRequest : Vision.VNStatefulRequest { // constructors public VNTrackOpticalFlowRequest (); protected VNTrackOpticalFlowRequest (Foundation.NSObjectFlag t); protected VNTrackOpticalFlowRequest (IntPtr handle); public VNTrackOpticalFlowRequest (VNRequestCompletionHandler completionHandler); // properties public override IntPtr ClassHandle { get; } public virtual VNTrackOpticalFlowRequestComputationAccuracy ComputationAccuracy { get; set; } public virtual bool KeepNetworkOutput { get; set; } public virtual uint OutputPixelFormat { get; set; } public virtual VNPixelBufferObservation[] Results { get; } } ``` #### New Type: Vision.VNTrackOpticalFlowRequestComputationAccuracy ```csharp [Serializable] public enum VNTrackOpticalFlowRequestComputationAccuracy { High = 2, Low = 0, Medium = 1, VeryHigh = 3, } ``` #### New Type: Vision.VNTrackOpticalFlowRequestRevision ```csharp [Serializable] public enum VNTrackOpticalFlowRequestRevision { One = 1, } ``` #### New Type: Vision.VNTrackTranslationalImageRegistrationRequest ```csharp public class VNTrackTranslationalImageRegistrationRequest : Vision.VNStatefulRequest { // constructors public VNTrackTranslationalImageRegistrationRequest (); protected VNTrackTranslationalImageRegistrationRequest (Foundation.NSObjectFlag t); protected VNTrackTranslationalImageRegistrationRequest (IntPtr handle); public VNTrackTranslationalImageRegistrationRequest (VNRequestCompletionHandler completionHandler); // properties public override IntPtr ClassHandle { get; } public static VNTrackTranslationalImageRegistrationRequestRevision CurrentRevision { get; } public static VNTrackTranslationalImageRegistrationRequestRevision DefaultRevision { get; } public virtual VNImageTranslationAlignmentObservation[] Results { get; } public virtual VNTrackTranslationalImageRegistrationRequestRevision Revision { get; set; } public static VNTrackTranslationalImageRegistrationRequestRevision[] SupportedRevisions { get; } public static Foundation.NSIndexSet WeakSupportedRevisions { get; } } ``` #### New Type: Vision.VNTrackTranslationalImageRegistrationRequestRevision ```csharp [Serializable] public enum VNTrackTranslationalImageRegistrationRequestRevision { One = 1, } ``` ### Namespace WebKit #### Type Changed: WebKit.WKHttpCookieStore Added methods: ```csharp public virtual void GetCookiePolicy (System.Action<WKCookiePolicy> completionHandler); public virtual System.Threading.Tasks.Task<WKCookiePolicy> GetCookiePolicyAsync (); public virtual void SetCookiePolicy (WKCookiePolicy policy, System.Action completionHandler); public virtual System.Threading.Tasks.Task SetCookiePolicyAsync (WKCookiePolicy policy); ``` #### Type Changed: WebKit.WKPdfConfiguration Added property: ```csharp public virtual bool AllowTransparentBackground { get; set; } ``` #### Type Changed: WebKit.WKPreferences Added property: ```csharp public virtual WKInactiveSchedulingPolicy InactiveSchedulingPolicy { get; set; } ``` #### Type Changed: WebKit.WKWebViewConfiguration Added property: ```csharp public virtual bool AllowsInlinePredictions { get; set; } ``` #### Type Changed: WebKit.WKWebsiteDataStore Added property: ```csharp public virtual Foundation.NSUuid Identifier { get; } ``` Added methods: ```csharp public static WKWebsiteDataStore Create (Foundation.NSUuid identifier); public static void FetchAllDataStoreIdentifiers (System.Action<Foundation.NSArray<Foundation.NSUuid>> completionHandler); public static System.Threading.Tasks.Task<Foundation.NSArray<Foundation.NSUuid>> FetchAllDataStoreIdentifiersAsync (); public static void Remove (Foundation.NSUuid identifier, System.Action<Foundation.NSError> completionHandler); public static System.Threading.Tasks.Task RemoveAsync (Foundation.NSUuid identifier); ``` #### Type Changed: WebKit.WKWebsiteDataType Added properties: ```csharp public static Foundation.NSString HashSalt { get; } public static Foundation.NSString MediaKeys { get; } public static Foundation.NSString SearchFieldRecentSearches { get; } ``` #### New Type: WebKit.WKCookiePolicy ```csharp [Serializable] public enum WKCookiePolicy { Allow = 0, Disallow = 1, } ``` #### New Type: WebKit.WKInactiveSchedulingPolicy ```csharp [Serializable] public enum WKInactiveSchedulingPolicy { None = 2, Suspend = 0, Throttle = 1, } ``` ### New Namespace Cinematic #### New Type: Cinematic.CNAssetInfo ```csharp public class CNAssetInfo : Foundation.NSObject { // constructors protected CNAssetInfo (Foundation.NSObjectFlag t); protected CNAssetInfo (IntPtr handle); // properties public virtual AVFoundation.AVAssetTrack[] AllCinematicTracks { get; } public virtual AVFoundation.AVAsset Asset { get; } public virtual AVFoundation.AVAssetTrack CinematicDisparityTrack { get; } public virtual AVFoundation.AVAssetTrack CinematicMetadataTrack { get; } public virtual AVFoundation.AVAssetTrack CinematicVideoTrack { get; } public override IntPtr ClassHandle { get; } public virtual AVFoundation.AVAssetTrack FrameTimingTrack { get; } public virtual CoreGraphics.CGSize NaturalSize { get; } public virtual CoreGraphics.CGSize PreferredSize { get; } public virtual CoreGraphics.CGAffineTransform PreferredTransform { get; } public virtual Foundation.NSNumber[] SampleDataTrackIds { get; } public virtual CoreMedia.CMTimeRange TimeRange { get; } public virtual Foundation.NSNumber[] VideoCompositionTrackIds { get; } public virtual AVFoundation.AVAssetTrack[] VideoCompositionTracks { get; } // methods public static void CheckIfCinematic (AVFoundation.AVAsset asset, System.Action<bool> completionHandler); public static System.Threading.Tasks.Task<bool> CheckIfCinematicAsync (AVFoundation.AVAsset asset); public static void LoadFromAsset (AVFoundation.AVAsset asset, System.Action<CNAssetInfo,Foundation.NSError> completionHandler); public static System.Threading.Tasks.Task<CNAssetInfo> LoadFromAssetAsync (AVFoundation.AVAsset asset); } ``` #### New Type: Cinematic.CNBoundsPrediction ```csharp public class CNBoundsPrediction : Foundation.NSObject, Foundation.INSCopying, Foundation.INSMutableCopying, ObjCRuntime.INativeObject, System.IDisposable { // constructors public CNBoundsPrediction (); protected CNBoundsPrediction (Foundation.NSObjectFlag t); protected CNBoundsPrediction (IntPtr handle); // properties public override IntPtr ClassHandle { get; } public virtual float Confidence { get; set; } public virtual CoreGraphics.CGRect NormalizedBounds { get; set; } // methods public virtual Foundation.NSObject Copy (Foundation.NSZone zone); public virtual Foundation.NSObject MutableCopy (Foundation.NSZone zone); } ``` #### New Type: Cinematic.CNCinematicErrorCode ```csharp [Serializable] public enum CNCinematicErrorCode { Cancelled = 7, Incompatible = 6, Incomplete = 3, Malformed = 4, Unknown = 1, Unreadable = 2, Unsupported = 5, } ``` #### New Type: Cinematic.CNCinematicErrorCodeExtensions ```csharp public static class CNCinematicErrorCodeExtensions { // methods public static Foundation.NSString GetDomain (this CNCinematicErrorCode self); } ``` #### New Type: Cinematic.CNCompositionInfo ```csharp public class CNCompositionInfo : Cinematic.CNAssetInfo { // constructors public CNCompositionInfo (); protected CNCompositionInfo (Foundation.NSObjectFlag t); protected CNCompositionInfo (IntPtr handle); // properties public override IntPtr ClassHandle { get; } // methods public virtual bool InsertTimeRange (CoreMedia.CMTimeRange timeRange, CNAssetInfo assetInfo, CoreMedia.CMTime startTime, out Foundation.NSError outError); } ``` #### New Type: Cinematic.CNCustomDetectionTrack ```csharp public class CNCustomDetectionTrack : Cinematic.CNDetectionTrack { // constructors public CNCustomDetectionTrack (); protected CNCustomDetectionTrack (Foundation.NSObjectFlag t); protected CNCustomDetectionTrack (IntPtr handle); public CNCustomDetectionTrack (CNDetection[] detections, bool applySmoothing); // properties public virtual CNDetection[] AllDetections { get; } public override IntPtr ClassHandle { get; } } ``` #### New Type: Cinematic.CNDecision ```csharp public class CNDecision : Foundation.NSObject, Foundation.INSCopying, ObjCRuntime.INativeObject, System.IDisposable { // constructors protected CNDecision (Foundation.NSObjectFlag t); protected CNDecision (IntPtr handle); public CNDecision (CoreMedia.CMTime time, long detectionId, bool isStrong, CNDecisionIdentifierType identifierType); // properties public override IntPtr ClassHandle { get; } public virtual long DetectionGroupId { get; } public virtual long DetectionId { get; } public virtual bool GroupDecision { get; } public virtual bool StrongDecision { get; } public virtual CoreMedia.CMTime Time { get; } public virtual bool UserDecision { get; } // methods public virtual Foundation.NSObject Copy (Foundation.NSZone zone); } ``` #### New Type: Cinematic.CNDecisionIdentifierType ```csharp [Serializable] public enum CNDecisionIdentifierType { Group = 1, Single = 0, } ``` #### New Type: Cinematic.CNDetection ```csharp public class CNDetection : Foundation.NSObject, Foundation.INSCopying, ObjCRuntime.INativeObject, System.IDisposable { // constructors protected CNDetection (Foundation.NSObjectFlag t); protected CNDetection (IntPtr handle); public CNDetection (CoreMedia.CMTime time, CNDetectionType detectionType, CoreGraphics.CGRect normalizedRect, float focusDisparity); // properties public override IntPtr ClassHandle { get; } public virtual long DetectionGroupId { get; } public virtual long DetectionId { get; } public virtual CNDetectionType DetectionType { get; } public virtual float FocusDisparity { get; } public virtual CoreGraphics.CGRect NormalizedRect { get; } public virtual CoreMedia.CMTime Time { get; } // methods public static string AccessibilityLabelForDetectionType (CNDetectionType detectionType); public virtual Foundation.NSObject Copy (Foundation.NSZone zone); public static float DisparityInNormalizedRect (CoreGraphics.CGRect normalizedRect, CoreVideo.CVPixelBuffer sourceDisparity, CNDetectionType detectionType, float priorDisparity); public static bool IsValidDetectionGroupId (long detectionGroupId); public static bool IsValidDetectionId (long detectionId); } ``` #### New Type: Cinematic.CNDetectionTrack ```csharp public class CNDetectionTrack : Foundation.NSObject, Foundation.INSCopying, ObjCRuntime.INativeObject, System.IDisposable { // constructors protected CNDetectionTrack (Foundation.NSObjectFlag t); protected CNDetectionTrack (IntPtr handle); // properties public override IntPtr ClassHandle { get; } public virtual long DetectionGroupId { get; } public virtual long DetectionId { get; } public virtual CNDetectionType DetectionType { get; } public virtual bool Discrete { get; } public virtual bool UserCreated { get; } // methods public virtual Foundation.NSObject Copy (Foundation.NSZone zone); public virtual CNDetection GetDetectionAtOrBeforeTime (CoreMedia.CMTime time); public virtual CNDetection GetDetectionNearestTime (CoreMedia.CMTime time); public virtual CNDetection[] GetDetectionsInTimeRange (CoreMedia.CMTimeRange timeRange); } ``` #### New Type: Cinematic.CNDetectionType ```csharp [Serializable] public enum CNDetectionType { AutoFocus = 100, CatBody = 4, CatHead = 9, Custom = 102, DogBody = 5, DogHead = 10, FixedFocus = 101, HumanFace = 1, HumanHead = 2, HumanTorso = 3, SportsBall = 11, Unknown = 0, } ``` #### New Type: Cinematic.CNFixedDetectionTrack ```csharp public class CNFixedDetectionTrack : Cinematic.CNDetectionTrack { // constructors public CNFixedDetectionTrack (); public CNFixedDetectionTrack (CNDetection originalDetection); protected CNFixedDetectionTrack (Foundation.NSObjectFlag t); protected CNFixedDetectionTrack (IntPtr handle); public CNFixedDetectionTrack (float focusDisparity); // properties public override IntPtr ClassHandle { get; } public virtual float FocusDisparity { get; } public virtual CNDetection OriginalDetection { get; } } ``` #### New Type: Cinematic.CNObjectTracker ```csharp public class CNObjectTracker : Foundation.NSObject { // constructors protected CNObjectTracker (Foundation.NSObjectFlag t); public CNObjectTracker (Metal.IMTLCommandQueue commandQueue); protected CNObjectTracker (IntPtr handle); // properties public override IntPtr ClassHandle { get; } public virtual CNDetectionTrack FinishDetectionTrack { get; } public static bool IsSupported { get; } // methods public virtual CNBoundsPrediction ContinueTracking (CoreMedia.CMTime atTime, CoreVideo.CVPixelBuffer sourceImage, CoreVideo.CVPixelBuffer sourceDisparity); public virtual CNBoundsPrediction FindObject (CoreGraphics.CGPoint point, CoreVideo.CVPixelBuffer sourceImage); public virtual void ResetDetectionTrack (); public virtual bool StartTracking (CoreMedia.CMTime atTime, CoreGraphics.CGRect normalizedBounds, CoreVideo.CVPixelBuffer sourceImage, CoreVideo.CVPixelBuffer sourceDisparity); } ``` #### New Type: Cinematic.CNRenderingQuality ```csharp [Serializable] public enum CNRenderingQuality { Export = 2, ExportHigh = 3, Preview = 1, Thumbnail = 0, } ``` #### New Type: Cinematic.CNRenderingSession ```csharp public class CNRenderingSession : Foundation.NSObject { // constructors protected CNRenderingSession (Foundation.NSObjectFlag t); protected CNRenderingSession (IntPtr handle); public CNRenderingSession (Metal.IMTLCommandQueue commandQueue, CNRenderingSessionAttributes sessionAttributes, CoreGraphics.CGAffineTransform preferredTransform, CNRenderingQuality quality); // properties public override IntPtr ClassHandle { get; } public virtual Metal.IMTLCommandQueue CommandQueue { get; } public static Foundation.NSNumber[] DestinationPixelFormatTypes { get; } public virtual CoreGraphics.CGAffineTransform PreferredTransform { get; } public virtual CNRenderingQuality Quality { get; } public virtual CNRenderingSessionAttributes SessionAttributes { get; } public static Foundation.NSNumber[] SourcePixelFormatTypes { get; } // methods public virtual bool EncodeRender (Metal.IMTLCommandBuffer commandBuffer, CNRenderingSessionFrameAttributes frameAttributes, CoreVideo.CVPixelBuffer sourceImage, CoreVideo.CVPixelBuffer sourceDisparity, CoreVideo.CVPixelBuffer destinationImage); public virtual bool EncodeRender (Metal.IMTLCommandBuffer commandBuffer, CNRenderingSessionFrameAttributes frameAttributes, CoreVideo.CVPixelBuffer sourceImage, CoreVideo.CVPixelBuffer sourceDisparity, Metal.IMTLTexture destinationRgba); public virtual bool EncodeRender (Metal.IMTLCommandBuffer commandBuffer, CNRenderingSessionFrameAttributes frameAttributes, CoreVideo.CVPixelBuffer sourceImage, CoreVideo.CVPixelBuffer sourceDisparity, Metal.IMTLTexture destinationLuma, Metal.IMTLTexture destinationChroma); } ``` #### New Type: Cinematic.CNRenderingSessionAttributes ```csharp public class CNRenderingSessionAttributes : Foundation.NSObject { // constructors protected CNRenderingSessionAttributes (Foundation.NSObjectFlag t); protected CNRenderingSessionAttributes (IntPtr handle); // properties public override IntPtr ClassHandle { get; } public virtual nint RenderingVersion { get; } // methods public static void Load (AVFoundation.AVAsset asset, System.Action<CNRenderingSessionAttributes,Foundation.NSError> completionHandler); public static System.Threading.Tasks.Task<CNRenderingSessionAttributes> LoadAsync (AVFoundation.AVAsset asset); } ``` #### New Type: Cinematic.CNRenderingSessionFrameAttributes ```csharp public class CNRenderingSessionFrameAttributes : Foundation.NSObject, Foundation.INSCopying, Foundation.INSMutableCopying, ObjCRuntime.INativeObject, System.IDisposable { // constructors protected CNRenderingSessionFrameAttributes (Foundation.NSObjectFlag t); protected CNRenderingSessionFrameAttributes (IntPtr handle); public CNRenderingSessionFrameAttributes (AVFoundation.AVTimedMetadataGroup metadataGroup, CNRenderingSessionAttributes sessionAttributes); public CNRenderingSessionFrameAttributes (CoreMedia.CMSampleBuffer sampleBuffer, CNRenderingSessionAttributes sessionAttributes); // properties public override IntPtr ClassHandle { get; } public virtual float FNumber { get; set; } public virtual float FocusDisparity { get; set; } // methods public virtual Foundation.NSObject Copy (Foundation.NSZone zone); public virtual Foundation.NSObject MutableCopy (Foundation.NSZone zone); } ``` #### New Type: Cinematic.CNScript ```csharp public class CNScript : Foundation.NSObject { // constructors protected CNScript (Foundation.NSObjectFlag t); protected CNScript (IntPtr handle); // properties public virtual CNDetectionTrack[] AddedDetectionTracks { get; } public virtual CNScriptChanges Changes { get; } public override IntPtr ClassHandle { get; } public virtual float FNumber { get; set; } public virtual CoreMedia.CMTimeRange TimeRange { get; } // methods public virtual long AddDetectionTrack (CNDetectionTrack detectionTrack); public virtual bool AddUserDecision (CNDecision decision); public virtual CNDecision[] GetBaseDecisions (CoreMedia.CMTimeRange timeRange); public virtual CNScriptChanges GetChangesTrimmed (CoreMedia.CMTimeRange timeRange); public virtual CNDecision GetDecision (CoreMedia.CMTime time, CoreMedia.CMTime tolerance); public virtual CNDecision GetDecisionAfterTime (CoreMedia.CMTime time); public virtual CNDecision GetDecisionBeforeTime (CoreMedia.CMTime time); public virtual CNDecision[] GetDecisions (CoreMedia.CMTimeRange timeRange); public virtual CNDetectionTrack GetDetectionTrack (CNDecision decision); public virtual CNDetectionTrack GetDetectionTrackForId (long detectionId); public virtual CNScriptFrame GetFrame (CoreMedia.CMTime time, CoreMedia.CMTime tolerance); public virtual CNScriptFrame[] GetFrames (CoreMedia.CMTimeRange timeRange); public virtual CNDecision GetPrimaryDecision (CoreMedia.CMTime time); public virtual CNDecision GetSecondaryDecision (CoreMedia.CMTime time); public virtual CoreMedia.CMTimeRange GetTimeRangeOfTransitionAfterDecision (CNDecision decision); public virtual CoreMedia.CMTimeRange GetTimeRangeOfTransitionBeforeDecision (CNDecision decision); public virtual CNDecision[] GetUserDecisions (CoreMedia.CMTimeRange timeRange); public static void Load (AVFoundation.AVAsset asset, CNScriptChanges changes, Foundation.NSProgress progress, System.Action<CNScript,Foundation.NSError> completionHandler); public static System.Threading.Tasks.Task<CNScript> LoadAsync (AVFoundation.AVAsset asset, CNScriptChanges changes, Foundation.NSProgress progress); public virtual void Reload (CNScriptChanges changes); public virtual void RemoveAllUserDecisions (); public virtual bool RemoveDetectionTrack (CNDetectionTrack detectionTrack); public virtual bool RemoveUserDecision (CNDecision decision); } ``` #### New Type: Cinematic.CNScriptChanges ```csharp public class CNScriptChanges : Foundation.NSObject { // constructors public CNScriptChanges (Foundation.NSData dataRepresentation); protected CNScriptChanges (Foundation.NSObjectFlag t); protected CNScriptChanges (IntPtr handle); // properties public virtual CNDetectionTrack[] AddedDetectionTracks { get; } public override IntPtr ClassHandle { get; } public virtual Foundation.NSData DataRepresentation { get; } public virtual float FNumber { get; } public virtual CNDecision[] UserDecisions { get; } } ``` #### New Type: Cinematic.CNScriptFrame ```csharp public class CNScriptFrame : Foundation.NSObject, Foundation.INSCopying, ObjCRuntime.INativeObject, System.IDisposable { // constructors protected CNScriptFrame (Foundation.NSObjectFlag t); protected CNScriptFrame (IntPtr handle); // properties public virtual CNDetection[] AllDetections { get; } public override IntPtr ClassHandle { get; } public virtual CNDetection FocusDetection { get; } public virtual float FocusDisparity { get; } public virtual CoreMedia.CMTime Time { get; } // methods public virtual Foundation.NSObject Copy (Foundation.NSZone zone); public virtual CNDetection GetBestDetectionForGroupId (long detectionGroupId); public virtual CNDetection GetDetectionForId (long detectionId); } ``` ### New Namespace DeviceDiscoveryExtension #### New Type: DeviceDiscoveryExtension.DDDevice ```csharp public class DDDevice : Foundation.NSObject { // constructors protected DDDevice (Foundation.NSObjectFlag t); protected DDDevice (IntPtr handle); public DDDevice (string displayName, DDDeviceCategory category, UniformTypeIdentifiers.UTType protocolType, string identifier); // properties public virtual Foundation.NSUuid BluetoothIdentifier { get; set; } public virtual DDDeviceCategory Category { get; set; } public override IntPtr ClassHandle { get; } public virtual string DisplayName { get; set; } public virtual string Identifier { get; set; } public virtual string MediaContentSubtitle { get; set; } public virtual string MediaContentTitle { get; set; } public virtual DDDeviceMediaPlaybackState MediaPlaybackState { get; set; } public Network.NWEndpoint NetworkEndpoint { get; set; } public virtual DDDeviceProtocol Protocol { get; set; } public virtual UniformTypeIdentifiers.UTType ProtocolType { get; set; } public virtual DDDeviceState State { get; set; } public virtual bool SupportsGrouping { get; set; } public virtual Foundation.NSData TxtRecordData { get; set; } public virtual Foundation.NSUrl Url { get; set; } } ``` #### New Type: DeviceDiscoveryExtension.DDDeviceCategory ```csharp [Serializable] public enum DDDeviceCategory { DesktopComputer = 5, HiFiSpeaker = 0, HiFiSpeakerMultiple = 1, LaptopComputer = 4, Tv = 3, TvWithMediaBox = 2, } ``` #### New Type: DeviceDiscoveryExtension.DDDeviceEvent ```csharp public class DDDeviceEvent : Foundation.NSObject { // constructors protected DDDeviceEvent (Foundation.NSObjectFlag t); protected DDDeviceEvent (IntPtr handle); public DDDeviceEvent (DDEventType type, DDDevice device); // properties public override IntPtr ClassHandle { get; } public virtual DDDevice Device { get; } public virtual DDEventType EventType { get; } } ``` #### New Type: DeviceDiscoveryExtension.DDDeviceMediaPlaybackState ```csharp [Serializable] public enum DDDeviceMediaPlaybackState { NoContent = 0, Paused = 1, Playing = 2, } ``` #### New Type: DeviceDiscoveryExtension.DDDeviceProtocol ```csharp [Serializable] public enum DDDeviceProtocol { Dial = 1, Invalid = 0, } ``` #### New Type: DeviceDiscoveryExtension.DDDeviceProtocolStrings ```csharp public static class DDDeviceProtocolStrings { // properties public static Foundation.NSString Dial { get; } public static Foundation.NSString Invalid { get; } } ``` #### New Type: DeviceDiscoveryExtension.DDDeviceState ```csharp [Serializable] public enum DDDeviceState { Activated = 20, Activating = 10, Authorized = 25, Invalid = 0, Invalidating = 30, } ``` #### New Type: DeviceDiscoveryExtension.DDDiscoverySession ```csharp public class DDDiscoverySession : Foundation.NSObject { // constructors public DDDiscoverySession (); protected DDDiscoverySession (Foundation.NSObjectFlag t); protected DDDiscoverySession (IntPtr handle); // properties public override IntPtr ClassHandle { get; } // methods public virtual void ReportEvent (DDDeviceEvent inEvent); } ``` #### New Type: DeviceDiscoveryExtension.DDErrorCode ```csharp [Serializable] public enum DDErrorCode { BadParameter = 350001, Internal = 350004, MissingEntitlement = 350005, Permission = 350006, Success = 0, Timeout = 350003, Unknown = 350000, Unsupported = 350002, } ``` #### New Type: DeviceDiscoveryExtension.DDErrorCodeExtensions ```csharp public static class DDErrorCodeExtensions { // methods public static Foundation.NSString GetDomain (this DDErrorCode self); } ``` #### New Type: DeviceDiscoveryExtension.DDEventType ```csharp [Serializable] public enum DDEventType { DeviceChanged = 42, DeviceFound = 40, DeviceLost = 41, Unknown = 0, } ``` ### New Namespace MetalFX #### New Type: MetalFX.IMTLFXSpatialScaler ```csharp public interface IMTLFXSpatialScaler : ObjCRuntime.INativeObject, System.IDisposable { // properties public virtual MTLFXSpatialScalerColorProcessingMode ColorProcessingMode { get; } public virtual Metal.IMTLTexture ColorTexture { get; set; } public virtual Metal.MTLPixelFormat ColorTextureFormat { get; } public virtual Metal.MTLTextureUsage ColorTextureUsage { get; } public virtual Metal.IMTLFence Fence { get; set; } public virtual nuint InputContentHeight { get; set; } public virtual nuint InputContentWidth { get; set; } public virtual nuint InputHeight { get; } public virtual nuint InputWidth { get; } public virtual nuint OutputHeight { get; } public virtual Metal.IMTLTexture OutputTexture { get; set; } public virtual Metal.MTLPixelFormat OutputTextureFormat { get; } public virtual Metal.MTLTextureUsage OutputTextureUsage { get; } public virtual nuint OutputWidth { get; } // methods public abstract void Encode (Metal.IMTLCommandBuffer commandBuffer); } ``` #### New Type: MetalFX.IMTLFXTemporalScaler ```csharp public interface IMTLFXTemporalScaler : ObjCRuntime.INativeObject, System.IDisposable { // properties public virtual Metal.IMTLTexture ColorTexture { get; set; } public virtual Metal.MTLPixelFormat ColorTextureFormat { get; } public virtual Metal.MTLTextureUsage ColorTextureUsage { get; } public virtual bool DepthReversed { get; set; } public virtual Metal.IMTLTexture DepthTexture { get; set; } public virtual Metal.MTLPixelFormat DepthTextureFormat { get; } public virtual Metal.MTLTextureUsage DepthTextureUsage { get; } public virtual Metal.IMTLTexture ExposureTexture { get; set; } public virtual Metal.IMTLFence Fence { get; set; } public virtual nuint InputContentHeight { get; set; } public virtual float InputContentMaxScale { get; } public virtual float InputContentMinScale { get; } public virtual nuint InputContentWidth { get; set; } public virtual nuint InputHeight { get; } public virtual nuint InputWidth { get; } public virtual float JitterOffsetX { get; set; } public virtual float JitterOffsetY { get; set; } public virtual Metal.IMTLTexture MotionTexture { get; set; } public virtual Metal.MTLPixelFormat MotionTextureFormat { get; } public virtual Metal.MTLTextureUsage MotionTextureUsage { get; } public virtual float MotionVectorScaleX { get; set; } public virtual float MotionVectorScaleY { get; set; } public virtual nuint OutputHeight { get; } public virtual Metal.IMTLTexture OutputTexture { get; set; } public virtual Metal.MTLPixelFormat OutputTextureFormat { get; } public virtual Metal.MTLTextureUsage OutputTextureUsage { get; } public virtual nuint OutputWidth { get; } public virtual float PreExposure { get; set; } public virtual bool Reset { get; set; } // methods public abstract void Encode (Metal.IMTLCommandBuffer commandBuffer); } ``` #### New Type: MetalFX.MTLFXSpatialScalerColorProcessingMode ```csharp [Serializable] public enum MTLFXSpatialScalerColorProcessingMode { Hdr = 2, Linear = 1, Perceptual = 0, } ``` #### New Type: MetalFX.MTLFXSpatialScalerDescriptor ```csharp public class MTLFXSpatialScalerDescriptor : Foundation.NSObject { // constructors protected MTLFXSpatialScalerDescriptor (Foundation.NSObjectFlag t); protected MTLFXSpatialScalerDescriptor (IntPtr handle); // properties public override IntPtr ClassHandle { get; } public virtual MTLFXSpatialScalerColorProcessingMode ColorProcessingMode { get; set; } public virtual Metal.MTLPixelFormat ColorTextureFormat { get; set; } public virtual nuint InputHeight { get; set; } public virtual nuint InputWidth { get; set; } public virtual nuint OutputHeight { get; set; } public virtual Metal.MTLPixelFormat OutputTextureFormat { get; set; } public virtual nuint OutputWidth { get; set; } // methods public virtual IMTLFXSpatialScaler Create (Metal.IMTLDevice device); public static bool SupportsDevice (Metal.IMTLDevice device); } ``` #### New Type: MetalFX.MTLFXTemporalScalerDescriptor ```csharp public class MTLFXTemporalScalerDescriptor : Foundation.NSObject { // constructors protected MTLFXTemporalScalerDescriptor (Foundation.NSObjectFlag t); protected MTLFXTemporalScalerDescriptor (IntPtr handle); // properties public virtual bool AutoExposureEnabled { get; set; } public override IntPtr ClassHandle { get; } public virtual Metal.MTLPixelFormat ColorTextureFormat { get; set; } public virtual Metal.MTLPixelFormat DepthTextureFormat { get; set; } public virtual float InputContentMaxScale { get; set; } public virtual float InputContentMinScale { get; set; } public virtual bool InputContentPropertiesEnabled { get; set; } public virtual nuint InputHeight { get; set; } public virtual nuint InputWidth { get; set; } public virtual Metal.MTLPixelFormat MotionTextureFormat { get; set; } public virtual nuint OutputHeight { get; set; } public virtual Metal.MTLPixelFormat OutputTextureFormat { get; set; } public virtual nuint OutputWidth { get; set; } // methods public virtual IMTLFXTemporalScaler Create (Metal.IMTLDevice device); public static float GetSupportedInputContentMaxScale (Metal.IMTLDevice device); public static float GetSupportedInputContentMinScale (Metal.IMTLDevice device); public static bool SupportsDevice (Metal.IMTLDevice device); } ``` ### New Namespace SafetyKit #### New Type: SafetyKit.ISACrashDetectionDelegate ```csharp public interface ISACrashDetectionDelegate : ObjCRuntime.INativeObject, System.IDisposable { } ``` #### New Type: SafetyKit.ISAEmergencyResponseDelegate ```csharp public interface ISAEmergencyResponseDelegate : ObjCRuntime.INativeObject, System.IDisposable { } ``` #### New Type: SafetyKit.SAAuthorizationStatus ```csharp [Serializable] public enum SAAuthorizationStatus { Authorized = 2, Denied = 1, NotDetermined = 0, } ``` #### New Type: SafetyKit.SACrashDetectionDelegate ```csharp public class SACrashDetectionDelegate : Foundation.NSObject, ObjCRuntime.INativeObject, ISACrashDetectionDelegate, System.IDisposable { // constructors public SACrashDetectionDelegate (); protected SACrashDetectionDelegate (Foundation.NSObjectFlag t); protected SACrashDetectionDelegate (IntPtr handle); // methods public virtual void DidDetectEvent (SACrashDetectionManager crashDetectionManager, SACrashDetectionEvent event); } ``` #### New Type: SafetyKit.SACrashDetectionDelegate_Extensions ```csharp public static class SACrashDetectionDelegate_Extensions { // methods public static void DidDetectEvent (this ISACrashDetectionDelegate This, SACrashDetectionManager crashDetectionManager, SACrashDetectionEvent event); } ``` #### New Type: SafetyKit.SACrashDetectionEvent ```csharp public class SACrashDetectionEvent : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable { // constructors public SACrashDetectionEvent (Foundation.NSCoder coder); protected SACrashDetectionEvent (Foundation.NSObjectFlag t); protected SACrashDetectionEvent (IntPtr handle); // properties public override IntPtr ClassHandle { get; } public virtual Foundation.NSDate Date { get; } public virtual CoreLocation.CLLocation Location { get; } public virtual SACrashDetectionEventResponse Response { get; } // methods public virtual Foundation.NSObject Copy (Foundation.NSZone zone); public virtual void EncodeTo (Foundation.NSCoder encoder); } ``` #### New Type: SafetyKit.SACrashDetectionEventResponse ```csharp [Serializable] public enum SACrashDetectionEventResponse { Attempted = 0, Disabled = 1, } ``` #### New Type: SafetyKit.SACrashDetectionManager ```csharp public class SACrashDetectionManager : Foundation.NSObject { // constructors public SACrashDetectionManager (); protected SACrashDetectionManager (Foundation.NSObjectFlag t); protected SACrashDetectionManager (IntPtr handle); // properties public virtual SAAuthorizationStatus AuthorizationStatus { get; } public static bool Available { get; } public override IntPtr ClassHandle { get; } public ISACrashDetectionDelegate Delegate { get; set; } public virtual Foundation.NSObject WeakDelegate { get; set; } // methods protected override void Dispose (bool disposing); public virtual void RequestAuthorization (SACrashDetectionManagerRequestAuthorizationCompletionHandler handler); public virtual System.Threading.Tasks.Task<SAAuthorizationStatus> RequestAuthorizationAsync (); } ``` #### New Type: SafetyKit.SACrashDetectionManagerRequestAuthorizationCompletionHandler ```csharp public sealed delegate SACrashDetectionManagerRequestAuthorizationCompletionHandler : System.MulticastDelegate { // constructors public SACrashDetectionManagerRequestAuthorizationCompletionHandler (object object, IntPtr method); // methods public virtual System.IAsyncResult BeginInvoke (SAAuthorizationStatus status, Foundation.NSError error, System.AsyncCallback callback, object object); public virtual void EndInvoke (System.IAsyncResult result); public virtual void Invoke (SAAuthorizationStatus status, Foundation.NSError error); } ``` #### New Type: SafetyKit.SAEmergencyResponseDelegate ```csharp public class SAEmergencyResponseDelegate : Foundation.NSObject, ObjCRuntime.INativeObject, ISAEmergencyResponseDelegate, System.IDisposable { // constructors public SAEmergencyResponseDelegate (); protected SAEmergencyResponseDelegate (Foundation.NSObjectFlag t); protected SAEmergencyResponseDelegate (IntPtr handle); // methods public virtual void DidUpdateVoiceCallStatus (SAEmergencyResponseManager emergencyResponseManager, SAEmergencyResponseManagerVoiceCallStatus voiceCallStatus); } ``` #### New Type: SafetyKit.SAEmergencyResponseDelegate_Extensions ```csharp public static class SAEmergencyResponseDelegate_Extensions { // methods public static void DidUpdateVoiceCallStatus (this ISAEmergencyResponseDelegate This, SAEmergencyResponseManager emergencyResponseManager, SAEmergencyResponseManagerVoiceCallStatus voiceCallStatus); } ``` #### New Type: SafetyKit.SAEmergencyResponseManager ```csharp public class SAEmergencyResponseManager : Foundation.NSObject { // constructors public SAEmergencyResponseManager (); protected SAEmergencyResponseManager (Foundation.NSObjectFlag t); protected SAEmergencyResponseManager (IntPtr handle); // properties public override IntPtr ClassHandle { get; } public ISAEmergencyResponseDelegate Delegate { get; set; } public virtual Foundation.NSObject WeakDelegate { get; set; } // methods public virtual void DialVoiceCall (string phoneNumber, SAEmergencyResponseManagerDialVoiceCallCompletionHandler handler); public virtual System.Threading.Tasks.Task<System.Tuple<System.Boolean,Foundation.NSError>> DialVoiceCallAsync (string phoneNumber); protected override void Dispose (bool disposing); } ``` #### New Type: SafetyKit.SAEmergencyResponseManagerDialVoiceCallCompletionHandler ```csharp public sealed delegate SAEmergencyResponseManagerDialVoiceCallCompletionHandler : System.MulticastDelegate { // constructors public SAEmergencyResponseManagerDialVoiceCallCompletionHandler (object object, IntPtr method); // methods public virtual System.IAsyncResult BeginInvoke (bool requestAccepted, Foundation.NSError error, System.AsyncCallback callback, object object); public virtual void EndInvoke (System.IAsyncResult result); public virtual void Invoke (bool requestAccepted, Foundation.NSError error); } ``` #### New Type: SafetyKit.SAEmergencyResponseManagerVoiceCallStatus ```csharp [Serializable] public enum SAEmergencyResponseManagerVoiceCallStatus { Active = 1, Dialing = 0, Disconnected = 2, Failed = 3, } ``` #### New Type: SafetyKit.SAErrorCode ```csharp [Serializable] public enum SAErrorCode { InvalidArgument = 3, NotAllowed = 2, NotAuthorized = 1, OperationFailed = 4, } ``` #### New Type: SafetyKit.SAErrorCodeExtensions ```csharp public static class SAErrorCodeExtensions { // methods public static Foundation.NSString GetDomain (this SAErrorCode self); } ``` ### New Namespace SensitiveContentAnalysis #### New Type: SensitiveContentAnalysis.SCSensitivityAnalysis ```csharp public class SCSensitivityAnalysis : Foundation.NSObject { // constructors protected SCSensitivityAnalysis (Foundation.NSObjectFlag t); protected SCSensitivityAnalysis (IntPtr handle); // properties public override IntPtr ClassHandle { get; } public virtual bool Sensitive { get; } } ``` #### New Type: SensitiveContentAnalysis.SCSensitivityAnalysisPolicy ```csharp [Serializable] public enum SCSensitivityAnalysisPolicy { DescriptiveInterventions = 2, Disabled = 0, SimpleInterventions = 1, } ``` #### New Type: SensitiveContentAnalysis.SCSensitivityAnalyzer ```csharp public class SCSensitivityAnalyzer : Foundation.NSObject { // constructors public SCSensitivityAnalyzer (); protected SCSensitivityAnalyzer (Foundation.NSObjectFlag t); protected SCSensitivityAnalyzer (IntPtr handle); // properties public virtual SCSensitivityAnalysisPolicy AnalysisPolicy { get; } public override IntPtr ClassHandle { get; } // methods public virtual void AnalyzeImage (CoreGraphics.CGImage image, System.Action<SCSensitivityAnalysis,Foundation.NSError> completionHandler); public virtual void AnalyzeImage (Foundation.NSUrl fileUrl, System.Action<SCSensitivityAnalysis,Foundation.NSError> completionHandler); public virtual System.Threading.Tasks.Task<SCSensitivityAnalysis> AnalyzeImageAsync (CoreGraphics.CGImage image); public virtual System.Threading.Tasks.Task<SCSensitivityAnalysis> AnalyzeImageAsync (Foundation.NSUrl fileUrl); public virtual Foundation.NSProgress AnalyzeVideo (Foundation.NSUrl fileUrl, System.Action<SCSensitivityAnalysis,Foundation.NSError> completionHandler); public virtual System.Threading.Tasks.Task<SCSensitivityAnalysis> AnalyzeVideoAsync (Foundation.NSUrl fileUrl); public virtual System.Threading.Tasks.Task<SCSensitivityAnalysis> AnalyzeVideoAsync (Foundation.NSUrl fileUrl, out Foundation.NSProgress result); } ``` ### New Namespace Symbols #### New Type: Symbols.NSSymbolAppearEffect ```csharp public class NSSymbolAppearEffect : Symbols.NSSymbolEffect { // constructors public NSSymbolAppearEffect (Foundation.NSCoder coder); protected NSSymbolAppearEffect (Foundation.NSObjectFlag t); protected NSSymbolAppearEffect (IntPtr handle); // properties public virtual NSSymbolAppearEffect ByLayer { get; } public override IntPtr ClassHandle { get; } public virtual NSSymbolAppearEffect WholeSymbol { get; } // methods public static NSSymbolAppearEffect Create (); public static NSSymbolAppearEffect CreateAppearDownEffect (); public static NSSymbolAppearEffect CreateAppearUpEffect (); } ``` #### New Type: Symbols.NSSymbolAutomaticContentTransition ```csharp public class NSSymbolAutomaticContentTransition : Symbols.NSSymbolContentTransition { // constructors public NSSymbolAutomaticContentTransition (Foundation.NSCoder coder); protected NSSymbolAutomaticContentTransition (Foundation.NSObjectFlag t); protected NSSymbolAutomaticContentTransition (IntPtr handle); // properties public override IntPtr ClassHandle { get; } // methods public static NSSymbolAutomaticContentTransition Create (); } ``` #### New Type: Symbols.NSSymbolBounceEffect ```csharp public class NSSymbolBounceEffect : Symbols.NSSymbolEffect { // constructors public NSSymbolBounceEffect (Foundation.NSCoder coder); protected NSSymbolBounceEffect (Foundation.NSObjectFlag t); protected NSSymbolBounceEffect (IntPtr handle); // properties public virtual NSSymbolBounceEffect ByLayer { get; } public override IntPtr ClassHandle { get; } public virtual NSSymbolBounceEffect WholeSymbol { get; } // methods public static NSSymbolBounceEffect Create (); public static NSSymbolBounceEffect CreateBounceDownEffect (); public static NSSymbolBounceEffect CreateBounceUpEffect (); } ``` #### New Type: Symbols.NSSymbolContentTransition ```csharp public class NSSymbolContentTransition : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable { // constructors public NSSymbolContentTransition (Foundation.NSCoder coder); protected NSSymbolContentTransition (Foundation.NSObjectFlag t); protected NSSymbolContentTransition (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: Symbols.NSSymbolDisappearEffect ```csharp public class NSSymbolDisappearEffect : Symbols.NSSymbolEffect { // constructors public NSSymbolDisappearEffect (Foundation.NSCoder coder); protected NSSymbolDisappearEffect (Foundation.NSObjectFlag t); protected NSSymbolDisappearEffect (IntPtr handle); // properties public virtual NSSymbolDisappearEffect ByLayer { get; } public override IntPtr ClassHandle { get; } public virtual NSSymbolDisappearEffect WholeSymbol { get; } // methods public static NSSymbolDisappearEffect Create (); public static NSSymbolDisappearEffect CreateDisappearDownEffect (); public static NSSymbolDisappearEffect CreateDisappearUpEffect (); } ``` #### New Type: Symbols.NSSymbolEffect ```csharp public class NSSymbolEffect : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable { // constructors public NSSymbolEffect (Foundation.NSCoder coder); protected NSSymbolEffect (Foundation.NSObjectFlag t); protected NSSymbolEffect (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: Symbols.NSSymbolEffectOptions ```csharp public class NSSymbolEffectOptions : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable { // constructors public NSSymbolEffectOptions (Foundation.NSCoder coder); protected NSSymbolEffectOptions (Foundation.NSObjectFlag t); protected NSSymbolEffectOptions (IntPtr handle); // properties public override IntPtr ClassHandle { get; } // methods public virtual Foundation.NSObject Copy (Foundation.NSZone zone); public static NSSymbolEffectOptions Create (); public static NSSymbolEffectOptions Create (double speed); public static NSSymbolEffectOptions Create (nint repeatCount); public static NSSymbolEffectOptions CreateNonRepeating (); public static NSSymbolEffectOptions CreateRepeating (); public virtual void EncodeTo (Foundation.NSCoder encoder); public virtual NSSymbolEffectOptions Get (double speed); public virtual NSSymbolEffectOptions Get (nint repeatCount); public virtual NSSymbolEffectOptions GetNonRepeating (); public virtual NSSymbolEffectOptions GetRepeating (); } ``` #### New Type: Symbols.NSSymbolPulseEffect ```csharp public class NSSymbolPulseEffect : Symbols.NSSymbolEffect { // constructors public NSSymbolPulseEffect (Foundation.NSCoder coder); protected NSSymbolPulseEffect (Foundation.NSObjectFlag t); protected NSSymbolPulseEffect (IntPtr handle); // properties public virtual NSSymbolPulseEffect ByLayer { get; } public override IntPtr ClassHandle { get; } public virtual NSSymbolPulseEffect WholeSymbol { get; } // methods public static NSSymbolPulseEffect Create (); } ``` #### New Type: Symbols.NSSymbolReplaceContentTransition ```csharp public class NSSymbolReplaceContentTransition : Symbols.NSSymbolContentTransition { // constructors public NSSymbolReplaceContentTransition (Foundation.NSCoder coder); protected NSSymbolReplaceContentTransition (Foundation.NSObjectFlag t); protected NSSymbolReplaceContentTransition (IntPtr handle); // properties public virtual NSSymbolReplaceContentTransition ByLayer { get; } public override IntPtr ClassHandle { get; } public virtual NSSymbolReplaceContentTransition WholeSymbol { get; } // methods public static NSSymbolReplaceContentTransition Create (); public static NSSymbolReplaceContentTransition CreateReplaceDownUpTransition (); public static NSSymbolReplaceContentTransition CreateReplaceOffUpTransition (); public static NSSymbolReplaceContentTransition CreateReplaceUpUpTransition (); } ``` #### New Type: Symbols.NSSymbolScaleEffect ```csharp public class NSSymbolScaleEffect : Symbols.NSSymbolEffect { // constructors public NSSymbolScaleEffect (Foundation.NSCoder coder); protected NSSymbolScaleEffect (Foundation.NSObjectFlag t); protected NSSymbolScaleEffect (IntPtr handle); // properties public virtual NSSymbolScaleEffect ByLayer { get; } public override IntPtr ClassHandle { get; } public virtual NSSymbolScaleEffect WholeSymbol { get; } // methods public static NSSymbolScaleEffect Create (); public static NSSymbolScaleEffect CreateScaleDownEffect (); public static NSSymbolScaleEffect CreateScaleUpEffect (); } ``` #### New Type: Symbols.NSSymbolVariableColorEffect ```csharp public class NSSymbolVariableColorEffect : Symbols.NSSymbolEffect { // constructors public NSSymbolVariableColorEffect (Foundation.NSCoder coder); protected NSSymbolVariableColorEffect (Foundation.NSObjectFlag t); protected NSSymbolVariableColorEffect (IntPtr handle); // properties public override IntPtr ClassHandle { get; } public virtual NSSymbolVariableColorEffect Cumulative { get; } public virtual NSSymbolVariableColorEffect DimInactiveLayers { get; } public virtual NSSymbolVariableColorEffect HideInactiveLayers { get; } public virtual NSSymbolVariableColorEffect Iterative { get; } public virtual NSSymbolVariableColorEffect NonReversing { get; } public virtual NSSymbolVariableColorEffect Reversing { get; } // methods public static NSSymbolVariableColorEffect Create (); } ```