CBUUID.FromPartial(UInt16) Method

Definition

Creates a new CBUUID for a commonly used CoreBluetooth service.

public static CoreBluetooth.CBUUID FromPartial (ushort servicePart);
static member FromPartial : uint16 -> CoreBluetooth.CBUUID

Parameters

servicePart
UInt16

16-bit service part.

Returns

Remarks

While CBUUID objects are 128-bit long, many common services are created just by specifying using 16 bits.

For example, if the service part is (ushort)1234, then the CBUUID becomes: (CBUUID)00001234-0000-1000-8000-00805f9b34fb.

Applies to