Skip to content

Instantly share code, notes, and snippets.

@vs-mobiletools-engineering-service2
Created September 11, 2024 12:55
Show Gist options
  • Save vs-mobiletools-engineering-service2/465f034e8db70e5a3584c0a9840356bd to your computer and use it in GitHub Desktop.
Save vs-mobiletools-engineering-service2/465f034e8db70e5a3584c0a9840356bd to your computer and use it in GitHub Desktop.
previous-api-comparison/diff/dotnet/Microsoft.iOS.Ref/ref/net8.0/Microsoft.iOS.md

API diff: Microsoft.iOS.dll

Microsoft.iOS.dll

Namespace ObjCRuntime

Type Changed: ObjCRuntime.Constants

Added field:

public static const string BrowserEngineKitLibrary = "/System/Library/Frameworks/BrowserEngineKit.framework/BrowserEngineKit";

New Namespace BrowserEngineKit

New Type: BrowserEngineKit.BEAccessibilityContainerType

[Serializable]
[Flags]
public enum BEAccessibilityContainerType {
	Alert = 1024,
	Article = 128,
	DescriptionList = 2048,
	Dialog = 16,
	Fieldset = 8,
	Frame = 64,
	Landmark = 1,
	List = 4,
	None = 0,
	ScrollArea = 512,
	SemanticGroup = 256,
	Table = 2,
	Tree = 32,
}

New Type: BrowserEngineKit.BEAccessibilityNotification

[Serializable]
public enum BEAccessibilityNotification {
	Changed = 1,
	SelectionChanged = 0,
}

New Type: BrowserEngineKit.BEAccessibilityNotificationExtensions

public static class BEAccessibilityNotificationExtensions {
	// methods
	public static uint? GetConstant (this BEAccessibilityNotification self);
	public static BEAccessibilityNotification GetValue (uint constant);
}

New Type: BrowserEngineKit.BEAccessibilityPressedState

[Serializable]
public enum BEAccessibilityPressedState {
	False = 1,
	Mixed = 3,
	True = 2,
	Undefined = 0,
}

New Type: BrowserEngineKit.BEAccessibilityTrait

[Serializable]
public enum BEAccessibilityTrait {
	MenuItem = 0,
	PopUpButton = 1,
	RadioButton = 2,
	ReadOnly = 3,
	Visited = 4,
}

New Type: BrowserEngineKit.BEAccessibilityTraitExtensions

public static class BEAccessibilityTraitExtensions {
	// methods
	public static ulong? GetConstant (this BEAccessibilityTrait self);
	public static BEAccessibilityTrait GetValue (ulong constant);
}

New Type: BrowserEngineKit.BEAutoFillTextSuggestion

public class BEAutoFillTextSuggestion : BrowserEngineKit.BETextSuggestion {
	// constructors
	protected BEAutoFillTextSuggestion (Foundation.NSObjectFlag t);
	protected BEAutoFillTextSuggestion (ObjCRuntime.NativeHandle handle);
	// properties
	public override ObjCRuntime.NativeHandle ClassHandle { get; }
	public virtual Foundation.NSDictionary<Foundation.NSString,Foundation.NSString> Contents { get; }
}

New Type: BrowserEngineKit.BEContextMenuConfiguration

public class BEContextMenuConfiguration : UIKit.UIContextMenuConfiguration {
	// constructors
	public BEContextMenuConfiguration ();
	protected BEContextMenuConfiguration (Foundation.NSObjectFlag t);
	protected BEContextMenuConfiguration (ObjCRuntime.NativeHandle handle);
	// properties
	public override ObjCRuntime.NativeHandle ClassHandle { get; }
	// methods
	public virtual bool Fulfill (UIKit.UIContextMenuConfiguration configuration);
}

New Type: BrowserEngineKit.BEDirectionalTextRange

public struct BEDirectionalTextRange {
	// fields
	public IntPtr Length;
	public IntPtr Offset;
}

New Type: BrowserEngineKit.BEDragInteraction

public class BEDragInteraction : UIKit.UIDragInteraction {
	// constructors
	public BEDragInteraction ();
	public BEDragInteraction (IBEDragInteractionDelegate delegate);
	protected BEDragInteraction (Foundation.NSObjectFlag t);
	protected BEDragInteraction (ObjCRuntime.NativeHandle handle);
	// properties
	public override ObjCRuntime.NativeHandle ClassHandle { get; }
	public IBEDragInteractionDelegate Delegate { get; }
	public virtual Foundation.NSObject WeakDelegate { get; }
	// methods
	protected override void Dispose (bool disposing);
}

New Type: BrowserEngineKit.BEDragInteractionDelegate

public class BEDragInteractionDelegate : UIKit.UIDragInteractionDelegate, IBEDragInteractionDelegate, ObjCRuntime.INativeObject, System.IDisposable, UIKit.IUIDragInteractionDelegate {
	// constructors
	public BEDragInteractionDelegate ();
	protected BEDragInteractionDelegate (Foundation.NSObjectFlag t);
	protected BEDragInteractionDelegate (ObjCRuntime.NativeHandle handle);
	// methods
	public virtual void GetDragItems (BEDragInteraction dragInteraction, UIKit.IUIDragSession session, CoreGraphics.CGPoint point, BEDragInteractionDelegateGetDragItemsCallback completion);
	public virtual void PrepareDragSession (BEDragInteraction dragInteraction, UIKit.IUIDragSession session, System.Func<bool> completion);
}

New Type: BrowserEngineKit.BEDragInteractionDelegateGetDragItemsCallback

