TwclWiFiDirectAcceptDeviceEvent Delegate
The WiFi Direct Advertiser's OnAcceptDevice
event handler
prototype.
type TwclWiFiDirectAcceptDeviceEvent = procedure(Sender: TObject; const Device: TwclWiFiDirectDevice; out Accept: Boolean) of object;
Parameters
- Sender
The object that fired the event.
- Device
The WiFi Direct device object.
- Accept
An application must set this parameter to
True
to accept a connection request. If an application sets the parameter toFalse
a connection request will be rejected.