System.Bluetooth.TBluetoothManager.Current
Delphi
class property Current: TBluetoothManager read InternalGetBluetoothManager;
C++
/* static */ __property TBluetoothManager* Current = {read=InternalGetBluetoothManager};
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
property | public | System.Bluetooth.pas System.Bluetooth.hpp |
System.Bluetooth | TBluetoothManager |
説明
TBluetoothManager のグローバル インスタンスを返します。
どのアプリケーションでも、そのアプリケーションで必要な TBluetoothManager のインスタンスは 1 つだけです。Current を使用すると、TBluetoothManager のインスタンスを取得し、TBluetoothManager をシングルトンとして使用することができます。
関連項目
- Singleton パターン(ウィキペディア)