public sealed delegate BEDragInteractionDelegateGetDragItemsCallback : System.MulticastDelegate {
	// constructors
	public BEDragInteractionDelegateGetDragItemsCallback (object object, IntPtr method);
	// methods
	public virtual System.IAsyncResult BeginInvoke (UIKit.UIDragItem[] items, System.AsyncCallback callback, object object);
	public virtual bool EndInvoke (System.IAsyncResult result);
	public virtual bool Invoke (UIKit.UIDragItem[] items);
}

New Type: BrowserEngineKit.BEGestureType

[Serializable]
public enum BEGestureType {
	DoubleTap = 3,
	DoubleTapAndHold = 2,
	ForceTouch = 15,
	IMPhraseBoundaryDrag = 14,
	Loupe = 0,
	OneFingerDoubleTap = 8,
	OneFingerTap = 1,
	OneFingerTripleTap = 9,
	TwoFingerRangedSelectGesture = 11,
	TwoFingerSingleTap = 10,
}

New Type: BrowserEngineKit.BEKeyEntry

public class BEKeyEntry : Foundation.NSObject {
	// constructors
	protected BEKeyEntry (Foundation.NSObjectFlag t);
	protected BEKeyEntry (ObjCRuntime.NativeHandle handle);
	// properties
	public override ObjCRuntime.NativeHandle ClassHandle { get; }
	public virtual UIKit.UIKey Key { get; }
	public virtual bool KeyRepeating { get; }
	public virtual BEKeyPressState State { get; }
	public virtual double Timestamp { get; }
}

New Type: BrowserEngineKit.BEKeyEntryContext

public class BEKeyEntryContext : Foundation.NSObject {
	// constructors
	public BEKeyEntryContext (BEKeyEntry keyEntry);
	protected BEKeyEntryContext (Foundation.NSObjectFlag t);
	protected BEKeyEntryContext (ObjCRuntime.NativeHandle handle);
	// properties
	public override ObjCRuntime.NativeHandle ClassHandle { get; }
	public virtual bool DocumentEditable { get; set; }
	public virtual BEKeyEntry KeyEntry { get; }
	public virtual bool ShouldEvaluateForInputSystemHandling { get; set; }
	public virtual bool ShouldInsertCharacter { get; set; }
}

New Type: BrowserEngineKit.BEKeyModifierFlags

[Serializable]
[Flags]
public enum BEKeyModifierFlags {
	CapsLock = 2,
	None = 0,
	Shift = 1,
}

New Type: BrowserEngineKit.BEKeyPressState

[Serializable]
public enum BEKeyPressState {
	Down = 1,
	Up = 2,
}

New Type: BrowserEngineKit.BELayerHierarchy

public class BELayerHierarchy : Foundation.NSObject {
	// constructors
	protected BELayerHierarchy (Foundation.NSObjectFlag t);
	protected BELayerHierarchy (ObjCRuntime.NativeHandle handle);
	// properties
	public override ObjCRuntime.NativeHandle ClassHandle { get; }
	public virtual CoreAnimation.CALayer Layer { get; set; }
	public virtual BELayerHierarchyHandle LayerHierarchyHandle { get; }
	// methods
	public static BELayerHierarchy Create (out Foundation.NSError error);
	public virtual void Invalidate ();
}

New Type: BrowserEngineKit.BELayerHierarchyHandle

public class BELayerHierarchyHandle : Foundation.NSObject, Foundation.INSCoding, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable {
	// constructors
	public BELayerHierarchyHandle (Foundation.NSCoder coder);
	protected BELayerHierarchyHandle (Foundation.NSObjectFlag t);
	protected BELayerHierarchyHandle (ObjCRuntime.NativeHandle handle);
	// properties
	public override ObjCRuntime.NativeHandle ClassHandle { get; }
	// methods
	public static BELayerHierarchyHandle Create (Foundation.NSObject xpcRepresentation, out Foundation.NSError error);
	public virtual Foundation.NSObject CreateXpcRepresentation ();
	public virtual void EncodeTo (Foundation.NSCoder encoder);
}

New Type: BrowserEngineKit.BELayerHierarchyHostingTransactionCoordinator

public class BELayerHierarchyHostingTransactionCoordinator : Foundation.NSObject, Foundation.INSCoding, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable {
	// constructors
	public BELayerHierarchyHostingTransactionCoordinator (Foundation.NSCoder coder);
	protected BELayerHierarchyHostingTransactionCoordinator (Foundation.NSObjectFlag t);
	protected BELayerHierarchyHostingTransactionCoordinator (ObjCRuntime.NativeHandle handle);
	// properties
	public override ObjCRuntime.NativeHandle ClassHandle { get; }
	// methods
	public virtual void Add (BELayerHierarchy layerHierarchy);
	public virtual void Add (BELayerHierarchyHostingView hostingView);
	public virtual void Commit ();
	public static BELayerHierarchyHostingTransactionCoordinator Create (out Foundation.NSError error);
	public static BELayerHierarchyHostingTransactionCoordinator Create (Foundation.NSObject xpcRepresentation, out Foundation.NSError error);
	public virtual Foundation.NSObject CreateXpcRepresentation ();
	public virtual void EncodeTo (Foundation.NSCoder encoder);
}

New Type: BrowserEngineKit.BELayerHierarchyHostingView

