Xamarin.WatchOS SDK API diff: 14.4.1 vs 14.6.0

MonoTouch.NUnitLite.dll

Namespace MonoTouch.NUnit.UI

Type Changed: MonoTouch.NUnit.UI.BaseTouchRunner

Added property:

public System.Collections.Generic.HashSet<string> ExcludedCategories { get; set; }

Removed method:

public NUnit.Framework.Internal.TestResult Run (NUnit.Framework.Internal.Test test);

Added methods:

public void NotifySelectedTest (NUnit.Framework.Api.ITest test);
public void Run (NUnit.Framework.Internal.Test test);
public System.Threading.Tasks.Task RunAsync ();
public void SelectLastTestSuite ();
public virtual void Show (NUnit.Framework.Internal.TestSuite suite);

Type Changed: MonoTouch.NUnit.UI.TouchOptions

Added constructor:

public TouchOptions (System.Collections.Generic.IList<string> arguments);

Removed field:

public static TouchOptions Current;

Added properties:

public static TouchOptions Current { get; set; }
public string TestName { get; set; }

Xamarin.WatchOS.dll

Namespace AVFoundation

Type Changed: AVFoundation.AVAudio3DMixingRenderingAlgorithm

Added values:

Auto = 7,
HrtfHQ = 6,

Type Changed: AVFoundation.AVError

Added values:

CreateContentKeyRequestFailed = -11860,
ExternalPlaybackNotSupportedForAsset = -11870,
IncorrectlyConfigured = -11875,
OperationNotSupportedForPreset = -11871,
RosettaNotInstalled = -11877,
SegmentStartedWithNonSyncSample = -11876,
SessionHardwareCostOverage = -11872,
UnsupportedDeviceActiveFormat = -11873,

Namespace AudioToolbox

Type Changed: AudioToolbox.SmpteTimeType

Obsoleted fields:

 [Obsolete ("Value is not to be used with any API.")]
 None = 4294967295,

Modified fields:

-None = 0
+None = 4294967295
-Type2398 = 12
+Type2398 = 11
-Type24 = 1
+Type24 = 0
-Type25 = 2
+Type25 = 1
-Type2997 = 5
+Type2997 = 4
-Type2997Drop = 6
+Type2997Drop = 5
-Type30 = 4
+Type30 = 3
-Type30Drop = 3
+Type30Drop = 2
-Type50 = 11
+Type50 = 10
-Type5994 = 8
+Type5994 = 7
-Type5994Drop = 10
+Type5994Drop = 9
-Type60 = 7
+Type60 = 6
-Type60Drop = 9
+Type60Drop = 8

Namespace ClockKit

Type Changed: ClockKit.CLKComplicationFamily

Added value:

GraphicExtraLarge = 12,

Namespace Contacts

Type Changed: Contacts.CNErrorCode

Added values:

ChangeHistoryExpired = 603,
ChangeHistoryInvalidAnchor = 604,
ClientIdentifierCollision = 602,

Namespace CoreBluetooth

Type Changed: CoreBluetooth.CBError

Added value:

TooManyLEPairedDevices = 16,

Namespace CoreData

Type Changed: CoreData.NSPersistentStoreRequestType

Added value:

BatchInsert = 5,

Namespace CoreGraphics

Type Changed: CoreGraphics.CGColorSpace

Added property:

public bool UsesItur2100TF { get; }

Added methods:

public CGColorSpace CreateExtended ();
public CGColorSpace CreateExtendedLinearized ();
public CGColorSpace CreateLinearized ();

Type Changed: CoreGraphics.CGColorSpaceNames

Added properties:

public static Foundation.NSString ExtendedDisplayP3 { get; }
public static Foundation.NSString ExtendedItur_2020 { get; }

Namespace CoreLocation

Type Changed: CoreLocation.CLError

Added value:

PromptDeclined = 18,

Namespace CoreText

Type Changed: CoreText.CTFontOptions

Obsoleted fields:

 [Obsolete ("This API is not available on this platform.")]
 IncludeDisabled = 128,

Type Changed: CoreText.CTFrameProgression

Added value:

LeftToRight = 2,

Namespace Foundation

Type Changed: Foundation.NSActivityOptions

Added value:

