| libqmi-glib Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | ||||
QmiMessageWdsGetPdnThrottleInfoInput; QmiMessageWdsGetPdnThrottleInfoOutput; QmiMessageWdsGetPdnThrottleInfoOutputInfoElement; QmiMessageWdsGetPdnThrottleInfoInput * qmi_message_wds_get_pdn_throttle_info_input_new (void); QmiMessageWdsGetPdnThrottleInfoInput * qmi_message_wds_get_pdn_throttle_info_input_ref (QmiMessageWdsGetPdnThrottleInfoInput *self); void qmi_message_wds_get_pdn_throttle_info_input_unref (QmiMessageWdsGetPdnThrottleInfoInput *self); gboolean qmi_message_wds_get_pdn_throttle_info_input_get_network_type (QmiMessageWdsGetPdnThrottleInfoInput *self,QmiWdsDataSystemNetworkType *value_network_type,GError **error); gboolean qmi_message_wds_get_pdn_throttle_info_input_set_network_type (QmiMessageWdsGetPdnThrottleInfoInput *self,QmiWdsDataSystemNetworkType value_network_type,GError **error); QmiMessageWdsGetPdnThrottleInfoOutput * qmi_message_wds_get_pdn_throttle_info_output_ref (QmiMessageWdsGetPdnThrottleInfoOutput *self); void qmi_message_wds_get_pdn_throttle_info_output_unref (QmiMessageWdsGetPdnThrottleInfoOutput *self); gboolean qmi_message_wds_get_pdn_throttle_info_output_get_result (QmiMessageWdsGetPdnThrottleInfoOutput *self,GError **error); gboolean qmi_message_wds_get_pdn_throttle_info_output_get_info (QmiMessageWdsGetPdnThrottleInfoOutput *self,GArray **value_info,GError **error); void qmi_client_wds_get_pdn_throttle_info (QmiClientWds *self,QmiMessageWdsGetPdnThrottleInfoInput *input,guint timeout,GCancellable *cancellable,GAsyncReadyCallback callback,gpointer user_data); QmiMessageWdsGetPdnThrottleInfoOutput * qmi_client_wds_get_pdn_throttle_info_finish (QmiClientWds *self,GAsyncResult *res,GError **error);
GBoxed +----QmiMessageWdsGetPdnThrottleInfoInput
GBoxed +----QmiMessageWdsGetPdnThrottleInfoOutput
typedef struct _QmiMessageWdsGetPdnThrottleInfoInput QmiMessageWdsGetPdnThrottleInfoInput;
The QmiMessageWdsGetPdnThrottleInfoInput structure contains private data and should only be accessed using the provided API.
typedef struct _QmiMessageWdsGetPdnThrottleInfoOutput QmiMessageWdsGetPdnThrottleInfoOutput;
The QmiMessageWdsGetPdnThrottleInfoOutput structure contains private data and should only be accessed using the provided API.
typedef struct {
gboolean ipv4_throttled;
gboolean ipv6_throttled;
guint32 ipv4_throttle_time_left_ms;
guint32 ipv6_throttle_time_left_ms;
gchar *apn;
} QmiMessageWdsGetPdnThrottleInfoOutputInfoElement;
A QmiMessageWdsGetPdnThrottleInfoOutputInfoElement struct.
QmiMessageWdsGetPdnThrottleInfoInput * qmi_message_wds_get_pdn_throttle_info_input_new
(void);
Allocates a new QmiMessageWdsGetPdnThrottleInfoInput.
Returns : |
the newly created QmiMessageWdsGetPdnThrottleInfoInput. The returned value should be freed with qmi_message_wds_get_pdn_throttle_info_input_unref(). |
QmiMessageWdsGetPdnThrottleInfoInput * qmi_message_wds_get_pdn_throttle_info_input_ref
(QmiMessageWdsGetPdnThrottleInfoInput *self);
Atomically increments the reference count of self by one.
|
a QmiMessageWdsGetPdnThrottleInfoInput. |
Returns : |
the new reference to self. |
void qmi_message_wds_get_pdn_throttle_info_input_unref
(QmiMessageWdsGetPdnThrottleInfoInput *self);
Atomically decrements the reference count of self by one.
If the reference count drops to 0, self is completely disposed.
|
a QmiMessageWdsGetPdnThrottleInfoInput. |
gboolean qmi_message_wds_get_pdn_throttle_info_input_get_network_type (QmiMessageWdsGetPdnThrottleInfoInput *self,QmiWdsDataSystemNetworkType *value_network_type,GError **error);
Get the 'Network Type' field from self.
|
a QmiMessageWdsGetPdnThrottleInfoInput. |
|
a placeholder for the output QmiWdsDataSystemNetworkType, or NULL if not required. |
|
Return location for error or NULL. |
Returns : |
TRUE if the field is found, FALSE otherwise. |
gboolean qmi_message_wds_get_pdn_throttle_info_input_set_network_type (QmiMessageWdsGetPdnThrottleInfoInput *self,QmiWdsDataSystemNetworkType value_network_type,GError **error);
Set the 'Network Type' field in the message.
|
a QmiMessageWdsGetPdnThrottleInfoInput. |
|
a QmiWdsDataSystemNetworkType. |
|
Return location for error or NULL. |
Returns : |
TRUE if value was successfully set, FALSE otherwise. |
QmiMessageWdsGetPdnThrottleInfoOutput * qmi_message_wds_get_pdn_throttle_info_output_ref
(QmiMessageWdsGetPdnThrottleInfoOutput *self);
Atomically increments the reference count of self by one.
|
a QmiMessageWdsGetPdnThrottleInfoOutput. |
Returns : |
the new reference to self. |
void qmi_message_wds_get_pdn_throttle_info_output_unref
(QmiMessageWdsGetPdnThrottleInfoOutput *self);
Atomically decrements the reference count of self by one.
If the reference count drops to 0, self is completely disposed.
|
a QmiMessageWdsGetPdnThrottleInfoOutput. |
gboolean qmi_message_wds_get_pdn_throttle_info_output_get_result (QmiMessageWdsGetPdnThrottleInfoOutput *self,GError **error);
Get the result of the QMI operation.
|
a QmiMessageWdsGetPdnThrottleInfoOutput. |
|
Return location for error or NULL. |
Returns : |
TRUE if the QMI operation succeeded, FALSE if error is set. |
gboolean qmi_message_wds_get_pdn_throttle_info_output_get_info (QmiMessageWdsGetPdnThrottleInfoOutput *self,GArray **value_info,GError **error);
Get the 'Info' field from self.
|
a QmiMessageWdsGetPdnThrottleInfoOutput. |
|
a placeholder for the output GArray of QmiMessageWdsGetPdnThrottleInfoOutputInfoElement elements, or NULL if not required. Do not free it, it is owned by self. |
|
Return location for error or NULL. |
Returns : |
TRUE if the field is found, FALSE otherwise. |
void qmi_client_wds_get_pdn_throttle_info (QmiClientWds *self,QmiMessageWdsGetPdnThrottleInfoInput *input,guint timeout,GCancellable *cancellable,GAsyncReadyCallback callback,gpointer user_data);
Asynchronously sends a Get PDN Throttle 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_wds_get_pdn_throttle_info_finish() to get the result of the operation.
|
a QmiClientWds. |
|
a QmiMessageWdsGetPdnThrottleInfoInput. |
|
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. |
QmiMessageWdsGetPdnThrottleInfoOutput * qmi_client_wds_get_pdn_throttle_info_finish (QmiClientWds *self,GAsyncResult *res,GError **error);
Finishes an async operation started with qmi_client_wds_get_pdn_throttle_info().
|
a QmiClientWds. |
|
the GAsyncResult obtained from the GAsyncReadyCallback passed to qmi_client_wds_get_pdn_throttle_info(). |
|
Return location for error or NULL. |
Returns : |
a QmiMessageWdsGetPdnThrottleInfoOutput, or NULL if error is set. The returned value should be freed with qmi_message_wds_get_pdn_throttle_info_output_unref(). |