System.Bluetooth.TBluetoothLEAdvertiseData.RemoveServiceData

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure RemoveServiceData(const AServiceUUID: TBluetoothUUID);

C++

void __fastcall RemoveServiceData(const GUID &AServiceUUID);

Properties

Type Visibility Source Unit Parent
procedure
function
public
System.Bluetooth.pas
System.Bluetooth.hpp
System.Bluetooth TBluetoothLEAdvertiseData

Description

Removes a pair of UUID and data of a GATT service with the specified UUID from the advertised service data.

Exceptions

Exception Message Scenarios
EBluetoothLEAdvertiseDataException Need at least Android 5 (API 21)
  • Your device runs a version of Android that does not support Bluetooth LE advertising.

See Also