Documentation Archive Developer
Search

IOBluetooth Changes

IOBluetooth

Bluetooth.h
CBATTRequest.h (Removed)
CBAdvertisementData.h (Removed)
CBCentral.h (Removed)
CBCentralManager.h (Removed)
CBCentralManagerConstants.h (Removed)
CBCharacteristic.h (Removed)
CBDefines.h (Removed)
CBDescriptor.h (Removed)
CBError.h (Removed)
CBPeripheral.h (Removed)
CBPeripheralManager.h (Removed)
CBPeripheralManagerConstants.h (Removed)
CBService.h (Removed)
CBUUID.h (Removed)
CoreBluetooth.h (Removed)
objc/IOBluetoothDevice.h
Declaration
From
+ (IOBluetoothDevice *)deviceWithAddress:(const BluetoothDeviceAddress *)address
To
+ (instancetype)deviceWithAddress:(const BluetoothDeviceAddress *)address

Declaration
From
+ (IOBluetoothDevice *)deviceWithAddressString:(NSString *)address
To
+ (instancetype)deviceWithAddressString:(NSString *)address

Declaration
From
+ (IOBluetoothDevice *)withAddress:(const BluetoothDeviceAddress *)address
To
+ (instancetype)withAddress:(const BluetoothDeviceAddress *)address

Declaration
From
+ (IOBluetoothDevice *)withDeviceRef:(IOBluetoothDeviceRef)deviceRef
To
+ (instancetype)withDeviceRef:(IOBluetoothDeviceRef)deviceRef

objc/IOBluetoothDeviceInquiry.h
Declaration
From
- (id)initWithDelegate:(id)delegate
To
- (instancetype)initWithDelegate:(id)delegate

Declaration
From
+ (IOBluetoothDeviceInquiry *)inquiryWithDelegate:(id)delegate
To
+ (instancetype)inquiryWithDelegate:(id)delegate

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

objc/IOBluetoothDevicePair.h
Declaration
From
+ (IOBluetoothDevicePair *)pairWithDevice:(IOBluetoothDevice *)device
To
+ (instancetype)pairWithDevice:(IOBluetoothDevice *)device

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

objc/IOBluetoothHandsFree.h
Declaration
From
- (id)initWithDevice:(IOBluetoothDevice *)device delegate:(id<IOBluetoothHandsFreeDelegate>)inDelegate
To
- (instancetype)initWithDevice:(IOBluetoothDevice *)device delegate:(id<IOBluetoothHandsFreeDelegate>)inDelegate

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

objc/IOBluetoothHandsFreeAudioGateway.h
Declaration
From
- (id)initWithDevice:(IOBluetoothDevice *)device delegate:(id)inDelegate
To
- (instancetype)initWithDevice:(IOBluetoothDevice *)device delegate:(id)inDelegate

Optional
From--
Toyes

Optional
From--
Toyes

objc/IOBluetoothHandsFreeDevice.h
Declaration
From
- (id)initWithDevice:(IOBluetoothDevice *)device delegate:(id)delegate
To
- (instancetype)initWithDevice:(IOBluetoothDevice *)device delegate:(id)delegate

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

objc/IOBluetoothHostController.h
Declaration
From
+ (IOBluetoothHostController *)defaultController
To
+ (instancetype)defaultController

objc/IOBluetoothL2CAPChannel.h
Declaration
From
+ (IOBluetoothL2CAPChannel *)withObjectID:(IOBluetoothObjectID)objectID
To
+ (instancetype)withObjectID:(IOBluetoothObjectID)objectID

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

objc/IOBluetoothOBEXSession.h
Declaration
From
- (id)initWithDevice:(IOBluetoothDevice *)inDevice channelID:(BluetoothRFCOMMChannelID)inChannelID
To
- (instancetype)initWithDevice:(IOBluetoothDevice *)inDevice channelID:(BluetoothRFCOMMChannelID)inChannelID

Declaration
From
- (id)initWithIncomingRFCOMMChannel:(IOBluetoothRFCOMMChannel *)inChannel eventSelector:(SEL)inEventSelector selectorTarget:(id)inEventSelectorTarget refCon:(void *)inUserRefCon
To
- (instancetype)initWithIncomingRFCOMMChannel:(IOBluetoothRFCOMMChannel *)inChannel eventSelector:(SEL)inEventSelector selectorTarget:(id)inEventSelectorTarget refCon:(void *)inUserRefCon

Declaration
From
- (id)initWithSDPServiceRecord:(IOBluetoothSDPServiceRecord *)inSDPServiceRecord
To
- (instancetype)initWithSDPServiceRecord:(IOBluetoothSDPServiceRecord *)inSDPServiceRecord

Declaration
From
+ (IOBluetoothOBEXSession *)withDevice:(IOBluetoothDevice *)inDevice channelID:(BluetoothRFCOMMChannelID)inRFCOMMChannelID
To
+ (instancetype)withDevice:(IOBluetoothDevice *)inDevice channelID:(BluetoothRFCOMMChannelID)inRFCOMMChannelID

