Package: android.hardware.gnss@1.0

IGnssNi

interface IGnssNi

Extended interface for Network-initiated(NI)support.This interface is used to respond to NI notifications originating from the HAL.

Methods

setCallback

setCallback (IGnssNiCallback callback)

Registers the callbacks for HAL to use.

Details
Parameters
callback
handle to IGnssNiCallback interface.

respond

respond (int32_t notifId, GnssUserResponseType userResponse)

Sends a response to HAL.

Details
Parameters
notifId
An ID generated by HAL to associate NI notifications and framework responses.
userResponse
A GNSS Ni response indicating if the notification was accepted, denied or not responded to.