Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save vs-mobiletools-engineering-service2/d4d67da6f826b59563c857616dde39ac to your computer and use it in GitHub Desktop.
Save vs-mobiletools-engineering-service2/d4d67da6f826b59563c857616dde39ac to your computer and use it in GitHub Desktop.
dotnet-macOS API diff from stable
title description author ms.author ms.date ms.topic ms.assetid ms.prod
Xamarin.Mac.Dotnet SDK API diff: 8.1.0 vs 8.2.0
List of API changes between Xamarin.Mac.Dotnet versions 8.1.0 and 8.2.0.
spouliot
sepoulio
10/25/2021
article
8413b631-a0fb-361a-0c90-858c5ba76274
xamarin

Xamarin.Mac.Dotnet SDK API diff: 8.1.0 vs 8.2.0

Namespace AVFoundation

Type Changed: AVFoundation.AVCaptureDevice

Added properties:

public virtual AVCaptureDevice ActivePrimaryConstituentDevice { get; }
public virtual AVCapturePrimaryConstituentDeviceRestrictedSwitchingBehaviorConditions ActivePrimaryConstituentDeviceRestrictedSwitchingBehaviorConditions { get; }
public virtual AVCapturePrimaryConstituentDeviceSwitchingBehavior ActivePrimaryConstituentDeviceSwitchingBehavior { get; }
public virtual AVCaptureDevice[] FallbackPrimaryConstituentDevices { get; set; }
public virtual AVCapturePrimaryConstituentDeviceRestrictedSwitchingBehaviorConditions PrimaryConstituentDeviceRestrictedSwitchingBehaviorConditions { get; }
public virtual AVCapturePrimaryConstituentDeviceSwitchingBehavior PrimaryConstituentDeviceSwitchingBehavior { get; }
public virtual AVCaptureDevice[] SupportedFallbackPrimaryConstituentDevices { get; }

Added methods:

protected override void Dispose (bool disposing);
public virtual void SetPrimaryConstituentDeviceSwitchingBehavior (AVCapturePrimaryConstituentDeviceSwitchingBehavior switchingBehavior, AVCapturePrimaryConstituentDeviceRestrictedSwitchingBehaviorConditions restrictedSwitchingBehaviorConditions);

Type Changed: AVFoundation.AVCaptureMovieFileOutput

Added properties:

public virtual AVCapturePrimaryConstituentDeviceRestrictedSwitchingBehaviorConditions PrimaryConstituentDeviceRestrictedSwitchingBehaviorConditionsForRecording { get; }
public virtual AVCapturePrimaryConstituentDeviceSwitchingBehavior PrimaryConstituentDeviceSwitchingBehaviorForRecording { get; }
public virtual bool PrimaryConstituentDeviceSwitchingBehaviorForRecordingEnabled { get; set; }

Added method:

public virtual void SetPrimaryConstituentDeviceSwitchingBehaviorForRecording (AVCapturePrimaryConstituentDeviceSwitchingBehavior switchingBehavior, AVCapturePrimaryConstituentDeviceRestrictedSwitchingBehaviorConditions restrictedSwitchingBehaviorConditions);

New Type: AVFoundation.AVCapturePrimaryConstituentDeviceRestrictedSwitchingBehaviorConditions

[Serializable]
[Flags]
public enum AVCapturePrimaryConstituentDeviceRestrictedSwitchingBehaviorConditions {
	ExposureModeChanged = 4,
	FocusModeChanged = 2,
	None = 0,
	VideoZoomChanged = 1,
}

New Type: AVFoundation.AVCapturePrimaryConstituentDeviceSwitchingBehavior

[Serializable]
public enum AVCapturePrimaryConstituentDeviceSwitchingBehavior {
	Auto = 1,
	Locked = 3,
	Restricted = 2,
	Unsupported = 0,
}

Namespace AppKit

Type Changed: AppKit.NSScreen

Added properties:

public virtual CoreGraphics.CGRect AuxiliaryTopLeftArea { get; }
public virtual CoreGraphics.CGRect AuxiliaryTopRightArea { get; }
public virtual NSEdgeInsets SafeAreaInsets { get; }

