TwclWiFiDirectClient.DoDeviceDisconnected(TwclWiFiDirectDevice,Integer) Method
Fires the OnDeviceDisconnected event.
protected procedure DoDeviceDisconnected(const Device: TwclWiFiDirectDevice; const Reason: Integer); override;
Parameters
- Device
- Type: TwclWiFiDirectDevice
The WiFi Direct device object.
- Reason
- Type: Integer
The disconnection reason. If the
Reasonis wclErrors.WCL_E_SUCCESS then the client disconnected by call theDisconnectmethod.