wclBluetoothRadioDiscover Method |
Starts discovering for a remote Bluetooth enabled
devices.
Namespace: wclBluetoothAssembly: wclBluetoothFramework (in wclBluetoothFramework.dll) Version: 7.17.12.0 (7.17.12.0)
Syntax public int Discover(
byte Timeout,
wclBluetoothDiscoverKind Kind,
bool IncludePaired = false
)
Public Function Discover (
Timeout As Byte,
Kind As wclBluetoothDiscoverKind,
Optional IncludePaired As Boolean = false
) As Integer
public:
int Discover(
unsigned char Timeout,
wclBluetoothDiscoverKind Kind,
bool IncludePaired = false
)
Parameters
- Timeout Byte
- Specifies the maximum amount of time before
the inquiry is halted (in seconds).
- Kind wclBluetoothDiscoverKind
- Specifies the discovered Bluetooth device
types.
- IncludePaired Boolean (Optional)
- Set this parameter to true if you
need to get paired devices reported as just found even such devices
are not available. If this parameter is false only available
devices will be returned.
Return Value
Int32 If the function succeed the return value is
WCL_E_SUCCESS. Otherwise the method returns one of
the WCL error codes.
Remarks If the discovering started the
OnDiscoveringStarted event of the
wclBluetoothManager component fires.
When the discovering for the remote Bluetooth enabled devices
completed (with or without success) the OnDiscoveringCompleted
event of the wclBluetoothManager component
fires.
See Also