Device button events

The button events.

Synopsis:

#include <bps/button.h>
 
enumĀ {
      BUTTON_UP = 0   
      BUTTON_DOWN = 1   
};

Since:

BlackBerry 10.0.0

Data:

BUTTON_UP
The button is up (released).
BUTTON_DOWN
The button is down (pressed).

Library:

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

Description:

This enumeration defines the available button events. Currently, there are two events. These events are generated when one of the physical buttons are pressed or released.