Namespace CoreFoundation

Type Changed: CoreFoundation.CFAllocator

Modified base type:

-System.Object
+CoreFoundation.NativeObject

Obsoleted constructors:

 [Obsolete ("Use the overload that takes a 'bool owns' parameter instead.")]
 public CFAllocator (IntPtr handle);

Removed property:

public virtual IntPtr Handle { get; }

Removed methods:

public virtual void Dispose ();
protected virtual void Dispose (bool disposing);
protected override void ~CFAllocator ();

Type Changed: CoreFoundation.CFArray

Added methods:

public static T[] ArrayFromHandle<T> (IntPtr handle, bool releaseHandle);
public static T[] ArrayFromHandleFunc<T> (IntPtr handle, System.Func<System.IntPtr,T> createObject);
public static T[] ArrayFromHandleFunc<T> (IntPtr handle, System.Func<System.IntPtr,T> createObject, bool releaseHandle);
public static IntPtr Create (string[] values);
public static CFArray FromStrings (string[] items);
public static string[] StringArrayFromHandle (IntPtr handle, bool releaseHandle);

Type Changed: CoreFoundation.CFBundle

Modified base type:

-System.Object
+CoreFoundation.NativeObject

Removed property:

public virtual IntPtr Handle { get; }

Removed methods:

public virtual void Dispose ();
protected virtual void Dispose (bool disposing);
protected override void ~CFBundle ();

Type Changed: CoreFoundation.CFMachPort

Modified base type:

-System.Object
+CoreFoundation.NativeObject

Modified constructors:

-public CFMachPort (IntPtr handle, bool ownsHandle)
+public CFMachPort (IntPtr handle, bool owns)

Removed property:

public virtual IntPtr Handle { get; }

Removed methods:

public virtual void Dispose ();
public virtual void Dispose (bool disposing);
protected override void ~CFMachPort ();

Type Changed: CoreFoundation.CFMessagePort

Modified base type:

-System.Object
+CoreFoundation.NativeObject

Removed property:

public virtual IntPtr Handle { get; }

Removed methods:

protected void Check ();
public virtual void Dispose ();
protected override void ~CFMessagePort ();

Modified methods:

-protected virtual void Dispose (bool disposing)
+protected override void Dispose (bool disposing)

Type Changed: CoreFoundation.CFNotificationCenter

Modified base type:

-System.Object
+CoreFoundation.NativeObject

Removed property:

public virtual IntPtr Handle { get; }

Removed methods:

public virtual void Dispose ();
protected virtual void Dispose (bool disposing);
protected override void ~CFNotificationCenter ();

Type Changed: CoreFoundation.CFPropertyList

Modified base type:

-System.Object
+CoreFoundation.NativeObject

Removed property:

public virtual IntPtr Handle { get; }

Removed methods:

public virtual void Dispose ();
public virtual void Dispose (bool disposing);
protected override void ~CFPropertyList ();

Type Changed: CoreFoundation.CFReadStream

Added interface:

ICFType

Type Changed: CoreFoundation.CFSocket

Added interface:

ICFType

Type Changed: CoreFoundation.CFStream

Added interface:

ICFType

Type Changed: CoreFoundation.CFType

Modified base type:

-System.Object
+CoreFoundation.NativeObject

Added interfaces:

ICFType
ObjCRuntime.INativeObject
System.IDisposable

Type Changed: CoreFoundation.CFWriteStream

Added interface:

ICFType

Namespace CoreGraphics

Type Changed: CoreGraphics.CGColor

Modified base type:

-System.Object
+CoreFoundation.NativeObject

Removed property:

public virtual IntPtr Handle { get; }

Removed methods:

public virtual void Dispose ();
protected virtual void Dispose (bool disposing);
protected override void ~CGColor ();

Added methods:

protected override void Release ();
protected override void Retain ();

Type Changed: CoreGraphics.CGDataProvider

Modified base type:

-System.Object
+CoreFoundation.NativeObject

