title | description | author | ms.author | ms.date | ms.topic | ms.assetid | ms.prod |
---|---|---|---|---|---|---|---|
Xamarin.MacCatalyst.Dotnet SDK API diff: 15.1.0 vs 15.3.0 |
List of API changes between Xamarin.MacCatalyst.Dotnet versions 15.1.0 and 15.3.0. |
spouliot |
sepoulio |
10/26/2021 |
article |
b53df523-0478-c24a-f35d-bb21a6ebb9cb |
xamarin |
Added property:
public static Foundation.NSString PresetAppleProRes4444Lpcm { get; }
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);
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);
public static class AVAssetExportPresetApple {
// properties
public static Foundation.NSString ProRes422Lpcm { get; }
}
[Serializable]
[Flags]
public enum AVCapturePrimaryConstituentDeviceRestrictedSwitchingBehaviorConditions {
ExposureModeChanged = 4,
FocusModeChanged = 2,
None = 0,
VideoZoomChanged = 1,
}
[Serializable]
public enum AVCapturePrimaryConstituentDeviceSwitchingBehavior {
Auto = 1,
Locked = 3,
Restricted = 2,
Unsupported = 0,
}
Modified base type:
-System.Object
+CoreFoundation.NativeObject
Removed property:
public virtual IntPtr Handle { get; }
Removed methods:
public virtual void Dispose ();
protected override void ~ABAddressBook ();
Modified methods:
-protected virtual void Dispose (bool disposing)
+protected override void Dispose (bool disposing)
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 ~ABMultiValue ();
Modified base type:
-System.Object
+CoreFoundation.NativeObject
Removed property:
public virtual IntPtr Handle { get; }
Removed methods:
public virtual void Dispose ();
protected override void ~ABRecord ();
Modified methods:
-protected virtual void Dispose (bool disposing)
+protected override void Dispose (bool disposing)
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 ();
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);
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 ();
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 ();
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)
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 ();
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 ();
Added interface:
ICFType
Added interface:
ICFType
Added interface:
ICFType
Modified base type:
-System.Object
+CoreFoundation.NativeObject
Added interfaces:
ICFType
ObjCRuntime.INativeObject
System.IDisposable
Added interface:
ICFType
Added constructor:
protected NativeObject (IntPtr handle, bool owns, bool verify);
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 ();
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 ~CGColorConverter ();
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 ~CGColorSpace ();
Added methods:
protected override void Release ();
protected override void Retain ();
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 ~CGContext ();
Added methods:
protected override void Release ();
protected override void Retain ();
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 ~CGDataConsumer ();
Added methods:
protected override void Release ();
protected override void Retain ();
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 ();
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 ();
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 ~CGShading ();
Added methods:
protected override void Release ();
protected override void Retain ();
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 ();
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)
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 ();
Modified base type:
-System.Object
+CoreFoundation.NativeObject
Removed property:
public virtual IntPtr Handle { get; }
Removed methods:
public virtual void Dispose ();
protected override void ~CMSampleBuffer ();
Modified methods:
-protected virtual void Dispose (bool disposing)
+protected override void Dispose (bool disposing)
Added values:
DepthHevc = 1684369512,
DisparityHevc = 1684632424,
Added interface:
CoreFoundation.ICFType
Removed property:
public virtual IntPtr Handle { get; }
Removed methods:
protected void CheckHandle ();
public virtual void Dispose ();
protected virtual void Dispose (bool disposing);
protected override void ~CFHTTPAuthentication ();
Added interface:
CoreFoundation.ICFType
Removed property:
public virtual IntPtr Handle { get; }
Removed methods:
protected void CheckHandle ();
public virtual void Dispose ();
protected virtual void Dispose (bool disposing);
protected override void ~CFHTTPMessage ();
Added interface:
CoreFoundation.ICFType
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; }
}
Removed methods:
public virtual void ApplySettings (NEFilterSettings settings, System.Action<Foundation.NSError> completionHandler);
public virtual System.Threading.Tasks.Task ApplySettingsAsync (NEFilterSettings settings);
public virtual void ResumeFlow (NEFilterFlow flow, NEFilterVerdict verdict);
public virtual void UpdateFlow (NEFilterSocketFlow flow, NEFilterDataVerdict verdict, NETrafficDirection direction);
Removed property:
public virtual NEFilterReportFrequency StatisticsReportFrequency { get; set; }
Removed property:
public virtual NEFilterManagerGrade Grade { get; set; }
Removed property:
public virtual NEFilterReportFrequency StatisticsReportFrequency { get; set; }
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 ();
Modified fields:
-public const string Version = "15.1.0";
+public const string Version = "15.3.0";
Added methods:
public static System.UIntPtr GetUIntPtr (IntPtr handle, string symbol);
public static void SetUIntPtr (IntPtr handle, string symbol, System.UIntPtr value);
Added properties:
public static Foundation.NSString Nanaco { get; }
public static Foundation.NSString Waon { get; }
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 ~SecPolicy ();
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 ~SecTrust ();
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)
Added methods:
public static nuint op_Explicit (UIntPtr v);
public static UIntPtr op_Explicit (nuint v);
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 ();
Removed methods:
public void Dispose ();
protected override void ~VTDecompressionSession ();
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 ();
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)
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 ();
Modified properties:
-public virtual bool TextInteractionEnabled { get; set; }
+public bool TextInteractionEnabled { get; set; }
Added methods:
public virtual void RequestDeviceOrientationAndMotionPermission (WKWebView webView, WKSecurityOrigin origin, WKFrameInfo frame, System.Action<WKPermissionDecision> decisionHandler);
public virtual void RequestMediaCapturePermission (WKWebView webView, WKSecurityOrigin origin, WKFrameInfo frame, WKMediaCaptureType type, System.Action<WKPermissionDecision> decisionHandler);
Added methods:
public static void RequestDeviceOrientationAndMotionPermission (this IWKUIDelegate This, WKWebView webView, WKSecurityOrigin origin, WKFrameInfo frame, System.Action<WKPermissionDecision> decisionHandler);
public static System.Threading.Tasks.Task<WKPermissionDecision> RequestDeviceOrientationAndMotionPermissionAsync (this IWKUIDelegate This, WKWebView webView, WKSecurityOrigin origin, WKFrameInfo frame);
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);
Added properties:
public virtual WKMediaCaptureState CameraCaptureState { get; }
public virtual Foundation.NSObject InteractionState { get; set; }
public virtual WKMediaCaptureState MicrophoneCaptureState { get; }
public virtual UIKit.UIColor ThemeColor { get; }
public virtual UIKit.UIColor 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);
Added property:
public virtual bool UpgradeKnownHostsToHttps { get; set; }
[Serializable]
public enum WKMediaCaptureState {
Active = 1,
Muted = 2,
None = 0,
}
[Serializable]
public enum WKMediaCaptureType {
Camera = 0,
CameraAndMicrophone = 2,
Microphone = 1,
}
[Serializable]
public enum WKPermissionDecision {
Deny = 2,
Grant = 1,
Prompt = 0,
}
public interface IINUIAddVoiceShortcutButtonDelegate : ObjCRuntime.INativeObject, System.IDisposable {
// methods
public virtual void PresentAddVoiceShortcut (INUIAddVoiceShortcutViewController addVoiceShortcutViewController, INUIAddVoiceShortcutButton addVoiceShortcutButton);
public virtual void PresentEditVoiceShortcut (INUIEditVoiceShortcutViewController editVoiceShortcutViewController, INUIAddVoiceShortcutButton addVoiceShortcutButton);
}
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);
}
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);
}
public interface IINUIHostedViewControlling : ObjCRuntime.INativeObject, System.IDisposable {
}
public interface IINUIHostedViewSiriProviding : ObjCRuntime.INativeObject, System.IDisposable {
}
public class INUIAddVoiceShortcutButton : UIKit.UIButton, AppKit.INSTouchBarProvider, CoreAnimation.ICALayerDelegate, Foundation.INSCoding, Foundation.INSObjectProtocol, ObjCRuntime.INativeObject, System.Collections.IEnumerable, System.IDisposable, System.IEquatable<Foundation.NSObject>, UIKit.IUIAccessibilityContentSizeCategoryImageAdjusting, UIKit.IUIAccessibilityIdentification, UIKit.IUIAppearance, UIKit.IUIAppearanceContainer, UIKit.IUIContextMenuInteractionDelegate, UIKit.IUICoordinateSpace, UIKit.IUIDynamicItem, UIKit.IUIFocusEnvironment, UIKit.IUIFocusItem, UIKit.IUIFocusItemContainer, UIKit.IUILargeContentViewerItem, UIKit.IUIPasteConfigurationSupporting, UIKit.IUISpringLoadedInteractionSupporting, UIKit.IUITraitEnvironment, UIKit.IUIUserActivityRestoring {
// constructors
public INUIAddVoiceShortcutButton (Foundation.NSCoder coder);
protected INUIAddVoiceShortcutButton (Foundation.NSObjectFlag t);
public INUIAddVoiceShortcutButton (INUIAddVoiceShortcutButtonStyle style);
protected INUIAddVoiceShortcutButton (IntPtr handle);
// properties
public static INUIAddVoiceShortcutButton.INUIAddVoiceShortcutButtonAppearance Appearance { get; }
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
public static INUIAddVoiceShortcutButton.INUIAddVoiceShortcutButtonAppearance AppearanceWhenContainedIn (System.Type[] containers);
protected override void Dispose (bool disposing);
public static INUIAddVoiceShortcutButton.INUIAddVoiceShortcutButtonAppearance GetAppearance<T> ();
public static INUIAddVoiceShortcutButton.INUIAddVoiceShortcutButtonAppearance GetAppearance<T> (UIKit.UITraitCollection traits);
public static INUIAddVoiceShortcutButton.INUIAddVoiceShortcutButtonAppearance GetAppearance (UIKit.UITraitCollection traits);
public static INUIAddVoiceShortcutButton.INUIAddVoiceShortcutButtonAppearance GetAppearance<T> (UIKit.UITraitCollection traits, System.Type[] containers);
public static INUIAddVoiceShortcutButton.INUIAddVoiceShortcutButtonAppearance GetAppearance (UIKit.UITraitCollection traits, System.Type[] containers);
public virtual void SetStyle (INUIAddVoiceShortcutButtonStyle style);
// inner types
public class INUIAddVoiceShortcutButtonAppearance : UIKit.UIButton+UIButtonAppearance, Foundation.INSObjectProtocol, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject>, UIKit.IUIAppearance {
// constructors
protected INUIAddVoiceShortcutButton.INUIAddVoiceShortcutButtonAppearance (IntPtr handle);
}
}
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);
}
[Serializable]
public enum INUIAddVoiceShortcutButtonStyle {
Automatic = 4,
AutomaticOutLine = 5,
Black = 2,
BlackOutline = 3,
White = 0,
WhiteOutline = 1,
}
public class INUIAddVoiceShortcutViewController : UIKit.UIViewController, AppKit.INSTouchBarProvider, Foundation.INSCoding, Foundation.INSExtensionRequestHandling, Foundation.INSObjectProtocol, ObjCRuntime.INativeObject, System.Collections.IEnumerable, System.IDisposable, System.IEquatable<Foundation.NSObject>, UIKit.IUIAppearanceContainer, UIKit.IUIContentContainer, UIKit.IUIFocusEnvironment, UIKit.IUIPasteConfigurationSupporting, UIKit.IUITraitEnvironment, UIKit.IUIUserActivityRestoring {
// 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);
}
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);
}
public class INUIEditVoiceShortcutViewController : UIKit.UIViewController, AppKit.INSTouchBarProvider, Foundation.INSCoding, Foundation.INSExtensionRequestHandling, Foundation.INSObjectProtocol, ObjCRuntime.INativeObject, System.Collections.IEnumerable, System.IDisposable, System.IEquatable<Foundation.NSObject>, UIKit.IUIAppearanceContainer, UIKit.IUIContentContainer, UIKit.IUIFocusEnvironment, UIKit.IUIPasteConfigurationSupporting, UIKit.IUITraitEnvironment, UIKit.IUIUserActivityRestoring {
// 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);
}
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);
}
[Serializable]
public enum INUIHostedViewContext {
MapsCard = 1,
SiriSnippet = 0,
}
public sealed delegate INUIHostedViewControllingConfigureViewHandler : System.MulticastDelegate, System.ICloneable, System.Runtime.Serialization.ISerializable {
// constructors
public INUIHostedViewControllingConfigureViewHandler (object object, IntPtr method);
// methods
public virtual System.IAsyncResult BeginInvoke (bool success, Foundation.NSSet<Intents.INParameter> configuredParameters, CoreGraphics.CGSize desiredSize, System.AsyncCallback callback, object object);
public virtual void EndInvoke (System.IAsyncResult result);
public virtual void Invoke (bool success, Foundation.NSSet<Intents.INParameter> configuredParameters, CoreGraphics.CGSize desiredSize);
}
public static class INUIHostedViewControlling_Extensions {
// methods
public static void Configure (this IINUIHostedViewControlling This, Intents.INInteraction interaction, INUIHostedViewContext context, System.Action<CoreGraphics.CGSize> completion);
public static void ConfigureView (this IINUIHostedViewControlling This, Foundation.NSSet<Intents.INParameter> parameters, Intents.INInteraction interaction, INUIInteractiveBehavior interactiveBehavior, INUIHostedViewContext context, INUIHostedViewControllingConfigureViewHandler completionHandler);
}
public static class INUIHostedViewSiriProviding_Extensions {
// methods
public static bool GetDisplaysMap (this IINUIHostedViewSiriProviding This);
public static bool GetDisplaysMessage (this IINUIHostedViewSiriProviding This);
public static bool GetDisplaysPaymentTransaction (this IINUIHostedViewSiriProviding This);
}
[Serializable]
public enum INUIInteractiveBehavior {
GenericAction = 3,
Launch = 2,
NextView = 1,
None = 0,
}
public static class NSExtensionContext_INUIHostedViewControlling {
// methods
public static CoreGraphics.CGSize GetHostedViewMaximumAllowedSize (this Foundation.NSExtensionContext This);
public static CoreGraphics.CGSize GetHostedViewMinimumAllowedSize (this Foundation.NSExtensionContext This);
public static string GetInterfaceParametersDescription (this Foundation.NSExtensionContext This);
}