TwclWiFiDirectAdvertiser.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.
Overrides
TwclWiFiDirectConnectionComponent.DoDeviceDisconnected(TwclWiFiDirectDevice,Integer)A derived class must always call the inherited method if this one is override.