|  |  |  | libqmi-glib Reference Manual |  | 
|---|---|---|---|---|
| Top | Description | Object Hierarchy | ||||
QmiMessageNasGetCdmaPositionInfoOutput; QmiMessageNasGetCdmaPositionInfoOutputCdmaPositionInfoBasestationsBasestation; QmiMessageNasGetCdmaPositionInfoOutput * qmi_message_nas_get_cdma_position_info_output_ref (QmiMessageNasGetCdmaPositionInfoOutput *self); void qmi_message_nas_get_cdma_position_info_output_unref (QmiMessageNasGetCdmaPositionInfoOutput *self); gboolean qmi_message_nas_get_cdma_position_info_output_get_result (QmiMessageNasGetCdmaPositionInfoOutput *self,GError **error); gboolean qmi_message_nas_get_cdma_position_info_output_get_cdma_position_info (QmiMessageNasGetCdmaPositionInfoOutput *self,gint8 *cdma_position_info_ui_in_idle_mode,GArray **cdma_position_info_basestations,GError **error); void qmi_client_nas_get_cdma_position_info (QmiClientNas *self,gpointer unused,guint timeout,GCancellable *cancellable,GAsyncReadyCallback callback,gpointer user_data); QmiMessageNasGetCdmaPositionInfoOutput * qmi_client_nas_get_cdma_position_info_finish (QmiClientNas *self,GAsyncResult *res,GError **error);
typedef struct _QmiMessageNasGetCdmaPositionInfoOutput QmiMessageNasGetCdmaPositionInfoOutput;
The QmiMessageNasGetCdmaPositionInfoOutput structure contains private data and should only be accessed using the provided API.
typedef struct {
    QmiNasCdmaPilotType pilot_type;
    guint16 system_id;
    guint16 network_id;
    guint16 base_station_id;
    guint16 pilot_pn;
    guint16 pilot_strength;
    gint32 latitude;
    gint32 longitude;
    guint64 gps_time_in_milliseconds;
} QmiMessageNasGetCdmaPositionInfoOutputCdmaPositionInfoBasestationsBasestation;
A QmiMessageNasGetCdmaPositionInfoOutputCdmaPositionInfoBasestationsBasestation struct.
| QmiNasCdmaPilotType  | a QmiNasCdmaPilotType. | 
| guint16  | a guint16. | 
| guint16  | a guint16. | 
| guint16  | a guint16. | 
| guint16  | a guint16. | 
| guint16  | a guint16. | 
| gint32  | a gint32. | 
| gint32  | a gint32. | 
| guint64  | a guint64. | 
QmiMessageNasGetCdmaPositionInfoOutput * qmi_message_nas_get_cdma_position_info_output_ref
                                                        (QmiMessageNasGetCdmaPositionInfoOutput *self);
Atomically increments the reference count of self by one.
| 
 | a QmiMessageNasGetCdmaPositionInfoOutput. | 
| Returns : | the new reference to self. | 
void                qmi_message_nas_get_cdma_position_info_output_unref
                                                        (QmiMessageNasGetCdmaPositionInfoOutput *self);
Atomically decrements the reference count of self by one.
If the reference count drops to 0, self is completely disposed.
| 
 | a QmiMessageNasGetCdmaPositionInfoOutput. | 
gboolean qmi_message_nas_get_cdma_position_info_output_get_result (QmiMessageNasGetCdmaPositionInfoOutput *self,GError **error);
Get the result of the QMI operation.
gboolean qmi_message_nas_get_cdma_position_info_output_get_cdma_position_info (QmiMessageNasGetCdmaPositionInfoOutput *self,gint8 *cdma_position_info_ui_in_idle_mode,GArray **cdma_position_info_basestations,GError **error);
Get the 'CDMA Position Info' field from self.
| 
 | a QmiMessageNasGetCdmaPositionInfoOutput. | 
| 
 | a placeholder for the output gint8, or NULLif not required. | 
| 
 | a placeholder for the output GArray of QmiMessageNasGetCdmaPositionInfoOutputCdmaPositionInfoBasestationsBasestation elements, or NULLif not required. Do not free it, it is owned byself. | 
| 
 | Return location for error or NULL. | 
| Returns : | TRUEif the field is found,FALSEotherwise. | 
void qmi_client_nas_get_cdma_position_info (QmiClientNas *self,gpointer unused,guint timeout,GCancellable *cancellable,GAsyncReadyCallback callback,gpointer user_data);
Asynchronously sends a Get CDMA Position Info request to the device.
When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from.
You can then call qmi_client_nas_get_cdma_position_info_finish() to get the result of the operation.
| 
 | a QmiClientNas. | 
| 
 | NULL. This message doesn't have any input bundle. | 
| 
 | maximum time to wait for the method to complete, in seconds. | 
| 
 | a GCancellable or NULL. | 
| 
 | a GAsyncReadyCallback to call when the request is satisfied. | 
| 
 | user data to pass to callback. | 
QmiMessageNasGetCdmaPositionInfoOutput * qmi_client_nas_get_cdma_position_info_finish (QmiClientNas *self,GAsyncResult *res,GError **error);
Finishes an async operation started with qmi_client_nas_get_cdma_position_info().
| 
 | a QmiClientNas. | 
| 
 | the GAsyncResult obtained from the GAsyncReadyCallback passed to qmi_client_nas_get_cdma_position_info(). | 
| 
 | Return location for error or NULL. | 
| Returns : | a QmiMessageNasGetCdmaPositionInfoOutput, or NULLiferroris set. The returned value should be freed withqmi_message_nas_get_cdma_position_info_output_unref(). |