Retrieve the transfer mode of the menu invocation object.
#include "bps/menu.h"
BPS_API int menu_invocation_get_file_transfer_mode(menu_invocation_t *invocation)
BlackBerry 10.0.0
The menu invocation to retrieve the data from.
The menu_invocation_get_file_transfer_mode() function extracts the file transfer mode (navigator_invoke_file_transfer_mode_t) of the given menu invocation object. The allowable return values are:
The menu request file transfer mode if provided by the sender, NAVIGATOR_INVOKE_FILE_TRANSFER_MODE_UNSPECIFIED otherwise, BPS_FAILURE with errno set if an error occurs.