# API diff: Microsoft.iOS.dll ## Microsoft.iOS.dll <h4>Assembly Version Changed: 16.1.0.0 -> 16.2.0.0</h4> ### Namespace GameKit #### Type Changed: GameKit.GKMatchmaker Added methods: ```csharp public virtual void StartGroupActivity (System.Action<GKPlayer> handler); public virtual void StopGroupActivity (); ``` ### Namespace Intents #### Type Changed: Intents.INIntentIdentifier Added values: ```csharp AnswerCall = 26, HangUpCall = 27, ``` #### New Type: Intents.IINAnswerCallIntentHandling ```csharp public interface IINAnswerCallIntentHandling : ObjCRuntime.INativeObject, System.IDisposable { // methods public virtual void HandleAnswerCall (INAnswerCallIntent intent, System.Action<INAnswerCallIntentResponse> completion); } ``` #### New Type: Intents.IINHangUpCallIntentHandling ```csharp public interface IINHangUpCallIntentHandling : ObjCRuntime.INativeObject, System.IDisposable { // methods public virtual void HandleHangUpCall (INHangUpCallIntent intent, System.Action<INHangUpCallIntentResponse> completion); } ``` #### New Type: Intents.INAnswerCallIntent ```csharp public class INAnswerCallIntent : Intents.INIntent { // constructors public INAnswerCallIntent (); public INAnswerCallIntent (Foundation.NSCoder coder); protected INAnswerCallIntent (Foundation.NSObjectFlag t); protected INAnswerCallIntent (ObjCRuntime.NativeHandle handle); public INAnswerCallIntent (INCallAudioRoute audioRoute, string callIdentifier); // properties public override ObjCRuntime.NativeHandle ClassHandle { get; } } ``` #### New Type: Intents.INAnswerCallIntentHandling_Extensions ```csharp public static class INAnswerCallIntentHandling_Extensions { // methods public static void ConfirmAnswerCall (this IINAnswerCallIntentHandling This, INAnswerCallIntent intent, System.Action<INAnswerCallIntentResponse> completion); } ``` #### New Type: Intents.INAnswerCallIntentResponse ```csharp public class INAnswerCallIntentResponse : Intents.INIntentResponse { // constructors public INAnswerCallIntentResponse (Foundation.NSCoder coder); protected INAnswerCallIntentResponse (Foundation.NSObjectFlag t); protected INAnswerCallIntentResponse (ObjCRuntime.NativeHandle handle); public INAnswerCallIntentResponse (INAnswerCallIntentResponseCode code, Foundation.NSUserActivity userActivity); // properties public virtual INCallRecord[] CallRecords { get; set; } public override ObjCRuntime.NativeHandle ClassHandle { get; } public virtual INAnswerCallIntentResponseCode Code { get; } } ``` #### New Type: Intents.INAnswerCallIntentResponseCode ```csharp [Serializable] public enum INAnswerCallIntentResponseCode { ContinueInApp = 2, Failure = 5, FailureRequiringAppLaunch = 6, InProgress = 3, Ready = 1, Success = 4, Unspecified = 0, } ``` #### New Type: Intents.INHangUpCallIntent ```csharp public class INHangUpCallIntent : Intents.INIntent { // constructors public INHangUpCallIntent (); public INHangUpCallIntent (Foundation.NSCoder coder); protected INHangUpCallIntent (Foundation.NSObjectFlag t); protected INHangUpCallIntent (ObjCRuntime.NativeHandle handle); public INHangUpCallIntent (string callIdentifier); // properties public override ObjCRuntime.NativeHandle ClassHandle { get; } } ``` #### New Type: Intents.INHangUpCallIntentHandling_Extensions ```csharp public static class INHangUpCallIntentHandling_Extensions { // methods public static void ConfirmHangUpCall (this IINHangUpCallIntentHandling This, INHangUpCallIntent intent, System.Action<INHangUpCallIntentResponse> completion); } ``` #### New Type: Intents.INHangUpCallIntentResponse ```csharp public class INHangUpCallIntentResponse : Intents.INIntentResponse { // constructors public INHangUpCallIntentResponse (Foundation.NSCoder coder); protected INHangUpCallIntentResponse (Foundation.NSObjectFlag t); protected INHangUpCallIntentResponse (ObjCRuntime.NativeHandle handle); public INHangUpCallIntentResponse (INHangUpCallIntentResponseCode code, Foundation.NSUserActivity userActivity); // properties public override ObjCRuntime.NativeHandle ClassHandle { get; } public virtual INHangUpCallIntentResponseCode Code { get; } } ``` #### New Type: Intents.INHangUpCallIntentResponseCode ```csharp [Serializable] public enum INHangUpCallIntentResponseCode { Failure = 4, FailureNoCallToHangUp = 6, FailureRequiringAppLaunch = 5, InProgress = 2, Ready = 1, Success = 3, Unspecified = 0, } ``` ### Namespace ObjCRuntime #### Type Changed: ObjCRuntime.Constants Modified fields: ```diff -public const string SdkVersion = "16.1"; +public const string SdkVersion = "16.2"; ``` ### Namespace UIKit #### Type Changed: UIKit.UICalendarViewDelegate Added method: ```csharp public virtual void DidChangeVisibleDateComponents (UICalendarView calendarView, Foundation.NSDateComponents previousDateComponents); ``` #### New Type: UIKit.UICalendarViewDelegate_Extensions ```csharp public static class UICalendarViewDelegate_Extensions { // methods public static void DidChangeVisibleDateComponents (this IUICalendarViewDelegate This, UICalendarView calendarView, Foundation.NSDateComponents previousDateComponents); } ```