Retrieve the number of Bluetooth-enabled devices within range.
#include <btapi/btdevice.h>
int bt_disc_retrieve_count(const int option)
BlackBerry 10.0.0
Specifies whether to return a count of paired (BT_DISCOVERY_PREKNOWN), found (BT_DISCOVERY_CACHED), or connected (BT_DISCOVERY_CONNECTED) devices.
The number of Bluetooth-enabled devices returned are from either the paired or found devices list. You usually use this function before fetching the actual devices using the bt_disc_retrieve_devices() function.