public class BELayerHierarchyHostingView : UIKit.UIView {
	// constructors
	public BELayerHierarchyHostingView ();
	public BELayerHierarchyHostingView (Foundation.NSCoder coder);
	protected BELayerHierarchyHostingView (Foundation.NSObjectFlag t);
	protected BELayerHierarchyHostingView (ObjCRuntime.NativeHandle handle);
	// properties
	public static BELayerHierarchyHostingView.BELayerHierarchyHostingViewAppearance Appearance { get; }
	public override ObjCRuntime.NativeHandle ClassHandle { get; }
	public virtual BELayerHierarchyHandle LayerHierarchyHandle { get; set; }
	// methods
	public static BELayerHierarchyHostingView.BELayerHierarchyHostingViewAppearance AppearanceWhenContainedIn (System.Type[] containers);
	public static BELayerHierarchyHostingView.BELayerHierarchyHostingViewAppearance GetAppearance<T> ();
	public static BELayerHierarchyHostingView.BELayerHierarchyHostingViewAppearance GetAppearance<T> (UIKit.UITraitCollection traits);
	public static BELayerHierarchyHostingView.BELayerHierarchyHostingViewAppearance GetAppearance (UIKit.UITraitCollection traits);
	public static BELayerHierarchyHostingView.BELayerHierarchyHostingViewAppearance GetAppearance<T> (UIKit.UITraitCollection traits, System.Type[] containers);
	public static BELayerHierarchyHostingView.BELayerHierarchyHostingViewAppearance GetAppearance (UIKit.UITraitCollection traits, System.Type[] containers);

	// inner types
	public class BELayerHierarchyHostingViewAppearance : UIKit.UIView+UIViewAppearance {
		// constructors
		protected BELayerHierarchyHostingView.BELayerHierarchyHostingViewAppearance (IntPtr handle);
	}
}

New Type: BrowserEngineKit.BEMediaEnvironment

public class BEMediaEnvironment : Foundation.NSObject {
	// constructors
	protected BEMediaEnvironment (Foundation.NSObjectFlag t);
	public BEMediaEnvironment (Foundation.NSUrl url);
	protected BEMediaEnvironment (ObjCRuntime.NativeHandle handle);
	public BEMediaEnvironment (Foundation.NSObject xpcRepresentation, out Foundation.NSError error);
	// properties
	public override ObjCRuntime.NativeHandle ClassHandle { get; }
	// methods
	public virtual bool Activate (out Foundation.NSError error);
	public virtual Foundation.NSObject CreateXpcRepresentation ();
	public virtual AVFoundation.AVCaptureSession MakeCaptureSession (out Foundation.NSError error);
	public virtual bool Suspend (out Foundation.NSError error);
}

New Type: BrowserEngineKit.BENetworkingProcess

public class BENetworkingProcess : Foundation.NSObject {
	// constructors
	protected BENetworkingProcess (Foundation.NSObjectFlag t);
	protected BENetworkingProcess (ObjCRuntime.NativeHandle handle);
	// properties
	public override ObjCRuntime.NativeHandle ClassHandle { get; }
	// methods
	public static void Create (System.Action interruptionHandler, BENetworkingProcessCreateCallback completion);
	public virtual IBEProcessCapabilityGrant GrantCapability (BEProcessCapability capability, out Foundation.NSError error);
	public virtual IBEProcessCapabilityGrant GrantCapability (BEProcessCapability capability, out Foundation.NSError error, System.Action invalidationHandler);
	public virtual void Invalidate ();
	public virtual Foundation.NSObject MakeLibXpcConnection (out Foundation.NSError error);
}

New Type: BrowserEngineKit.BENetworkingProcessCreateCallback

public sealed delegate BENetworkingProcessCreateCallback : System.MulticastDelegate {
	// constructors
	public BENetworkingProcessCreateCallback (object object, IntPtr method);
	// methods
	public virtual System.IAsyncResult BeginInvoke (BENetworkingProcess proces, Foundation.NSError error, System.AsyncCallback callback, object object);
	public virtual void EndInvoke (System.IAsyncResult result);
	public virtual void Invoke (BENetworkingProcess proces, Foundation.NSError error);
}

New Type: BrowserEngineKit.BEProcessCapability

public class BEProcessCapability : Foundation.NSObject {
	// constructors
	protected BEProcessCapability (Foundation.NSObjectFlag t);
	protected BEProcessCapability (ObjCRuntime.NativeHandle handle);
	// properties
	public override ObjCRuntime.NativeHandle ClassHandle { get; }
	// methods
	public static BEProcessCapability CreateBackground ();
	public static BEProcessCapability CreateForeground ();
	public static BEProcessCapability CreateMediaPlaybackAndCaptureProcess (BEMediaEnvironment environment);
	public static BEProcessCapability CreateSuspended ();
	public virtual IBEProcessCapabilityGrant Request (out Foundation.NSError error);
}

New Type: BrowserEngineKit.BERenderingProcess

public class BERenderingProcess : Foundation.NSObject {
	// constructors
	protected BERenderingProcess (Foundation.NSObjectFlag t);
	protected BERenderingProcess (ObjCRuntime.NativeHandle handle);
	// properties
	public override ObjCRuntime.NativeHandle ClassHandle { get; }
	// methods
	public static void Create (System.Action interruptionHandler, BERenderingProcessCreateCallback completion);
	public virtual UIKit.IUIInteraction CreateVisibilityPropagationInteraction ();
	public virtual IBEProcessCapabilityGrant GrantCapability (BEProcessCapability capability, out Foundation.NSError error);
	public virtual IBEProcessCapabilityGrant GrantCapability (BEProcessCapability capability, out Foundation.NSError error, System.Action invalidationHandler);
	public virtual void Invalidate ();
	public virtual Foundation.NSObject MakeLibXpcConnection (out Foundation.NSError error);
}

New Type: BrowserEngineKit.BERenderingProcessCreateCallback

public sealed delegate BERenderingProcessCreateCallback : System.MulticastDelegate {
	// constructors
	public BERenderingProcessCreateCallback (object object, IntPtr method);
	// methods
	public virtual System.IAsyncResult BeginInvoke (BERenderingProcess proces, Foundation.NSError error, System.AsyncCallback callback, object object);
	public virtual void EndInvoke (System.IAsyncResult result);
	public virtual void Invoke (BERenderingProcess proces, Foundation.NSError error);
}

