System.Bluetooth.Components.TBluetoothLE.DoServiceAdded
Delphi
procedure DoServiceAdded(const Sender: TObject; const AService: TBluetoothGattService; const AGattStatus: TBluetoothGattStatus);
C++
void __fastcall DoServiceAdded(System::TObject* const Sender, System::Bluetooth::TBluetoothGattService* const AService, const System::Bluetooth::TBluetoothGattStatus AGattStatus);
Eigenschaften
Typ | Sichtbarkeit | Quelle | Unit | Übergeordnet |
---|---|---|---|---|
procedure function |
protected | System.Bluetooth.Components.pas System.Bluetooth.Components.hpp |
System.Bluetooth.Components | TBluetoothLE |
Beschreibung
Dispatcher des Ereignisses OnServiceAdded.
DoServiceAdded wird aufgerufen, nachdem dem GATT-Server Ihrer Komponente als Ergebnis eines vorherigen Aufrufs von AddService auf dem GATT-Server Ihrer Komponente ein Dienst hinzugefügt wurde.
Dieser Ereignis-Dispatcher empfängt die folgenden Parameter:
Sender
ist der GATT-Server Ihrer Komponente.AService
ist der Dienst, der dem GATT-Server Ihrer Komponente hinzugefügt wurde.AGattStatus
ist der Beendigungsstatus des Hinzufüge-Vorgangs.