navigator_invoke_invocation_set_metadata()

Set the metadata with which the application should be invoked.

Synopsis:

#include <bps/navigator_invoke.h>
 
BPS_API int navigator_invoke_invocation_set_metadata(navigator_invoke_invocation_t *invocation,
                                                     const char *metadata)

Since:

BlackBerry 10.0.0

Arguments:

invocation

The invocation to update.

metadata

The JSON string carrying optional metadata.

Library:

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

Description:

The navigator_invoke_invocation_set_metadata() function sets the metadata with which the application should be invoked.

Returns:

BPS_SUCCESS upon success, BPS_FAILURE with errno set otherwise.