[Mac] CoreBluetooth low hanging fruit bindings (#947)
This commit is contained in:
Родитель
1d54c461b0
Коммит
065b189c26
|
@ -63,7 +63,7 @@ namespace XamCore.CoreBluetooth {
|
|||
Disconnecting
|
||||
}
|
||||
|
||||
#if !MONOMAC || !XAMCORE_4_0
|
||||
#if !XAMCORE_4_0
|
||||
// NSInteger -> CBPeripheralManager.h
|
||||
[Native]
|
||||
public enum CBPeripheralManagerAuthorizationStatus : nint {
|
||||
|
|
|
@ -488,11 +488,11 @@ namespace XamCore.CoreBluetooth {
|
|||
[Since (7,0), Mavericks]
|
||||
[Export ("identifier")]
|
||||
NSUuid Identifier { get; }
|
||||
#else
|
||||
[iOS (9,0)]
|
||||
#endif
|
||||
|
||||
[iOS (9,0)][Mac (10,12)]
|
||||
[Export ("maximumWriteValueLengthForType:")]
|
||||
nuint GetMaximumWriteValueLength (CBCharacteristicWriteType type);
|
||||
#endif
|
||||
|
||||
#if !XAMCORE_2_0
|
||||
[Availability (Deprecated = Platform.iOS_7_0, Obsoleted = Platform.iOS_9_0)]
|
||||
|
@ -731,11 +731,9 @@ namespace XamCore.CoreBluetooth {
|
|||
NSString ServiceChangedString { get; }
|
||||
#endif // !XAMCORE_3_0
|
||||
|
||||
#if !MONOMAC
|
||||
[Since (7,1)]
|
||||
[Since (7,1)][Mac (10,10)]
|
||||
[Export ("UUIDString")]
|
||||
string Uuid { get; }
|
||||
#endif
|
||||
}
|
||||
|
||||
[Since (6,0), Mac(10,9)]
|
||||
|
|
|
@ -392,7 +392,7 @@
|
|||
# Only one type currently, which default returns. Currently unneeded unless they extend.
|
||||
!missing-selector! +NSDistributedNotificationCenter::notificationCenterForType: not bound
|
||||
|
||||
# iOS Only, not available for macOS - NS_CLASS_AVAILABLE(NA, 10_0)
|
||||
# iOS Only, not available for macOS - NS_CLASS_AVAILABLE(NA, XXX)
|
||||
!missing-protocol! MTLFence not bound
|
||||
!missing-protocol! MTLHeap not bound
|
||||
!missing-protocol-member! MTLBlitCommandEncoder::updateFence: not found
|
||||
|
@ -413,6 +413,9 @@
|
|||
!missing-selector! MTLHeapDescriptor::setStorageMode: not bound
|
||||
!missing-selector! MTLHeapDescriptor::size not bound
|
||||
!missing-selector! MTLHeapDescriptor::storageMode not bound
|
||||
!missing-field! CBCentralManagerOptionRestoreIdentifierKey not bound
|
||||
!missing-field! CBConnectPeripheralOptionNotifyOnConnectionKey not bound
|
||||
!missing-field! CBConnectPeripheralOptionNotifyOnNotificationKey not bound
|
||||
|
||||
# iOS Only - NS_AVAILABLE_IOS
|
||||
!missing-protocol-member! MTLRenderCommandEncoder::updateFence:afterStages: not found
|
||||
|
@ -422,3 +425,7 @@
|
|||
!missing-selector! MTLRenderPassDepthAttachmentDescriptor::setDepthResolveFilter: not bound
|
||||
!missing-selector! MTLSamplerDescriptor::lodAverage not bound
|
||||
!missing-selector! MTLSamplerDescriptor::setLodAverage: not bound
|
||||
|
||||
# Deprecated in the same version of OS X that CBCentral becomes available. The alternative (Identifier property) is bound and available.
|
||||
!missing-selector! CBCentral::UUID not bound
|
||||
!missing-selector! CBPeripheral::UUID not bound
|
Загрузка…
Ссылка в новой задаче