TwclWiFiDirectAdvertiser.DoDeviceConnected(TwclWiFiDirectDevice,Integer) Method

Fires the OnDeviceConnected event.

Namespace: wclWiFi
protected
 procedure DoDeviceConnected(const Device: TwclWiFiDirectDevice;
 const Error: Integer); override;

Parameters

Device
Type: TwclWiFiDirectDevice

The WiFi Direct device object.

Error
Type: Integer

The connection result code. If the Error parameter is wclErrors.WCL_E_SUCCESS the connection has been established.

Overrides

TwclWiFiDirectConnectionComponent.DoDeviceConnected(TwclWiFiDirectDevice,Integer)

A derived class must always call the inherited method if this one is override.