[corebluetooth] Update for Xcode 12 beta 3 (#9186)
Apple removed the 10.16 API instead of marking them for 11.0 ?!?
This commit is contained in:
Родитель
fd7b9c1f9e
Коммит
e47e10addf
|
@ -182,7 +182,7 @@ namespace CoreBluetooth {
|
|||
}
|
||||
|
||||
[Flags, iOS (13,0), TV (13,0), Watch (6,0)]
|
||||
[Mac (10,16)]
|
||||
[NoMac]
|
||||
[Native]
|
||||
public enum CBCentralManagerFeature : ulong {
|
||||
ExtendedScanAndConnect = 1uL << 0,
|
||||
|
|
|
@ -66,7 +66,7 @@ namespace CoreBluetooth {
|
|||
}
|
||||
|
||||
[iOS (13,0), TV (13,0), Watch (6,0)]
|
||||
[Mac (10,16)]
|
||||
[NoMac]
|
||||
[StrongDictionary ("CBConnectionEventMatchingOptionsKeys")]
|
||||
interface CBConnectionEventMatchingOptions {
|
||||
NSUuid [] PeripheralUuids { get; set; }
|
||||
|
@ -74,7 +74,7 @@ namespace CoreBluetooth {
|
|||
}
|
||||
|
||||
[iOS (13,0), TV (13,0), Watch (6,0)]
|
||||
[Mac (10,16)]
|
||||
[NoMac]
|
||||
[Static]
|
||||
[Internal]
|
||||
interface CBConnectionEventMatchingOptionsKeys {
|
||||
|
@ -234,19 +234,19 @@ namespace CoreBluetooth {
|
|||
bool IsScanning { get; }
|
||||
|
||||
[iOS (13,0), TV (13,0), Watch (6,0)]
|
||||
[Mac (10,16)]
|
||||
[NoMac]
|
||||
[Static]
|
||||
[Export ("supportsFeatures:")]
|
||||
bool SupportsFeatures (CBCentralManagerFeature features);
|
||||
|
||||
[EditorBrowsable (EditorBrowsableState.Advanced)]
|
||||
[iOS (13,0), TV (13,0), Watch (6,0)]
|
||||
[Mac (10,16)]
|
||||
[NoMac]
|
||||
[Export ("registerForConnectionEventsWithOptions:")]
|
||||
void RegisterForConnectionEvents ([NullAllowed] NSDictionary options);
|
||||
|
||||
[iOS (13,0), TV (13,0), Watch (6,0)]
|
||||
[Mac (10,16)]
|
||||
[NoMac]
|
||||
[Wrap ("RegisterForConnectionEvents (options.GetDictionary ())")]
|
||||
void RegisterForConnectionEvents ([NullAllowed] CBConnectionEventMatchingOptions options);
|
||||
}
|
||||
|
@ -363,7 +363,7 @@ namespace CoreBluetooth {
|
|||
void WillRestoreState (CBCentralManager central, NSDictionary dict);
|
||||
|
||||
[iOS (13,0), TV (13,0), Watch (6,0)]
|
||||
[Mac (10,16)]
|
||||
[NoMac]
|
||||
[Export ("centralManager:connectionEventDidOccur:forPeripheral:"), EventArgs ("CBPeripheralConnectionEvent")]
|
||||
void ConnectionEventDidOccur (CBCentralManager central, CBConnectionEvent connectionEvent, CBPeripheral peripheral);
|
||||
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
!extra-protocol-member! unexpected selector CBCentralManagerDelegate::centralManager:connectionEventDidOccur:forPeripheral: found
|
||||
!unknown-field! CBConnectionEventMatchingOptionPeripheralUUIDs bound
|
||||
!unknown-field! CBConnectionEventMatchingOptionServiceUUIDs bound
|
||||
!unknown-native-enum! CBCentralManagerFeature bound
|
Загрузка…
Ссылка в новой задаче