System.Bluetooth.TBluetoothSocket.ReceiveData
Delphi
function ReceiveData: TBytes; overload; inline;
function ReceiveData(ATimeout: Cardinal): TBytes; overload;
C++
System::DynamicArray<System::Byte> __fastcall ReceiveData(void)/* overload */;
System::DynamicArray<System::Byte> __fastcall ReceiveData(unsigned ATimeout)/* overload */;
プロパティ
| 種類 | 可視性 | ソース | ユニット | 親 |
|---|---|---|---|---|
| function | public | System.Bluetooth.pas System.Bluetooth.hpp |
System.Bluetooth | TBluetoothSocket |
説明
リモート デバイスから送信されたバイト配列を読み取ります。
ATimeout は、データを待つ最大時間です。その時間が過ぎてもデータがなければ、戻り値(TBytes)は空になります。