TwclWiFiDirectDeviceWatcher Class
The component allows you application to enumerate (discover) nearby WiFi Direct Devices,
type TwclWiFiDirectDeviceWatcher = class(TwclCustomWiFiDirectComponent) end;
The TwclWiFiDirectDeviceWatcher type exposes the following members.
Name | Description | |
---|---|---|
Create(TComponent) | Creates a new WiFi Device Watcher component. (Overrides TwclCustomWiFiDirectComponent.Create(TComponent).) |
Name | Description | |
---|---|---|
Discovering | Gets discovering state of the component. | |
HardwareAvailable | Gets the Hardware Available flag. (Inherited from TwclCustomWiFiDirectComponent.) | |
OnDiscoveringStarted | The event fires when discovering for nearby WiFi Direct devices has been started. | |
Receiver | Gets the message receiver object. (Inherited from TwclCustomWiFiDirectComponent.) |
Name | Description | |
---|---|---|
Discover | Starts discovering for nearby WiFi Direct devices. | |
DoDeviceFound(string,string) | Fires the | |
DoDiscoveringCompleted(Integer) | Fires the | |
DoDiscoveringStarted | Fires the | |
EnumPairedDevices(TStringList) | Enumerates paired WiFi Direct devices. | |
GetName(string,string) | Gets the WiFi Direct device's name. | |
HardwareRemoved | The method called when WiFi hardware has been switched off or removed. (Overrides TwclCustomWiFiDirectComponent.HardwareRemoved.) | |
InitWlan | Initializes native WLAN subsystem. (Inherited from TwclCustomWiFiDirectComponent.) | |
IsPaired(string,Boolean) | Gets The WiFi Direct device's pairing status. | |
MessageReceived(TwclMessage) | The method called when a new notification message received. (Overrides TwclCustomWiFiDirectComponent.MessageReceived(TwclMessage).) | |
Terminate | Overloaded. Terminates discovering for nearby WiFi Direct devices. | |
UninitWlan | Uninitializes native WLAN subsystem. (Inherited from TwclCustomWiFiDirectComponent.) | |
Unpair(string) | Unpair a WiFi Direct device. |
Name | Description | |
---|---|---|
OnDeviceFound | The event fires when a nearby WiFi Direct device has been found. | |
OnDiscoveringCompleted | The event fires when discovering for nearby WiFi Direct devices has been completed. |