Android Hardware Abstraction Layer
Data Fields
GpsNiNotification Struct Reference

#include <gps.h>

Data Fields

size_t size
 
int notification_id
 
GpsNiType ni_type
 
GpsNiNotifyFlags notify_flags
 
int timeout
 
GpsUserResponseType default_response
 
char requestor_id [GPS_NI_SHORT_STRING_MAXLEN]
 
char text [GPS_NI_LONG_STRING_MAXLEN]
 
GpsNiEncodingType requestor_id_encoding
 
GpsNiEncodingType text_encoding
 
char extras [GPS_NI_LONG_STRING_MAXLEN]
 

Detailed Description

Represents an NI request

Definition at line 601 of file gps.h.

Field Documentation

GpsUserResponseType default_response

Default response when time out.

Definition at line 631 of file gps.h.

A pointer to extra data. Format: key_1 = value_1 key_2 = value_2

Definition at line 658 of file gps.h.

GpsNiType ni_type

An NI type used to distinguish different categories of NI events, such as GPS_NI_TYPE_VOICE, GPS_NI_TYPE_UMTS_SUPL, ...

Definition at line 615 of file gps.h.

int notification_id

An ID generated by HAL to associate NI notifications and UI responses

Definition at line 609 of file gps.h.

GpsNiNotifyFlags notify_flags

Notification/verification options, combinations of GpsNiNotifyFlags constants

Definition at line 620 of file gps.h.

char requestor_id[GPS_NI_SHORT_STRING_MAXLEN]

Requestor ID

Definition at line 636 of file gps.h.

GpsNiEncodingType requestor_id_encoding

Client name decoding scheme

Definition at line 646 of file gps.h.

size_t size

set to sizeof(GpsNiNotification)

Definition at line 603 of file gps.h.

Notification message. It can also be used to store client_id in some cases

Definition at line 641 of file gps.h.

GpsNiEncodingType text_encoding

Client name decoding scheme

Definition at line 651 of file gps.h.

int timeout

Timeout period to wait for user response. Set to 0 for no time out limit.

Definition at line 626 of file gps.h.


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