LOC GNSS Sv Info indication: libqmi-glib Reference Manual

## LOC GNSS Sv Info indication LOC GNSS Sv Info indication — Methods to manage the LOC GNSS Sv Info indication. |

## Functions

QmiIndicationLocGnssSvInfoOutput * | qmi_indication_loc_gnss_sv_info_output_ref ()
void | qmi_indication_loc_gnss_sv_info_output_unref ()
gboolean | qmi_indication_loc_gnss_sv_info_output_get_list ()
gboolean | qmi_indication_loc_gnss_sv_info_output_get_list_gir ()
gboolean | qmi_indication_loc_gnss_sv_info_output_get_altitude_assumed ()
QmiIndicationLocGnssSvInfoOutput * | qmi_indication_loc_gnss_sv_info_indication_parse ()

## Types and Values

| QmiIndicationLocGnssSvInfoOutput
| QmiIndicationLocGnssSvInfoOutputListElement

## Object Hierarchy

        GBoxed
        ├── QmiIndicationLocGnssSvInfoOutput
        ╰── QmiIndicationLocGnssSvInfoOutputListElement

## Description

Collection of methods to parse indications of the LOC GNSS Sv Info message.

## Functions

### qmi_indication_loc_gnss_sv_info_output_ref ()

    QmiIndicationLocGnssSvInfoOutput *
    qmi_indication_loc_gnss_sv_info_output_ref
                                   (QmiIndicationLocGnssSvInfoOutput *self);

Atomically increments the reference count of `self` by one.

#### Parameters

self | a QmiIndicationLocGnssSvInfoOutput. |

#### Returns

the new reference to `self` .

Since: 1.22

### qmi_indication_loc_gnss_sv_info_output_unref ()

    void
    qmi_indication_loc_gnss_sv_info_output_unref
                                   (QmiIndicationLocGnssSvInfoOutput *self);

Atomically decrements the reference count of `self` by one. If the reference count drops to 0, `self` is completely disposed.

#### Parameters

self | a QmiIndicationLocGnssSvInfoOutput. |

Since: 1.22

### qmi_indication_loc_gnss_sv_info_output_get_list ()

    gboolean
    qmi_indication_loc_gnss_sv_info_output_get_list
                                   (QmiIndicationLocGnssSvInfoOutput *self,
                                    GArray **value_list,
                                    GError **error);

Get the 'List' field from `self` .

[skip]

#### Parameters

self | a QmiIndicationLocGnssSvInfoOutput. |
value_list | a placeholder for the output GArray of QmiIndicationLocGnssSvInfoOutputListElement elements, or `NULL` if not required. Do not free it, it is owned by `self` . | [out][optional][element-type QmiIndicationLocGnssSvInfoOutputListElement][transfer none]
error | Return location for error or `NULL`. |

#### Returns

`TRUE` if the field is found, `FALSE` otherwise.

[skip]

Since: 1.22

### qmi_indication_loc_gnss_sv_info_output_get_list_gir ()

    gboolean
    qmi_indication_loc_gnss_sv_info_output_get_list_gir
                                   (QmiIndicationLocGnssSvInfoOutput *self,
                                    GPtrArray **value_list_ptr,
                                    GError **error);

Get the 'List' field from `self` .

Version of `qmi_indication_loc_gnss_sv_info_output_get_list()` using arrays of pointers to structs instead of arrays of structs, for easier binding in other languages.

[rename-to qmi_indication_loc_gnss_sv_info_output_get_list]

#### Parameters

self | a QmiIndicationLocGnssSvInfoOutput. |
value_list_ptr | a placeholder for the output array of QmiIndicationLocGnssSvInfoOutputListElement elements, or `NULL` if not required. Do not free or modify it, it is owned by `self` . | [out][optional][element-type QmiIndicationLocGnssSvInfoOutputListElement][transfer none]
error | Return location for error or `NULL`. |

#### Returns

`TRUE` if the field is found, `FALSE` otherwise.

[skip]

Since: 1.32

### qmi_indication_loc_gnss_sv_info_output_get_altitude_assumed ()

    gboolean
    qmi_indication_loc_gnss_sv_info_output_get_altitude_assumed
                                   (QmiIndicationLocGnssSvInfoOutput *self,
                                    gboolean *value_altitude_assumed,
                                    GError **error);

Get the 'Altitude Assumed' field from `self` .

#### Parameters

self | a QmiIndicationLocGnssSvInfoOutput. |
value_altitude_assumed | a placeholder for the output gboolean, or `NULL` if not required. | [out][optional]
error | Return location for error or `NULL`. |

#### Returns

`TRUE` if the field is found, `FALSE` otherwise.

[skip]

Since: 1.22

### qmi_indication_loc_gnss_sv_info_indication_parse ()

    QmiIndicationLocGnssSvInfoOutput *
    qmi_indication_loc_gnss_sv_info_indication_parse
                                   (QmiMessage *message,
                                    GError **error);

Parses a QmiMessage and builds a QmiIndicationLocGnssSvInfoOutput out of it. The operation fails if the message is of the wrong type.

#### Parameters

message | a QmiMessage. |
error | return location for error or `NULL`. |

#### Returns

a QmiIndicationLocGnssSvInfoOutput, or `NULL` if `error` is set. The returned value should be freed with `qmi_indication_loc_gnss_sv_info_output_unref()`.

Since: 1.34

## Types and Values

### QmiIndicationLocGnssSvInfoOutput

    typedef struct _QmiIndicationLocGnssSvInfoOutput QmiIndicationLocGnssSvInfoOutput;

The QmiIndicationLocGnssSvInfoOutput structure contains private data and should only be accessed using the provided API.

Since: 1.22

### QmiIndicationLocGnssSvInfoOutputListElement

    typedef struct {
        QmiLocSatelliteValidInformation valid_information;
        QmiLocSystem system;
        guint16 gnss_satellite_id;
        QmiLocHealthStatus health_status;
        QmiLocSatelliteStatus satellite_status;
        QmiLocNavigationData navigation_data;
        gfloat elevation_degrees;
        gfloat azimuth_degrees;
        gfloat signal_to_noise_ratio_bhz;
    } QmiIndicationLocGnssSvInfoOutputListElement;

A QmiIndicationLocGnssSvInfoOutputListElement struct.

#### Members

QmiLocSatelliteValidInformation `valid_information`; | a QmiLocSatelliteValidInformation. |
QmiLocSystem `system`; | a QmiLocSystem. |
guint16 `gnss_satellite_id`; | a guint16. |
QmiLocHealthStatus `health_status`; | a QmiLocHealthStatus. |
QmiLocSatelliteStatus `satellite_status`; | a QmiLocSatelliteStatus. |
QmiLocNavigationData `navigation_data`; | a QmiLocNavigationData. |
gfloat `elevation_degrees`; | a gfloat. |
gfloat `azimuth_degrees`; | a gfloat. |
gfloat `signal_to_noise_ratio_bhz`; | a gfloat. |

Since: 1.22