TwclBluetoothLeAdvertiser.Add(TwclBluetoothLeAdvertisement) Method
Adds Bluetooth LE advertisement to the advertisements list.
public function Add(const Advertisement: TwclBluetoothLeAdvertisement): Integer;
Parameters
- Advertisement
- Type: TwclBluetoothLeAdvertisement
The Bluetooth LE advertisement object.
Return Value
Type: Integer
If the function succeed the return value is wclErrors.WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.