System.Bluetooth.TBluetoothLEAdvertiseData.ContainsServiceUUID

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function ContainsServiceUUID(const AServiceUUID: TBluetoothUUID): Boolean; virtual; abstract;

C++

virtual bool __fastcall ContainsServiceUUID(const GUID &AServiceUUID) = 0 ;

Properties

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

Description

Returns True if the specified UUID of a GATT service exists in the advertised service UUIDs, or False otherwise.

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