region_event_get_region()

Get the raw region string from a REGION_INFO event.

Synopsis:

#include <bps/region.h>
 
BPS_API const char* region_event_get_region(bps_event_t *event)

Since:

BlackBerry 10.0.0

Arguments:

event

The REGION_INFO event to extract the region from.

Library:

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

Description:

The region_event_get_region() function extracts the region string without any processing (e.g., en_US, fr_FR, en_GR, etc.) from the specified REGION_INFO event.

Returns:

The current region.