InitiatedAllowingIdleSystemSleep = 15728639,

Type Changed: Foundation.NSDataReadingOptions

Obsoleted fields:

 [Obsolete ("This option is unavailable.")]
 Coordinated = 4,

Type Changed: Foundation.NSDateFormatterBehavior

Added value:

Mode_10_0 = 1000,

Type Changed: Foundation.NSDirectoryEnumerationOptions

Obsoleted fields:

 [Obsolete ("Use 'None' instead.")]
 SkipsNone = 0,

Added value:

None = 0,

Type Changed: Foundation.NSFileCoordinatorWritingOptions

Added value:

ContentIndependentMetadataOnly = 16,

Type Changed: Foundation.NSNumberFormatterStyle

Added values:

CurrencyAccountingStyle = 10,
CurrencyIsoCodeStyle = 8,
CurrencyPluralStyle = 9,
OrdinalStyle = 6,

Namespace GameKit

Type Changed: GameKit.GKError

Added values:

ApiObsolete = 34,
ConnectionTimeout = 33,
NotAuthorized = 32,

Type Changed: GameKit.GKPeerConnectionState

Added value:

ConnectedRelay = 5,

Namespace HealthKit

Type Changed: HealthKit.HKCategoryTypeIdentifier

Added value:

HeadphoneAudioExposureEvent = 54,

Type Changed: HealthKit.HKCategoryValueMenstrualFlow

Added value:

None = 5,

Type Changed: HealthKit.HKErrorCode

Modified fields:

-NoData = 10
+NoData = 11

Added value:

RequiredAuthorizationDenied = 10,

Type Changed: HealthKit.HKMetadataKey

Added property:

public static Foundation.NSString AudioExposureDuration { get; }

Type Changed: HealthKit.HKWorkoutActivityType

Added values:

CardioDance = 77,
Cooldown = 80,
Pickleball = 79,
SocialDance = 78,

Type Changed: HealthKit.HKWorkoutSessionState

Added values:

Prepared = 5,
Stopped = 6,

New Type: HealthKit.HKCategoryValueHeadphoneAudioExposureEvent

[Serializable]
public enum HKCategoryValueHeadphoneAudioExposureEvent {
	SevenDayLimit = 1,
}

Namespace HomeKit

Type Changed: HomeKit.HMHome

Obsoleted methods:

 [Obsolete ("This API is not available on this platform.")]
 public virtual void RemoveUser (HMUser user, System.Action<Foundation.NSError> completion);
 [Obsolete ("This API is not available on this platform.")]
 public virtual System.Threading.Tasks.Task RemoveUserAsync (HMUser user);

Namespace ImageIO

Type Changed: ImageIO.CGImageDestinationOptions

Added properties:

public bool? PreserveGainMap { get; set; }
public Foundation.NSDictionary TgaDictionary { get; set; }

Type Changed: ImageIO.CGImageDestinationOptionsKeys

Added properties:

public static Foundation.NSString PreserveGainMapKey { get; }
public static Foundation.NSString TgaDictionary { get; }

Type Changed: ImageIO.CGImageProperties

Added properties:

public static Foundation.NSString TgaCompression { get; }
public static Foundation.NSString TgaDictionary { get; }

New Type: ImageIO.CGImagePropertyTgaCompression

[Serializable]
public enum CGImagePropertyTgaCompression {
	None = 0,
	Rle = 1,
}

Namespace Intents

Type Changed: Intents.INAddMediaMediaDestinationUnsupportedReason

Added value:

PlaylistNotEditable = 2,

Namespace Network

New Type: Network.NWConnectionGroup

