System.Bluetooth.TBluetoothGattServer.Create

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

constructor Create(const AManager: TBluetoothLEManager);

C++

__fastcall TBluetoothGattServer(TBluetoothLEManager* const AManager);

Properties

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

Description

Creates an instance of TBluetoothGattServer that uses the specified manager.

Exceptions

Exception Message Scenarios
EBluetoothLEAdvertiseDataException The device does not support peripheral mode
  • Bluetooth is turned off on your Android device.
  • Your Android device does not support Bluetooth LE advertising.

See Also