TwclBluetoothRadio.HalGetDiscoverable(Boolean) Method

Implements a hardware-dependent code to read the local Bluetooth Radio discoverable state.

Namespace: wclBluetooth
protected
 function HalGetDiscoverable(
 out Discoverable: Boolean): Integer; virtual; abstract;

Parameters

Discoverable
Type: Boolean

On output the local Bluetooth Radio discoverable state.

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.

A derived class must override this method to provide driver-dependent code.