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 */;
Propriétés
| Type | Visibilité | Source | Unité | Parent |
|---|---|---|---|---|
| function | public | System.Bluetooth.pas System.Bluetooth.hpp |
System.Bluetooth | TBluetoothSocket |
Description
Lit un tableau d'octets envoyé par le périphérique distant.
ATimeout est le délai maximum d'attente des données. Si aucune donnée n'est disponible passé ce délai, alors la valeur de retour (TBytes) est vide.