navigator_invoke_viewer_set_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_set_height(navigator_invoke_viewer_t *viewer,
                                               int height) BPS_DEPRECATED

Since:

BlackBerry 10.0.0

Arguments:

viewer

A pointer to the navigator_invoke_viewer_t structure whose height you want to set.

height

The height in pixels you want to set to a window created by the viewer. The value must be an integer. For example, "100" is an acceptable height.

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_set_height() function sets the window height of a given navigator_invoke_viewer_t structure. The height member identifies the height of a window created by the viewer. You must set a height to all navigator_invoke_viewer_t structures.

Returns:

BPS_SUCCESS upon success, BPS_FAILURE with errno set otherwise.