Skip to content

Instantly share code, notes, and snippets.

@vs-mobiletools-engineering-service2
Created December 14, 2022 18:55
Show Gist options
  • Save vs-mobiletools-engineering-service2/21767ab9c8e0b8fc6090b46daa3fd159 to your computer and use it in GitHub Desktop.
Save vs-mobiletools-engineering-service2/21767ab9c8e0b8fc6090b46daa3fd159 to your computer and use it in GitHub Desktop.
previous-api-comparison/diff/dotnet/Microsoft.macOS.Ref/ref/net6.0/Microsoft.macOS.md

API diff: Microsoft.macOS.dll

Microsoft.macOS.dll

Assembly Version Changed: 13.0.0.0 -> 13.1.0.0

Namespace GameKit

Type Changed: GameKit.GKMatchmaker

Added methods:

public virtual void StartGroupActivity (System.Action<GKPlayer> handler);
public virtual void StopGroupActivity ();

Namespace Intents

Type Changed: Intents.INIntentIdentifier

Added values:

AnswerCall = 26,
HangUpCall = 27,

New Type: Intents.IINAnswerCallIntentHandling

public interface IINAnswerCallIntentHandling : ObjCRuntime.INativeObject, System.IDisposable {
	// methods
	public virtual void HandleAnswerCall (INAnswerCallIntent intent, System.Action<INAnswerCallIntentResponse> completion);
}

New Type: Intents.IINHangUpCallIntentHandling

public interface IINHangUpCallIntentHandling : ObjCRuntime.INativeObject, System.IDisposable {
	// methods
	public virtual void HandleHangUpCall (INHangUpCallIntent intent, System.Action<INHangUpCallIntentResponse> completion);
}

New Type: Intents.INAnswerCallIntent

public class INAnswerCallIntent : Intents.INIntent {
	// constructors
	public INAnswerCallIntent ();
	public INAnswerCallIntent (Foundation.NSCoder coder);
	protected INAnswerCallIntent (Foundation.NSObjectFlag t);
	protected INAnswerCallIntent (ObjCRuntime.NativeHandle handle);
	public INAnswerCallIntent (INCallAudioRoute audioRoute, string callIdentifier);
	// properties
	public override ObjCRuntime.NativeHandle ClassHandle { get; }
}

New Type: Intents.INAnswerCallIntentHandling_Extensions

public static class INAnswerCallIntentHandling_Extensions {
	// methods
	public static void ConfirmAnswerCall (this IINAnswerCallIntentHandling This, INAnswerCallIntent intent, System.Action<INAnswerCallIntentResponse> completion);
}

New Type: Intents.INAnswerCallIntentResponse

public class INAnswerCallIntentResponse : Intents.INIntentResponse {
	// constructors
	public INAnswerCallIntentResponse (Foundation.NSCoder coder);
	protected INAnswerCallIntentResponse (Foundation.NSObjectFlag t);
	protected INAnswerCallIntentResponse (ObjCRuntime.NativeHandle handle);
	public INAnswerCallIntentResponse (INAnswerCallIntentResponseCode code, Foundation.NSUserActivity userActivity);
	// properties
	public override ObjCRuntime.NativeHandle ClassHandle { get; }
	public virtual INAnswerCallIntentResponseCode Code { get; }
}

New Type: Intents.INAnswerCallIntentResponseCode

[Serializable]
public enum INAnswerCallIntentResponseCode {
	ContinueInApp = 2,
	Failure = 5,
	FailureRequiringAppLaunch = 6,
	InProgress = 3,
	Ready = 1,
	Success = 4,
	Unspecified = 0,
}

New Type: Intents.INHangUpCallIntent

public class INHangUpCallIntent : Intents.INIntent {
	// constructors
	public INHangUpCallIntent ();
	public INHangUpCallIntent (Foundation.NSCoder coder);
	protected INHangUpCallIntent (Foundation.NSObjectFlag t);
	protected INHangUpCallIntent (ObjCRuntime.NativeHandle handle);
	public INHangUpCallIntent (string callIdentifier);
	// properties
	public override ObjCRuntime.NativeHandle ClassHandle { get; }
}

New Type: Intents.INHangUpCallIntentHandling_Extensions

public static class INHangUpCallIntentHandling_Extensions {
	// methods
	public static void ConfirmHangUpCall (this IINHangUpCallIntentHandling This, INHangUpCallIntent intent, System.Action<INHangUpCallIntentResponse> completion);
}

New Type: Intents.INHangUpCallIntentResponse

public class INHangUpCallIntentResponse : Intents.INIntentResponse {
	// constructors
	public INHangUpCallIntentResponse (Foundation.NSCoder coder);
	protected INHangUpCallIntentResponse (Foundation.NSObjectFlag t);
	protected INHangUpCallIntentResponse (ObjCRuntime.NativeHandle handle);
	public INHangUpCallIntentResponse (INHangUpCallIntentResponseCode code, Foundation.NSUserActivity userActivity);
	// properties
	public override ObjCRuntime.NativeHandle ClassHandle { get; }
	public virtual INHangUpCallIntentResponseCode Code { get; }
}

New Type: Intents.INHangUpCallIntentResponseCode

[Serializable]
public enum INHangUpCallIntentResponseCode {
	Failure = 4,
	FailureNoCallToHangUp = 6,
	FailureRequiringAppLaunch = 5,
	InProgress = 2,
	Ready = 1,
	Success = 3,
	Unspecified = 0,
}

Namespace ObjCRuntime

Type Changed: ObjCRuntime.Constants

Modified fields:

-public const string SdkVersion = "13.0";
+public const string SdkVersion = "13.1";
-public const string Version = "9.0.0";
+public const string Version = "9.1.0";

Namespace ScreenCaptureKit

Type Changed: ScreenCaptureKit.SCStreamFrameInfoKeys

Added property:

public static Foundation.NSString ScreenRect { get; }

Type Changed: ScreenCaptureKit.SCWindow

Added property:

public virtual bool Active { get; }

Namespace SharedWithYou

Type Changed: SharedWithYou.SWCollaborationView

Added property:

public virtual AppKit.NSMenuItem MenuFormRepresentation { get; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment