WiFi Framework
ContentsIndexHome
PreviousUpNext
CwclWiFiDirectAdvertiser::wclWiFiDirectAcceptDeviceEvent Method

The event fires when a remote WiFi enable device connects to the WiFi Direct Advertiser and an application must accept or reject the connection request.

Syntax
C++
wclWiFiDirectAcceptDeviceEvent(OnAcceptDevice);
Parameters 
Description 
Sender 
The object that fired the event.  
Device 
The WiFi Direct device object.  
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.