wclRfCommServerDataEvent Delegate |
A server connection OnData event handler
prototype.
Namespace: wclBluetoothAssembly: wclBluetoothFramework (in wclBluetoothFramework.dll) Version: 7.17.12.0 (7.17.12.0)
Syntax public delegate void wclRfCommServerDataEvent(
Object Sender,
wclRfCommServerClientConnection Client,
byte[] Data
)
Public Delegate Sub wclRfCommServerDataEvent (
Sender As Object,
Client As wclRfCommServerClientConnection,
Data As Byte()
)
public delegate void wclRfCommServerDataEvent(
Object^ Sender,
wclRfCommServerClientConnection^ Client,
array<unsigned char>^ Data
)
Parameters
- Sender Object
- The object that initiated the event.
- Client wclRfCommServerClientConnection
- A
wclRfCommServerClientConnection object
represents a remote client connection.
- Data Byte
- The pointer to the received data buffer.
It is guaranteed that the parameter points to a valid data buffer.
The data buffer is valid only inside the event handler. If an
application needs to use the data outside the event handle it must
allocate own buffer and copy data into it.
See Also