API:System.Tether.BluetoothAdapter.TTetheringBluetoothAdapter.DoStopListening
Delphi
procedure DoStopListening; override;
C++
virtual void __fastcall DoStopListening(void);
Propriétés
Type | Visibilité | Source | Unité | Parent |
---|---|---|---|---|
procedure function |
protected | System.Tether.BluetoothAdapter.pas System.Tether.BluetoothAdapter.hpp |
System.Tether.BluetoothAdapter | TTetheringBluetoothAdapter |
Description
Arrête l'écoute des autres adaptateurs, et notifie n'importe quel adaptateur de la portée que votre adaptateur n'écoute plus.
System.Tether.BluetoothAdapter.TTetheringBluetoothAdapter.DoStopListening hérite de System.Tether.Manager.TTetheringAdapter.DoStopListening. Tout le contenu en-dessous de cette ligne se réfère à System.Tether.Manager.TTetheringAdapter.DoStopListening.
Arrête l'écoute des autres adaptateurs, et notifie n'importe quel adaptateur de la portée que votre adaptateur n'écoute plus.
DoStopListening termine le thread de communication qui est utilisé avec l'adaptateur.
Le gestionnaire de votre adaptateur appelle StopListening quand le gestionnaire est désactivé (Enabled vaut False
). StopListening appelle DoStopListening.
- Remarque : Les sous-classes de TTetheringAdapter peuvent redéfinir DoStopListening. Par exemple, TTetheringNetworkAdapterCommon.DoStopListening.
Voir aussi
- System.Tether.NetworkAdapter.TTetheringNetworkAdapterCommon.DoStopListening
- System.Tether.BluetoothAdapter.TTetheringBluetoothAdapter.DoStopListening
- System.Tether.Manager.TTetheringAdapter
- System.Tether.Manager.TTetheringManager.Enabled
- System.Tether.Manager.TTetheringAdapter.DoStartListening
- System.Tether.Manager.TTetheringAdapter.StopListening
- System.Tether.Manager.TTetheringManagerCommunicationThread
- System.Classes.TThread.Terminate