Package: android.hardware.gnss@1.0

IGnssXtra

interface IGnssXtra

This interface is used by the GNSS HAL to request the framework to download XTRA data.

Methods

setCallback

setCallback (IGnssXtraCallback callback)
generates (bool success)

Opens the XTRA interface and provides the callback routines to the implementation of this interface.

Details
Parameters
callback
Handle to the IGnssXtraCallback interface.
Generates
success
True if the operation is successful.

injectXtraData

injectXtraData (string xtraData)
generates (bool success)

Inject the downloaded XTRA data into the GNSS receiver.

Details
Parameters
xtraData
GNSS XTRA data.
Generates
success
True if the operation is successful.