Removed property:

public virtual IntPtr Handle { get; }

Removed methods:

public virtual void Dispose ();
protected virtual void Dispose (bool disposing);
protected override void ~CGDataProvider ();

Added methods:

protected override void Release ();
protected override void Retain ();

Type Changed: CoreGraphics.CGFunction

Modified base type:

-System.Object
+CoreFoundation.NativeObject

Removed property:

public virtual IntPtr Handle { get; }

Removed methods:

public virtual void Dispose ();
protected virtual void Dispose (bool disposing);
protected override void ~CGFunction ();

Added methods:

protected override void Release ();
protected override void Retain ();

Namespace CoreML

Type Changed: CoreML.MLMultiArray

Added constructor:

public MLMultiArray (CoreVideo.CVPixelBuffer pixelBuffer, Foundation.NSNumber[] shape);

Added property:

public virtual CoreVideo.CVPixelBuffer PixelBuffer { get; }

Type Changed: CoreML.MLMultiArrayDataType

Added value:

Float16 = 65552,

Type Changed: CoreML.MLPredictionOptions

Added property:

public virtual Foundation.NSDictionary OutputBackings { get; set; }

Namespace CoreMedia

Type Changed: CoreMedia.CMBlockBuffer

Modified base type:

-System.Object
+CoreFoundation.NativeObject

Removed property:

public virtual IntPtr Handle { get; }

Removed methods:

public virtual void Dispose ();
protected virtual void Dispose (bool disposing);
protected override void ~CMBlockBuffer ();

Type Changed: CoreMedia.CMBufferQueue

Modified base type:

-System.Object
+CoreFoundation.NativeObject

Removed property:

public virtual IntPtr Handle { get; }

Removed methods:

public virtual void Dispose ();
protected override void ~CMBufferQueue ();

Modified methods:

-protected virtual void Dispose (bool disposing)
+protected override void Dispose (bool disposing)

Type Changed: CoreMedia.CMFormatDescription

Modified base type:

-System.Object
+CoreFoundation.NativeObject

Removed property:

public virtual IntPtr Handle { get; }

Removed methods:

public virtual void Dispose ();
protected virtual void Dispose (bool disposing);
protected override void ~CMFormatDescription ();

Type Changed: CoreMedia.CMVideoCodecType

Added values:

DepthHevc = 1684369512,
DisparityHevc = 1684632424,

Namespace CoreServices

Type Changed: CoreServices.CFHTTPAuthentication

Added interface:

CoreFoundation.ICFType

Type Changed: CoreServices.CFHTTPMessage

Added interface:

CoreFoundation.ICFType

Type Changed: CoreServices.CFHTTPStream

Added interface:

CoreFoundation.ICFType

Type Changed: CoreServices.FSEventStream

Modified base type:

-System.Object
+CoreFoundation.NativeObject

Removed property:

public virtual IntPtr Handle { get; }

Removed methods:

public virtual void Dispose ();
protected override void ~FSEventStream ();

Modified methods:

-protected virtual void Dispose (bool disposing)
+protected override void Dispose (bool disposing)

Added methods:

protected override void Release ();
protected override void Retain ();

Namespace FileProvider

Type Changed: FileProvider.NSFileProviderItemVersion

Added property:

public static Foundation.NSData BeforeFirstSyncComponent { get; }

Namespace GameController

New Type: GameController.GCProductCategory

public static class GCProductCategory {
	// properties
	public static Foundation.NSString CoalescedRemote { get; }
	public static Foundation.NSString ControlCenterRemote { get; }
	public static Foundation.NSString DualSense { get; }
	public static Foundation.NSString DualShock4 { get; }
	public static Foundation.NSString Keyboard { get; }
	public static Foundation.NSString MFi { get; }
	public static Foundation.NSString Mouse { get; }
	public static Foundation.NSString SiriRemote1stGen { get; }
	public static Foundation.NSString SiriRemote2ndGen { get; }
	public static Foundation.NSString UniversalElectronicsRemote { get; }
	public static Foundation.NSString XboxOne { get; }
}

