System.Bluetooth.TBluetoothAdapter.DoStartDiscovery

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure DoStartDiscovery(Timeout: Cardinal); virtual; abstract;

C++

virtual void __fastcall DoStartDiscovery(unsigned Timeout) = 0 ;

Properties

Type Visibility Source Unit Parent
procedure
function
protected
System.Bluetooth.pas
System.Bluetooth.hpp
System.Bluetooth TBluetoothAdapter

Description

Note: This is an abstract method that platform-specific subclasses of TBluetoothAdapter implement.

Starts a discovery operation to find remote devices using Bluetooth.

StartDiscovery calls DoStartDiscovery.

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

When the discovery operation finishes, your adapter calls DoDiscoveryEnd providing 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