navigator_event_get_severity()

Get the severity of a NAVIGATOR_LOW_MEMORY event.

Synopsis:

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

Since:

BlackBerry 10.0.0

Arguments:

event

The NAVIGATOR_LOW_MEMORY event to extract the severity from.

Library:

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

Description:

The navigator_event_get_severity() function extracts the current severity from a NAVIGATOR_LOW_MEMORY event.

Returns:

The severity (increasing amounts indicates a higher level of severity) from the event. BPS_FAILURE if the severity cannot be retrieved from the given event.