Namespace MailKit

Type Changed: MailKit.IMEMessageEncoder

Removed methods:

public virtual void EncodeMessage (MEMessage message, bool shouldSign, bool shouldEncrypt, System.Action<MEMessageEncodingResult> completionHandler);
public virtual void GetEncodingStatus (MEMessage message, System.Action<MEOutgoingMessageEncodingStatus> completionHandler);

Added methods:

public virtual void EncodeMessage (MEMessage message, MEComposeContext composeContext, System.Action<MEMessageEncodingResult> completionHandler);
public virtual void GetEncodingStatus (MEMessage message, MEComposeContext composeContext, System.Action<MEOutgoingMessageEncodingStatus> completionHandler);

Type Changed: MailKit.IMEMessageSecurityHandler

Added methods:

public virtual MEExtensionViewController GetExtensionViewController (Foundation.NSData messageContext);
public virtual void SetPrimaryActionClicked (Foundation.NSData messageContext, System.Action<MEExtensionViewController> completionHandler);

Type Changed: MailKit.MEComposeSession

Added property:

public virtual MEComposeContext ComposeContext { get; }

Type Changed: MailKit.MEDecodedMessage

Removed constructor:

public MEDecodedMessage (Foundation.NSData rawData, MEMessageSecurityInformation securityInformation);

Added constructors:

public MEDecodedMessage (Foundation.NSData rawData, MEMessageSecurityInformation securityInformation, Foundation.NSData context);
public MEDecodedMessage (Foundation.NSData rawData, MEMessageSecurityInformation securityInformation, Foundation.NSData context, MEDecodedMessageBanner banner);

Added properties:

public virtual MEDecodedMessageBanner Banner { get; }
public virtual Foundation.NSData Context { get; }

Type Changed: MailKit.MEExtensionManager

Added method:

public static void ReloadVisibleMessages (System.Action<Foundation.NSError> completionHandler);

Type Changed: MailKit.MEMessage

Added property:

public virtual MEMessageEncryptionState EncryptionState { get; }

Type Changed: MailKit.MEMessageAction

Added methods:

public static MEMessageAction SetBackgroundColorAction (MEMessageActionMessageColor color);
public static MEMessageAction SetFlagAction (MEMessageActionFlag flag);

New Type: MailKit.MEComposeContext

public class MEComposeContext : Foundation.NSObject, Foundation.INSObjectProtocol, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject> {
	// constructors
	protected MEComposeContext (Foundation.NSObjectFlag t);
	protected MEComposeContext (IntPtr handle);
	// properties
	public virtual MEComposeUserAction Action { get; }
	public override IntPtr ClassHandle { get; }
	public virtual Foundation.NSUuid ContextId { get; }
	public virtual bool IsEncrypted { get; }
	public virtual bool IsSigned { get; }
	public virtual MEMessage OriginalMessage { get; }
	public virtual bool ShouldEncrypt { get; }
	public virtual bool ShouldSign { get; }
}

New Type: MailKit.MEComposeUserAction

[Serializable]
public enum MEComposeUserAction {
	Forward = 4,
	NewMessage = 1,
	Reply = 2,
	ReplyAll = 3,
}

New Type: MailKit.MEDecodedMessageBanner

public class MEDecodedMessageBanner : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSObjectProtocol, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject> {
	// constructors
	public MEDecodedMessageBanner (Foundation.NSCoder coder);
	protected MEDecodedMessageBanner (Foundation.NSObjectFlag t);
	protected MEDecodedMessageBanner (IntPtr handle);
	public MEDecodedMessageBanner (string title, string primaryActionTitle, bool dismissable);
	// properties
	public override IntPtr ClassHandle { get; }
	public virtual bool Dismissable { get; }
	public virtual string PrimaryActionTitle { get; }
	public virtual string Title { get; }
	// methods
	public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
	public virtual void EncodeTo (Foundation.NSCoder encoder);
}

New Type: MailKit.MEMessageActionFlag

