navigator_invoke_close_viewer()

The use of viewers has been deprecated - use applications or cards as invocation targets instead.

Synopsis:

#include <bps/navigator_invoke.h>
 
BPS_API int navigator_invoke_close_viewer(const char *window_id) BPS_DEPRECATED

Since:

BlackBerry 10.0.0

Arguments:

window_id

The window ID associated with the viewer window you want to close. The window_id member cannot be NULL.

Library:

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

Description:

Deprecated:

The use of viewers has been deprecated - use applications or cards as invocation targets instead.

The navigator_invoke_close_viewer() function closes the viewer window of a given navigator_invoke_viewer_t structure that was started with the navigator_invoke_viewer_send() function.

Returns:

BPS_SUCCESS upon success, BPS_FAILURE with errno set otherwise.