System.Tether.Manager.TTetheringAdapter.SaveTokenFromLocal
Delphi
procedure SaveTokenFromLocal(const AManager, Seed: string);
C++
void __fastcall SaveTokenFromLocal(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 SaveTokenFromLocal after a successful pairing to a remote manager when the pairing operation was started by the remote manager. When the manager of your adapter starts the pairing operation, call SaveTokenFromRemote 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, SaveTokenFromLocal 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