Return region parameters.
#include <geomonitor.h>
geomonitor_error_t geomonitor_region_get_circle_shape(geomonitor_region_t region, double *lat, double *lon, double *radius)
BlackBerry 10.2.0
A handle to the geomonitor region.
The latitude of the center of the region. This is a value (in degrees) in the range [-90.0, 90.0].
The longitude of the center of the region. This is a value (in degrees) in the range [-180, 180.0].
The radius of the region (in meters).
This function returns the region's parameters (i.e., latitude, longitude, and radius) provided that the region's shape is a circle. If the region is any other shape, then GEOMONITOR_REGION_INVALID_SHAPE_TYPE is returned.
GEOMONITOR_OK if successful, an error from geomonitor_error_t otherwise.