Declaration
From
+ (IOBluetoothOBEXSession *)withIncomingRFCOMMChannel:(IOBluetoothRFCOMMChannel *)inChannel eventSelector:(SEL)inEventSelector selectorTarget:(id)inEventSelectorTarget refCon:(void *)inUserRefCon
To
+ (instancetype)withIncomingRFCOMMChannel:(IOBluetoothRFCOMMChannel *)inChannel eventSelector:(SEL)inEventSelector selectorTarget:(id)inEventSelectorTarget refCon:(void *)inUserRefCon

Declaration
From
+ (IOBluetoothOBEXSession *)withSDPServiceRecord:(IOBluetoothSDPServiceRecord *)inSDPServiceRecord
To
+ (instancetype)withSDPServiceRecord:(IOBluetoothSDPServiceRecord *)inSDPServiceRecord

objc/IOBluetoothRFCOMMChannel.h
Declaration
From
+ (IOBluetoothRFCOMMChannel *)withObjectID:(IOBluetoothObjectID)objectID
To
+ (instancetype)withObjectID:(IOBluetoothObjectID)objectID

Declaration
From
+ (IOBluetoothRFCOMMChannel *)withRFCOMMChannelRef:(IOBluetoothRFCOMMChannelRef)rfcommChannelRef
To
+ (instancetype)withRFCOMMChannelRef:(IOBluetoothRFCOMMChannelRef)rfcommChannelRef

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

objc/IOBluetoothSDPDataElement.h
Declaration
From
- (id)initWithElementValue:(NSObject *)element
To
- (instancetype)initWithElementValue:(NSObject *)element

Declaration
From
- (id)initWithType:(BluetoothSDPDataElementTypeDescriptor)newType sizeDescriptor:(BluetoothSDPDataElementSizeDescriptor)newSizeDescriptor size:(uint32_t)newSize value:(NSObject *)newValue
To
- (instancetype)initWithType:(BluetoothSDPDataElementTypeDescriptor)newType sizeDescriptor:(BluetoothSDPDataElementSizeDescriptor)newSizeDescriptor size:(uint32_t)newSize value:(NSObject *)newValue

Declaration
From
+ (IOBluetoothSDPDataElement *)withElementValue:(NSObject *)element
To
+ (instancetype)withElementValue:(NSObject *)element

Declaration
From
+ (IOBluetoothSDPDataElement *)withSDPDataElementRef:(IOBluetoothSDPDataElementRef)sdpDataElementRef
To
+ (instancetype)withSDPDataElementRef:(IOBluetoothSDPDataElementRef)sdpDataElementRef

Declaration
From
+ (IOBluetoothSDPDataElement *)withType:(BluetoothSDPDataElementTypeDescriptor)type sizeDescriptor:(BluetoothSDPDataElementSizeDescriptor)newSizeDescriptor size:(uint32_t)newSize value:(NSObject *)newValue
To
+ (instancetype)withType:(BluetoothSDPDataElementTypeDescriptor)type sizeDescriptor:(BluetoothSDPDataElementSizeDescriptor)newSizeDescriptor size:(uint32_t)newSize value:(NSObject *)newValue

objc/IOBluetoothSDPServiceAttribute.h
Declaration
From
- (id)initWithID:(BluetoothSDPServiceAttributeID)newAttributeID attributeElement:(IOBluetoothSDPDataElement *)attributeElement
To
- (instancetype)initWithID:(BluetoothSDPServiceAttributeID)newAttributeID attributeElement:(IOBluetoothSDPDataElement *)attributeElement

Declaration
From
- (id)initWithID:(BluetoothSDPServiceAttributeID)newAttributeID attributeElementValue:(NSObject *)attributeElementValue
To
- (instancetype)initWithID:(BluetoothSDPServiceAttributeID)newAttributeID attributeElementValue:(NSObject *)attributeElementValue

Declaration
From
+ (IOBluetoothSDPServiceAttribute *)withID:(BluetoothSDPServiceAttributeID)newAttributeID attributeElement:(IOBluetoothSDPDataElement *)attributeElement
To
+ (instancetype)withID:(BluetoothSDPServiceAttributeID)newAttributeID attributeElement:(IOBluetoothSDPDataElement *)attributeElement

Declaration
From
+ (IOBluetoothSDPServiceAttribute *)withID:(BluetoothSDPServiceAttributeID)newAttributeID attributeElementValue:(NSObject *)attributeElementValue
To
+ (instancetype)withID:(BluetoothSDPServiceAttributeID)newAttributeID attributeElementValue:(NSObject *)attributeElementValue

objc/IOBluetoothSDPServiceRecord.h
Declaration
From
- (id)initWithServiceDictionary:(NSDictionary *)serviceDict device:(IOBluetoothDevice *)device
To
- (instancetype)initWithServiceDictionary:(NSDictionary *)serviceDict device:(IOBluetoothDevice *)device

