led_cancel()

Cancel a request to flash the LEDs.

Synopsis:

#include <bps/led.h>
 
BPS_API int led_cancel(const char *id)

Since:

BlackBerry 10.0.0

Arguments:

id

The identifier used for the request in led_request_color() or led_request_rgb().

Library:

libbps (For the qcc command, use the -l bps option to link against this library)

Description:

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.

Returns:

BPS_SUCCESS upon success, BPS_FAILURE with errno set otherwise.