[Serializable]
public enum MEMessageActionFlag {
	Blue = 6,
	DefaultColor = 1,
	Gray = 8,
	Green = 5,
	None = 0,
	Orange = 3,
	Purple = 7,
	Red = 2,
	Yellow = 4,
}

New Type: MailKit.MEMessageEncryptionState

[Serializable]
public enum MEMessageEncryptionState {
	Encrypted = 2,
	NotEncrypted = 1,
	Unknown = 0,
}

New Type: MailKit.MEMessageSecurityErrorCode

[Serializable]
public enum MEMessageSecurityErrorCode {
	DecodingError = 1,
	EncodingError = 0,
}

New Type: MailKit.MEMessageSecurityErrorCodeExtensions

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

Namespace ObjCRuntime

Type Changed: ObjCRuntime.BaseWrapper

Modified base type:

-System.Object
+CoreFoundation.NativeObject

Removed property:

protected override IntPtr Handle { get; set; }

Removed methods:

public virtual void Dispose ();
protected virtual void Dispose (bool disposing);
protected override void ~BaseWrapper ();

Added methods:

protected override void Release ();
protected override void Retain ();

Type Changed: ObjCRuntime.Constants

Modified fields:

-public const string Version = "8.1.0";
+public const string Version = "8.2.0";

Added field:

public static const string IntentsUILibrary = "/System/Library/Frameworks/IntentsUI.framework/IntentsUI";

Type Changed: ObjCRuntime.Dlfcn

Added methods:

public static System.UIntPtr GetUIntPtr (IntPtr handle, string symbol);
public static void SetUIntPtr (IntPtr handle, string symbol, System.UIntPtr value);

Namespace PassKit

Type Changed: PassKit.PKPaymentNetwork

Added properties:

public static Foundation.NSString Nanaco { get; }
public static Foundation.NSString Waon { get; }

Namespace Security

Type Changed: Security.SslContext

Modified base type:

-System.Object
+CoreFoundation.NativeObject

Removed property:

public virtual IntPtr Handle { get; }

Removed methods:

public virtual void Dispose ();
protected override void ~SslContext ();

Modified methods:

-protected virtual void Dispose (bool disposing)
+protected override void Dispose (bool disposing)

Namespace System

Type Changed: System.nuint

Added methods:

public static nuint op_Explicit (UIntPtr v);
public static UIntPtr op_Explicit (nuint v);

Namespace SystemConfiguration

Type Changed: SystemConfiguration.NetworkReachability

Modified base type:

-System.Object
+CoreFoundation.NativeObject

Removed property:

public virtual IntPtr Handle { get; }

Removed methods:

public virtual void Dispose ();
protected virtual void Dispose (bool disposing);
protected override void ~NetworkReachability ();

Namespace VideoToolbox

Type Changed: VideoToolbox.VTDecompressionSession

Removed methods:

public void Dispose ();
protected override void ~VTDecompressionSession ();

Type Changed: VideoToolbox.VTFrameSilo

Modified base type:

-System.Object
+CoreFoundation.NativeObject

Removed property:

public virtual IntPtr Handle { get; }

Removed methods:

public virtual void Dispose ();
protected virtual void Dispose (bool disposing);
protected override void ~VTFrameSilo ();

Type Changed: VideoToolbox.VTMultiPassStorage

Modified base type:

-System.Object
+CoreFoundation.NativeObject

Removed property:

public virtual IntPtr Handle { get; }

Removed methods:

public virtual void Dispose ();
protected override void ~VTMultiPassStorage ();

Modified methods:

-protected virtual void Dispose (bool disposing)
+protected override void Dispose (bool disposing)

Type Changed: VideoToolbox.VTSession

Modified base type:

-System.Object
+CoreFoundation.NativeObject

Removed property:

public virtual IntPtr Handle { get; }

Removed methods:

public virtual void Dispose ();
protected virtual void Dispose (bool disposing);
protected override void ~VTSession ();

Namespace WebKit

Type Changed: WebKit.WKPreferences

Modified properties:

-public virtual bool TextInteractionEnabled { get; set; }
+public bool TextInteractionEnabled { get; set; }

