TwclWiFiDirectAdvertiser.DoAcceptDevice(TwclWiFiDirectDevice,Boolean) Method
Fires the OnAcceptDevice
event.
protected procedure DoAcceptDevice(const Device: TwclWiFiDirectDevice; out Accept: Boolean); virtual;
Parameters
- Device
- Type: TwclWiFiDirectDevice
The WiFi Direct device object.
- Accept
- Type: Boolean
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.