Skip to content

Instantly share code, notes, and snippets.

@vs-mobiletools-engineering-service2
Created August 28, 2023 21:01
Show Gist options
  • Save vs-mobiletools-engineering-service2/3f9fc7caeb0c43f427aae0705a5b1e43 to your computer and use it in GitHub Desktop.
Save vs-mobiletools-engineering-service2/3f9fc7caeb0c43f427aae0705a5b1e43 to your computer and use it in GitHub Desktop.
previous-api-comparison/diff/dotnet/Microsoft.macOS.Ref/ref/net8.0/Microsoft.macOS.md

API diff: Microsoft.macOS.dll

Microsoft.macOS.dll

Namespace CoreBluetooth

Type Changed: CoreBluetooth.CBCentralManager

Added event:

public event System.EventHandler<CBPeripheralDiconnectionEventEventArgs> DidDisconnectPeripheral;

Type Changed: CoreBluetooth.CBCentralManagerDelegate

Added method:

public virtual void DidDisconnectPeripheral (CBCentralManager central, CBPeripheral peripheral, double timestamp, bool isReconnecting, Foundation.NSError error);

Type Changed: CoreBluetooth.CBCentralManagerDelegate_Extensions

Added method:

public static void DidDisconnectPeripheral (this ICBCentralManagerDelegate This, CBCentralManager central, CBPeripheral peripheral, double timestamp, bool isReconnecting, Foundation.NSError error);

Type Changed: CoreBluetooth.CBConnectPeripheralOptions

Added property:

public bool? EnableAutoReconnect { get; }

New Type: CoreBluetooth.CBPeripheralDiconnectionEventEventArgs

public class CBPeripheralDiconnectionEventEventArgs : System.EventArgs {
	// constructors
	public CBPeripheralDiconnectionEventEventArgs (CBPeripheral peripheral, double timestamp, bool isReconnecting, Foundation.NSError error);
	// properties
	public Foundation.NSError Error { get; set; }
	public bool IsReconnecting { get; set; }
	public CBPeripheral Peripheral { get; set; }
	public double Timestamp { get; set; }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment