WiFi Framework C++ Edition
Public Member Functions | List of all members
CwclWiFiDirectDevice Class Reference

The class represents a WiFi Direct device. More...

#include <wclWiFi.h>

Public Member Functions

 CwclWiFiDirectDevice (CwclMessageReceiver *const Receiver, const tstring &Id, const tstring &Name=_T(""), const bool Legacy=false)
 Creates new WiFi Direct device object.
 
virtual ~CwclWiFiDirectDevice ()
 Frees the WiFi Direct device object.
 
int Disconnect ()
 Disconnects a WiFi Direct device.
 
tstring GetId () const
 Gets the device's ID.
 
 __declspec (property(get=GetId)) tstring Id
 Gets the device's ID.
 
bool GetLegacy () const
 gets the legacy setting.
 
 __declspec (property(get=GetLegacy)) bool Legacy
 gets the legacy setting.
 
tstring GetLocalAddress () const
 Gets the local IP address.
 
 __declspec (property(get=GetLocalAddress)) tstring LocalAddress
 Gets the local IP address.
 
tstring GetName () const
 Gets the device's name.
 
 __declspec (property(get=GetName)) tstring Name
 Gets the device's name.
 
tstring GetRemoteAddress () const
 Gets the remote IP address.
 
 __declspec (property(get=GetRemoteAddress)) tstring RemoteAddress
 Gets the remote IP address.
 
wclWiFiDirectDeviceState GetState () const
 Gets the current device's state.
 
 __declspec (property(get=GetState)) wclWiFiDirectDeviceState State
 Gets the current device's state.
 

Detailed Description

The class represents a WiFi Direct device.

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