WiFi Framework
ContentsIndexHome
PreviousUpNext
CwclWiFiDirectAdvertiser::DoAcceptDevice Method

Fires the OnAcceptDevice event.

Syntax
C++
virtual void DoAcceptDevice(CwclWiFiDirectDevice* Device, bool& Accept);
Parameters 
Description 
CwclWiFiDirectDevice* Device 
The WiFi Direct device object.  
bool& Accept 
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.  
Copyright (c) 2006-2019. All rights reserved.