System.Bluetooth.TBluetoothManager.StartDiscovery

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure StartDiscovery(Timeout: Cardinal);

C++

void __fastcall StartDiscovery(unsigned Timeout);

Properties

Type Visibility Source Unit Parent
procedure
function
public
System.Bluetooth.pas
System.Bluetooth.hpp
System.Bluetooth TBluetoothManager

Description

Starts a discovery operation to find remote devices using Bluetooth.

StartDiscovery expects a single argument, Timeout, which is how much time you want to spend discovering remote devices using Bluetooth.

When the discovery operation finishes, the OnDiscoveryEnd event occurs. OnDiscoveryEnd provides a list of discovered remote devices.

Platform Support

Platform Notes

32-bit Windows
64-bit Windows

OS X

  • Timeout is ignored.

Android

  • Timeout is ignored.

See Also