Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CoreBluetooth] Add support for xcode 15 beta 6. #18836

Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions src/corebluetooth.cs
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,8 @@ interface CBConnectPeripheralOptions {
[iOS (13, 0), TV (13, 0), Watch (6, 0), NoMac]
[MacCatalyst (13, 1)]
bool RequiresAncs { get; set; }
[iOS (17, 0), TV (17, 0), Watch (10, 0), Mac (14, 0), MacCatalyst (17, 0)]
bool EnableAutoReconnect { get; }
}

[Static]
Expand All @@ -125,6 +127,9 @@ interface CBConnectPeripheralOptionsKeys {
[MacCatalyst (13, 1)]
[Field ("CBConnectPeripheralOptionRequiresANCS")]
NSString RequiresAncsKey { get; }
[iOS (17, 0), TV (17, 0), Watch (10, 0), Mac (14, 0), MacCatalyst (17, 0)]
[Field ("CBConnectPeripheralOptionEnableAutoReconnect")]
NSString EnableAutoReconnectKey { get; }
}

[MacCatalyst (13, 1)]
Expand Down Expand Up @@ -378,6 +383,10 @@ interface CBCentralManagerDelegate {
[MacCatalyst (13, 1)]
[Export ("centralManager:didUpdateANCSAuthorizationForPeripheral:"), EventArgs ("CBAncsAuthorizationUpdate")]
void DidUpdateAncsAuthorization (CBCentralManager central, CBPeripheral peripheral);

[iOS (17, 0), TV (17, 0), Watch (10, 0), Mac (14, 0), MacCatalyst (17, 0), EventArgs ("CBPeripheralDiconnectionEvent")]
[Export ("centralManager:didDisconnectPeripheral:timestamp:isReconnecting:error:")]
void DidDisconnectPeripheral (CBCentralManager central, CBPeripheral peripheral, double timestamp, bool isReconnecting, [NullAllowed] NSError error);
}

[MacCatalyst (13, 1)]
Expand Down
2 changes: 2 additions & 0 deletions tests/cecil-tests/BlittablePInvokes.KnownFailures.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1329,6 +1329,8 @@ public partial class BlittablePInvokes {
"System.Void UIKit.UIAccessibility::UIAccessibilityRequestGuidedAccessSession(System.Boolean,ObjCRuntime.BlockLiteral*)",
"System.Void UIKit.UIGraphics::BeginImageContextWithOptions(CoreGraphics.CGSize,System.Boolean,System.Runtime.InteropServices.NFloat)",
"System.Void UIKit.UIGuidedAccessRestriction::UIGuidedAccessConfigureAccessibilityFeatures(System.UIntPtr,System.Boolean,ObjCRuntime.BlockLiteral*)",
"System.Void ObjCRuntime.Messaging::void_objc_msgSend_NativeHandle_NativeHandle_Double_bool_NativeHandle(System.IntPtr,System.IntPtr,ObjCRuntime.NativeHandle,ObjCRuntime.NativeHandle,System.Double,System.Boolean,ObjCRuntime.NativeHandle)",
"System.Void ObjCRuntime.Messaging::void_objc_msgSendSuper_NativeHandle_NativeHandle_Double_bool_NativeHandle(System.IntPtr,System.IntPtr,ObjCRuntime.NativeHandle,ObjCRuntime.NativeHandle,System.Double,System.Boolean,ObjCRuntime.NativeHandle)",
};
}
}

This file was deleted.

This file was deleted.

This file was deleted.

2 changes: 0 additions & 2 deletions tests/xtro-sharpie/iOS-CoreBluetooth.todo

This file was deleted.

2 changes: 0 additions & 2 deletions tests/xtro-sharpie/macOS-CoreBluetooth.todo

This file was deleted.

2 changes: 0 additions & 2 deletions tests/xtro-sharpie/tvOS-CoreBluetooth.todo

This file was deleted.

2 changes: 0 additions & 2 deletions tests/xtro-sharpie/watchOS-CoreBluetooth.todo

This file was deleted.

Loading