TwclWiFiDirectConnectedEvent Delegate

The WiFi Direct OnConnected event handler prototype.

Namespace: wclWiFi
type
 TwclWiFiDirectConnectedEvent = procedure(Sender: TObject;
 const Device: TwclWiFiDirectDevice; const Error: Integer) of object;

Parameters

Sender

The object initiates the event.

Device

The WiFi Direct device object.

Error

The connection result code. If the Error parameter is wclErrors.WCL_E_SUCCESS the connection has been established.