LOC Get NMEA Types indication

LOC Get NMEA Types indication — Methods to manage the LOC Get NMEA Types indication.

Functions

Types and Values

Object Hierarchy

    GBoxed
    ╰── QmiIndicationLocGetNmeaTypesOutput

Description

Collection of methods to parse indications of the LOC Get NMEA Types message.

Functions

qmi_indication_loc_get_nmea_types_output_ref ()

QmiIndicationLocGetNmeaTypesOutput *
qmi_indication_loc_get_nmea_types_output_ref
                               (QmiIndicationLocGetNmeaTypesOutput *self);

Atomically increments the reference count of self by one.

Parameters

Returns

the new reference to self .

Since: 1.26


qmi_indication_loc_get_nmea_types_output_unref ()

void
qmi_indication_loc_get_nmea_types_output_unref
                               (QmiIndicationLocGetNmeaTypesOutput *self);

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

Parameters

Since: 1.26


qmi_indication_loc_get_nmea_types_output_get_nmea_types ()

gboolean
qmi_indication_loc_get_nmea_types_output_get_nmea_types
                               (QmiIndicationLocGetNmeaTypesOutput *self,
                                QmiLocNmeaType *value_nmea_types,
                                GError **error);

Get the 'NMEA Types' field from self .

Parameters

self

a QmiIndicationLocGetNmeaTypesOutput.

 

value_nmea_types

a placeholder for the output QmiLocNmeaType, 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.26


qmi_indication_loc_get_nmea_types_output_get_indication_status ()

gboolean
qmi_indication_loc_get_nmea_types_output_get_indication_status
                               (QmiIndicationLocGetNmeaTypesOutput *self,
                                QmiLocIndicationStatus *value_indication_status,
                                GError **error);

Get the 'Indication Status' field from self .

Parameters

self

a QmiIndicationLocGetNmeaTypesOutput.

 

value_indication_status

a placeholder for the output QmiLocIndicationStatus, 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.26


qmi_indication_loc_get_nmea_types_indication_parse ()

QmiIndicationLocGetNmeaTypesOutput *
qmi_indication_loc_get_nmea_types_indication_parse
                               (QmiMessage *message,
                                GError **error);

Parses a QmiMessage and builds a QmiIndicationLocGetNmeaTypesOutput 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 QmiIndicationLocGetNmeaTypesOutput, or NULL if error is set. The returned value should be freed with qmi_indication_loc_get_nmea_types_output_unref().

Since: 1.34

Types and Values

QmiIndicationLocGetNmeaTypesOutput

typedef struct _QmiIndicationLocGetNmeaTypesOutput QmiIndicationLocGetNmeaTypesOutput;

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

Since: 1.26