System.Bluetooth.TBluetoothAdapter.StartDiscoverable
Delphi
procedure StartDiscoverable(Timeout: Cardinal);
C++
void __fastcall StartDiscoverable(unsigned Timeout);
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
procedure function |
protected | System.Bluetooth.pas System.Bluetooth.hpp |
System.Bluetooth | TBluetoothAdapter |
説明
アプリケーションの動作デバイスを Bluetooth を通じて検出できるようにする要求を開始します。
お使いのアダプタのマネージャからの StartDiscoverable メソッドの結果、お使いのマネージャで StartDiscoverable が呼び出されます。
StartDiscoverable に必要な引数は Timeout
だけです。これは、アプリケーションの動作デバイスが Bluetooth で検出可能になっている時間(秒単位)を示します。
アプリケーションのユーザーが承認し、要求が成功すると、お使いのアダプタのマネージャの OnDiscoverableEnd イベントが発生します。
プラットフォーム サポート
プラットフォーム | サポート状況 | 備考 |
---|---|---|
32 ビット Windows |
|
|
OS X |
| |
Android |
|
|