# API diff: Microsoft.macOS.dll ## Microsoft.macOS.dll <h4>Assembly Version Changed: 13.0.0.0 -> 13.3.0.0</h4> ### Namespace AVFoundation #### Type Changed: AVFoundation.AVAssetImageGenerator Added method: ```csharp public virtual void GenerateCGImageAsynchronously (CoreMedia.CMTime requestedTime, AVAssetImageGenerateAsynchronouslyForTimeCompletionHandler handler); ``` #### Type Changed: AVFoundation.AVAssetWriter Obsoleted properties: ```diff [Obsolete ("Use the 'Inputs' property instead.")] public virtual AVAssetWriterInput[] inputs { get; } ``` Added property: ```csharp public virtual AVAssetWriterInput[] Inputs { get; } ``` #### 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.AVCaptureDeviceFormat Added properties: ```csharp public virtual System.Runtime.InteropServices.NFloat[] SecondaryNativeResolutionZoomFactors { get; } public virtual CoreMedia.CMVideoDimensions[] SupportedMaxPhotoDimensions { get; } public virtual System.Runtime.InteropServices.NFloat[] SupportedVideoZoomFactorsForDepthDataDelivery { get; } ``` #### Type Changed: AVFoundation.AVCapturePhotoOutput Added properties: ```csharp public virtual bool IsHighResolutionCaptureEnabled { get; set; } public virtual CoreMedia.CMVideoDimensions MaxPhotoDimensions { get; set; } public virtual bool PreservesLivePhotoCaptureSuspendedOnSessionStop { get; set; } ``` #### Type Changed: AVFoundation.AVCapturePhotoSettings Added property: ```csharp public virtual CoreMedia.CMVideoDimensions MaxPhotoDimensions { get; set; } ``` #### 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.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); } ``` ### Namespace AppKit #### Type Changed: AppKit.NSButton Added method: ```csharp protected override void Dispose (bool disposing); ``` #### Type Changed: AppKit.NSDocument Added property: ```csharp public virtual INSPreviewRepresentableActivityItem[] PreviewRepresentableActivityItems { get; set; } ``` #### Type Changed: AppKit.NSKey Added values: ```csharp F17 = 64, RightCommand = 54, ``` #### Type Changed: AppKit.NSRulerView Added property: ```csharp public Foundation.NSString WeakMeasurementUnits { get; set; } ``` #### Type Changed: AppKit.NSTextList Added constructors: ```csharp public NSTextList (NSTextListMarkerFormats format); public NSTextList (string format); public NSTextList (string format, NSTextListOptions mask); ``` Added property: ```csharp public string CustomMarkerFormat { get; } ``` #### Type Changed: AppKit.NSTextListMarkerFormats Added value: ```csharp CustomString = -1, ``` #### Type Changed: AppKit.NSTextListOptions Added value: ```csharp None = 0, ``` #### Type Changed: AppKit.NSWindow Added constructor: ```csharp public NSWindow (IntPtr windowRef); ``` Obsoleted fields: ```diff [Obsolete ("Set 'TrackReleasedWhenClosed' and call 'ReleaseWhenClosed()' instead.")] public static bool DisableReleasedWhenClosedInConstructor; ``` Obsoleted properties: ```diff [Obsolete ("Call 'ReleaseWhenClosed ()' instead.")] public virtual bool ReleasedWhenClosed { get; set; } ``` Added properties: ```csharp public bool DangerousReleasedWhenClosed { get; set; } public virtual bool HasActiveWindowSharingSession { get; } public static bool TrackReleasedWhenClosed { get; set; } ``` Added methods: ```csharp public void ReleaseWhenClosed (bool value); public virtual void TransferWindowSharing (NSWindow window, System.Action<Foundation.NSError> completionHandler); public virtual System.Threading.Tasks.Task TransferWindowSharingAsync (NSWindow window); ``` #### Type Changed: AppKit.NSWindowController Added property: ```csharp public virtual INSPreviewRepresentableActivityItem[] PreviewRepresentableActivityItems { get; set; } ``` #### Type Changed: AppKit.NSWindowDelegate Added method: ```csharp public virtual INSPreviewRepresentableActivityItem[] GetPreviewRepresentableActivityItems (NSWindow window); ``` #### Type Changed: AppKit.NSWindowDelegate_Extensions Added method: ```csharp public static INSPreviewRepresentableActivityItem[] GetPreviewRepresentableActivityItems (this INSWindowDelegate This, NSWindow window); ``` ### Namespace AuthenticationServices #### New Type: AuthenticationServices.ASAuthorizationWebBrowserPlatformPublicKeyCredential ```csharp public class ASAuthorizationWebBrowserPlatformPublicKeyCredential : Foundation.NSObject { // constructors protected ASAuthorizationWebBrowserPlatformPublicKeyCredential (Foundation.NSObjectFlag t); protected ASAuthorizationWebBrowserPlatformPublicKeyCredential (ObjCRuntime.NativeHandle handle); // properties public override ObjCRuntime.NativeHandle ClassHandle { get; } public virtual Foundation.NSData CredentialId { get; } public virtual string Name { get; } public virtual string RelyingParty { get; } public virtual Foundation.NSData UserHandle { get; } } ``` #### New Type: AuthenticationServices.ASAuthorizationWebBrowserPublicKeyCredentialManager ```csharp public class ASAuthorizationWebBrowserPublicKeyCredentialManager : Foundation.NSObject { // constructors public ASAuthorizationWebBrowserPublicKeyCredentialManager (); protected ASAuthorizationWebBrowserPublicKeyCredentialManager (Foundation.NSObjectFlag t); protected ASAuthorizationWebBrowserPublicKeyCredentialManager (ObjCRuntime.NativeHandle handle); // properties public virtual ASAuthorizationWebBrowserPublicKeyCredentialManagerAuthorizationState AuthorizationStateForPlatformCredentials { get; } public override ObjCRuntime.NativeHandle ClassHandle { get; } // methods public virtual void GetPlatformCredentials (string relyingParty, System.Action<ASAuthorizationWebBrowserPlatformPublicKeyCredential[]> completionHandler); public virtual System.Threading.Tasks.Task<ASAuthorizationWebBrowserPlatformPublicKeyCredential[]> GetPlatformCredentialsAsync (string relyingParty); public virtual void RequestAuthorization (System.Action<ASAuthorizationWebBrowserPublicKeyCredentialManagerAuthorizationState> completionHandler); public virtual System.Threading.Tasks.Task<ASAuthorizationWebBrowserPublicKeyCredentialManagerAuthorizationState> RequestAuthorizationAsync (); } ``` #### New Type: AuthenticationServices.ASAuthorizationWebBrowserPublicKeyCredentialManagerAuthorizationState ```csharp [Serializable] public enum ASAuthorizationWebBrowserPublicKeyCredentialManagerAuthorizationState { Authorized = 0, Denied = 1, NotDetermined = 2, } ``` #### New Type: AuthenticationServices.IASAuthorizationWebBrowserExternallyAuthenticatableRequest ```csharp public interface IASAuthorizationWebBrowserExternallyAuthenticatableRequest : ObjCRuntime.INativeObject, System.IDisposable { // properties public virtual LocalAuthentication.LAContext AuthenticatedContext { get; set; } } ``` ### Namespace BackgroundAssets #### Type Changed: BackgroundAssets.BAAppExtensionInfo Obsoleted properties: ```diff [Obsolete ("This property has been removed. It will always return string.Empty.")] public virtual string ApplicationIdentifier { get; } [Obsolete ("This property has been removed. It will always return string.Empty.")] public virtual Foundation.NSDate LastApplicationLaunchTime { get; } [Obsolete ("This property has been removed. It will always return string.Empty.")] public virtual Foundation.NSDate LastPeriodicCheckTime { get; } ``` Added property: ```csharp public virtual Foundation.NSNumber RestrictedEssentialDownloadSizeRemaining { get; } ``` #### Type Changed: BackgroundAssets.BADownload Obsoleted properties: ```diff [Obsolete ("This property has been removed. It will always return string.Empty.")] public virtual Foundation.NSError Error { get; } ``` Added property: ```csharp public virtual bool IsEssential { get; } ``` Added method: ```csharp public virtual BADownload CopyAsNonEssential (); ``` #### Type Changed: BackgroundAssets.BADownloadManager Obsoleted methods: ```diff [Obsolete ("This property has been removed. It will always return string.Empty.")] public virtual void PerformWithExclusiveControl (Foundation.NSDate date, System.Action<System.Boolean,Foundation.NSError> performHandler); ``` Added method: ```csharp public virtual BADownload[] FetchCurrentDownloads (out Foundation.NSError error); ``` #### Type Changed: BackgroundAssets.BAUrlDownload Added constructors: ```csharp public BAUrlDownload (string identifier, Foundation.NSUrlRequest request, UIntPtr fileSize, string applicationGroupIdentifier); public BAUrlDownload (string identifier, Foundation.NSUrlRequest request, bool essential, UIntPtr fileSize, string applicationGroupIdentifier, IntPtr priority); ``` ### Namespace CoreAnimation #### Type Changed: CoreAnimation.CAEdrMetadata Added constructor: ```csharp public CAEdrMetadata (Foundation.NSCoder coder); ``` Added interfaces: ```csharp Foundation.INSCoding Foundation.INSCopying Foundation.INSSecureCoding ObjCRuntime.INativeObject System.IDisposable ``` Added property: ```csharp public static bool Available { get; } ``` Added methods: ```csharp public virtual Foundation.NSObject Copy (Foundation.NSZone zone); public virtual void EncodeTo (Foundation.NSCoder encoder); ``` #### Type Changed: CoreAnimation.CAMetalLayer Added properties: ```csharp public virtual Foundation.NSDictionary DeveloperHudProperties { get; set; } public virtual bool WantsExtendedDynamicRangeContent { get; set; } ``` ### Namespace CoreData #### Type Changed: CoreData.NSPersistentStoreCoordinator Obsoleted properties: ```diff [Obsolete ("Use 'UbiquitousContainerIdentifierKey' instead.")] public static Foundation.NSString eUbiquitousContainerIdentifierKey { 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); ``` #### Type Changed: CoreFoundation.CFSocket Added properties: ```csharp public System.Net.IPEndPoint Address { get; } public System.Net.IPEndPoint RemoteAddress { get; } ``` Added method: ```csharp public void Invalidate (); ``` ### Namespace CoreGraphics #### Type Changed: CoreGraphics.CGColorSpaceNames Obsoleted properties: ```diff [Obsolete ("Now accessible as AdobeRgb1998.")] public static Foundation.NSString AdobeRGB1998 { get; } [Obsolete ("Now accessible as GenericCmyk.")] public static Foundation.NSString GenericCMYK { get; } [Obsolete ("Now accessible as GenericRgb.")] public static Foundation.NSString GenericRGB { get; } [Obsolete ("Now accessible as GenericRgb.")] public static Foundation.NSString GenericRGBLinear { get; } [Obsolete ("Now accessible as Srgb.")] public static Foundation.NSString SRGB { get; } ``` #### Type Changed: CoreGraphics.CGEvent Obsoleted methods: ```diff [Obsolete ("The location parameter is not used. Consider using the overload without the location parameter.")] public static CoreFoundation.CFMachPort CreateTap (IntPtr processSerialNumber, CGEventTapLocation location, CGEventTapPlacement place, CGEventTapOptions options, CGEventMask mask, CGEvent.CGEventTapCallback cback, IntPtr data); ``` Added method: ```csharp public static CoreFoundation.CFMachPort CreateTap (IntPtr processSerialNumber, CGEventTapPlacement place, CGEventTapOptions options, CGEventMask mask, CGEvent.CGEventTapCallback cback, IntPtr data); ``` #### Type Changed: CoreGraphics.CGImagePropertiesGps Added properties: ```csharp public string LatitudeRef { get; set; } public string LongitudeRef { get; set; } ``` ### Namespace CoreSpotlight #### Type Changed: CoreSpotlight.CSSearchQueryContext Obsoleted properties: ```diff [Obsolete ("This property was removed. The getter always returns null and the setter throws and InvalidOperationException.")] public virtual string[] ProtectionClasses { get; set; } ``` ### Namespace CoreWlan #### Type Changed: CoreWlan.CWChannelBand Added value: ```csharp SixGHz = 3, ``` ### Namespace FileProvider #### Type Changed: FileProvider.NSFileProviderDomain Added property: ```csharp public virtual Foundation.NSUuid VolumeUuid { get; } ``` ### Namespace Foundation #### Type Changed: Foundation.NSAttributedString Added constructors: ```csharp public NSAttributedString (NSData data, out NSError error); public NSAttributedString (NSUrl url, out NSError error); public NSAttributedString (NSData data, NSAttributedStringDocumentAttributes documentAttributes, out NSError error); public NSAttributedString (NSUrl url, NSAttributedStringDocumentAttributes documentAttributes, out NSError error); ``` #### Type Changed: Foundation.NSAttributedStringDocumentAttributes Added properties: ```csharp public AppKit.NSColor BackgroundColor { get; set; } public float? DefaultTabInterval { get; set; } public float? HyphenationFactor { get; set; } public CoreGraphics.CGSize? PaperSize { get; set; } public bool? ReadOnly { get; set; } public NSDocumentViewMode? ViewMode { get; set; } public CoreGraphics.CGSize? ViewSize { get; set; } public float? ViewZoom { get; set; } ``` #### Type Changed: Foundation.NSBundle Obsoleted properties: ```diff [Obsolete ("Use the 'AllBundles' property instead.")] public static NSBundle[] _AllBundles { get; } ``` Added property: ```csharp public static NSBundle[] AllBundles { get; } ``` #### Type Changed: Foundation.NSFileManager Added methods: ```csharp public static bool GetSkipBackupAttribute (string filename); public static bool GetSkipBackupAttribute (string filename, out NSError error); public static NSError SetSkipBackupAttribute (string filename, bool skipBackup); ``` #### Type Changed: Foundation.NSKeyValueObservingOptions Added value: ```csharp None = 0, ``` #### Type Changed: Foundation.NSOperatingSystemVersion Added constructors: ```csharp public NSOperatingSystemVersion (IntPtr major); public NSOperatingSystemVersion (IntPtr major, IntPtr minor); ``` Added interfaces: ```csharp System.IComparable System.IEquatable<NSOperatingSystemVersion> ``` Added methods: ```csharp public int CompareTo (NSOperatingSystemVersion otherVersion); public virtual int CompareTo (object obj); public virtual bool Equals (NSOperatingSystemVersion other); public override bool Equals (object obj); public override int GetHashCode (); public static bool op_Equality (NSOperatingSystemVersion os1, NSOperatingSystemVersion os2); public static bool op_Inequality (NSOperatingSystemVersion os1, NSOperatingSystemVersion os2); ``` #### Type Changed: Foundation.NSTask Added properties: ```csharp public virtual NSUrl CurrentDirectoryUrl { get; set; } public virtual NSUrl ExecutableUrl { get; set; } public virtual NSQualityOfService QualityOfService { get; set; } public virtual System.Action<NSTask> TerminationHandler { get; set; } ``` Added methods: ```csharp public virtual bool Launch (out NSError error); public static NSTask LaunchFromUrl (NSUrl url, string[] arguments, out NSError error, System.Action<NSTask> terminationHandler); ``` #### Type Changed: Foundation.NSUrl Added properties: ```csharp public static NSString FileIdentifierKey { get; } public static NSString VolumeMountFromLocationKey { get; } public static NSString VolumeSubtypeKey { get; } public static NSString VolumeTypeNameKey { get; } ``` Added methods: ```csharp public static NSUrl CreateFileUrl (string path); public static NSUrl CreateFileUrl (string path, bool isDir); ``` #### Type Changed: Foundation.NSUrlSessionHandler Obsoleted properties: ```diff [Obsolete ("This property will be ignored in .NET 8.")] public bool BypassBackgroundSessionCheck { get; set; } ``` #### Type Changed: Foundation.NSValue Added property: ```csharp public virtual CoreMedia.CMVideoDimensions CMVideoDimensionsValue { get; } ``` Added method: ```csharp public static NSValue FromCMVideoDimensions (CoreMedia.CMVideoDimensions value); ``` #### New Type: Foundation.NSDocumentViewMode ```csharp [Serializable] public enum NSDocumentViewMode { Normal = 0, PageLayout = 1, } ``` ### Namespace GameKit #### Type Changed: GameKit.GKMatchmaker Added methods: ```csharp public virtual void StartGroupActivity (System.Action<GKPlayer> handler); public virtual void StopGroupActivity (); ``` ### Namespace HealthKit #### Type Changed: HealthKit.HKClinicalTypeIdentifier Added value: ```csharp ClinicalNoteRecord = 8, ``` #### Type Changed: HealthKit.HKContactsPrescription Added interfaces: ```csharp Foundation.INSCoding Foundation.INSCopying Foundation.INSSecureCoding ObjCRuntime.INativeObject System.IDisposable ``` Added methods: ```csharp public virtual Foundation.NSObject Copy (Foundation.NSZone zone); public virtual void EncodeTo (Foundation.NSCoder encoder); ``` #### Type Changed: HealthKit.HKFhirResourceType Added values: ```csharp DiagnosticReport = 10, DocumentReference = 11, ``` #### Type Changed: HealthKit.HKGlassesPrescription Added interfaces: ```csharp Foundation.INSCoding Foundation.INSCopying Foundation.INSSecureCoding ObjCRuntime.INativeObject System.IDisposable ``` Added methods: ```csharp public virtual Foundation.NSObject Copy (Foundation.NSZone zone); public virtual void EncodeTo (Foundation.NSCoder encoder); ``` #### Type Changed: HealthKit.HKMetadataKey Added property: ```csharp public static Foundation.NSString HeadphoneGain { get; } ``` #### Type Changed: HealthKit.HKVisionPrescription Added interfaces: ```csharp Foundation.INSCoding Foundation.INSCopying Foundation.INSSecureCoding ObjCRuntime.INativeObject System.IDisposable ``` Added methods: ```csharp public virtual Foundation.NSObject Copy (Foundation.NSZone zone); public virtual void EncodeTo (Foundation.NSCoder encoder); ``` #### Type Changed: HealthKit.HKWorkoutActivity Added constructor: ```csharp public HKWorkoutActivity (Foundation.NSCoder coder); ``` Added interfaces: ```csharp Foundation.INSCoding Foundation.INSCopying Foundation.INSSecureCoding ObjCRuntime.INativeObject System.IDisposable ``` Added methods: ```csharp public virtual Foundation.NSObject Copy (Foundation.NSZone zone); public virtual void EncodeTo (Foundation.NSCoder encoder); ``` ### Namespace ImageCaptureCore #### Type Changed: ImageCaptureCore.ICCameraDevice Added methods: ```csharp public void RequestDownloadFile (ICCameraFile file, Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject> options, ICCameraDevice.DidDownloadDataDelegate callback); public void RequestReadDataFromFile (ICCameraFile file, long offset, long length, ICCameraDevice.DidReadDataDelegate callback); public void RequestSendPtpCommand (Foundation.NSData command, Foundation.NSData data, ICCameraDevice.DidSendPtpDelegate callback); ``` #### Type Changed: ImageCaptureCore.ICCameraDeviceDelegate Added method: ```csharp public virtual void DidReceiveThumbnailForItem (ICCameraDevice camera, IntPtr thumbnail, ICCameraItem forItem, Foundation.NSError error); ``` #### Type Changed: ImageCaptureCore.ICCameraDeviceDelegate_Extensions Added method: ```csharp public static void DidReceiveThumbnailForItem (this IICCameraDeviceDelegate This, ICCameraDevice camera, IntPtr thumbnail, ICCameraItem forItem, Foundation.NSError error); ``` ### Namespace ImageIO #### Type Changed: ImageIO.CGImageProperties Added property: ```csharp public static Foundation.NSString OpenExrCompression { get; } ``` ### Namespace ImageKit #### Type Changed: ImageKit.IKImageEditPanel Obsoleted properties: ```diff [Obsolete ("Use the 'FilterArray' property instead.")] public virtual Foundation.NSArray filterArray { get; } ``` Added property: ```csharp public virtual Foundation.NSArray FilterArray { get; } ``` #### Type Changed: ImageKit.IKSlideshow Obsoleted properties: ```diff [Obsolete ("Use the 'AutoPlayDelay' property instead.")] public virtual double autoPlayDelay { get; set; } ``` Added property: ```csharp public virtual double AutoPlayDelay { get; set; } ``` ### Namespace Intents #### Type Changed: Intents.INIntentIdentifier Added values: ```csharp AnswerCall = 26, HangUpCall = 27, ``` #### New Type: Intents.IINAnswerCallIntentHandling ```csharp public interface IINAnswerCallIntentHandling : ObjCRuntime.INativeObject, System.IDisposable { // methods public virtual void HandleAnswerCall (INAnswerCallIntent intent, System.Action<INAnswerCallIntentResponse> completion); } ``` #### New Type: Intents.IINHangUpCallIntentHandling ```csharp public interface IINHangUpCallIntentHandling : ObjCRuntime.INativeObject, System.IDisposable { // methods public virtual void HandleHangUpCall (INHangUpCallIntent intent, System.Action<INHangUpCallIntentResponse> completion); } ``` #### New Type: Intents.INAnswerCallIntent ```csharp public class INAnswerCallIntent : Intents.INIntent { // constructors public INAnswerCallIntent (); public INAnswerCallIntent (Foundation.NSCoder coder); protected INAnswerCallIntent (Foundation.NSObjectFlag t); protected INAnswerCallIntent (ObjCRuntime.NativeHandle handle); public INAnswerCallIntent (INCallAudioRoute audioRoute, string callIdentifier); // properties public virtual INCallAudioRoute AudioRoute { get; } public virtual string CallIdentifier { get; } public override ObjCRuntime.NativeHandle ClassHandle { get; } } ``` #### New Type: Intents.INAnswerCallIntentHandling_Extensions ```csharp public static class INAnswerCallIntentHandling_Extensions { // methods public static void ConfirmAnswerCall (this IINAnswerCallIntentHandling This, INAnswerCallIntent intent, System.Action<INAnswerCallIntentResponse> completion); } ``` #### New Type: Intents.INAnswerCallIntentResponse ```csharp public class INAnswerCallIntentResponse : Intents.INIntentResponse { // constructors public INAnswerCallIntentResponse (Foundation.NSCoder coder); protected INAnswerCallIntentResponse (Foundation.NSObjectFlag t); protected INAnswerCallIntentResponse (ObjCRuntime.NativeHandle handle); public INAnswerCallIntentResponse (INAnswerCallIntentResponseCode code, Foundation.NSUserActivity userActivity); // properties public virtual INCallRecord[] CallRecords { get; set; } public override ObjCRuntime.NativeHandle ClassHandle { get; } public virtual INAnswerCallIntentResponseCode Code { get; } } ``` #### New Type: Intents.INAnswerCallIntentResponseCode ```csharp [Serializable] public enum INAnswerCallIntentResponseCode { ContinueInApp = 2, Failure = 5, FailureRequiringAppLaunch = 6, InProgress = 3, Ready = 1, Success = 4, Unspecified = 0, } ``` #### New Type: Intents.INHangUpCallIntent ```csharp public class INHangUpCallIntent : Intents.INIntent { // constructors public INHangUpCallIntent (); public INHangUpCallIntent (Foundation.NSCoder coder); protected INHangUpCallIntent (Foundation.NSObjectFlag t); protected INHangUpCallIntent (ObjCRuntime.NativeHandle handle); public INHangUpCallIntent (string callIdentifier); // properties public virtual string CallIdentifier { get; } public override ObjCRuntime.NativeHandle ClassHandle { get; } } ``` #### New Type: Intents.INHangUpCallIntentHandling_Extensions ```csharp public static class INHangUpCallIntentHandling_Extensions { // methods public static void ConfirmHangUpCall (this IINHangUpCallIntentHandling This, INHangUpCallIntent intent, System.Action<INHangUpCallIntentResponse> completion); } ``` #### New Type: Intents.INHangUpCallIntentResponse ```csharp public class INHangUpCallIntentResponse : Intents.INIntentResponse { // constructors public INHangUpCallIntentResponse (Foundation.NSCoder coder); protected INHangUpCallIntentResponse (Foundation.NSObjectFlag t); protected INHangUpCallIntentResponse (ObjCRuntime.NativeHandle handle); public INHangUpCallIntentResponse (INHangUpCallIntentResponseCode code, Foundation.NSUserActivity userActivity); // properties public override ObjCRuntime.NativeHandle ClassHandle { get; } public virtual INHangUpCallIntentResponseCode Code { get; } } ``` #### New Type: Intents.INHangUpCallIntentResponseCode ```csharp [Serializable] public enum INHangUpCallIntentResponseCode { Failure = 4, FailureNoCallToHangUp = 6, FailureRequiringAppLaunch = 5, InProgress = 2, Ready = 1, Success = 3, Unspecified = 0, } ``` ### Namespace JavaScriptCore #### Type Changed: JavaScriptCore.JSContext Added property: ```csharp public virtual bool Inspectable { get; set; } ``` ### Namespace MapKit #### Type Changed: MapKit.MKOverlayRenderer Added method: ```csharp public static System.Runtime.InteropServices.NFloat MKRoadWidthAtZoomScale (System.Runtime.InteropServices.NFloat zoomScale); ``` ### Namespace MediaAccessibility #### New Type: MediaAccessibility.MAVideoAccommodations ```csharp public static class MAVideoAccommodations { // properties public static Foundation.NSString DimFlashingLightsChangedNotification { get; } // methods public static bool IsDimFlashingLightsEnabled (); // inner types public static class Notifications { // methods public static Foundation.NSObject ObserveDimFlashingLightsChanged (System.EventHandler<Foundation.NSNotificationEventArgs> handler); public static Foundation.NSObject ObserveDimFlashingLightsChanged (Foundation.NSObject objectToObserve, System.EventHandler<Foundation.NSNotificationEventArgs> handler); } } ``` ### Namespace Metal #### Type Changed: Metal.IMTLRenderCommandEncoder_Extensions Added methods: ```csharp public static void SetTileBuffers (this IMTLRenderCommandEncoder This, IMTLBuffer[] buffers, UIntPtr[] offsets, Foundation.NSRange range); public static void SetTileSamplerStates (this IMTLRenderCommandEncoder This, IMTLSamplerState[] samplers, float[] lodMinClamps, float[] lodMaxClamps, Foundation.NSRange range); ``` ### Namespace MetalKit #### Type Changed: MetalKit.MTKTextureLoaderOptions Modified properties: ```diff -public bool? GenerateMipmaps { get; set; } +public bool? GenerateMipmaps { get; } ``` ### Namespace Network #### Type Changed: Network.NWDataTransferReport Obsoleted methods: ```diff [Obsolete ("Use the 'GetPathRadioType' property instead.")] public NWInterfaceRadioType get_path_radio_type (uint pathIndex); ``` Added method: ```csharp public NWInterfaceRadioType GetPathRadioType (uint pathIndex); ``` #### Type Changed: Network.NWQuicStreamType Added value: ```csharp Datagram = 3, ``` ### Namespace NetworkExtension #### Type Changed: NetworkExtension.NEVpnProtocol Added properties: ```csharp public virtual bool ExcludeApns { get; set; } public virtual bool ExcludeCellularServices { get; set; } ``` ### Namespace ObjCRuntime #### Type Changed: ObjCRuntime.BlockLiteral Added constructors: ```csharp public BlockLiteral (void* trampoline, object context, System.Reflection.MethodInfo trampolineMethod); public BlockLiteral (void* trampoline, object context, string trampolineSignature); public BlockLiteral (void* trampoline, object context, System.Type trampolineType, string trampolineMethod); ``` Added interface: ```csharp System.IDisposable ``` Added property: ```csharp public object Context { get; } ``` Added method: ```csharp public virtual void Dispose (); ``` #### Type Changed: ObjCRuntime.Constants Modified fields: ```diff -public const string SdkVersion = "13.0"; +public const string SdkVersion = "13.3"; -public const string Version = "9.0.0"; +public const string Version = "9.4.0"; ``` Added field: ```csharp public static const string ServiceManagementLibrary = "/System/Library/Frameworks/ServiceManagement.framework/ServiceManagement"; ``` #### Type Changed: ObjCRuntime.Runtime Added method: ```csharp public static Foundation.NSObject GetNSObject (NativeHandle ptr); ``` ### Namespace PassKit #### Type Changed: PassKit.PKPaymentNetwork Added property: ```csharp public static Foundation.NSString PKPaymentNetworkPostFinance { get; } ``` #### Type Changed: PassKit.PKPaymentRequest Added property: ```csharp public virtual PKDeferredPaymentRequest DeferredPaymentRequest { get; set; } ``` #### Type Changed: PassKit.PKPaymentRequestUpdate Added property: ```csharp public virtual PKDeferredPaymentRequest DeferredPaymentRequest { get; set; } ``` #### New Type: PassKit.PKDeferredPaymentRequest ```csharp public class PKDeferredPaymentRequest : Foundation.NSObject { // constructors protected PKDeferredPaymentRequest (Foundation.NSObjectFlag t); protected PKDeferredPaymentRequest (ObjCRuntime.NativeHandle handle); public PKDeferredPaymentRequest (string paymentDescription, PKDeferredPaymentSummaryItem deferredBilling, Foundation.NSUrl managementUrl); // properties public virtual string BillingAgreement { get; set; } public override ObjCRuntime.NativeHandle ClassHandle { get; } public virtual PKDeferredPaymentSummaryItem DeferredBilling { get; set; } public virtual Foundation.NSDate FreeCancellationDate { get; set; } public virtual Foundation.NSTimeZone FreeCancellationDateTimeZone { get; set; } public virtual Foundation.NSUrl ManagementUrl { get; set; } public virtual string PaymentDescription { get; set; } public virtual Foundation.NSUrl TokenNotificationUrl { get; set; } } ``` ### Namespace PdfKit #### Type Changed: PdfKit.PdfDocumentWriteOptions Added properties: ```csharp public bool? BurnInAnnotations { get; set; } public bool? OptimizeImagesForScreen { get; set; } public bool? SaveImagesAsJpeg { get; set; } public bool? SaveTextFromOcr { get; set; } ``` ### Namespace PencilKit #### Type Changed: PencilKit.PKEraserTool Added constructor: ```csharp public PKEraserTool (PKEraserType eraserType, System.Runtime.InteropServices.NFloat width); ``` Added property: ```csharp public virtual System.Runtime.InteropServices.NFloat Width { get; } ``` Added methods: ```csharp public static System.Runtime.InteropServices.NFloat GetDefaultWidth (PKEraserType eraserType); public static System.Runtime.InteropServices.NFloat GetMaximumWidth (PKEraserType eraserType); public static System.Runtime.InteropServices.NFloat GetMinimumWidth (PKEraserType eraserType); ``` #### Type Changed: PencilKit.PKEraserType Added value: ```csharp FixedWidthBitmap = 2, ``` ### Namespace Photos #### Type Changed: Photos.PHFetchResult Obsoleted properties: ```diff [Obsolete ("Use the 'FirstObject' property instead.")] public virtual Foundation.NSObject firstObject { get; } ``` Added property: ```csharp public virtual Foundation.NSObject FirstObject { get; } ``` ### Namespace QuickLookUI #### Type Changed: QuickLookUI.QLPreviewPanelDelegate Added method: ```csharp public virtual AppKit.INSPreviewRepresentableActivityItem[] GetPreviewRepresentableActivityItems (AppKit.NSWindow window); ``` ### Namespace ScreenCaptureKit #### Type Changed: ScreenCaptureKit.SCStreamFrameInfoKeys Added property: ```csharp public static Foundation.NSString ScreenRect { get; } ``` #### Type Changed: ScreenCaptureKit.SCWindow Added property: ```csharp public virtual bool Active { get; } ``` ### Namespace Security #### Type Changed: Security.SslContext Obsoleted methods: ```diff [Obsolete ("'SetSessionStrengthPolicy' is not available anymore.")] public SslStatus SetSessionStrengthPolicy (SslSessionStrengthPolicy policyStrength); ``` ### Namespace SharedWithYou #### Type Changed: SharedWithYou.SWCollaborationView Added property: ```csharp public virtual AppKit.NSMenuItem MenuFormRepresentation { get; } ``` ### Namespace StoreKit #### Type Changed: StoreKit.StoreProductParameters Modified properties: ```diff -public string ProductIdentifier { get; set; } +public string ProductIdentifier { get; } -public string ProviderToken { get; set; } +public string ProviderToken { get; } ``` ### Namespace ThreadNetwork #### Type Changed: ThreadNetwork.THClient Added methods: ```csharp public virtual void IsPreferredNetworkAvailable (System.Action<bool> completion); public virtual System.Threading.Tasks.Task<bool> IsPreferredNetworkAvailableAsync (); public virtual void RetrieveAllActiveCredentials (System.Action<Foundation.NSSet<THCredentials>> completion); public virtual System.Threading.Tasks.Task<Foundation.NSSet<THCredentials>> RetrieveAllActiveCredentialsAsync (); ``` ### Namespace VideoSubscriberAccount #### Type Changed: VideoSubscriberAccount.VSUserAccount Added property: ```csharp public virtual bool SignedOut { get; set; } ``` ### Namespace WebKit #### Type Changed: WebKit.DomDocument Obsoleted properties: ```diff [Obsolete ("Use the 'Anchors' property instead.")] public virtual DomHtmlCollection anchors { get; } [Obsolete ("Use the 'Applets' property instead.")] public virtual DomHtmlCollection applets { get; } [Obsolete ("Use the 'Body' property instead.")] public virtual DomHtmlElement body { get; set; } [Obsolete ("Use the 'Forms' property instead.")] public virtual DomHtmlCollection forms { get; } [Obsolete ("Use the 'Images' property instead.")] public virtual DomHtmlCollection images { get; } [Obsolete ("Use the 'Links' property instead.")] public virtual DomHtmlCollection links { get; } ``` Added properties: ```csharp public virtual DomHtmlCollection Anchors { get; } public virtual DomHtmlCollection Applets { get; } public virtual DomHtmlElement Body { get; set; } public virtual DomHtmlCollection Forms { get; } public virtual DomHtmlCollection Images { get; } public virtual DomHtmlCollection Links { get; } ``` #### Type Changed: WebKit.DomHtmlInputElement Obsoleted properties: ```diff [Obsolete ("Use the 'DefaultChecked' property instead.")] public virtual bool defaultChecked { get; set; } ``` Added property: ```csharp public virtual bool DefaultChecked { get; set; } ``` #### Type Changed: WebKit.WKPreferences Added property: ```csharp public virtual bool ShouldPrintBackgrounds { get; set; } ``` #### Type Changed: WebKit.WKWebView Added property: ```csharp public virtual bool Inspectable { get; set; } ``` ### New Namespace ServiceManagement #### New Type: ServiceManagement.SMAppService ```csharp public class SMAppService : Foundation.NSObject { // constructors protected SMAppService (Foundation.NSObjectFlag t); protected SMAppService (ObjCRuntime.NativeHandle handle); // properties public override ObjCRuntime.NativeHandle ClassHandle { get; } public static SMAppService MainApp { get; } public virtual SMAppServiceStatus Status { get; } // methods public static SMAppService CreateAgentService (string plistName); public static SMAppService CreateDaemonService (string plistName); public static SMAppService CreateLoginItemService (string identifier); public static SMAppServiceStatus GetStatus (Foundation.NSUrl legacyUrl); public static void OpenSystemSettingsLoginItems (); public bool Register (); public virtual bool Register (out Foundation.NSError error); public bool Unregister (); public virtual void Unregister (System.Action<Foundation.NSError> handler); public virtual bool Unregister (out Foundation.NSError error); public virtual System.Threading.Tasks.Task UnregisterAsync (); } ``` #### New Type: ServiceManagement.SMAppServiceStatus ```csharp [Serializable] public enum SMAppServiceStatus { Enabled = 1, NotFound = 3, NotRegistered = 0, RequiresApproval = 2, } ```