TwclWiFiDirectPairCompletedEvent Delegate

The WiFi Direct OnPairCompleted event handler prototype.

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

Parameters

Sender

The object initiates the event.

Device

The WiFi Direct device object.

Result

The pairing result code. If pairing completed with success the Result is wclErrors.WCL_E_SUCCESS.