New Type: BrowserEngineKit.BEScrollView

public class BEScrollView : UIKit.UIScrollView {
	// constructors
	public BEScrollView ();
	public BEScrollView (Foundation.NSCoder coder);
	protected BEScrollView (Foundation.NSObjectFlag t);
	protected BEScrollView (ObjCRuntime.NativeHandle handle);
	// properties
	public static BEScrollView.BEScrollViewAppearance Appearance { get; }
	public override ObjCRuntime.NativeHandle ClassHandle { get; }
	public IBEScrollViewDelegate Delegate { get; set; }
	public virtual Foundation.NSObject WeakDelegate { get; set; }
	// methods
	public static BEScrollView.BEScrollViewAppearance AppearanceWhenContainedIn (System.Type[] containers);
	protected override void Dispose (bool disposing);
	public static BEScrollView.BEScrollViewAppearance GetAppearance<T> ();
	public static BEScrollView.BEScrollViewAppearance GetAppearance<T> (UIKit.UITraitCollection traits);
	public static BEScrollView.BEScrollViewAppearance GetAppearance (UIKit.UITraitCollection traits);
	public static BEScrollView.BEScrollViewAppearance GetAppearance<T> (UIKit.UITraitCollection traits, System.Type[] containers);
	public static BEScrollView.BEScrollViewAppearance GetAppearance (UIKit.UITraitCollection traits, System.Type[] containers);

	// inner types
	public class BEScrollViewAppearance : UIKit.UIScrollView+UIScrollViewAppearance {
		// constructors
		protected BEScrollView.BEScrollViewAppearance (IntPtr handle);
	}
}

New Type: BrowserEngineKit.BEScrollViewDelegate

public class BEScrollViewDelegate : UIKit.UIScrollViewDelegate, IBEScrollViewDelegate, ObjCRuntime.INativeObject, System.IDisposable, UIKit.IUIScrollViewDelegate {
	// constructors
	public BEScrollViewDelegate ();
	protected BEScrollViewDelegate (Foundation.NSObjectFlag t);
	protected BEScrollViewDelegate (ObjCRuntime.NativeHandle handle);
	// methods
	public virtual BEScrollView GetParentScrollView (BEScrollView scrollView);
	public virtual void HandleScrollUpdate (BEScrollView scrollView, BEScrollViewScrollUpdate scrollUpdate, System.Action<bool> completion);
}

New Type: BrowserEngineKit.BEScrollViewScrollUpdate

public class BEScrollViewScrollUpdate : Foundation.NSObject {
	// constructors
	protected BEScrollViewScrollUpdate (Foundation.NSObjectFlag t);
	protected BEScrollViewScrollUpdate (ObjCRuntime.NativeHandle handle);
	// properties
	public override ObjCRuntime.NativeHandle ClassHandle { get; }
	public virtual BEScrollViewScrollUpdatePhase Phase { get; }
	public virtual double Timestamp { get; }
	// methods
	public virtual CoreGraphics.CGPoint GetLocation (UIKit.UIView view);
	public virtual CoreGraphics.CGPoint GetTranslation (UIKit.UIView view);
}

New Type: BrowserEngineKit.BEScrollViewScrollUpdatePhase

[Serializable]
public enum BEScrollViewScrollUpdatePhase {
	Began = 0,
	Cancelled = 3,
	Changed = 1,
	Ended = 2,
}

New Type: BrowserEngineKit.BESelectionFlags

[Serializable]
[Flags]
public enum BESelectionFlags {
	None = 0,
	PhraseBoundaryChanged = 4,
	SelectionFlipped = 2,
	WordIsNearTap = 1,
}

New Type: BrowserEngineKit.BESelectionTouchPhase

[Serializable]
public enum BESelectionTouchPhase {
	Ended = 2,
	EndedMovingBackward = 4,
	EndedMovingForward = 3,
	EndedNotMoving = 5,
	Moved = 1,
	Started = 0,
}

New Type: BrowserEngineKit.BETextAlternatives

public class BETextAlternatives : Foundation.NSObject {
	// constructors
	protected BETextAlternatives (Foundation.NSObjectFlag t);
	protected BETextAlternatives (ObjCRuntime.NativeHandle handle);
	// properties
	public virtual string[] AlternativeStrings { get; }
	public override ObjCRuntime.NativeHandle ClassHandle { get; }
	public virtual string PrimaryString { get; }
}

New Type: BrowserEngineKit.BETextDocumentContext

public class BETextDocumentContext : Foundation.NSObject {
	// constructors
	protected BETextDocumentContext (Foundation.NSObjectFlag t);
	protected BETextDocumentContext (ObjCRuntime.NativeHandle handle);
	public BETextDocumentContext (Foundation.NSAttributedString selectedText, Foundation.NSAttributedString contextBefore, Foundation.NSAttributedString contextAfter, Foundation.NSAttributedString markedText, Foundation.NSRange selectedRangeInMarkedText);
	public BETextDocumentContext (string selectedText, string contextBefore, string contextAfter, string markedText, Foundation.NSRange selectedRangeInMarkedText);
	// properties
	public virtual Foundation.NSValue[] AutocorrectedRanges { get; set; }
	public override ObjCRuntime.NativeHandle ClassHandle { get; }
	// methods
	public virtual void AddTextRect (CoreGraphics.CGRect rect, Foundation.NSRange range);
}

New Type: BrowserEngineKit.BETextDocumentRequest