Type Changed: WebKit.WKUIDelegate

Added method:

public virtual void RequestMediaCapturePermission (WKWebView webView, WKSecurityOrigin origin, WKFrameInfo frame, WKMediaCaptureType type, System.Action<WKPermissionDecision> decisionHandler);

Type Changed: WebKit.WKUIDelegate_Extensions

Added methods:

public static void RequestMediaCapturePermission (this IWKUIDelegate This, WKWebView webView, WKSecurityOrigin origin, WKFrameInfo frame, WKMediaCaptureType type, System.Action<WKPermissionDecision> decisionHandler);
public static System.Threading.Tasks.Task<WKPermissionDecision> RequestMediaCapturePermissionAsync (this IWKUIDelegate This, WKWebView webView, WKSecurityOrigin origin, WKFrameInfo frame, WKMediaCaptureType type);

Type Changed: WebKit.WKWebView

Added properties:

public virtual WKMediaCaptureState CameraCaptureState { get; }
public virtual Foundation.NSObject InteractionState { get; set; }
public virtual WKMediaCaptureState MicrophoneCaptureState { get; }
public virtual AppKit.NSColor ThemeColor { get; }
public virtual AppKit.NSColor UnderPageBackgroundColor { get; set; }

Added methods:

public virtual void CloseAllMediaPresentations (System.Action completionHandler);
public virtual System.Threading.Tasks.Task CloseAllMediaPresentationsAsync ();
public virtual WKNavigation LoadFileRequest (Foundation.NSUrlRequest request, Foundation.NSUrl readAccessURL);
public virtual WKNavigation LoadSimulatedRequest (Foundation.NSUrlRequest request, string htmlString);
public virtual WKNavigation LoadSimulatedRequest (Foundation.NSUrlRequest request, Foundation.NSUrlResponse response, Foundation.NSData data);
public virtual void PauseAllMediaPlayback (System.Action completionHandler);
public virtual System.Threading.Tasks.Task PauseAllMediaPlaybackAsync ();
public virtual void RequestMediaPlaybackState (System.Action<WKMediaPlaybackState> completionHandler);
public virtual System.Threading.Tasks.Task<WKMediaPlaybackState> RequestMediaPlaybackStateAsync ();
public virtual void SetAllMediaPlaybackSuspended (bool suspended, System.Action completionHandler);
public virtual System.Threading.Tasks.Task SetAllMediaPlaybackSuspendedAsync (bool suspended);
public virtual void SetCameraCaptureState (WKMediaCaptureState state, System.Action completionHandler);
public virtual System.Threading.Tasks.Task SetCameraCaptureStateAsync (WKMediaCaptureState state);
public virtual void SetMicrophoneCaptureState (WKMediaCaptureState state, System.Action completionHandler);
public virtual System.Threading.Tasks.Task SetMicrophoneCaptureStateAsync (WKMediaCaptureState state);

Type Changed: WebKit.WKWebViewConfiguration

Added property:

public virtual bool UpgradeKnownHostsToHttps { get; set; }

New Type: WebKit.WKMediaCaptureState

[Serializable]
public enum WKMediaCaptureState {
	Active = 1,
	Muted = 2,
	None = 0,
}

New Type: WebKit.WKMediaCaptureType

[Serializable]
public enum WKMediaCaptureType {
	Camera = 0,
	CameraAndMicrophone = 2,
	Microphone = 1,
}

New Type: WebKit.WKPermissionDecision

[Serializable]
public enum WKPermissionDecision {
	Deny = 2,
	Grant = 1,
	Prompt = 0,
}

New Namespace IntentsUI

New Type: IntentsUI.IINUIAddVoiceShortcutButtonDelegate

public interface IINUIAddVoiceShortcutButtonDelegate : ObjCRuntime.INativeObject, System.IDisposable {
	// methods
	public virtual void PresentAddVoiceShortcut (INUIAddVoiceShortcutViewController addVoiceShortcutViewController, INUIAddVoiceShortcutButton addVoiceShortcutButton);
	public virtual void PresentEditVoiceShortcut (INUIEditVoiceShortcutViewController editVoiceShortcutViewController, INUIAddVoiceShortcutButton addVoiceShortcutButton);
}

