System.Bluetooth.TBluetoothManager.OnDiscoverableEnd

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property OnDiscoverableEnd: TDiscoverableEndEvent read FOnDiscoverableEnd write FOnDiscoverableEnd;

C++

__property TDiscoverableEndEvent OnDiscoverableEnd = {read=FOnDiscoverableEnd, write=FOnDiscoverableEnd};

Properties

Type Visibility Source Unit Parent
event public
System.Bluetooth.pas
System.Bluetooth.hpp
System.Bluetooth TBluetoothManager

Description

When you call StartDiscoverable, you start a request to make the device that is running your application discoverable via Bluetooth. OnDiscoverableEnd occurs if the user of your application accepts your request.

The event handler of OnDiscoverableEnd receives a single parameter, Sender, which is the adapter of your manager.

Platform Support

Platform Supported Notes

32-bit Windows
64-bit Windows

YesC++11Feature.png

OS X

  • Users must actively choose to make the device that is running your application discoverable. You cannot request to make the device discoverable from your application using StartDiscoverable.

Android

YesC++11Feature.png

See Also