Get the current country from a REGION_INFO event.
#include <bps/region.h>
BPS_API const char* region_event_get_country(bps_event_t *event)
BlackBerry 10.0.0
The REGION_INFO event to extract the current country from.
The region_event_get_country() function extracts the current country (e.g., US, GB, FR, etc.) from the specified REGION_INFO event.
The country returned is from the country codes defined by ISO 3166-1 ( http://en.wikipedia.org/wiki/ISO_3166-1 ), using the rules set by BCP47 ( http://tools.ietf.org/html/bcp47 ).
The current country.