New Type: IntentsUI.IINUIAddVoiceShortcutViewControllerDelegate

public interface IINUIAddVoiceShortcutViewControllerDelegate : ObjCRuntime.INativeObject, System.IDisposable {
	// methods
	public virtual void DidCancel (INUIAddVoiceShortcutViewController controller);
	public virtual void DidFinish (INUIAddVoiceShortcutViewController controller, Intents.INVoiceShortcut voiceShortcut, Foundation.NSError error);
}

New Type: IntentsUI.IINUIEditVoiceShortcutViewControllerDelegate

public interface IINUIEditVoiceShortcutViewControllerDelegate : ObjCRuntime.INativeObject, System.IDisposable {
	// methods
	public virtual void DidCancel (INUIEditVoiceShortcutViewController controller);
	public virtual void DidDelete (INUIEditVoiceShortcutViewController controller, Foundation.NSUuid deletedVoiceShortcutIdentifier);
	public virtual void DidUpdate (INUIEditVoiceShortcutViewController controller, Intents.INVoiceShortcut voiceShortcut, Foundation.NSError error);
}

New Type: IntentsUI.INUIAddVoiceShortcutButton

public class INUIAddVoiceShortcutButton : AppKit.NSButton, AppKit.INSAccessibility, AppKit.INSAccessibilityButton, AppKit.INSAccessibilityElementProtocol, AppKit.INSAppearanceCustomization, AppKit.INSDraggingDestination, AppKit.INSTouchBarProvider, AppKit.INSUserInterfaceCompression, AppKit.INSUserInterfaceItemIdentification, AppKit.INSUserInterfaceValidations, Foundation.INSCoding, Foundation.INSObjectProtocol, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject> {
	// constructors
	public INUIAddVoiceShortcutButton (Foundation.NSCoder coder);
	protected INUIAddVoiceShortcutButton (Foundation.NSObjectFlag t);
	public INUIAddVoiceShortcutButton (INUIAddVoiceShortcutButtonStyle style);
	protected INUIAddVoiceShortcutButton (IntPtr handle);
	// properties
	public override IntPtr ClassHandle { get; }
	public virtual nfloat CornerRadius { get; set; }
	public IINUIAddVoiceShortcutButtonDelegate Delegate { get; set; }
	public virtual Intents.INShortcut Shortcut { get; set; }
	public virtual INUIAddVoiceShortcutButtonStyle Style { get; }
	public virtual Foundation.NSObject WeakDelegate { get; set; }
	// methods
	protected override void Dispose (bool disposing);
	public virtual void SetStyle (INUIAddVoiceShortcutButtonStyle style);
}

New Type: IntentsUI.INUIAddVoiceShortcutButtonDelegate

public abstract class INUIAddVoiceShortcutButtonDelegate : Foundation.NSObject, Foundation.INSObjectProtocol, IINUIAddVoiceShortcutButtonDelegate, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject> {
	// constructors
	protected INUIAddVoiceShortcutButtonDelegate ();
	protected INUIAddVoiceShortcutButtonDelegate (Foundation.NSObjectFlag t);
	protected INUIAddVoiceShortcutButtonDelegate (IntPtr handle);
	// methods
	public virtual void PresentAddVoiceShortcut (INUIAddVoiceShortcutViewController addVoiceShortcutViewController, INUIAddVoiceShortcutButton addVoiceShortcutButton);
	public virtual void PresentEditVoiceShortcut (INUIEditVoiceShortcutViewController editVoiceShortcutViewController, INUIAddVoiceShortcutButton addVoiceShortcutButton);
}

New Type: IntentsUI.INUIAddVoiceShortcutButtonStyle

[Serializable]
public enum INUIAddVoiceShortcutButtonStyle {
	Automatic = 4,
	AutomaticOutLine = 5,
	Black = 2,
	BlackOutline = 3,
	White = 0,
	WhiteOutline = 1,
}