public class BETextDocumentRequest : Foundation.NSObject {
	// constructors
	protected BETextDocumentRequest (Foundation.NSObjectFlag t);
	protected BETextDocumentRequest (ObjCRuntime.NativeHandle handle);
	// properties
	public override ObjCRuntime.NativeHandle ClassHandle { get; }
	public virtual IntPtr GranularityCount { get; set; }
	public virtual BETextDocumentRequestOptions Options { get; set; }
	public virtual UIKit.UITextGranularity SurroundingGranularity { get; set; }
}

New Type: BrowserEngineKit.BETextDocumentRequestOptions

[Serializable]
[Flags]
public enum BETextDocumentRequestOptions {
	AttributedText = 2,
	AutocorrectedRanges = 128,
	MarkedTextRects = 32,
	None = 0,
	Text = 1,
	TextRects = 4,
}

New Type: BrowserEngineKit.BETextInputDelegate

public abstract class BETextInputDelegate : Foundation.NSObject, IBETextInputDelegate, ObjCRuntime.INativeObject, System.IDisposable {
	// constructors
	protected BETextInputDelegate ();
	protected BETextInputDelegate (Foundation.NSObjectFlag t);
	protected BETextInputDelegate (ObjCRuntime.NativeHandle handle);
	// methods
	public virtual void DeferReplaceTextActionToSystem (IBETextInput textInput, Foundation.NSObject sender);
	public virtual void InvalidateTextEntryContext (IBETextInput textInput);
	public virtual void SelectionDidChange (IBETextInput textInput);
	public virtual void SelectionWillChange (IBETextInput textInput);
	public virtual void SetCandidateSuggestions (IBETextInput textInput, BETextSuggestion[] suggestions);
	public virtual bool ShouldDeferEventHandlingToSystem (IBETextInput textInput, BEKeyEntryContext keyEventContext);
}

New Type: BrowserEngineKit.BETextInputHandleKeyEntryCallback

public sealed delegate BETextInputHandleKeyEntryCallback : System.MulticastDelegate {
	// constructors
	public BETextInputHandleKeyEntryCallback (object object, IntPtr method);
	// methods
	public virtual System.IAsyncResult BeginInvoke (BEKeyEntry entry, bool handled, System.AsyncCallback callback, object object);
	public virtual void EndInvoke (System.IAsyncResult result);
	public virtual void Invoke (BEKeyEntry entry, bool handled);
}

New Type: BrowserEngineKit.BETextInputReplaceTextCallback

public sealed delegate BETextInputReplaceTextCallback : System.MulticastDelegate {
	// constructors
	public BETextInputReplaceTextCallback (object object, IntPtr method);
	// methods
	public virtual System.IAsyncResult BeginInvoke (UIKit.UITextSelectionRect[] rects, System.AsyncCallback callback, object object);
	public virtual void EndInvoke (System.IAsyncResult result);
	public virtual void Invoke (UIKit.UITextSelectionRect[] rects);
}

New Type: BrowserEngineKit.BETextInputRequestTextContextForAutocorrectionCallback

public sealed delegate BETextInputRequestTextContextForAutocorrectionCallback : System.MulticastDelegate {
	// constructors
	public BETextInputRequestTextContextForAutocorrectionCallback (object object, IntPtr method);
	// methods
	public virtual System.IAsyncResult BeginInvoke (BETextDocumentContext context, System.AsyncCallback callback, object object);
	public virtual void EndInvoke (System.IAsyncResult result);
	public virtual void Invoke (BETextDocumentContext context);
}

New Type: BrowserEngineKit.BETextInputRequestTextRectsCallback

public sealed delegate BETextInputRequestTextRectsCallback : System.MulticastDelegate {
	// constructors
	public BETextInputRequestTextRectsCallback (object object, IntPtr method);
	// methods
	public virtual System.IAsyncResult BeginInvoke (UIKit.UITextSelectionRect[] rects, System.AsyncCallback callback, object object);
	public virtual void EndInvoke (System.IAsyncResult result);
	public virtual void Invoke (UIKit.UITextSelectionRect[] rects);
}

New Type: BrowserEngineKit.BETextInteraction

public class BETextInteraction : Foundation.NSObject, ObjCRuntime.INativeObject, System.IDisposable, UIKit.IUIInteraction {
	// constructors
	public BETextInteraction ();
	protected BETextInteraction (Foundation.NSObjectFlag t);
	protected BETextInteraction (ObjCRuntime.NativeHandle handle);
	// properties
	public override ObjCRuntime.NativeHandle ClassHandle { get; }
	public virtual UIKit.UIContextMenuInteraction ContextMenuInteraction { get; }
	public UIKit.IUIContextMenuInteractionDelegate ContextMenuInteractionDelegate { get; set; }
	public IBETextInteractionDelegate Delegate { get; set; }
	public virtual UIKit.UITextSelectionDisplayInteraction TextSelectionDisplayInteraction { get; }
	public virtual UIKit.UIView View { get; }
	public virtual Foundation.NSObject WeakContextMenuInteractionDelegate { get; set; }
	public virtual Foundation.NSObject WeakDelegate { get; set; }
	// methods
	public virtual void AddShortcut (string text, CoreGraphics.CGRect presentationRect);
	public virtual void DidMoveToView (UIKit.UIView view);
	public virtual void DismissEditMenuForSelection ();
	protected override void Dispose (bool disposing);
	public virtual void EditabilityChanged ();
	public virtual void PresentEditMenuForSelection ();
	public virtual void RefreshKeyboardUI ();
	public virtual void SelectionBoundaryAdjusted (CoreGraphics.CGPoint point, BESelectionTouchPhase touch, BESelectionFlags flags);
	public virtual void SelectionChangedWithGesture (CoreGraphics.CGPoint point, BEGestureType gestureType, UIKit.UIGestureRecognizerState gestureState, BESelectionFlags flags);
	public virtual void Share (string text, CoreGraphics.CGRect presentationRect);
	public virtual void ShowDictionary (string textWithContext, Foundation.NSRange range, CoreGraphics.CGRect presentationRect);
	public virtual void ShowReplacements (string text);
	public virtual void Translate (string text, CoreGraphics.CGRect presentationRect);
	public virtual void TransliterateChinese (string text);
	public virtual void WillMoveToView (UIKit.UIView view);
}

