TwclBluetoothLeAdvertiser.Delete(Integer) Method

Deletes the Bluetooth LE advertisement from the advertisements list.

Namespace: wclBluetooth
public
 function Delete(const Index: Integer): Integer;

Parameters

Index
Type: Integer

The advertisement index. The Index must be in range between 0 and Count - 1.

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.