TwclCustomObexServer.ProcessData(Pointer,Cardinal) Method

The method called by the Connection when data has been received from a remote device.

Namespace: wclObex
public
 procedure ProcessData(const Data: Pointer; const Size: Cardinal); override;

Parameters

Data
Type: Pointer

The pointer to the received data buffer. The data buffer is valid only inside the event handler. If an application needs to use the data outside the method it must allocate own buffer and copy data.

Size
Type: Cardinal

The data buffer size.

Overrides

TwclCustomDataProcessor.ProcessData(Pointer,Cardinal)