System.Tether.Manager.TTetheringAdapter.StartListening
Delphi
function StartListening: Boolean;
C++
bool __fastcall StartListening(void);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.Tether.Manager.pas System.Tether.Manager.hpp |
System.Tether.Manager | TTetheringAdapter |
Description
Starts listening for other adapters of the same type and notifies any adapter in range.
The manager of your adapter may call StartListening as soon as the adapter is registered in the manager or after the manager is enabled (Enabled is True
) after being previously disabled.
StartListening creates a new communication thread and registers the event handler of the NotifyEndProfileDiscovery event.
The return value of this function is the value of the IsListening property.
See Also
- System.Tether.Manager.TTetheringAdapter.IsListening
- System.Tether.Manager.TTetheringAdapter.DoCreateCommunicationThread
- System.Tether.Manager.TTetheringAdapter.EndManagersTimer
- System.Tether.Manager.TTetheringAdapter.DoNewManager