Package: android.hardware.gnss@1.0

IAGnssCallback

interface IAGnssCallback

Callback structure for the AGNSS interface.

Properties

AGnssType

enum AGnssType: uint8_t

AGNSS type *

Details
Members
TYPE_SUPL = 1
TYPE_C2K = 2
Annotations
export
name="" , value_prefix="AGPS_"

AGnssStatusValue

enum AGnssStatusValue: uint8_t
Details
Members
REQUEST_AGNSS_DATA_CONN = 1
GNSS requests data connection for AGNSS.
RELEASE_AGNSS_DATA_CONN = 2
GNSS releases the AGNSS data connection.
AGNSS_DATA_CONNECTED = 3
AGNSS data connection initiated
AGNSS_DATA_CONN_DONE = 4
AGNSS data connection completed
AGNSS_DATA_CONN_FAILED = 5
AGNSS data connection failed
Annotations
export
name="" , value_prefix="GNSS_"

AGnssStatusIpV4

struct AGnssStatusIpV4 {AGnssType type; AGnssStatusValue status; uint32_t ipV4Addr}

Represents the status of AGNSS augmented to support IPv4.

Details
Members
type
status
ipV4Addr
32-bit IPv4 address.
Annotations
export
name="" , value_prefix="GPS_"

AGnssStatusIpV6

struct AGnssStatusIpV6 {AGnssType type; AGnssStatusValue status; uint8_t ipV6Addr}

Represents the status of AGNSS augmented to support IPv6.

Details
Members
type
status
ipV6Addr
128-bit IPv6 address.

Methods

agnssStatusIpV4Cb

agnssStatusIpV4Cb (AGnssStatusIpV4 status)

Callback with AGNSS(IpV4)status information.

Details
Parameters
status
Will be of type AGnssStatusIpV4.

agnssStatusIpV6Cb

agnssStatusIpV6Cb (AGnssStatusIpV6 status)

Callback with AGNSS(IpV6)status information.

Details
Parameters
status
Will be of type AGnssStatusIpV6.