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]
GpsNiEncodingType requestor_id_encoding
GpsNiEncodingType text_encoding

Detailed Description

Represents an NI request

Definition at line 878 of file gps.h.

Field Documentation

GpsUserResponseType default_response

Default response when time out.

Definition at line 908 of file gps.h.

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

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

int notification_id

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

Definition at line 886 of file gps.h.

GpsNiNotifyFlags notify_flags

Notification/verification options, combinations of GpsNiNotifyFlags constants

Definition at line 897 of file gps.h.

char requestor_id[GPS_NI_SHORT_STRING_MAXLEN]

Requestor ID

Definition at line 913 of file gps.h.

GpsNiEncodingType requestor_id_encoding

Client name decoding scheme

Definition at line 923 of file gps.h.

size_t size

set to sizeof(GpsNiNotification)

Definition at line 880 of file gps.h.

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

Definition at line 918 of file gps.h.

GpsNiEncodingType text_encoding

Client name decoding scheme

Definition at line 928 of file gps.h.

int timeout

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

Definition at line 903 of file gps.h.

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