System.Bluetooth.TBluetoothAdapter.StartDiscoverable
Delphi
procedure StartDiscoverable(Timeout: Cardinal);
C++
void __fastcall StartDiscoverable(unsigned Timeout);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | System.Bluetooth.pas System.Bluetooth.hpp |
System.Bluetooth | TBluetoothAdapter |
Description
Starts a request to make the device that is running your application discoverable via Bluetooth.
The StartDiscoverable method from the manager of your adapter calls StartDiscoverable on your manager.
StartDiscoverable expects a single argument, Timeout
, which is how long you want the device that is running your application to be discoverable via Bluetooth (in seconds).
If the user accepts and your request succeeds, the OnDiscoverableEnd event of the manager of your adapter occurs.
Platform Support
Platform | Supported | Notes |
---|---|---|
32-bit Windows |
|
|
OS X |
| |
Android |
|
|