WiFi Framework
ContentsIndexHome
PreviousUpNext
TwclWiFiDirectAdvertiser.DoAcceptDevice Method

Fires the OnAcceptDevice event.

Syntax
Pascal
procedure DoAcceptDevice(const Device: TwclWiFiDirectDevice; out Accept: Boolean); virtual;
Parameters 
Description 
const Device: TwclWiFiDirectDevice 
The WiFi Direct device object.  
out Accept: Boolean 
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.