Cancel a request to flash the LEDs.
#include <bps/led.h>
BPS_API int led_cancel(const char *id)
BlackBerry 10.0.0
The identifier used for the request in led_request_color() or led_request_rgb().
The led_cancel() function cancels a previous request to flash the LEDs. If the application does not have the access_led_control capability, this function will fail.
BPS_SUCCESS upon success, BPS_FAILURE with errno set otherwise.