System.Tether.Manager.TTetheringAdapters.RegisterAdapter

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

class procedure RegisterAdapter(const AnAdapter: TTetheringAdapterClass; const AType: TTetheringAdapterType);

Properties

Type Visibility Source Unit Parent
procedure public System.Tether.Manager.pas System.Tether.Manager TTetheringAdapters

Description

Registers an adapter type and a class that implements an adapter of the specified type.

Units that implement adapter classes usually register those classes in their initialization section.

After you register an adapter type and its adapter class, your adapter type is added to the list of Adapters. Call GetAdapterInstance to obtain the adapter class associated with an adapter type.

Call UnRegisterAdapter to unregister a previously-registered pair of adapter type and adapter class.

See Also