title | description | author | ms.author | ms.date | ms.topic | ms.assetid | ms.prod |
---|---|---|---|---|---|---|---|
Xamarin.Mac SDK API diff: 7.8.2 vs 7.11.0 |
List of API changes between Xamarin.Mac versions 7.8.2 and 7.11.0. |
spouliot |
sepoulio |
4/8/2021 |
article |
f2ec13ed-6cd7-818f-363b-dc982fc5c09d |
xamarin |
Added properties:
public static Foundation.NSString NetworkBonjourServiceType { get; }
public static Foundation.NSString NetworkNotificationContactsDidChange { get; }
public static Foundation.NSString NetworkNotificationSessionDidChange { get; }
public class MidiNetworkConnection : Foundation.NSObject, Foundation.INSObjectProtocol, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject> {
// constructors
protected MidiNetworkConnection (Foundation.NSObjectFlag t);
protected MidiNetworkConnection (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual MidiNetworkHost Host { get; }
// methods
public static MidiNetworkConnection FromHost (MidiNetworkHost host);
}
public class MidiNetworkHost : Foundation.NSObject, Foundation.INSObjectProtocol, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject> {
// constructors
protected MidiNetworkHost (Foundation.NSObjectFlag t);
protected MidiNetworkHost (IntPtr handle);
// properties
public virtual string Address { get; }
public override IntPtr ClassHandle { get; }
public virtual string Name { get; }
public virtual string NetServiceDomain { get; }
public virtual string NetServiceName { get; }
public virtual nint Port { get; }
// methods
public static MidiNetworkHost Create (string hostName, Foundation.NSNetService netService);
public static MidiNetworkHost Create (string hostName, string netServiceName, string netServiceDomain);
public static MidiNetworkHost Create (string hostName, string address, nint port);
public virtual bool HasSameAddressAs (MidiNetworkHost other);
}
public class MidiNetworkSession : Foundation.NSObject, Foundation.INSObjectProtocol, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject> {
// constructors
protected MidiNetworkSession (Foundation.NSObjectFlag t);
protected MidiNetworkSession (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual MidiNetworkConnectionPolicy ConnectionPolicy { get; set; }
public virtual Foundation.NSSet Connections { get; }
public virtual Foundation.NSSet Contacts { get; }
public static MidiNetworkSession DefaultSession { get; }
public MidiEndpoint DestinationEndPoint { get; }
public virtual bool Enabled { get; set; }
public virtual string LocalName { get; }
public virtual string NetworkName { get; }
public virtual nint NetworkPort { get; }
public MidiEndpoint SourceEndpoint { get; }
// methods
public virtual bool AddConnection (MidiNetworkConnection connection);
public virtual bool AddContact (MidiNetworkHost contact);
public virtual bool RemoveConnection (MidiNetworkConnection connection);
public virtual bool RemoveContact (MidiNetworkHost contact);
}
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 ~CTRunDelegate ();
Added property:
public IntPtr Handle { get; }
public static class CVImageBufferAlphaChannelModeExtensions {
// methods
public static Foundation.NSString GetConstant (this CVImageBufferAlphaChannelMode self);
public static CVImageBufferAlphaChannelMode GetValue (Foundation.NSString constant);
}
Modified methods:
public bool OpenMaps (MKMapItem[] mapItems--- = NULL---, MKLaunchOptions launchOptions = NULL)
Modified fields:
-public const string Version = "7.8.2";
+public const string Version = "7.11.0";
Obsoleted fields:
[Obsolete ("Use 'MacCatalyst' instead.")]
UIKitForMac = 5,
Added property:
public CoreGraphics.CGPoint[] QuadrilateralPoints { get; set; }
Added property:
public nfloat[] DashPattern { get; set; }
public static class HdrMetadataInsertionModeExtensions {
// methods
public static Foundation.NSString GetConstant (this HdrMetadataInsertionMode self);
public static HdrMetadataInsertionMode GetValue (Foundation.NSString constant);
}