Declaration
From
+ (IOBluetoothSDPServiceRecord *)publishedServiceRecordWithDictionary:(NSDictionary *)serviceDict
To
+ (instancetype)publishedServiceRecordWithDictionary:(NSDictionary *)serviceDict

Declaration
From
+ (IOBluetoothSDPServiceRecord *)withSDPServiceRecordRef:(IOBluetoothSDPServiceRecordRef)sdpServiceRecordRef
To
+ (instancetype)withSDPServiceRecordRef:(IOBluetoothSDPServiceRecordRef)sdpServiceRecordRef

Declaration
From
+ (IOBluetoothSDPServiceRecord *)withServiceDictionary:(NSDictionary *)serviceDict device:(IOBluetoothDevice *)device
To
+ (instancetype)withServiceDictionary:(NSDictionary *)serviceDict device:(IOBluetoothDevice *)device

objc/IOBluetoothSDPUUID.h
Declaration
From
- (IOBluetoothSDPUUID *)getUUIDWithLength:(unsigned int)newLength
To
- (instancetype)getUUIDWithLength:(unsigned int)newLength

Declaration
From
- (id)initWithUUID16:(BluetoothSDPUUID16)uuid16
To
- (instancetype)initWithUUID16:(BluetoothSDPUUID16)uuid16

Declaration
From
- (id)initWithUUID32:(BluetoothSDPUUID32)uuid32
To
- (instancetype)initWithUUID32:(BluetoothSDPUUID32)uuid32

Declaration
From
+ (IOBluetoothSDPUUID *)uuid16:(BluetoothSDPUUID16)uuid16
To
+ (instancetype)uuid16:(BluetoothSDPUUID16)uuid16

Declaration
From
+ (IOBluetoothSDPUUID *)uuid32:(BluetoothSDPUUID32)uuid32
To
+ (instancetype)uuid32:(BluetoothSDPUUID32)uuid32

Declaration
From
+ (IOBluetoothSDPUUID *)uuidWithBytes:(const void *)bytes length:(unsigned int)length
To
+ (instancetype)uuidWithBytes:(const void *)bytes length:(unsigned int)length

Declaration
From
+ (IOBluetoothSDPUUID *)uuidWithData:(NSData *)data
To
+ (instancetype)uuidWithData:(NSData *)data

Declaration
From
+ (IOBluetoothSDPUUID *)withSDPUUIDRef:(IOBluetoothSDPUUIDRef)sdpUUIDRef
To
+ (instancetype)withSDPUUIDRef:(IOBluetoothSDPUUIDRef)sdpUUIDRef

IOBluetoothUtilities.h
objc/NSDictionaryOBEXExtensions.h
Declaration
From
+ (NSMutableDictionary *)dictionaryWithOBEXHeadersData:(NSData *)inHeadersData
To
+ (instancetype)dictionaryWithOBEXHeadersData:(NSData *)inHeadersData

Declaration
From
+ (NSMutableDictionary *)dictionaryWithOBEXHeadersData:(const void *)inHeadersData headersDataSize:(size_t)inDataSize
To
+ (instancetype)dictionaryWithOBEXHeadersData:(const void *)inHeadersData headersDataSize:(size_t)inDataSize

Declaration
From
+ (NSMutableDictionary *)withOBEXHeadersData:(const void *)inHeadersData headersDataSize:(size_t)inDataSize
To
+ (instancetype)withOBEXHeadersData:(const void *)inHeadersData headersDataSize:(size_t)inDataSize

OBEX.h
Declaration
From
OBEXError OBEXSessionAbort (	OBEXSessionRef inSessionRef,	void *inOptionalHeaders,	size_t inOptionalHeadersLength,	OBEXSessionEventCallback inCallback,	void *inUserRefcon);
To
OBEXError OBEXSessionAbort (	OBEXSessionRef inSessionRef,	void *inOptionalHeaders,	size_t inOptionalHeadersLength,	OBEXSessionEventCallback inCallback,	void *inUserRefCon);

Declaration
From
OBEXError OBEXSessionSetPath (	OBEXSessionRef inSessionRef,	OBEXFlags inFlags,	OBEXConstants inConstants,	void *inOptionalHeaders,	size_t inOptionalHeadersLength,	OBEXSessionEventCallback inCallback,	void *inUserRefcon);
To
OBEXError OBEXSessionSetPath (	OBEXSessionRef inSessionRef,	OBEXFlags inFlags,	OBEXConstants inConstants,	void *inOptionalHeaders,	size_t inOptionalHeadersLength,	OBEXSessionEventCallback inCallback,	void *inUserRefCon);

objc/OBEXFileTransferServices.h
Declaration
From
- (id)initWithOBEXSession:(IOBluetoothOBEXSession *)inOBEXSession
To
- (instancetype)initWithOBEXSession:(IOBluetoothOBEXSession *)inOBEXSession

Declaration
From
+ (OBEXFileTransferServices *)withOBEXSession:(IOBluetoothOBEXSession *)inOBEXSession
To
+ (instancetype)withOBEXSession:(IOBluetoothOBEXSession *)inOBEXSession