navigator_invoke_viewer_get_height()

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_viewer_get_height(const navigator_invoke_viewer_t *viewer) BPS_DEPRECATED

Since:

BlackBerry 10.0.0

Arguments:

viewer

A pointer to the navigator_invoke_viewer_t structure whose height member you want to retrieve.

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_viewer_get_height() function extracts the window height of a given navigator_invoke_viewer_t structure. The height member is used to set the height of the window created by a viewer invocation (see the navigator_invoke_viewer_set_height() function for further details).

Returns:

The invocation viewer height if was provided by the sender, -1 with errno set otherwise.