TwclBluetoothManager.GetRadio(TwclBluetoothRadio) Method

Gets the first available Radio object.

Namespace: wclBluetooth
public
 function GetRadio(out Radio: TwclBluetoothRadio): Integer; overload;

Parameters

Radio
Type: TwclBluetoothRadio

If the function completed with success on output contains the first found available Bluetooth Radio object. Otherwise the parameter contains nil.

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.