Instance Method

initWithID:attributeElement:

Initializes a new service attribute with the given ID and data element.

Declaration

- (instancetype)initWithID:(BluetoothSDPServiceAttributeID)newAttributeID attributeElement:(IOBluetoothSDPDataElement *)attributeElement;

Parameters

attributeID

The attribute ID of the new service attribute.

attributeElement

The data element of the new service attribute.

Return Value

Returns self if successful. Returns nil if there was an error.