System.Bluetooth.TBluetoothSocket.ReceiveData

提供: RAD Studio API Documentation
移動先: 案内検索

Delphi

function ReceiveData: TBytes; overload; inline;
function ReceiveData(ATimeout: Cardinal): TBytes; overload;

C++

System::DynamicArray<System::Byte> __fastcall ReceiveData()/* overload */;
System::DynamicArray<System::Byte> __fastcall ReceiveData(unsigned ATimeout)/* overload */;

プロパティ

種類 可視性 ソース ユニット
function public
System.Bluetooth.pas
System.Bluetooth.hpp
System.Bluetooth TBluetoothSocket


説明

リモート デバイスから送信されたバイト配列を読み取ります。 ATimeout は、データを待つ最大時間です。その時間が過ぎてもデータがなければ、戻り値(TBytes)は空になります。

関連項目