Type Method

UUIDWithData:

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

Declaration

+ (CBUUID *)UUIDWithData:(NSData *)theData;

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

+ UUIDWithString:

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

+ UUIDWithCFUUID:

Creates a Core Bluetooth UUID object from a Core Foundation UUID object.

Deprecated
+ UUIDWithNSUUID:

Creates a Core Bluetooth UUID object from a Foundation UUID object.