New Type: BrowserEngineKit.BETextInteractionDelegate

public abstract class BETextInteractionDelegate : Foundation.NSObject, IBETextInteractionDelegate, ObjCRuntime.INativeObject, System.IDisposable {
	// constructors
	protected BETextInteractionDelegate ();
	protected BETextInteractionDelegate (Foundation.NSObjectFlag t);
	protected BETextInteractionDelegate (ObjCRuntime.NativeHandle handle);
	// methods
	public virtual void SystemDidChangeSelection (BETextInteraction textInteraction);
	public virtual void SystemWillChangeSelection (BETextInteraction textInteraction);
}

New Type: BrowserEngineKit.BETextReplacementOptions

[Serializable]
[Flags]
public enum BETextReplacementOptions {
	AddUnderline = 1,
	None = 0,
}

New Type: BrowserEngineKit.BETextSuggestion

public class BETextSuggestion : Foundation.NSObject {
	// constructors
	protected BETextSuggestion (Foundation.NSObjectFlag t);
	protected BETextSuggestion (ObjCRuntime.NativeHandle handle);
	public BETextSuggestion (string inputText);
	// properties
	public override ObjCRuntime.NativeHandle ClassHandle { get; }
	public virtual string InputText { get; }
}

New Type: BrowserEngineKit.BEWebAppManifest

public class BEWebAppManifest : Foundation.NSObject {
	// constructors
	protected BEWebAppManifest (Foundation.NSObjectFlag t);
	protected BEWebAppManifest (ObjCRuntime.NativeHandle handle);
	public BEWebAppManifest (Foundation.NSData jsonData, Foundation.NSUrl manifestUrl);
	// properties
	public override ObjCRuntime.NativeHandle ClassHandle { get; }
	public virtual Foundation.NSData JsonData { get; }
	public virtual Foundation.NSUrl ManifestUrl { get; }
}

New Type: BrowserEngineKit.BEWebContentProcess

public class BEWebContentProcess : Foundation.NSObject {
	// constructors
	protected BEWebContentProcess (Foundation.NSObjectFlag t);
	protected BEWebContentProcess (ObjCRuntime.NativeHandle handle);
	// properties
	public override ObjCRuntime.NativeHandle ClassHandle { get; }
	// methods
	public static void Create (System.Action interruptionHandler, BEWebContentProcessCreateCallback completion);
	public virtual UIKit.IUIInteraction CreateVisibilityPropagationInteraction ();
	public virtual IBEProcessCapabilityGrant GrantCapability (BEProcessCapability capability, out Foundation.NSError error);
	public virtual IBEProcessCapabilityGrant GrantCapability (BEProcessCapability capability, out Foundation.NSError error, System.Action invalidationHandler);
	public virtual void Invalidate ();
	public virtual Foundation.NSObject MakeLibXpcConnection (out Foundation.NSError error);
}

New Type: BrowserEngineKit.BEWebContentProcessCreateCallback

public sealed delegate BEWebContentProcessCreateCallback : System.MulticastDelegate {
	// constructors
	public BEWebContentProcessCreateCallback (object object, IntPtr method);
	// methods
	public virtual System.IAsyncResult BeginInvoke (BEWebContentProcess proces, Foundation.NSError error, System.AsyncCallback callback, object object);
	public virtual void EndInvoke (System.IAsyncResult result);
	public virtual void Invoke (BEWebContentProcess proces, Foundation.NSError error);
}

New Type: BrowserEngineKit.IBEDragInteractionDelegate

public interface IBEDragInteractionDelegate : ObjCRuntime.INativeObject, System.IDisposable, UIKit.IUIDragInteractionDelegate {
	// methods
	public virtual void GetDragItems (BEDragInteraction dragInteraction, UIKit.IUIDragSession session, CoreGraphics.CGPoint point, BEDragInteractionDelegateGetDragItemsCallback completion);
	public virtual void PrepareDragSession (BEDragInteraction dragInteraction, UIKit.IUIDragSession session, System.Func<bool> completion);
}

New Type: BrowserEngineKit.IBEExtendedTextInputTraits

public interface IBEExtendedTextInputTraits : ObjCRuntime.INativeObject, System.IDisposable, UIKit.IUITextInputTraits {
	// properties
	public virtual UIKit.UIColor InsertionPointColor { get; }
	public virtual UIKit.UIColor SelectionHandleColor { get; }
	public virtual UIKit.UIColor SelectionHighlightColor { get; }
	public virtual bool SingleLineDocument { get; }
	public virtual bool TypingAdaptationEnabled { get; }
}

New Type: BrowserEngineKit.IBEProcessCapabilityGrant

public interface IBEProcessCapabilityGrant : ObjCRuntime.INativeObject, System.IDisposable {
	// properties
	public virtual bool Valid { get; }
	// methods
	public virtual bool Invalidate ();
}

New Type: BrowserEngineKit.IBEResponderEditActions

public interface IBEResponderEditActions : ObjCRuntime.INativeObject, System.IDisposable, UIKit.IUIResponderStandardEditActions {
	// methods
	public virtual void AddShortcut (Foundation.NSObject sender);
	public virtual void FindSelected (Foundation.NSObject sender);
	public virtual void Lookup (Foundation.NSObject sender);
	public virtual void PromptForReplace (Foundation.NSObject sender);
	public virtual void Replace (Foundation.NSObject sender);
	public virtual void Share (Foundation.NSObject sender);
	public virtual void Translate (Foundation.NSObject sender);
	public virtual void TransliterateChinese (Foundation.NSObject sender);
}

