Contents

init(data:)

Creates a Core Bluetooth UUID object from a 16-, 32-, or 128-bit UUID data container.

Declaration

init(data theData: Data)

Parameters

  • theData:

    Data containing a 16-, 32-, or 128-bit UUID.

Return Value

A new CBUUID object for the specified UUID data.

Discussion

This method is useful when handling the UUID of a Bluetooth attribute in raw bytes.

See Also

Creating New CBUUID Objects