Set whether or not the last known position will be returned.
#include <bps/geolocation.h>
BPS_API void geolocation_set_last_known(bool last_known)
BlackBerry 10.0.0
True means the last known position will be returned, otherwise it will not.
The geolocation_set_last_known() function sets whether or not the last known position will be returned. If set, only one geolocation event will be reported, but it will be reported immediately. It will either be a GEOLOCATION_INFO event containing the last known position or a GEOLOCATION_ERROR event if there is no last known position. You may set the provider with geolocation_set_provider(), but any other parameters will be ignored.