System.Tether.Manager.TTetheringAdapter.SaveTokenFromRemote
Delphi
procedure SaveTokenFromRemote(const AManager, Seed: string);
C++
void __fastcall SaveTokenFromRemote(const System::UnicodeString AManager, const System::UnicodeString Seed);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | System.Tether.Manager.pas System.Tether.Manager.hpp |
System.Tether.Manager | TTetheringAdapter |
Description
Saves the specified remote manager identifier and hash to the list of known remote managers of the manager of your adapter.
Subclasses of TTetheringAdapter may call SaveTokenFromRemote after a successful pairing to a remote manager when the manager of your adapter starts the pairing operation. When the pairing operation is started by the remote manager, call SaveTokenFromLocal instead.
If you provide a handler for the OnRequestStorage event of the manager of your adapter that provides an instance of TTetheringCustomStorage for persistent storage of manager data, SaveTokenFromRemote also saves the remote manager identifier and pairing hash to the persistent storage using TTetheringCustomStorage.SaveRemoteManagersGUIDs.
See Also
- System.Tether.Manager.TTetheringAdapter.KnownManagers
- System.Tether.Manager.TTetheringAdapter.PairManager