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 839 of file gps.h.

Field Documentation

GpsUserResponseType default_response

Default response when time out.

Definition at line 869 of file gps.h.

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

Definition at line 896 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 853 of file gps.h.

int notification_id

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

Definition at line 847 of file gps.h.

GpsNiNotifyFlags notify_flags

Notification/verification options, combinations of GpsNiNotifyFlags constants

Definition at line 858 of file gps.h.

char requestor_id[GPS_NI_SHORT_STRING_MAXLEN]

Requestor ID

Definition at line 874 of file gps.h.

GpsNiEncodingType requestor_id_encoding

Client name decoding scheme

Definition at line 884 of file gps.h.

size_t size

set to sizeof(GpsNiNotification)

Definition at line 841 of file gps.h.

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

Definition at line 879 of file gps.h.

GpsNiEncodingType text_encoding

Client name decoding scheme

Definition at line 889 of file gps.h.

int timeout

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

Definition at line 864 of file gps.h.


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