navigator_event_get_extended_data_length()

Gets the extended data's length from the event if it is available.

Synopsis:

#include <bps/navigator.h>
 
BPS_API unsigned int navigator_event_get_extended_data_length(bps_event_t *event)

Since:

BlackBerry 10.0.0

Arguments:

event

The original event.

Library:

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

Description:

Returns:

The number of bytes of extended data that is available, 0 if no data is available. Note that if you wish to allocate a buffer and copy the extended data with a null terminator, you should add 1 to the value returned.