Android Hardware Abstraction Layer
Data Fields
AGpsInterface Struct Reference

#include <gps.h>

Data Fields

size_t size
void(* init )(AGpsCallbacks *callbacks)
int(* data_conn_open )(const char *apn)
int(* data_conn_closed )()
int(* data_conn_failed )()
int(* set_server )(AGpsType type, const char *hostname, int port)

Detailed Description

Extended interface for AGPS support.

Definition at line 505 of file gps.h.

Field Documentation

int(* data_conn_closed)()

Notifies that the AGPS data connection has been closed.

Definition at line 522 of file gps.h.

int(* data_conn_failed)()

Notifies that a data connection is not available for AGPS.

Definition at line 526 of file gps.h.

int(* data_conn_open)(const char *apn)

Notifies that a data connection is available and sets the name of the APN to be used for SUPL.

Definition at line 518 of file gps.h.

void(* init)(AGpsCallbacks *callbacks)

Opens the AGPS interface and provides the callback routines to the implemenation of this interface.

Definition at line 513 of file gps.h.

int(* set_server)(AGpsType type, const char *hostname, int port)

Sets the hostname and port for the AGPS server.

Definition at line 530 of file gps.h.

size_t size

set to sizeof(AGpsInterface)

Definition at line 507 of file gps.h.

The documentation for this struct was generated from the following file: