TwclWiFiDirectSoftAPAcceptEvent Delegate

The WiFi Direct SoftAP OnDeviceAccept event handler prototype.

Namespace: wclWiFi
type
 TwclWiFiDirectSoftAPAcceptEvent = procedure(Sender: TObject;
 const Device: TwclWiFiDirectDevice; out Accept: Boolean) of object;

Parameters

Sender

The object initiates the event.

Device

The WiFi Direct device object.

Accept

An application must set this to False to reject connection request. Setting it to True (the default value) accepts connection.