TwclWiFiDirectClient.DoDeviceConnected(TwclWiFiDirectDevice,Integer) Method
Fires the OnDeviceConnected
event.
protected procedure DoDeviceConnected(const Device: TwclWiFiDirectDevice; const Error: Integer); override;
Parameters
- Device
- Type: TwclWiFiDirectDevice
The WiFi Direct device object.
- Error
- Type: Integer
The connection result code. If the
Error
parameter is wclErrors.WCL_E_SUCCESS the connection has been established.