System.Bluetooth.TBluetoothGattServer.AdvertiseService

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property AdvertiseService: Boolean read FAdvertiseService write FAdvertiseService;

C++

__property bool AdvertiseService = {read=FAdvertiseService, write=FAdvertiseService, nodefault};

Properties

Type Visibility Source Unit Parent
property public
System.Bluetooth.pas
System.Bluetooth.hpp
System.Bluetooth TBluetoothGattServer

Description

Whether your GATT server should advertise any service as you add them to your GATT server (True) or whether services should not be advertised until you start advertising all of them (False).

The default value, True, is set in the TBluetoothGattServer constructor.

See Also