System.Bluetooth.TBluetoothAdapter.DoStartDiscoverable
Delphi
procedure DoStartDiscoverable(Timeout: Cardinal); virtual; abstract;
C++
virtual void __fastcall DoStartDiscoverable(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 request to make the device that is running your application discoverable via Bluetooth.
StartDiscoverable calls DoStartDiscoverable.
DoStartDiscoverable 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, your adapter calls DoDiscoverableEnd.
Platform Support
Platform | Supported | Notes |
---|---|---|
32-bit Windows |
|
|
OS X |
| |
Android |
|
|