TwclWiFiDirectConnectionComponent Class

The base class for WiFi Direct connection components.

Namespace: wclWiFi
TComponent
  wclWiFi.TwclCustomWiFiDirectComponent
    wclWiFi.TwclWiFiDirectConnectionComponent
      wclWiFi.TwclWiFiDirectAdvertiser
      wclWiFi.TwclWiFiDirectClient
type
 TwclWiFiDirectConnectionComponent = class(TwclCustomWiFiDirectComponent)
 end;

The TwclWiFiDirectConnectionComponent type exposes the following members.

Show:
 NameDescription
Create(TComponent)

Creates a new WiFi Direct Advertiser component. (Overrides TwclCustomWiFiDirectComponent.Create(TComponent).)

Top
Show:
 NameDescription
HardwareAvailable

Gets the Hardware Available flag. (Inherited from TwclCustomWiFiDirectComponent.)

Receiver

Gets the message receiver object. (Inherited from TwclCustomWiFiDirectComponent.)

Top
Show:
 NameDescription
DoDeviceConnected(TwclWiFiDirectDevice,Integer)

Fires the OnDeviceConnected event.

DoDeviceDisconnected(TwclWiFiDirectDevice,Integer)

Fires the OnDeviceDisconnected event.

DoPairCompleted(TwclWiFiDirectDevice,Integer)

Fires the OnPairComplete event.

DoPairConfirm(TwclWiFiDirectDevice,Boolean)

Fires the OnPairConfirm event.

DoPairDisplayPin(TwclWiFiDirectDevice,string)

Fires the OnPairDisplayPin event.

DoPairGetParams(TwclWiFiDirectDevice,Smallint,TwclWiFiDirectConfigurationMethods,TwclWiFiDirectPairingProcedure)

Fires the OnPairGetParams event.

DoPairProvidePin(TwclWiFiDirectDevice,string)

Fires the OnPairProvidePin event.

FindDevice(string)

Gets device object by its ID.

HardwareRemoved

The method called when WiFi hardware has been switched off or removed. (Inherited from TwclCustomWiFiDirectComponent.)

InitWlan

Initializes native WLAN subsystem. (Inherited from TwclCustomWiFiDirectComponent.)

MessageReceived(TwclMessage)

The method called when a new notification message received. (Overrides TwclCustomWiFiDirectComponent.MessageReceived(TwclMessage).)

UninitWlan

Uninitializes native WLAN subsystem. (Inherited from TwclCustomWiFiDirectComponent.)

Top
Show:
 NameDescription
OnDeviceConnected

The event fires when a remote WiFi enabled device has been connected to the WiFi Direct Advertiser.

OnDeviceDisconnected

The event fires when the remote WiFi enabled device has been disconnected from the WiFi Direct Advertiser.

OnPairCompleted

The event fires when pairing with a remote WiFi enabled device has been completed (with or without success).

OnPairConfirm

The event fires when a remote WiFi enabled device requests simple pairing confirmation.

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.

OnPairGetParams

The event fires when pairing parameters need to be set.

OnPairProvidePin

The event fires when a remote WiFi enabled device requests Pin for pairing. An application must provide Pin.

Top