Documentation Archive Developer
Search

IOBluetooth Changes for Swift

IOBluetooth

Declaration
From
class IOBluetoothSDPUUID : NSData {
    convenience init!(bytes bytes: UnsafeRawPointer!, length length: UInt32)
    class func withBytes(_ bytes: UnsafeRawPointer!, length length: UInt32) -> Self!
    convenience init!(data data: Data!)
    class func withData(_ data: Data!) -> Self!
    class func uuid16(_ uuid16: BluetoothSDPUUID16) -> Self!
    class func uuid32(_ uuid32: BluetoothSDPUUID32) -> Self!
    class func withSDPUUIDRef(_ sdpUUIDRef: IOBluetoothSDPUUIDRef!) -> Self!
    init!(uuid16 uuid16: BluetoothSDPUUID16)
    init!(uuid32 uuid32: BluetoothSDPUUID32)
    func getRef() -> Unmanaged<IOBluetoothSDPUUIDRef>!
    func getWithLength(_ newLength: UInt32) -> Self!
    func isEqual(to otherUUID: IOBluetoothSDPUUID!) -> Bool
    func classForCoder() -> Swift.AnyClass!
    func classForArchiver() -> Swift.AnyClass!
    func classForPortCoder() -> Swift.AnyClass!
    func getBytes(_ buffer: UnsafeMutableRawPointer)
    class func dataWithContentsOfMappedFile(_ path: String) -> Any?
    init?(contentsOfMappedFile path: String)
    init?(base64Encoding base64String: String)
    func base64Encoding() -> String
    init?(base64Encoded base64String: String, options options: NSData.Base64DecodingOptions = [])
    func base64EncodedString(options options: NSData.Base64EncodingOptions = []) -> String
    init?(base64Encoded base64Data: Data, options options: NSData.Base64DecodingOptions = [])
    func base64EncodedData(options options: NSData.Base64EncodingOptions = []) -> Data
    class func data() -> Self
    convenience init(bytes bytes: UnsafeRawPointer?, length length: Int)
    class func withBytes(_ bytes: UnsafeRawPointer?, length length: Int) -> Self
    convenience init(bytesNoCopy bytes: UnsafeMutableRawPointer, length length: Int)
    class func withBytesNoCopy(_ bytes: UnsafeMutableRawPointer, length length: Int) -> Self
    convenience init(bytesNoCopy bytes: UnsafeMutableRawPointer, length length: Int, freeWhenDone b: Bool)
    class func withBytesNoCopy(_ bytes: UnsafeMutableRawPointer, length length: Int, freeWhenDone b: Bool) -> Self
    convenience init(contentsOfFile path: String, options readOptionsMask: NSData.ReadingOptions = []) throws
    class func withContentsOfFile(_ path: String, options readOptionsMask: NSData.ReadingOptions = []) throws -> Self
    convenience init(contentsOf url: URL, options readOptionsMask: NSData.ReadingOptions = []) throws
    class func withContentsOf(_ url: URL, options readOptionsMask: NSData.ReadingOptions = []) throws -> Self
    convenience init?(contentsOfFile path: String)
    class func withContentsOfFile(_ path: String) -> Self?
    convenience init?(contentsOf url: URL)
    class func withContentsOf(_ url: URL) -> Self?
    init(bytes bytes: UnsafeRawPointer?, length length: Int)
    init(bytesNoCopy bytes: UnsafeMutableRawPointer, length length: Int)
    init(bytesNoCopy bytes: UnsafeMutableRawPointer, length length: Int, freeWhenDone b: Bool)
    init(bytesNoCopy bytes: UnsafeMutableRawPointer, length length: Int, deallocator deallocator: (@escaping (UnsafeMutableRawPointer, Int) -> Void)? = nil)
    init(contentsOfFile path: String, options readOptionsMask: NSData.ReadingOptions = []) throws
    init(contentsOf url: URL, options readOptionsMask: NSData.ReadingOptions = []) throws
    init?(contentsOfFile path: String)
    init?(contentsOf url: URL)
    init(data data: Data)
    class func withData(_ data: Data) -> Self
    var description: String { get }
    func getBytes(_ buffer: UnsafeMutableRawPointer, length length: Int)
    func getBytes(_ buffer: UnsafeMutableRawPointer, range range: NSRange)
    func isEqual(to other: Data) -> Bool
    func subdata(with range: NSRange) -> Data
    func write(toFile path: String, atomically useAuxiliaryFile: Bool) -> Bool
    func write(to url: URL, atomically atomically: Bool) -> Bool
    func write(toFile path: String, options writeOptionsMask: NSData.WritingOptions = []) throws
    func write(to url: URL, options writeOptionsMask: NSData.WritingOptions = []) throws
    func range(of dataToFind: Data, options mask: NSData.SearchOptions = [], in searchRange: NSRange) -> NSRange
    func enumerateBytes(_ block: (UnsafeRawPointer, NSRange, UnsafeMutablePointer<ObjCBool>) -> Void)
    struct ReadingOptions : OptionSet {
        init(rawValue rawValue: UInt)
        static var mappedIfSafe: NSData.ReadingOptions { get }
        static var uncached: NSData.ReadingOptions { get }
        static var alwaysMapped: NSData.ReadingOptions { get }
        static var dataReadingMapped: NSData.ReadingOptions { get }
        static var mappedRead: NSData.ReadingOptions { get }
        static var uncachedRead: NSData.ReadingOptions { get }
    }
    struct WritingOptions : OptionSet {
        init(rawValue rawValue: UInt)
        static var atomic: NSData.WritingOptions { get }
        static var withoutOverwriting: NSData.WritingOptions { get }
        static var noFileProtection: NSData.WritingOptions { get }
        static var completeFileProtection: NSData.WritingOptions { get }
        static var completeFileProtectionUnlessOpen: NSData.WritingOptions { get }
        static var completeFileProtectionUntilFirstUserAuthentication: NSData.WritingOptions { get }
        static var fileProtectionMask: NSData.WritingOptions { get }
        static var atomicWrite: NSData.WritingOptions { get }
    }
    struct SearchOptions : OptionSet {
        init(rawValue rawValue: UInt)
        static var backwards: NSData.SearchOptions { get }
        static var anchored: NSData.SearchOptions { get }
    }
    struct Base64EncodingOptions : OptionSet {
        init(rawValue rawValue: UInt)
        static var lineLength64Characters: NSData.Base64EncodingOptions { get }
        static var lineLength76Characters: NSData.Base64EncodingOptions { get }
        static var endLineWithCarriageReturn: NSData.Base64EncodingOptions { get }
        static var endLineWithLineFeed: NSData.Base64EncodingOptions { get }
    }
    struct Base64DecodingOptions : OptionSet {
        init(rawValue rawValue: UInt)
        static var ignoreUnknownCharacters: NSData.Base64DecodingOptions { get }
    }
    func fileTransferServicesConnectionComplete(_ inServices: OBEXFileTransferServices!, error inError: OBEXError)
    func fileTransferServicesDisconnectionComplete(_ inServices: OBEXFileTransferServices!, error inError: OBEXError)
    func fileTransferServicesAbortComplete(_ inServices: OBEXFileTransferServices!, error inError: OBEXError)
    func fileTransferServicesRemoveItemComplete(_ inServices: OBEXFileTransferServices!, error inError: OBEXError, removedItem inItemName: String!)
    func fileTransferServicesCreateFolderComplete(_ inServices: OBEXFileTransferServices!, error inError: OBEXError, folder inFolderName: String!)
    func fileTransferServicesPathChangeComplete(_ inServices: OBEXFileTransferServices!, error inError: OBEXError, finalPath inPath: String!)
    func fileTransferServicesRetrieveFolderListingComplete(_ inServices: OBEXFileTransferServices!, error inError: OBEXError, listing inListing: [Any]!)
    func fileTransferServicesFilePreparationComplete(_ inServices: OBEXFileTransferServices!, error inError: OBEXError)
    func fileTransferServicesSendFileProgress(_ inServices: OBEXFileTransferServices!, transferProgress inProgressDescription: [AnyHashable : Any]!)
    func fileTransferServicesSendFileComplete(_ inServices: OBEXFileTransferServices!, error inError: OBEXError)
    func fileTransferServicesCopyRemoteFileProgress(_ inServices: OBEXFileTransferServices!, transferProgress inProgressDescription: [AnyHashable : Any]!)
    func fileTransferServicesCopyRemoteFileComplete(_ inServices: OBEXFileTransferServices!, error inError: OBEXError)
    func registerIncomingDataListener(_ listener: IOBluetoothL2CAPChannelIncomingDataListener!, refCon refCon: UnsafeMutableRawPointer!) -> IOReturn
    func write(_ data: UnsafeMutableRawPointer!, length length: UInt16) -> IOReturn
    class func withL2CAPChannelRef(_ l2capChannelRef: IOBluetoothL2CAPChannelRef!) -> IOBluetoothL2CAPChannel!
    func getL2CAPChannelRef() -> Unmanaged<IOBluetoothL2CAPChannelRef>!
    func readRSSI(forDeviceComplete controller: Any!, device device: IOBluetoothDevice!, info info: UnsafeMutablePointer<BluetoothHCIRSSIInfo>!, error error: IOReturn)
    func readLinkQuality(forDeviceComplete controller: Any!, device device: IOBluetoothDevice!, info info: UnsafeMutablePointer<BluetoothHCILinkQualityInfo>!, error error: IOReturn)
    func scriptingIsEqual(to object: Any) -> Bool
    func scriptingIsLessThanOrEqual(to object: Any) -> Bool
    func scriptingIsLessThan(_ object: Any) -> Bool
    func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool
    func scriptingIsGreaterThan(_ object: Any) -> Bool
    func scriptingBegins(with object: Any) -> Bool
    func scriptingEnds(with object: Any) -> Bool
    func scriptingContains(_ object: Any) -> Bool
    func isEqual(to object: Any?) -> Bool
    func isLessThanOrEqual(to object: Any?) -> Bool
    func isLessThan(_ object: Any?) -> Bool
    func isGreaterThanOrEqual(to object: Any?) -> Bool
    func isGreaterThan(_ object: Any?) -> Bool
    func isNotEqual(to object: Any?) -> Bool
    func doesContain(_ object: Any) -> Bool
    func isLike(_ object: String) -> Bool
    func isCaseInsensitiveLike(_ object: String) -> Bool
    var objectSpecifier: NSScriptObjectSpecifier? { get }
    func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]?
    func value(at index: Int, inPropertyWithKey key: String) -> Any?
    func value(withName name: String, inPropertyWithKey key: String) -> Any?
    func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any?
    func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String)
    func removeValue(at index: Int, fromPropertyWithKey key: String)
    func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any)
    func insertValue(_ value: Any, inPropertyWithKey key: String)
    func coerceValue(_ value: Any?, forKey key: String) -> Any?
    var classCode: FourCharCode { get }
    var className: String { get }
    func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any?
    var scriptingProperties: [String : Any]?
    func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any?
    func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any?
    @NSCopying var classDescription: NSClassDescription { get }
    var attributeKeys: [String] { get }
    var toOneRelationshipKeys: [String] { get }
    var toManyRelationshipKeys: [String] { get }
    func inverse(forRelationshipKey relationshipKey: String) -> String?
    var classForPortCoder: AnyClass { get }
    func replacementObject(for coder: NSPortCoder) -> Any?
    var classForArchiver: AnyClass? { get }
    func replacementObject(for archiver: NSArchiver) -> Any?
    func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
    func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool)
    func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
    func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool)
    func performSelector(inBackground aSelector: Selector, with arg: Any?)
    class func classForKeyedUnarchiver() -> AnyClass
    var classForKeyedArchiver: AnyClass? { get }
    func replacementObject(for archiver: NSKeyedArchiver) -> Any?
    class func classFallbacksForKeyedArchiver() -> [String]
    class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String)
    class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String>
    class func automaticallyNotifiesObservers(forKey key: String) -> Bool
    var observationInfo: UnsafeMutableRawPointer?
    func willChangeValue(forKey key: String)
    func didChangeValue(forKey key: String)
    func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
    func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
    func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
    func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
    func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?)
    func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?)
    func removeObserver(_ observer: NSObject, forKeyPath keyPath: String)
    func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?)
    class func useStoredAccessor() -> Bool
    func storedValue(forKey key: String) -> Any?
    func takeStoredValue(_ value: Any?, forKey key: String)
    func takeValue(_ value: Any?, forKey key: String)
    func takeValue(_ value: Any?, forKeyPath keyPath: String)
    func handleQuery(withUnboundKey key: String) -> Any?
    func handleTakeValue(_ value: Any?, forUnboundKey key: String)
    func unableToSetNil(forKey key: String)
    func values(forKeys keys: [Any]) -> [AnyHashable : Any]
    func takeValues(from properties: [AnyHashable : Any])
    class var accessInstanceVariablesDirectly: Bool { get }
    func value(forKey key: String) -> Any?
    func setValue(_ value: Any?, forKey key: String)
    func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws
    func mutableArrayValue(forKey key: String) -> NSMutableArray
    func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet
    func mutableSetValue(forKey key: String) -> NSMutableSet
    func value(forKeyPath keyPath: String) -> Any?
    func setValue(_ value: Any?, forKeyPath keyPath: String)
    func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws
    func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray
    func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet
    func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet
    func value(forUndefinedKey key: String) -> Any?
    func setValue(_ value: Any?, forUndefinedKey key: String)
    func setNilValueForKey(_ key: String)
    func dictionaryWithValues(forKeys keys: [String]) -> [String : Any]
    func setValuesForKeys(_ keyedValues: [String : Any])
    func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool
    func fileManager(_ fm: FileManager, willProcessPath path: String)
    func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode])
    func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval)
    class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?)
    class func cancelPreviousPerformRequests(withTarget aTarget: Any)
    func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?)
    func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool
    var autoContentAccessingProxy: Any { get }
    class func pose(as aClass: AnyClass)
    class func version() -> Int
    class func setVersion(_ aVersion: Int)
    var classForCoder: AnyClass { get }
    func replacementObject(for aCoder: NSCoder) -> Any?
    func awakeAfter(using aDecoder: NSCoder) -> Any?
}
extension IOBluetoothSDPUUID : CVarArg {
}
extension IOBluetoothSDPUUID : Equatable, Hashable {
    var hashValue: Int { get }
}
To
class IOBluetoothSDPUUID : NSData {
    convenience init!(bytes bytes: UnsafeRawPointer!, length length: UInt32)
    class func withBytes(_ bytes: UnsafeRawPointer!, length length: UInt32) -> Self!
    convenience init!(data data: Data!)
    class func withData(_ data: Data!) -> Self!
    class func uuid16(_ uuid16: BluetoothSDPUUID16) -> Self!
    class func uuid32(_ uuid32: BluetoothSDPUUID32) -> Self!
    class func withSDPUUIDRef(_ sdpUUIDRef: IOBluetoothSDPUUIDRef!) -> Self!
    init!(uuid16 uuid16: BluetoothSDPUUID16)
    init!(uuid32 uuid32: BluetoothSDPUUID32)
    func getRef() -> Unmanaged<IOBluetoothSDPUUIDRef>!
    func getWithLength(_ newLength: UInt32) -> Self!
    func isEqual(to otherUUID: IOBluetoothSDPUUID!) -> Bool
    func classForCoder() -> Swift.AnyClass!
    func classForArchiver() -> Swift.AnyClass!
    func classForPortCoder() -> Swift.AnyClass!
    func getBytes(_ buffer: UnsafeMutableRawPointer)
    class func dataWithContentsOfMappedFile(_ path: String) -> Any?
    init?(contentsOfMappedFile path: String)
    init?(base64Encoding base64String: String)
    func base64Encoding() -> String
    init?(base64Encoded base64String: String, options options: NSData.Base64DecodingOptions = [])
    func base64EncodedString(options options: NSData.Base64EncodingOptions = []) -> String
    init?(base64Encoded base64Data: Data, options options: NSData.Base64DecodingOptions = [])
    func base64EncodedData(options options: NSData.Base64EncodingOptions = []) -> Data
    class func data() -> Self
    convenience init(bytes bytes: UnsafeRawPointer?, length length: Int)
    class func withBytes(_ bytes: UnsafeRawPointer?, length length: Int) -> Self
    convenience init(bytesNoCopy bytes: UnsafeMutableRawPointer, length length: Int)
    class func withBytesNoCopy(_ bytes: UnsafeMutableRawPointer, length length: Int) -> Self
    convenience init(bytesNoCopy bytes: UnsafeMutableRawPointer, length length: Int, freeWhenDone b: Bool)
    class func withBytesNoCopy(_ bytes: UnsafeMutableRawPointer, length length: Int, freeWhenDone b: Bool) -> Self
    convenience init(contentsOfFile path: String, options readOptionsMask: NSData.ReadingOptions = []) throws
    class func withContentsOfFile(_ path: String, options readOptionsMask: NSData.ReadingOptions = []) throws -> Self
    convenience init(contentsOf url: URL, options readOptionsMask: NSData.ReadingOptions = []) throws
    class func withContentsOf(_ url: URL, options readOptionsMask: NSData.ReadingOptions = []) throws -> Self
    convenience init?(contentsOfFile path: String)
    class func withContentsOfFile(_ path: String) -> Self?
    convenience init?(contentsOf url: URL)
    class func withContentsOf(_ url: URL) -> Self?
    init(bytes bytes: UnsafeRawPointer?, length length: Int)
    init(bytesNoCopy bytes: UnsafeMutableRawPointer, length length: Int)
    init(bytesNoCopy bytes: UnsafeMutableRawPointer, length length: Int, freeWhenDone b: Bool)
    init(bytesNoCopy bytes: UnsafeMutableRawPointer, length length: Int, deallocator deallocator: ((UnsafeMutableRawPointer, Int) -> Void)? = nil)
    init(contentsOfFile path: String, options readOptionsMask: NSData.ReadingOptions = []) throws
    init(contentsOf url: URL, options readOptionsMask: NSData.ReadingOptions = []) throws
    init?(contentsOfFile path: String)
    init?(contentsOf url: URL)
    init(data data: Data)
    class func withData(_ data: Data) -> Self
    var description: String { get }
    func getBytes(_ buffer: UnsafeMutableRawPointer, length length: Int)
    func getBytes(_ buffer: UnsafeMutableRawPointer, range range: NSRange)
    func isEqual(to other: Data) -> Bool
    func subdata(with range: NSRange) -> Data
    func write(toFile path: String, atomically useAuxiliaryFile: Bool) -> Bool
    func write(to url: URL, atomically atomically: Bool) -> Bool
    func write(toFile path: String, options writeOptionsMask: NSData.WritingOptions = []) throws
    func write(to url: URL, options writeOptionsMask: NSData.WritingOptions = []) throws
    func range(of dataToFind: Data, options mask: NSData.SearchOptions = [], in searchRange: NSRange) -> NSRange
    func enumerateBytes(_ block: (UnsafeRawPointer, NSRange, UnsafeMutablePointer<ObjCBool>) -> Void)
    struct ReadingOptions : OptionSet {
        init(rawValue rawValue: UInt)
        static var mappedIfSafe: NSData.ReadingOptions { get }
        static var uncached: NSData.ReadingOptions { get }
        static var alwaysMapped: NSData.ReadingOptions { get }
        static var dataReadingMapped: NSData.ReadingOptions { get }
        static var mappedRead: NSData.ReadingOptions { get }
        static var uncachedRead: NSData.ReadingOptions { get }
    }
    struct WritingOptions : OptionSet {
        init(rawValue rawValue: UInt)
        static var atomic: NSData.WritingOptions { get }
        static var withoutOverwriting: NSData.WritingOptions { get }
        static var noFileProtection: NSData.WritingOptions { get }
        static var completeFileProtection: NSData.WritingOptions { get }
        static var completeFileProtectionUnlessOpen: NSData.WritingOptions { get }
        static var completeFileProtectionUntilFirstUserAuthentication: NSData.WritingOptions { get }
        static var fileProtectionMask: NSData.WritingOptions { get }
        static var atomicWrite: NSData.WritingOptions { get }
    }
    struct SearchOptions : OptionSet {
        init(rawValue rawValue: UInt)
        static var backwards: NSData.SearchOptions { get }
        static var anchored: NSData.SearchOptions { get }
    }
    struct Base64EncodingOptions : OptionSet {
        init(rawValue rawValue: UInt)
        static var lineLength64Characters: NSData.Base64EncodingOptions { get }
        static var lineLength76Characters: NSData.Base64EncodingOptions { get }
        static var endLineWithCarriageReturn: NSData.Base64EncodingOptions { get }
        static var endLineWithLineFeed: NSData.Base64EncodingOptions { get }
    }
    struct Base64DecodingOptions : OptionSet {
        init(rawValue rawValue: UInt)
        static var ignoreUnknownCharacters: NSData.Base64DecodingOptions { get }
    }
    func fileTransferServicesConnectionComplete(_ inServices: OBEXFileTransferServices!, error inError: OBEXError)
    func fileTransferServicesDisconnectionComplete(_ inServices: OBEXFileTransferServices!, error inError: OBEXError)
    func fileTransferServicesAbortComplete(_ inServices: OBEXFileTransferServices!, error inError: OBEXError)
    func fileTransferServicesRemoveItemComplete(_ inServices: OBEXFileTransferServices!, error inError: OBEXError, removedItem inItemName: String!)
    func fileTransferServicesCreateFolderComplete(_ inServices: OBEXFileTransferServices!, error inError: OBEXError, folder inFolderName: String!)
    func fileTransferServicesPathChangeComplete(_ inServices: OBEXFileTransferServices!, error inError: OBEXError, finalPath inPath: String!)
    func fileTransferServicesRetrieveFolderListingComplete(_ inServices: OBEXFileTransferServices!, error inError: OBEXError, listing inListing: [Any]!)
    func fileTransferServicesFilePreparationComplete(_ inServices: OBEXFileTransferServices!, error inError: OBEXError)
    func fileTransferServicesSendFileProgress(_ inServices: OBEXFileTransferServices!, transferProgress inProgressDescription: [AnyHashable : Any]!)
    func fileTransferServicesSendFileComplete(_ inServices: OBEXFileTransferServices!, error inError: OBEXError)
    func fileTransferServicesCopyRemoteFileProgress(_ inServices: OBEXFileTransferServices!, transferProgress inProgressDescription: [AnyHashable : Any]!)
    func fileTransferServicesCopyRemoteFileComplete(_ inServices: OBEXFileTransferServices!, error inError: OBEXError)
    func registerIncomingDataListener(_ listener: IOBluetoothL2CAPChannelIncomingDataListener!, refCon refCon: UnsafeMutableRawPointer!) -> IOReturn
    func write(_ data: UnsafeMutableRawPointer!, length length: UInt16) -> IOReturn
    class func withL2CAPChannelRef(_ l2capChannelRef: IOBluetoothL2CAPChannelRef!) -> IOBluetoothL2CAPChannel!
    func getL2CAPChannelRef() -> Unmanaged<IOBluetoothL2CAPChannelRef>!
    func readRSSI(forDeviceComplete controller: Any!, device device: IOBluetoothDevice!, info info: UnsafeMutablePointer<BluetoothHCIRSSIInfo>!, error error: IOReturn)
    func readLinkQuality(forDeviceComplete controller: Any!, device device: IOBluetoothDevice!, info info: UnsafeMutablePointer<BluetoothHCILinkQualityInfo>!, error error: IOReturn)
    func scriptingIsEqual(to object: Any) -> Bool
    func scriptingIsLessThanOrEqual(to object: Any) -> Bool
    func scriptingIsLessThan(_ object: Any) -> Bool
    func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool
    func scriptingIsGreaterThan(_ object: Any) -> Bool
    func scriptingBegins(with object: Any) -> Bool
    func scriptingEnds(with object: Any) -> Bool
    func scriptingContains(_ object: Any) -> Bool
    func isEqual(to object: Any?) -> Bool
    func isLessThanOrEqual(to object: Any?) -> Bool
    func isLessThan(_ object: Any?) -> Bool
    func isGreaterThanOrEqual(to object: Any?) -> Bool
    func isGreaterThan(_ object: Any?) -> Bool
    func isNotEqual(to object: Any?) -> Bool
    func doesContain(_ object: Any) -> Bool
    func isLike(_ object: String) -> Bool
    func isCaseInsensitiveLike(_ object: String) -> Bool
    var objectSpecifier: NSScriptObjectSpecifier? { get }
    func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]?
    func value(at index: Int, inPropertyWithKey key: String) -> Any?
    func value(withName name: String, inPropertyWithKey key: String) -> Any?
    func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any?
    func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String)
    func removeValue(at index: Int, fromPropertyWithKey key: String)
    func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any)
    func insertValue(_ value: Any, inPropertyWithKey key: String)
    func coerceValue(_ value: Any?, forKey key: String) -> Any?
    var classCode: FourCharCode { get }
    var className: String { get }
    func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any?
    var scriptingProperties: [String : Any]?
    func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any?
    func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any?
    @NSCopying var classDescription: NSClassDescription { get }
    var attributeKeys: [String] { get }
    var toOneRelationshipKeys: [String] { get }
    var toManyRelationshipKeys: [String] { get }
    func inverse(forRelationshipKey relationshipKey: String) -> String?
    var classForPortCoder: AnyClass { get }
    func replacementObject(for coder: NSPortCoder) -> Any?
    var classForArchiver: AnyClass? { get }
    func replacementObject(for archiver: NSArchiver) -> Any?
    func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
    func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool)
    func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
    func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool)
    func performSelector(inBackground aSelector: Selector, with arg: Any?)
    class func classForKeyedUnarchiver() -> AnyClass
    var classForKeyedArchiver: AnyClass? { get }
    func replacementObject(for archiver: NSKeyedArchiver) -> Any?
    class func classFallbacksForKeyedArchiver() -> [String]
    class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String)
    class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String>
    class func automaticallyNotifiesObservers(forKey key: String) -> Bool
    var observationInfo: UnsafeMutableRawPointer?
    func willChangeValue(forKey key: String)
    func didChangeValue(forKey key: String)
    func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
    func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
    func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
    func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
    func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?)
    func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?)
    func removeObserver(_ observer: NSObject, forKeyPath keyPath: String)
    func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?)
    class func useStoredAccessor() -> Bool
    func storedValue(forKey key: String) -> Any?
    func takeStoredValue(_ value: Any?, forKey key: String)
    func takeValue(_ value: Any?, forKey key: String)
    func takeValue(_ value: Any?, forKeyPath keyPath: String)
    func handleQuery(withUnboundKey key: String) -> Any?
    func handleTakeValue(_ value: Any?, forUnboundKey key: String)
    func unableToSetNil(forKey key: String)
    func values(forKeys keys: [Any]) -> [AnyHashable : Any]
    func takeValues(from properties: [AnyHashable : Any])
    class var accessInstanceVariablesDirectly: Bool { get }
    func value(forKey key: String) -> Any?
    func setValue(_ value: Any?, forKey key: String)
    func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws
    func mutableArrayValue(forKey key: String) -> NSMutableArray
    func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet
    func mutableSetValue(forKey key: String) -> NSMutableSet
    func value(forKeyPath keyPath: String) -> Any?
    func setValue(_ value: Any?, forKeyPath keyPath: String)
    func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws
    func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray
    func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet
    func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet
    func value(forUndefinedKey key: String) -> Any?
    func setValue(_ value: Any?, forUndefinedKey key: String)
    func setNilValueForKey(_ key: String)
    func dictionaryWithValues(forKeys keys: [String]) -> [String : Any]
    func setValuesForKeys(_ keyedValues: [String : Any])
    func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool
    func fileManager(_ fm: FileManager, willProcessPath path: String)
    func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode])
    func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval)
    class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?)
    class func cancelPreviousPerformRequests(withTarget aTarget: Any)
    func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?)
    func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool
    var autoContentAccessingProxy: Any { get }
    class func pose(as aClass: AnyClass)
    class func version() -> Int
    class func setVersion(_ aVersion: Int)
    var classForCoder: AnyClass { get }
    func replacementObject(for aCoder: NSCoder) -> Any?
    func awakeAfter(using aDecoder: NSCoder) -> Any?
}
extension IOBluetoothSDPUUID : CVarArg {
}
extension IOBluetoothSDPUUID : Equatable, Hashable {
    var hashValue: Int { get }
}