navigator_close_window()

Inform navigator that the app wishes to exit.

Synopsis:

#include <bps/navigator.h>
 
BPS_API int navigator_close_window(void)

Since:

BlackBerry 10.0.0

Arguments:

Library:

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

Description:

An application should call this function when it is ready to terminate. The application should then wait until it receives a NAVIGATOR_EXIT event before shutting down.

Returns:

BPS_SUCCESS upon succes, BPS_FAILURE with errno set otherwise.