Initializer

init(data:)

Creates a new IOBluetoothSDPUUID object from the given NSData.

Declaration

convenience init!(data: Data!)

Parameters

data

The NSData containing the UUID bytes.

Return Value

Returns the new IOBluetoothSDPUUID object or nil on failure.

Discussion

If the length of the NSData is invalid for a UUID, nil is returned.