The different run partitions an application can be placed into.
#include <bps/navigator.h>
typedef enum {
NAVIGATOR_APP_FOREGROUND = 0
NAVIGATOR_APP_BACKGROUND = 1
NAVIGATOR_APP_STOPPING = 2
} navigator_app_state_t;
BlackBerry 10.0.0
This enumeration defines the different run partitions that an application can be placed into. Use navigator_event_get_app_state() to retrieve the navigator_app_state_t from a NAVIGATOR_APP_STATE event.