WiFi Framework
ContentsIndexHome
PreviousUpNext
TwclWiFiDirectDevice.Create Constructor

Creates new WiFi Direct device object.

Syntax
Pascal
constructor Create(const Receiver: TwclMessageReceiver; const Id: string; const Name: string = ''; const Legacy: Boolean = False); virtual;
Parameters 
Description 
const Receiver: TwclMessageReceiver 
The message receiver object that will receive notification messages. If the Receiver parameter is nil the wclEInvalidArgument exception raises.  
const Id: string 
The device's ID. If the Id parameter is an empty string the wclEInvalidArgument exception raises.  
const Name: string = '' 
The device's name.  
const Legacy: Boolean = False 
The device's legacy mode.  

An application must not create or destroy objects of this class directly.

Exceptions 
Description 
 
Copyright (c) 2006-2019. All rights reserved.