System.Bluetooth.TBluetoothLEAdvertiseData.ContainsServiceUUID
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) |
|