CoreBluetooth Changes for Swift
CoreBluetooth
Modified CBATTError [enum]
| Declaration | Protocols | |
|---|---|---|
| From | enum CBATTError : Int {
case Success
case InvalidHandle
case ReadNotPermitted
case WriteNotPermitted
case InvalidPdu
case InsufficientAuthentication
case RequestNotSupported
case InvalidOffset
case InsufficientAuthorization
case PrepareQueueFull
case AttributeNotFound
case AttributeNotLong
case InsufficientEncryptionKeySize
case InvalidAttributeValueLength
case UnlikelyError
case InsufficientEncryption
case UnsupportedGroupType
case InsufficientResources
}
extension CBATTError : Hashable, Equatable, __BridgedNSError, ErrorType, RawRepresentable, _ObjectiveCBridgeableErrorType, _BridgedNSError {
}
extension CBATTError : Hashable, Equatable, __BridgedNSError, ErrorType, RawRepresentable, _ObjectiveCBridgeableErrorType, _BridgedNSError {
} | Equatable, ErrorType, Hashable, RawRepresentable |
| To | enum CBATTError : Int {
case Success
case InvalidHandle
case ReadNotPermitted
case WriteNotPermitted
case InvalidPdu
case InsufficientAuthentication
case RequestNotSupported
case InvalidOffset
case InsufficientAuthorization
case PrepareQueueFull
case AttributeNotFound
case AttributeNotLong
case InsufficientEncryptionKeySize
case InvalidAttributeValueLength
case UnlikelyError
case InsufficientEncryption
case UnsupportedGroupType
case InsufficientResources
}
extension CBATTError : _BridgedNSError {
}
extension CBATTError : _BridgedNSError {
} | -- |
Modified CBATTRequest
| Protocols | |
|---|---|
| From | AnyObject |
| To | -- |
Modified CBAttribute
| Protocols | |
|---|---|
| From | AnyObject |
| To | -- |
Modified CBCentral
| Protocols | |
|---|---|
| From | AnyObject |
| To | -- |
Modified CBCentralManager
| Protocols | |
|---|---|
| From | AnyObject |
| To | -- |
Modified CBCentralManagerState [enum]
| Protocols | |
|---|---|
| From | Equatable, Hashable, RawRepresentable |
| To | -- |
Modified CBCharacteristic
| Protocols | |
|---|---|
| From | AnyObject |
| To | -- |
Modified CBCharacteristicWriteType [enum]
| Protocols | |
|---|---|
| From | Equatable, Hashable, RawRepresentable |
| To | -- |
Modified CBDescriptor
| Protocols | |
|---|---|
| From | AnyObject |
| To | -- |
Modified CBError [enum]
| Declaration | Protocols | |
|---|---|---|
| From | enum CBError : Int {
case Unknown
case InvalidParameters
case InvalidHandle
case NotConnected
case OutOfSpace
case OperationCancelled
case ConnectionTimeout
case PeripheralDisconnected
case UUIDNotAllowed
case AlreadyAdvertising
case ConnectionFailed
case ConnectionLimitReached
}
extension CBError : Hashable, Equatable, __BridgedNSError, ErrorType, RawRepresentable, _ObjectiveCBridgeableErrorType, _BridgedNSError {
}
extension CBError : Hashable, Equatable, __BridgedNSError, ErrorType, RawRepresentable, _ObjectiveCBridgeableErrorType, _BridgedNSError {
} | Equatable, ErrorType, Hashable, RawRepresentable |
| To | enum CBError : Int {
case Unknown
case InvalidParameters
case InvalidHandle
case NotConnected
case OutOfSpace
case OperationCancelled
case ConnectionTimeout
case PeripheralDisconnected
case UUIDNotAllowed
case AlreadyAdvertising
case ConnectionFailed
case ConnectionLimitReached
}
extension CBError : _BridgedNSError {
}
extension CBError : _BridgedNSError {
} | -- |
Modified CBMutableCharacteristic
| Protocols | |
|---|---|
| From | AnyObject |
| To | -- |
Modified CBMutableDescriptor
| Protocols | |
|---|---|
| From | AnyObject |
| To | -- |
Modified CBMutableService
| Protocols | |
|---|---|
| From | AnyObject |
| To | -- |
Modified CBPeer
| Protocols | |
|---|---|
| From | AnyObject, NSCopying |
| To | NSCopying |
Modified CBPeripheral
| Protocols | |
|---|---|
| From | AnyObject |
| To | -- |
Modified CBPeripheralManager
| Protocols | |
|---|---|
| From | AnyObject |
| To | -- |
| Protocols | |
|---|---|
| From | Equatable, Hashable, RawRepresentable |
| To | -- |
| Protocols | |
|---|---|
| From | Equatable, Hashable, RawRepresentable |
| To | -- |
Modified CBPeripheralManagerState [enum]
| Protocols | |
|---|---|
| From | Equatable, Hashable, RawRepresentable |
| To | -- |
Modified CBPeripheralState [enum]
| Protocols | |
|---|---|
| From | Equatable, Hashable, RawRepresentable |
| To | -- |
Modified CBService
| Protocols | |
|---|---|
| From | AnyObject |
| To | -- |
Modified CBUUID
| Protocols | |
|---|---|
| From | AnyObject, NSCopying |
| To | NSCopying |