System.Tether.Manager.TTetheringProfiles

From RAD Studio API Documentation
Jump to: navigation, search

System.TObjectTTetheringProfiles

Delphi

TTetheringProfiles = class

C++

class PASCALIMPLEMENTATION DECLSPEC_DRTTI TTetheringProfiles : public System::TObject

Properties

Type Visibility Source Unit Parent
class public
System.Tether.Manager.pas
System.Tether.Manager.hpp
System.Tether.Manager System.Tether.Manager

Description

Keeps a list of supported profile types, as well as lists of adapter types and protocol types supported by each type of profile, and lets you create instances of profiles given a type.

Use RegisterProfile to register a profile type, and then use RegisterProfileProtocolAdapter to register adapters or protocols for a given profile, respectively. You must only register adapters and protocols for a previously-registered profile; otherwise, the register method raises an ETetheringException exception.

TTetheringProfiles provides unregister methods as well: UnRegisterProfile, UnRegisterProfileProtocolAdapter.

You may use GetProfileInstance to create an instance of a profile of a specified profile type that is configured to use a specified manager.

See Also