TwclGattLocalService.DeleteCharacteristic(Integer) Method

Deletes the characteristic with given index.

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

Parameters

Index
Type: Integer

The service's index. The parameter must be in range between 0 and ServicesCount - 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.