System.Bluetooth.TBluetoothManager.Current
Delphi
class property Current: TBluetoothManager read InternalGetBluetoothManager;
C++
/* static */ __property TBluetoothManager* Current = {read=InternalGetBluetoothManager};
Eigenschaften
Typ | Sichtbarkeit | Quelle | Unit | Übergeordnet |
---|---|---|---|---|
property | public | System.Bluetooth.pas System.Bluetooth.hpp |
System.Bluetooth | TBluetoothManager |
Beschreibung
Gibt eine globale Instanz von TBluetoothManager zurück.
Sie brauchen nur eine Instanz von TBluetoothManager für jede Anwendung. Mit Current können Sie eine Instanz von TBluetoothManager abrufen. Arbeiten Sie mit TBluetoothManager als Singleton.
Siehe auch
- Singleton (Entwurfsmuster) (Wikipedia)