navigator_app_state_t

The different run partitions an application can be placed into.

Synopsis:

#include <bps/navigator.h>
 
typedef enum {
      NAVIGATOR_APP_FOREGROUND = 0   
      NAVIGATOR_APP_BACKGROUND = 1   
      NAVIGATOR_APP_STOPPING = 2   
} navigator_app_state_t;

Since:

BlackBerry 10.0.0

Data:

NAVIGATOR_APP_FOREGROUND
The application is placed into the foreground partition.
NAVIGATOR_APP_BACKGROUND
The application is placed into the background partition.
NAVIGATOR_APP_STOPPING
The application will shortly be placed into the stopped partition.

Library:

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

Description:

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.