New Type: BrowserEngineKit.IBEScrollViewDelegate

public interface IBEScrollViewDelegate : ObjCRuntime.INativeObject, System.IDisposable, UIKit.IUIScrollViewDelegate {
	// methods
	public virtual BEScrollView GetParentScrollView (BEScrollView scrollView);
	public virtual void HandleScrollUpdate (BEScrollView scrollView, BEScrollViewScrollUpdate scrollUpdate, System.Action<bool> completion);
}

New Type: BrowserEngineKit.IBETextInput

public interface IBETextInput : IBEResponderEditActions, IBETextSelectionDirectionNavigation, ObjCRuntime.INativeObject, System.IDisposable, UIKit.IUIKeyInput, UIKit.IUIResponderStandardEditActions, UIKit.IUITextInputTraits {
	// properties
	public virtual Foundation.NSAttributedString AttributedMarkedText { get; }
	public virtual bool AutomaticallyPresentEditMenu { get; }
	public virtual bool Editable { get; }
	public virtual IBEExtendedTextInputTraits ExtendedTextInputTraits { get; }
	public virtual bool HasMarkedText { get; }
	public virtual string MarkedText { get; }
	public virtual UIKit.UITextRange MarkedTextRange { get; }
	public virtual bool ReplaceAllowed { get; }
	public virtual string SelectedText { get; }
	public virtual UIKit.UITextRange SelectedTextRange { get; set; }
	public virtual bool SelectionAtDocumentStart { get; }
	public virtual CoreGraphics.CGRect SelectionClipRect { get; }
	public virtual CoreGraphics.CGRect TextFirstRect { get; }
	public virtual UIKit.UIView TextInputView { get; }
	public virtual CoreGraphics.CGRect TextLastRect { get; }
	public virtual CoreGraphics.CGRect UnobscuredContentRect { get; }
	public virtual UIKit.UIView UnscaledView { get; }
	public virtual Foundation.NSObject WeakAsyncInputDelegate { get; set; }
	// methods
	public virtual void AddTextAlternatives (BETextAlternatives alternatives);
	public virtual void AdjustSelection (BEDirectionalTextRange range, System.Action completionHandler);
	public virtual void AdjustSelectionBoundary (CoreGraphics.CGPoint point, BESelectionTouchPhase touch, bool boundaryIsStart, BESelectionFlags flags);
	public virtual void Autoscroll (CoreGraphics.CGPoint point);
	public virtual bool CanPerformAction (ObjCRuntime.Selector action, Foundation.NSObject sender);
	public virtual void CancelAutoscroll ();
	public virtual void Delete (UIKit.UITextStorageDirection direction, UIKit.UITextGranularity granularity);
	public virtual void DidInsertFinalDictationResult ();
	public virtual BETextAlternatives[] GetAlternativesForSelectedText ();
	public virtual CoreGraphics.CGRect GetCaretRect (UIKit.UITextPosition position);
	public virtual IntPtr GetOffset (UIKit.UITextPosition from, UIKit.UITextPosition toPosition);
	public virtual UIKit.UITextSelectionRect[] GetSelectionRects (UIKit.UITextRange range);
	public virtual string GetText (UIKit.UITextRange range);
	public virtual Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject> GetTextStyling (UIKit.UITextPosition position, UIKit.UITextStorageDirection direction);
	public virtual void HandleKeyEntry (BEKeyEntry entry, BETextInputHandleKeyEntryCallback completionHandler);
	public virtual void InsertTextAlternatives (BETextAlternatives alternatives);
	public virtual void InsertTextPlaceholder (CoreGraphics.CGSize size, System.Action<UIKit.UITextPlaceholder> completionHandler);
	public virtual void InsertTextSuggestion (BETextSuggestion textSuggestion);
	public virtual bool IsPointNearMarkedText (CoreGraphics.CGPoint point);
	public virtual void KeyboardWillDismiss ();
	public virtual void Move (IntPtr offset);
	public virtual void MoveSelectionAtBoundary (UIKit.UITextGranularity granularity, UIKit.UITextStorageDirection direction, System.Action completionHandler);
	public virtual void RemoveTextAlternatives ();
	public virtual void RemoveTextPlaceholder (UIKit.UITextPlaceholder placeholder, bool willInsertText, System.Action completionHandler);
	public virtual void ReplaceDictatedText (string oldText, string newText);
	public virtual void ReplaceSelectedText (string text, string replacementText);
	public virtual void ReplaceText (string originalText, string replacementText, BETextReplacementOptions options, BETextInputReplaceTextCallback completionHandler);
	public virtual void RequestDocumentContext (BETextDocumentRequest request, System.Action<BETextDocumentContext> completionHandler);
	public virtual void RequestPreferredArrowDirectionForEditMenuWithCompletionHandler (System.Action<UIKit.UIEditMenuArrowDirection> completionHandler);
	public virtual void RequestTextContextForAutocorrection (BETextInputRequestTextContextForAutocorrectionCallback completionHandler);
	public virtual void RequestTextRects (string input, BETextInputRequestTextRectsCallback completionHandler);
	public virtual void SelectPosition (CoreGraphics.CGPoint point, System.Action completionHandler);
	public virtual void SelectPosition (CoreGraphics.CGPoint point, BETextDocumentRequest request, System.Action<BETextDocumentContext> completionHandler);
	public virtual void SelectText (UIKit.UITextGranularity granularity, CoreGraphics.CGPoint point, System.Action completionHandler);
	public virtual void SelectTextForEditMenu (CoreGraphics.CGPoint locationInView, System.Action<System.Boolean,Foundation.NSString,Foundation.NSRange> completionHandler);
	public virtual void SelectWordForReplacement ();
	public virtual void SetAttributedMarkedText (Foundation.NSAttributedString markedText, Foundation.NSRange selectedRange);
	public virtual void SetBaseWritingDirection (Foundation.NSWritingDirection writingDirection, UIKit.UITextRange range);
	public virtual void SetMarkedText (string markedText, Foundation.NSRange selectedRange);
	public virtual void SetSelection (CoreGraphics.CGPoint from, CoreGraphics.CGPoint to, BEGestureType gesture, UIKit.UIGestureRecognizerState state);
	public virtual void ShiftKeyStateChanged (BEKeyModifierFlags oldState, BEKeyModifierFlags newState);
	public virtual bool ShouldTextInteractionGestureBeginAtPoint (BEGestureType gestureType, CoreGraphics.CGPoint point);
	public virtual void SystemWillDismissEditMenu (UIKit.IUIEditMenuInteractionAnimating animator);
	public virtual void SystemWillPresentEditMenu (UIKit.IUIEditMenuInteractionAnimating animator);
	public virtual void TransposeCharactersAroundSelection ();
	public virtual void UnmarkText ();
	public virtual void UpdateCurrentSelection (CoreGraphics.CGPoint point, BEGestureType gestureType, UIKit.UIGestureRecognizerState state);
	public virtual void UpdateSelection (CoreGraphics.CGPoint extentPoint, UIKit.UITextGranularity granularity, System.Action<bool> completionHandler);
	public virtual void WillInsertFinalDictationResult ();
}

