Set or clear the geolocation data for photo metadata.
#include <camera/camera_api.h>
camera_error_t camera_set_geolocation(camera_handle_t handle,
double latitude,
double longitude,
double altitude,
bool valid)
BlackBerry 10.0.0
The handle returned by a call to the camera_open() function.
The desired latitude in degrees.
The desired longitude in degrees.
The desired altitude in meters.
A flag that sets or clears the geolocation data. Set to true to set the data, set to false to clear the data.
Use this function to add or remove geolocation metadata to your images. The geolocation metadata will persist until you close the camera.
CAMERA_EOK when the function successfully completes, otherwise another camera_error_t value that provides the reason that the call failed.