summaryrefslogtreecommitdiff
path: root/location/location_interface.h
diff options
context:
space:
mode:
authorBhavna Sharma <sbhavna@codeaurora.org>2017-05-02 14:29:46 -0700
committerBhavna Sharma <sbhavna@codeaurora.org>2017-07-24 09:25:07 -0700
commit686a5c54b0fdd8a642a55f0d2085aeec99763209 (patch)
tree21f284958a175784fb0997e1f789233e6273bf01 /location/location_interface.h
parent2df685d3ec307cd24900b856529fe6a7fe9c7818 (diff)
downloadgps-686a5c54b0fdd8a642a55f0d2085aeec99763209.tar.gz
Location API for Outdoor Trip Batching
Add / Modify Location API for Outdoor Trip Batching feature. Introduce a batch mode to differentiate between routine and outdoor trip mode. CRs-Fixed: 2041674 Change-Id: Ia8b2d34457b29c4fe754ab24287a6984ab9a96f5
Diffstat (limited to 'location/location_interface.h')
-rw-r--r--location/location_interface.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/location/location_interface.h b/location/location_interface.h
index c93f135..d794882 100644
--- a/location/location_interface.h
+++ b/location/location_interface.h
@@ -67,9 +67,10 @@ struct FlpInterface {
uint32_t (*startTracking)(LocationAPI* client, LocationOptions& options);
void (*updateTrackingOptions)(LocationAPI* client, uint32_t id, LocationOptions& options);
void (*stopTracking)(LocationAPI* client, uint32_t id);
- uint32_t (*startBatching)(LocationAPI* client, LocationOptions&);
+ uint32_t (*startBatching)(LocationAPI* client, LocationOptions&, BatchingOptions&);
void (*stopBatching)(LocationAPI* client, uint32_t id);
- void (*updateBatchingOptions)(LocationAPI* client, uint32_t id, LocationOptions&);
+ void (*updateBatchingOptions)(LocationAPI* client, uint32_t id, LocationOptions&,
+ BatchingOptions&);
void (*getBatchedLocations)(LocationAPI* client, uint32_t id, size_t count);
void (*getPowerStateChanges)(void* powerStateCb);
};