navigator_invoke_query_result_target_get_type()

Get the type of a target for an action.

Synopsis:

#include <bps/navigator_invoke.h>
 
BPS_API navigator_invoke_target_type_t navigator_invoke_query_result_target_get_type(const navigator_invoke_query_result_target_t *target)

Since:

BlackBerry 10.0.0

Arguments:

target

The navigator_invoke_query_result_target_t structure whose type member you want to retrieve.

Library:

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

Description:

The navigator_invoke_query_result_target_get_type() function extracts the target type of a given navigator_invoke_query_result_target_t structure. The type member allows the target to be identified as an application, service, or card. You must call this function to display returned target value(s).

The possible values that you can receive from this member are:
  • NAVIGATOR_INVOKE_TARGET_TYPE_APPLICATION
  • NAVIGATOR_INVOKE_TARGET_TYPE_SERVICE
  • NAVIGATOR_INVOKE_TARGET_TYPE_HEADLESS
  • NAVIGATOR_INVOKE_TARGET_TYPE_CARD

Returns:

The type of the given target.