System.Tether.Manager.TTetheringProfile.Enabled

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

property Enabled: Boolean read FEnabled write SetEnabled default True;

C++

__property bool Enabled = {read=FEnabled, write=SetEnabled, default=1};

Properties

Type Visibility Source Unit Parent
property published
System.Tether.Manager.pas
System.Tether.Manager.hpp
System.Tether.Manager TTetheringProfile

Description

Indicates whether the profile is communicating with remote profiles (True) or not (False).

When you set Enabled to True, your profile starts communicating with other remote profiles.

When you set Enabled to False, your profile stops communicating with other remote profiles until you set Enabled to True again.

Note: To allow or prevent the manager of your profile from publishing your profile to remote managers that request a list of published profiles, use Visible instead.

Exceptions

See TTetheringTCPProtocol.StartCommunication for information about exceptions that might raise when you set Enabled to True and your profile uses TTetheringTCPProtocol as protocol.

See Also