New Type: BrowserEngineKit.IBETextInputDelegate

public interface IBETextInputDelegate : ObjCRuntime.INativeObject, System.IDisposable {
	// methods
	public virtual void DeferReplaceTextActionToSystem (IBETextInput textInput, Foundation.NSObject sender);
	public virtual void InvalidateTextEntryContext (IBETextInput textInput);
	public virtual void SelectionDidChange (IBETextInput textInput);
	public virtual void SelectionWillChange (IBETextInput textInput);
	public virtual void SetCandidateSuggestions (IBETextInput textInput, BETextSuggestion[] suggestions);
	public virtual bool ShouldDeferEventHandlingToSystem (IBETextInput textInput, BEKeyEntryContext keyEventContext);
}

New Type: BrowserEngineKit.IBETextInteractionDelegate

public interface IBETextInteractionDelegate : ObjCRuntime.INativeObject, System.IDisposable {
	// methods
	public virtual void SystemDidChangeSelection (BETextInteraction textInteraction);
	public virtual void SystemWillChangeSelection (BETextInteraction textInteraction);
}

New Type: BrowserEngineKit.IBETextSelectionDirectionNavigation

public interface IBETextSelectionDirectionNavigation : ObjCRuntime.INativeObject, System.IDisposable {
	// methods
	public virtual void ExtendInLayoutDirection (UIKit.UITextLayoutDirection direction);
	public virtual void ExtendInStorageDirection (UIKit.UITextStorageDirection direction, UIKit.UITextGranularity granularity);
	public virtual void MoveInLayoutDirection (UIKit.UITextLayoutDirection direction);
	public virtual void MoveInStorageDirection (UIKit.UITextStorageDirection direction, UIKit.UITextGranularity granularity);
}

New Type: BrowserEngineKit.NSObject_BEAccessibility

public static class NSObject_BEAccessibility {
	// methods
	public static void BrowserAccessibilityDeleteTextAtCursor (this Foundation.NSObject This, IntPtr numberOfCharacters);
	public static void BrowserAccessibilityInsertTextAtCursor (this Foundation.NSObject This, string text);
	public static Foundation.NSAttributedString GetBrowserAccessibilityAttributedValue (this Foundation.NSObject This, Foundation.NSRange range);
	public static BEAccessibilityContainerType GetBrowserAccessibilityContainerType (this Foundation.NSObject This);
	public static string GetBrowserAccessibilityCurrentStatus (this Foundation.NSObject This);
	public static bool GetBrowserAccessibilityHasDomFocus (this Foundation.NSObject This);
	public static bool GetBrowserAccessibilityIsRequired (this Foundation.NSObject This);
	public static BEAccessibilityPressedState GetBrowserAccessibilityPressedState (this Foundation.NSObject This);
	public static string GetBrowserAccessibilityRoleDescription (this Foundation.NSObject This);
	public static Foundation.NSRange GetBrowserAccessibilitySelectedTextRange (this Foundation.NSObject This);
	public static string GetBrowserAccessibilitySortDirection (this Foundation.NSObject This);
	public static string GetBrowserAccessibilityValue (this Foundation.NSObject This, Foundation.NSRange range);
	public static void SetBrowserAccessibilityContainerType (this Foundation.NSObject This, BEAccessibilityContainerType value);
	public static void SetBrowserAccessibilityCurrentStatus (this Foundation.NSObject This, string value);
	public static void SetBrowserAccessibilityHasDomFocus (this Foundation.NSObject This, bool value);
	public static void SetBrowserAccessibilityIsRequired (this Foundation.NSObject This, bool value);
	public static void SetBrowserAccessibilityPressedState (this Foundation.NSObject This, BEAccessibilityPressedState value);
	public static void SetBrowserAccessibilityRoleDescription (this Foundation.NSObject This, string value);
	public static void SetBrowserAccessibilitySelectedTextRange (this Foundation.NSObject This, Foundation.NSRange range);
	public static void SetBrowserAccessibilitySortDirection (this Foundation.NSObject This, string value);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment