Package: android.hardware.gnss@1.0

IGnssBatchingCallback

interface IGnssBatchingCallback

The callback interface to report measurements from the HAL.

Methods

gnssLocationBatchCb

gnssLocationBatchCb (vec<GnssLocation> locations)

Called when a batch of locations is output, by various means, including a flush request, as well as the buffer becoming full(if appropriate option is set .)

All locations returned by this callback must be cleared from the hardware buffer, such the sequential calls of this callback do not return any redundant locations .(Same lat/lon, at a new time, is acceptable .)

Details
Parameters
locations
GNSS Location information from HAL.