navigator_raw_write()

Sends data to the navigator service.

Synopsis:

#include <bps/navigator.h>
 
BPS_API int navigator_raw_write(const char *data,
                                unsigned int length)

Since:

BlackBerry 10.0.0

Arguments:

data

The data to be sent.

length

The length of the data.

Library:

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

Description:

The data will only be sent if navigator_request_events() was called with NAVIGATOR_EXTENDED_DATA.

Returns:

BPS_SUCCESS upon success, BPS_FAILURE with errno set otherwise.