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)

Arguments:

invocation

The invocation to update.

metadata

The JSON string carrying optional metadata.

Library:

libbps

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.