System.Bluetooth.TBluetoothLEAdvertiseData.ClearServiceData

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure ClearServiceData;

C++

void __fastcall ClearServiceData(void);

Properties

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

Description

Removes all the pairs of UUID and data of GATT services 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