platform_hardware_interfaces/gnss/1.0/IGnssXtra.hal
Andreas Huber 40d3a9bd8c Convert all comments into "doxygen-ready" comments.
Bug: 36453077
Test: mma
Change-Id: I0b1f77dfae5d2258969e33d85ecf45401ffbdfaa
2017-03-29 08:53:58 -07:00

27 lines
784 B
Text

package android.hardware.gnss@1.0;
import IGnssXtraCallback;
/**
* This interface is used by the GNSS HAL to request the framework
* to download XTRA data.
*/
interface IGnssXtra {
/**
* Opens the XTRA interface and provides the callback routines
* to the implementation of this interface.
*
* @param callback Handle to the IGnssXtraCallback interface.
*
* @return success True if the operation is successful.
*/
setCallback(IGnssXtraCallback callback) generates (bool success);
/**
* Inject the downloaded XTRA data into the GNSS receiver.
*
* @param xtraData GNSS XTRA data.
*
* @return success True if the operation is successful.
*/
injectXtraData(string xtraData) generates (bool success);
};