You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
784 B

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);
};