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