public class NWConnectionGroup : CoreFoundation.NativeObject, ObjCRuntime.INativeObject, System.IDisposable {
	// constructors
	public NWConnectionGroup (NWMulticastGroup groupDescriptor, NWParameters parameters);
	protected NWConnectionGroup (IntPtr handle, bool owns);
	// properties
	public NWMulticastGroup GroupDescriptor { get; }
	public NWParameters Parameters { get; }
	// methods
	public void Cancel ();
	public NWConnection GetConnection (NWContentContext context);
	public NWEndpoint GetLocalEndpoint (NWContentContext context);
	public NWPath GetPath (NWContentContext context);
	public NWEndpoint GetRemmoteEndpoint (NWContentContext context);
	public void Reply (NWContentContext inboundMessage, NWContentContext outboundMessage, CoreFoundation.DispatchData content);
	public void Send (CoreFoundation.DispatchData content, NWEndpoint endpoint, NWContentContext context, System.Action<NWError> handler);
	public void SetQueue (CoreFoundation.DispatchQueue queue);
	public void SetReceiveHandler (uint maximumMessageSize, bool rejectOversizedMessages, NWConnectionGroupReceiveDelegate handler);
	public void SetStateChangedHandler (NWConnectionGroupStateChangedDelegate handler);
	public void Start ();
}

New Type: Network.NWConnectionGroupReceiveDelegate

public sealed delegate NWConnectionGroupReceiveDelegate : System.MulticastDelegate, System.ICloneable, System.Runtime.Serialization.ISerializable {
	// constructors
	public NWConnectionGroupReceiveDelegate (object object, IntPtr method);
	// methods
	public virtual System.IAsyncResult BeginInvoke (CoreFoundation.DispatchData content, NWContentContext context, bool isCompleted, System.AsyncCallback callback, object object);
	public virtual void EndInvoke (System.IAsyncResult result);
	public virtual void Invoke (CoreFoundation.DispatchData content, NWContentContext context, bool isCompleted);
}

New Type: Network.NWConnectionGroupState

[Serializable]
public enum NWConnectionGroupState {
	Cancelled = 4,
	Failed = 3,
	Invalid = 0,
	Ready = 2,
	Waiting = 1,
}

New Type: Network.NWConnectionGroupStateChangedDelegate

public sealed delegate NWConnectionGroupStateChangedDelegate : System.MulticastDelegate, System.ICloneable, System.Runtime.Serialization.ISerializable {
	// constructors
	public NWConnectionGroupStateChangedDelegate (object object, IntPtr method);
	// methods
	public virtual System.IAsyncResult BeginInvoke (NWConnectionGroupState state, NWError error, System.AsyncCallback callback, object object);
	public virtual void EndInvoke (System.IAsyncResult result);
	public virtual void Invoke (NWConnectionGroupState state, NWError error);
}

New Type: Network.NWMulticastGroup

public class NWMulticastGroup : CoreFoundation.NativeObject, ObjCRuntime.INativeObject, System.IDisposable {
	// constructors
	public NWMulticastGroup (NWEndpoint endpoint);
	// properties
	public bool DisabledUnicastTraffic { get; set; }
	// methods
	public void AddEndpoint (NWEndpoint endpoint);
	public void EnumerateEndpoints (System.Func<NWEndpoint,System.Boolean> handler);
	public void SetSpecificSource (NWEndpoint endpoint);
}

Namespace ObjCRuntime

Type Changed: ObjCRuntime.Constants

Modified fields:

-public const string SdkVersion = "7.0";
+public const string SdkVersion = "7.1";
-public const string Version = "14.4.1";
+public const string Version = "14.6.0";

Namespace Security

Type Changed: Security.SecAuthenticationType

Modified fields:

-Default = 7
+Default = 1953261156
-Dpa = 2
+Dpa = 1633775716
-HtmlForm = 6
+HtmlForm = 1836216166
-HttpBasic = 4
+HttpBasic = 1886680168
-HttpDigest = 5
+HttpDigest = 1685353576
-Msn = 1
+Msn = 1634628461
-Ntlm = 0
+Ntlm = 1835824238
-Rpa = 3
+Rpa = 1633775730

Added value:

Any = 0,

Type Changed: Security.SslProtocol

Added value:

Dtls_1_2 = 11,

Namespace StoreKit

Type Changed: StoreKit.SKError

Added values:

IneligibleForOffer = 18,
OverlayCancelled = 15,
OverlayInvalidConfiguration = 16,
OverlayTimeout = 17,
UnsupportedPlatform = 19,

Namespace UIKit

Type Changed: UIKit.UIRectCorner

Modified fields:

-AllCorners = 4294967295
+AllCorners = 18446744073709551615

Namespace UserNotifications

Type Changed: UserNotifications.UNAuthorizationOptions

Added value:

Announcement = 128,