libqmi-glib Reference Manual | ||||
---|---|---|---|---|
Top | Description | Object Hierarchy |
enum QmiPdsOperationMode; enum QmiPdsPositionSessionStatus; enum QmiPdsDataValid; enum QmiPdsTrackingSessionState; const gchar * qmi_pds_operation_mode_get_string (QmiPdsOperationMode val
); const gchar * qmi_pds_position_session_status_get_string (QmiPdsPositionSessionStatus val
); gchar * qmi_pds_data_valid_build_string_from_mask (QmiPdsDataValid mask
); const gchar * qmi_pds_tracking_session_state_get_string (QmiPdsTrackingSessionState val
);
GEnum +----QmiPdsOperationMode
GEnum +----QmiPdsPositionSessionStatus
GFlags +----QmiPdsDataValid
GEnum +----QmiPdsTrackingSessionState
typedef enum { QMI_PDS_OPERATION_MODE_UNKNOWN = -1, QMI_PDS_OPERATION_MODE_STANDALONE = 0, QMI_PDS_OPERATION_MODE_MS_BASED = 1, QMI_PDS_OPERATION_MODE_MS_ASSISTED = 2 } QmiPdsOperationMode;
Operation mode used to compute the position.
typedef enum { QMI_PDS_POSITION_SESSION_STATUS_SUCCESS = 0x00, QMI_PDS_POSITION_SESSION_STATUS_IN_PROGRESS = 0x01, QMI_PDS_POSITION_SESSION_STATUS_GENERAL_FAILURE = 0x02, QMI_PDS_POSITION_SESSION_STATUS_TIMEOUT = 0x03, QMI_PDS_POSITION_SESSION_STATUS_USER_ENDED_SESSION = 0x04, QMI_PDS_POSITION_SESSION_STATUS_BAD_PARAMETER = 0x05, QMI_PDS_POSITION_SESSION_STATUS_PHONE_OFFLINE = 0x06, QMI_PDS_POSITION_SESSION_STATUS_ENGINE_LOCKED = 0x07, QMI_PDS_POSITION_SESSION_STATUS_E911_SESSION_IN_PROGRESS = 0x08 } QmiPdsPositionSessionStatus;
Status of the positioning session.
Success. | |
In progress. | |
General failure. | |
Timeout. | |
User ended session. | |
Bad parameter. | |
Phone is offline. | |
Engine locked. | |
Emergency call in progress. |
typedef enum { QMI_PDS_DATA_VALID_TIMESTAMP_CALENDAR = 1 << 0, QMI_PDS_DATA_VALID_TIMESTAMP_UTC = 1 << 1, QMI_PDS_DATA_VALID_LEAP_SECONDS = 1 << 2, QMI_PDS_DATA_VALID_TIME_UNCERTAINTY = 1 << 3, QMI_PDS_DATA_VALID_LATITUDE = 1 << 4, QMI_PDS_DATA_VALID_LONGITUDE = 1 << 5, QMI_PDS_DATA_VALID_ELLIPSOID_ALTITUDE = 1 << 6, QMI_PDS_DATA_VALID_MEAN_SEA_LEVEL_ALTITUDE = 1 << 7, QMI_PDS_DATA_VALID_HORIZONTAL_SPEED = 1 << 8, QMI_PDS_DATA_VALID_VERTICAL_SPEED = 1 << 9, QMI_PDS_DATA_VALID_HEADING = 1 << 10, QMI_PDS_DATA_VALID_HORIZONTAL_UNCERTAINTY_CIRCULAR = 1 << 11, QMI_PDS_DATA_VALID_HORIZONTAL_UNCERTAINTY_ELLIPSE_SEMI_MAJOR = 1 << 12, QMI_PDS_DATA_VALID_HORIZONTAL_UNCERTAINTY_ELLIPSE_SEMI_MINOR = 1 << 13, QMI_PDS_DATA_VALID_HORIZONTAL_UNCERTAINTY_ELLIPSE_ORIENT_AZIMUTH = 1 << 14, QMI_PDS_DATA_VALID_VERTICAL_UNCERTAINTY = 1 << 15, QMI_PDS_DATA_VALID_HORIZONTAL_VELOCITY_UNCERTAINTY = 1 << 16, QMI_PDS_DATA_VALID_VERTICAL_VELOCITY_UNCERTAINTY = 1 << 17, QMI_PDS_DATA_VALID_HORIZONTAL_CONFIDENCE = 1 << 18, QMI_PDS_DATA_VALID_POSITION_DOP = 1 << 19, QMI_PDS_DATA_VALID_HORIZONTAL_DOP = 1 << 20, QMI_PDS_DATA_VALID_VERTICAL_DOP = 1 << 21, QMI_PDS_DATA_VALID_OPERATING_MODE = 1 << 22 } QmiPdsDataValid;
Flags to indicate which position data parameters are valid.
typedef enum { QMI_PDS_TRACKING_SESSION_STATE_UNKNOWN = 0, QMI_PDS_TRACKING_SESSION_STATE_INACTIVE = 1, QMI_PDS_TRACKING_SESSION_STATE_ACTIVE = 2 } QmiPdsTrackingSessionState;
State of the tracking session.
const gchar * qmi_pds_operation_mode_get_string (QmiPdsOperationMode val
);
Gets the nickname string for the QmiPdsOperationMode specified at val
.
|
a QmiPdsOperationMode. |
Returns : |
a string with the nickname, or NULL if not found. Do not free the returned value. [transfer none]
|
const gchar * qmi_pds_position_session_status_get_string
(QmiPdsPositionSessionStatus val
);
Gets the nickname string for the QmiPdsPositionSessionStatus specified at val
.
|
a QmiPdsPositionSessionStatus. |
Returns : |
a string with the nickname, or NULL if not found. Do not free the returned value. [transfer none]
|
gchar * qmi_pds_data_valid_build_string_from_mask
(QmiPdsDataValid mask
);
Builds a string containing a comma-separated list of nicknames for
each QmiPdsDataValid in mask
.
const gchar * qmi_pds_tracking_session_state_get_string
(QmiPdsTrackingSessionState val
);
Gets the nickname string for the QmiPdsTrackingSessionState specified at val
.
|
a QmiPdsTrackingSessionState. |
Returns : |
a string with the nickname, or NULL if not found. Do not free the returned value. [transfer none]
|