TwclBluetoothRadio.GetDiscoverable(Boolean) Method

Read the local Bluetooth Radio discoverable state.

Namespace: wclBluetooth
public
 function GetDiscoverable(out Discoverable: Boolean): Integer;

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.

If the returned Discoverable parameter value is True remote Bluetooth enabled devices can discover this Radio.

If the value of the Discoverable parameter is False remote Bluetooth enabled devices can not discover the Radio.