title | description | author | ms.author | ms.date | ms.topic | ms.assetid | ms.prod |
---|---|---|---|---|---|---|---|
Xamarin.WatchOS SDK API diff: 15.2.0 vs 15.3.0 |
List of API changes between Xamarin.WatchOS versions 15.2.0 and 15.3.0. |
spouliot |
sepoulio |
12/16/2021 |
article |
ca786488-4081-58d4-5321-022593dabdbd |
xamarin |
Added method:
protected virtual void TerminateWithExitCode (int exitCode);
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 ~CFRunLoop ();
Modified base type:
-System.Object
+CoreFoundation.NativeObject
Modified constructors:
-public CFRunLoopSource (IntPtr handle, bool ownsHandle)
+public CFRunLoopSource (IntPtr handle, bool owns)
Removed property:
public virtual IntPtr Handle { get; }
Removed methods:
public virtual void Dispose ();
protected virtual void Dispose (bool disposing);
protected override void ~CFRunLoopSource ();
Removed property:
public virtual IntPtr Handle { get; }
Removed methods:
public virtual void Dispose ();
protected override void ~CFSocket ();
Modified methods:
-protected virtual void Dispose (bool disposing)
+protected override void Dispose (bool disposing)
Removed constructor:
protected CFStream (IntPtr handle);
Added constructor:
protected CFStream (IntPtr handle, bool owns);
Removed property:
public virtual IntPtr Handle { get; }
Removed methods:
public virtual void Dispose ();
protected override void ~CFStream ();
Obsoleted methods:
[Obsolete ("Call 'GetCheckedHandle ()' instead.")]
protected void CheckHandle ();
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 ~CFUrl ();
Modified base type:
-System.Object
+ObjCRuntime.DisposableObject
Added constructor:
protected NativeObject (IntPtr handle, bool owns, bool verify);
Removed property:
protected override IntPtr Handle { get; set; }
Removed methods:
public virtual void Dispose ();
public IntPtr GetCheckedHandle ();
protected virtual void InitializeHandle (IntPtr handle);
protected override void ~NativeObject ();
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 ~CGColorConversionInfo ();
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 ~CGFont ();
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 ~CGGradient ();
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 ~CGImage ();
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 ~CGLayer ();
Added methods:
protected override void Release ();
protected override void Retain ();
Modified base type:
-System.Object
+CoreGraphics.CGPDFObject
Removed property:
public virtual IntPtr Handle { 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 ~CGPDFContentStream ();
Added methods:
protected override void Release ();
protected override void Retain ();
Modified base type:
-System.Object
+CoreGraphics.CGPDFObject
Removed property:
public virtual IntPtr Handle { 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 ~CGPDFDocument ();
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 ~CGPDFOperatorTable ();
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 ~CGPDFPage ();
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 override void ~CGPDFScanner ();
Modified methods:
-protected virtual void Dispose (bool disposing)
+protected override void Dispose (bool disposing)
Added methods:
protected override void Release ();
protected override void Retain ();
Modified base type:
-System.Object
+CoreGraphics.CGPDFObject
Removed property:
public virtual IntPtr Handle { 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 ~CGPath ();
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 ~CMClockOrTimebase ();
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 ~CMMemoryPool ();
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)
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 ~CTFont ();
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 ~CTFontCollection ();
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 ~CTFontDescriptor ();
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 ~CTFrame ();
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 ~CTFramesetter ();
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 ~CTGlyphInfo ();
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 ~CTLine ();
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 ~CTParagraphStyle ();
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 ~CTRun ();
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 ~CTTextTab ();
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 ~CTTypesetter ();
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 ~CVBuffer ();
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 ~CVPixelBufferPool ();
Added methods:
protected override void Release ();
protected override void Retain ();
Added method:
protected string[] GetStringArrayValue (NSString key);
Added method:
public static T[] ArrayFromHandle<T> (IntPtr handle, System.Converter<System.IntPtr,T> creator, 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 ~CGImageDestination ();
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 ~CGImageMetadata ();
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 ~CGImageMetadataTag ();
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 ~CGImageSource ();
Modified constructors:
-protected NWConnectionGroup (IntPtr handle, bool owns)
+protected NWConnectionGroup (IntPtr handle, bool owns)
Added methods:
public NWConnection ExtractConnection (NWEndpoint endpoint, NWProtocolOptions protocolOptions);
public NWProtocolMetadata GetProtocolMetadata (NWContentContext context);
public NWProtocolMetadata GetProtocolMetadata (NWContentContext context, NWProtocolDefinition definition);
public void SetNewConnectionHandler (System.Action<NWConnection> handler);
public bool TryReinsertExtractedConnection (NWConnection connection);
Added method:
public NWInterfaceRadioType get_path_radio_type (uint pathIndex);
Added method:
public void EnumerateResolutionReports (System.Action<NWResolutionReport> handler);
Added method:
public void SetNewConnectionGroupHandler (System.Action<NWConnectionGroup> handler);
Added property:
public NWParametersAttribution Attribution { get; set; }
Added methods:
public static NWParameters CreateQuic (System.Action<NWProtocolOptions> configureQuic);
public void SetPrivacyContext (NWPrivacyContext privacyContext);
Added method:
public void ProhibitInterfaceType (NWInterfaceType interfaceType);
Added method:
public static NWProtocolDefinition CreateQuicDefinition ();
Added method:
public void DisableMulticastLoopback (bool disable);
Added property:
public bool IsQuic { get; }
Added property:
public bool IsQuic { get; }
Added method:
public static NWProtocolOptions CreateQuic ();
Added method:
public void ForceMultipathVersion (NWMultipathVersion version);
[Serializable]
public enum NWInterfaceRadioType {
CellCdma = 135,
CellEndcMmw = 130,
CellEndcSub6 = 129,
CellEvdo = 136,
CellGsm = 134,
CellLte = 128,
CellNrSaMmw = 132,
CellNrSaSub6 = 131,
CellWcdma = 133,
Unknown = 0,
WifiA = 2,
WifiAC = 5,
WifiAX = 6,
WifiB = 1,
WifiG = 3,
WifiN = 4,
}
[Serializable]
public enum NWMultipathVersion {
Unspecified = -1,
Version0 = 0,
Version1 = 1,
}
public class NWMultiplexGroup : Network.NWMulticastGroup, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public NWMultiplexGroup (NWEndpoint endpoint);
}
[Serializable]
public enum NWParametersAttribution {
Developer = 1,
User = 2,
}
public class NWPrivacyContext : CoreFoundation.NativeObject, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public NWPrivacyContext (string description);
public NWPrivacyContext (IntPtr handle, bool owns);
// properties
public static NWPrivacyContext Default { get; }
// methods
public void DisableLogging ();
public void FlushCache ();
public void RequireEncryptedNameResolution (bool requireEncryptedNameResolution, NWResolverConfig fallbackResolverConfig);
}
public class NWProtocolQuicOptions : Network.NWProtocolOptions, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public NWProtocolQuicOptions ();
// properties
public uint IdleTimeout { get; set; }
public ulong InitialMaxData { get; set; }
public ulong InitialMaxStreamDataBidirectionalLocal { get; set; }
public ulong InitialMaxStreamDataBidirectionalRemote { get; set; }
public ulong InitialMaxStreamDataUnidirectional { get; set; }
public ulong InitialMaxStreamsBidirectional { get; set; }
public ulong InitialMaxStreamsUnidirectional { get; set; }
public ushort MaxUdpPayloadSize { get; set; }
public Security.SecProtocolOptions SecProtocolOptions { get; }
public bool StreamIsUnidirectional { get; set; }
// methods
public void AddTlsApplicationProtocol (string applicationProtocol);
}
public class NWQuicMetadata : Network.NWProtocolMetadata, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public NWQuicMetadata (IntPtr handle, bool owns);
// properties
public System.ValueTuple<System.UInt64,System.String> ApplicationError { get; set; }
public ulong ApplicationErrorCode { get; }
public string ApplicationErrorReason { get; }
public ushort KeepaliveInterval { get; set; }
public ulong LocalMaxStreamsUnidirectional { get; set; }
public ulong MaxStreamsBidirectional { get; set; }
public ulong RemoteIdleTimeout { get; }
public ulong RemoteMaxStreamsBidirectional { get; }
public ulong RemoteMaxStreamsUnidirectional { get; }
public Security.SecProtocolMetadata SecProtocolMetadata { get; }
public ulong StreamApplicationError { get; set; }
public ulong StreamId { get; }
}
[Serializable]
public enum NWReportResolutionProtocol {
Https = 4,
Tcp = 2,
Tls = 3,
Udp = 1,
Unknown = 0,
}
public class NWResolutionReport : CoreFoundation.NativeObject, ObjCRuntime.INativeObject, System.IDisposable {
// properties
public uint EndpointCount { get; }
public ulong Milliseconds { get; }
public NWEndpoint PreferredEndpoint { get; }
public NWReportResolutionProtocol Protocol { get; }
public NWReportResolutionSource Source { get; }
public NWEndpoint SuccessfulEndpoint { get; }
}
public class NWResolverConfig : CoreFoundation.NativeObject, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public NWResolverConfig (NWEndpoint urlEndpoint, NWResolverConfigEndpointType endpointType);
public NWResolverConfig (IntPtr handle, bool owns);
// methods
public void AddServerAddress (NWEndpoint serverAddress);
}
[Serializable]
public enum NWResolverConfigEndpointType {
Https = 0,
Tls = 1,
}
Modified fields:
-public const string Version = "15.2.0";
+public const string Version = "15.3.0";
Added method:
public static IntPtr GetCheckedHandle (this INativeObject self);
Added property:
public static string OriginalWorkingDirectory { get; }
public abstract class DisposableObject : INativeObject, System.IDisposable {
// constructors
protected DisposableObject ();
protected DisposableObject (IntPtr handle, bool owns);
protected DisposableObject (IntPtr handle, bool owns, bool verify);
// properties
protected override IntPtr Handle { get; set; }
protected bool Owns { get; }
// methods
protected void ClearHandle ();
public virtual void Dispose ();
protected virtual void Dispose (bool disposing);
public IntPtr GetCheckedHandle ();
protected virtual void InitializeHandle (IntPtr handle);
protected override void ~DisposableObject ();
}
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 ~SecAccessControl ();
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 ~SecCertificate ();
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 ~SecIdentity ();
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 ~SecKey ();
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 ();