TwclWiFiDirectAdvertiser.DoAcceptDevice(TwclWiFiDirectDevice,Boolean) Method

Fires the OnAcceptDevice event.

Namespace: wclWiFi
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 to False a connection request will be rejected.