WiFi Framework
ContentsIndexHome
PreviousUpNext
TwclWiFiDirectClient.DoDeviceDisconnected Method

Fires the OnDeviceDisconnected event.

Syntax
Pascal
procedure DoDeviceDisconnected(const Device: TwclWiFiDirectDevice; const Reason: Integer); override;
Parameters 
Description 
const Device: TwclWiFiDirectDevice 
The WiFi Direct device object.  
const Reason: Integer 
The disconnection reason. If the Reason is WCL_E_SUCCESS then the client disconnected by call the Disconnect method.  
Copyright (c) 2006-2019. All rights reserved.