TwclWiFiDirectClient Class
The WiFi Direct Client allows to connect to other WiFi Direct devices.
wclWiFi.TwclCustomWiFiDirectComponent
wclWiFi.TwclWiFiDirectConnectionComponent
wclWiFi.TwclWiFiDirectClient
type TwclWiFiDirectClient = class(TwclWiFiDirectConnectionComponent) end;
The TwclWiFiDirectClient type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | Create(TComponent) | Creates a new WiFi Direct Client component. (Overrides TwclWiFiDirectConnectionComponent.Create(TComponent).) |
| Name | Description | |
|---|---|---|
![]() | HardwareAvailable | Gets the Hardware Available flag. (Inherited from TwclCustomWiFiDirectComponent.) |
![]() | LocalAddress | Gets local IP address for the connection. |
![]() | MessageProcessing | Gets and sets a message processing method that should be used by the WiFi Sniffer. (Inherited from TwclCustomWiFiDirectComponent.) |
![]() | Receiver | Gets the message receiver object. (Inherited from TwclCustomWiFiDirectComponent.) |
![]() | RemoteAddress | Gets remote IP address for the connection. |
![]() | State | Gets a client state. |
| Name | Description | |
|---|---|---|
![]() | OnDeviceConnected | The event fires when a remote WiFi enabled device has been connected to the WiFi Direct Advertiser. (Inherited from TwclWiFiDirectConnectionComponent.) |
![]() | OnDeviceDisconnected | The event fires when the remote WiFi enabled device has been disconnected from the WiFi Direct Advertiser. (Inherited from TwclWiFiDirectConnectionComponent.) |
![]() | OnPairCompleted | The event fires when pairing with a remote WiFi enabled device has been completed (with or without success). (Inherited from TwclWiFiDirectConnectionComponent.) |
![]() | OnPairConfirm | The event fires when a remote WiFi enabled device requests simple pairing confirmation. (Inherited from TwclWiFiDirectConnectionComponent.) |
![]() | OnPairDisplayPin | The event fires when a remote WiFi enabled device requests the Display Pin pairing procedure. An application must show the Pin received from the event. (Inherited from TwclWiFiDirectConnectionComponent.) |
![]() | OnPairGetParams | The event fires when pairing parameters need to be set. (Inherited from TwclWiFiDirectConnectionComponent.) |
![]() | OnPairProvidePin | The event fires when a remote WiFi enabled device requests Pin for pairing. An application must provide Pin. (Inherited from TwclWiFiDirectConnectionComponent.) |




