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