System.Tether.Manager.TTetheringAdapter.StartListening

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function StartListening: Boolean;

C++

bool __fastcall StartListening();

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