New Type: IntentsUI.INUIAddVoiceShortcutViewController

public class INUIAddVoiceShortcutViewController : AppKit.NSViewController, AppKit.INSEditor, AppKit.INSSeguePerforming, AppKit.INSTouchBarProvider, AppKit.INSUserInterfaceItemIdentification, Foundation.INSCoding, Foundation.INSExtensionRequestHandling, Foundation.INSObjectProtocol, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject> {
	// constructors
	public INUIAddVoiceShortcutViewController (Foundation.NSCoder coder);
	protected INUIAddVoiceShortcutViewController (Foundation.NSObjectFlag t);
	public INUIAddVoiceShortcutViewController (Intents.INShortcut shortcut);
	protected INUIAddVoiceShortcutViewController (IntPtr handle);
	// properties
	public override IntPtr ClassHandle { get; }
	public IINUIAddVoiceShortcutViewControllerDelegate Delegate { get; set; }
	public virtual Foundation.NSObject WeakDelegate { get; set; }
	// methods
	protected override void Dispose (bool disposing);
}

New Type: IntentsUI.INUIAddVoiceShortcutViewControllerDelegate

public abstract class INUIAddVoiceShortcutViewControllerDelegate : Foundation.NSObject, Foundation.INSObjectProtocol, IINUIAddVoiceShortcutViewControllerDelegate, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject> {
	// constructors
	protected INUIAddVoiceShortcutViewControllerDelegate ();
	protected INUIAddVoiceShortcutViewControllerDelegate (Foundation.NSObjectFlag t);
	protected INUIAddVoiceShortcutViewControllerDelegate (IntPtr handle);
	// methods
	public virtual void DidCancel (INUIAddVoiceShortcutViewController controller);
	public virtual void DidFinish (INUIAddVoiceShortcutViewController controller, Intents.INVoiceShortcut voiceShortcut, Foundation.NSError error);
}

New Type: IntentsUI.INUIEditVoiceShortcutViewController

public class INUIEditVoiceShortcutViewController : AppKit.NSViewController, AppKit.INSEditor, AppKit.INSSeguePerforming, AppKit.INSTouchBarProvider, AppKit.INSUserInterfaceItemIdentification, Foundation.INSCoding, Foundation.INSExtensionRequestHandling, Foundation.INSObjectProtocol, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject> {
	// constructors
	public INUIEditVoiceShortcutViewController (Foundation.NSCoder coder);
	protected INUIEditVoiceShortcutViewController (Foundation.NSObjectFlag t);
	public INUIEditVoiceShortcutViewController (Intents.INVoiceShortcut voiceShortcut);
	protected INUIEditVoiceShortcutViewController (IntPtr handle);
	// properties
	public override IntPtr ClassHandle { get; }
	public IINUIEditVoiceShortcutViewControllerDelegate Delegate { get; set; }
	public virtual Foundation.NSObject WeakDelegate { get; set; }
	// methods
	protected override void Dispose (bool disposing);
}

New Type: IntentsUI.INUIEditVoiceShortcutViewControllerDelegate

public abstract class INUIEditVoiceShortcutViewControllerDelegate : Foundation.NSObject, Foundation.INSObjectProtocol, IINUIEditVoiceShortcutViewControllerDelegate, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject> {
	// constructors
	protected INUIEditVoiceShortcutViewControllerDelegate ();
	protected INUIEditVoiceShortcutViewControllerDelegate (Foundation.NSObjectFlag t);
	protected INUIEditVoiceShortcutViewControllerDelegate (IntPtr handle);
	// methods
	public virtual void DidCancel (INUIEditVoiceShortcutViewController controller);
	public virtual void DidDelete (INUIEditVoiceShortcutViewController controller, Foundation.NSUuid deletedVoiceShortcutIdentifier);
	public virtual void DidUpdate (INUIEditVoiceShortcutViewController controller, Intents.INVoiceShortcut voiceShortcut, Foundation.NSError error);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment