menu_invocation_get_perimeter()

Retrieve the perimeter from the menu invocation object.

Synopsis:

#include "bps/menu.h"
 
BPS_API int menu_invocation_get_perimeter(menu_invocation_t *invocation)

Since:

BlackBerry 10.0.0

Arguments:

invocation

The menu invocation to retrieve the data from.

Library:

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

Description:

The menu_invocation_get_perimeter() function extracts the perimeter of the given menu invocation object. The allowable return values are:

  • NAVIGATOR_INVOKE_PERIMETER_TYPE_PERSONAL
  • NAVIGATOR_INVOKE_PERIMETER_TYPE_ENTERPRISE

Returns:

The perimeter upon success, BPS_FAILURE with errno set otherwise.