System.Bluetooth.TBluetoothManager.Current
Delphi
class property Current: TBluetoothManager read InternalGetBluetoothManager;
C++
/* static */ __property TBluetoothManager* Current = {read=InternalGetBluetoothManager};
Propriétés
Type | Visibilité | Source | Unité | Parent |
---|---|---|---|---|
property | public | System.Bluetooth.pas System.Bluetooth.hpp |
System.Bluetooth | TBluetoothManager |
Description
Renvoie une instance globale de TBluetoothManager.
Vous n'avez besoin que d'une instance de TBluetoothManager sur toutes les applications. Utilisez Current pour obtenir une instance de TBluetoothManager et travailler avec TBluetoothManager en tant que singleton.
Voir aussi
- Singleton pattern (Wikipedia)