Enable or disable the Bluetooth radio asynchronously.
#include <btapi/btdevice.h>
int bt_ldev_set_power_async(const bool power_on, bt_ldev_set_power_cb cb, void *user_data)
BlackBerry 10.3.0
Set to a value of true to turn on the Bluetooth radio, false to turn off the Bluetooth radio.
The callback function to be executed when the operation has completed.
A user specified pointer that is returned during the callback.
When the operation completes successfully, the bt_ldev_set_power_cb callback is invoked and the BT_EVT_RADIO_INIT or BT_EVT_RADIO_SHUTDOWN event is sent.