System.Bluetooth.Components.TBluetoothLE.AddService
Delphi
function AddService(const AService: TBluetoothGattService): Boolean;
C++
bool __fastcall AddService(System::Bluetooth::TBluetoothGattService* const AService);
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
function | public | System.Bluetooth.Components.pas System.Bluetooth.Components.hpp |
System.Bluetooth.Components | TBluetoothLE |
説明
以前に作成されたサービスとその特性を、基としているサーバーに追加します。
アクションが成功した場合(サービスがサービスのリストに追加された場合)には True
を返します。
関連項目
- System.Bluetooth.Components.TBluetoothLE
- System.Bluetooth.Components.TBluetoothLE.GetServices
- System.Bluetooth.Components.TBluetoothLE.GetService
- System.Bluetooth.Components.TBluetoothLE.GetGattServer
- System.Bluetooth.TBluetoothGattServer
- System.Bluetooth.TBluetoothGattServer.CreateService
- System.Bluetooth.TBluetoothGattServer.AddService
- System.Bluetooth.TBluetoothGattService
- System.Bluetooth.TBluetoothGattService.Characteristics