libqmi-glib Reference Manual | ||||
---|---|---|---|---|
Top | Description | Object Hierarchy |
QmiMessageDmsSetEventReportInput; QmiMessageDmsSetEventReportOutput; QmiMessageDmsSetEventReportInput * qmi_message_dms_set_event_report_input_new (void
); QmiMessageDmsSetEventReportInput * qmi_message_dms_set_event_report_input_ref (QmiMessageDmsSetEventReportInput *self
); void qmi_message_dms_set_event_report_input_unref (QmiMessageDmsSetEventReportInput *self
); gboolean qmi_message_dms_set_event_report_input_get_prl_init_reporting (QmiMessageDmsSetEventReportInput *self
,gboolean *prl_init_reporting
,GError **error
); gboolean qmi_message_dms_set_event_report_input_set_prl_init_reporting (QmiMessageDmsSetEventReportInput *self
,gboolean prl_init_reporting
,GError **error
); gboolean qmi_message_dms_set_event_report_input_get_wireless_disable_state_reporting (QmiMessageDmsSetEventReportInput *self
,gboolean *wireless_disable_state_reporting
,GError **error
); gboolean qmi_message_dms_set_event_report_input_set_wireless_disable_state_reporting (QmiMessageDmsSetEventReportInput *self
,gboolean wireless_disable_state_reporting
,GError **error
); gboolean qmi_message_dms_set_event_report_input_get_uim_state_reporting (QmiMessageDmsSetEventReportInput *self
,gboolean *uim_state_reporting
,GError **error
); gboolean qmi_message_dms_set_event_report_input_set_uim_state_reporting (QmiMessageDmsSetEventReportInput *self
,gboolean uim_state_reporting
,GError **error
); gboolean qmi_message_dms_set_event_report_input_get_operating_mode_reporting (QmiMessageDmsSetEventReportInput *self
,gboolean *operating_mode_reporting
,GError **error
); gboolean qmi_message_dms_set_event_report_input_set_operating_mode_reporting (QmiMessageDmsSetEventReportInput *self
,gboolean operating_mode_reporting
,GError **error
); gboolean qmi_message_dms_set_event_report_input_get_activation_state_reporting (QmiMessageDmsSetEventReportInput *self
,gboolean *activation_state_reporting
,GError **error
); gboolean qmi_message_dms_set_event_report_input_set_activation_state_reporting (QmiMessageDmsSetEventReportInput *self
,gboolean activation_state_reporting
,GError **error
); gboolean qmi_message_dms_set_event_report_input_get_pin_state_reporting (QmiMessageDmsSetEventReportInput *self
,gboolean *pin_state_reporting
,GError **error
); gboolean qmi_message_dms_set_event_report_input_set_pin_state_reporting (QmiMessageDmsSetEventReportInput *self
,gboolean pin_state_reporting
,GError **error
); gboolean qmi_message_dms_set_event_report_input_get_battery_level_report_limits (QmiMessageDmsSetEventReportInput *self
,guint8 *battery_level_report_limits_lower_limit
,guint8 *battery_level_report_limits_upper_limit
,GError **error
); gboolean qmi_message_dms_set_event_report_input_set_battery_level_report_limits (QmiMessageDmsSetEventReportInput *self
,guint8 battery_level_report_limits_lower_limit
,guint8 battery_level_report_limits_upper_limit
,GError **error
); gboolean qmi_message_dms_set_event_report_input_get_power_state_reporting (QmiMessageDmsSetEventReportInput *self
,gboolean *power_state_reporting
,GError **error
); gboolean qmi_message_dms_set_event_report_input_set_power_state_reporting (QmiMessageDmsSetEventReportInput *self
,gboolean power_state_reporting
,GError **error
); QmiMessageDmsSetEventReportOutput * qmi_message_dms_set_event_report_output_ref (QmiMessageDmsSetEventReportOutput *self
); void qmi_message_dms_set_event_report_output_unref (QmiMessageDmsSetEventReportOutput *self
); gboolean qmi_message_dms_set_event_report_output_get_result (QmiMessageDmsSetEventReportOutput *self
,GError **error
); void qmi_client_dms_set_event_report (QmiClientDms *self
,QmiMessageDmsSetEventReportInput *input
,guint timeout
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
); QmiMessageDmsSetEventReportOutput * qmi_client_dms_set_event_report_finish (QmiClientDms *self
,GAsyncResult *res
,GError **error
);
GBoxed +----QmiMessageDmsSetEventReportInput
GBoxed +----QmiMessageDmsSetEventReportOutput
typedef struct _QmiMessageDmsSetEventReportInput QmiMessageDmsSetEventReportInput;
The QmiMessageDmsSetEventReportInput structure contains private data and should only be accessed using the provided API.
typedef struct _QmiMessageDmsSetEventReportOutput QmiMessageDmsSetEventReportOutput;
The QmiMessageDmsSetEventReportOutput structure contains private data and should only be accessed using the provided API.
QmiMessageDmsSetEventReportInput * qmi_message_dms_set_event_report_input_new
(void
);
Allocates a new QmiMessageDmsSetEventReportInput.
Returns : |
the newly created QmiMessageDmsSetEventReportInput. The returned value should be freed with qmi_message_dms_set_event_report_input_unref() . |
QmiMessageDmsSetEventReportInput * qmi_message_dms_set_event_report_input_ref
(QmiMessageDmsSetEventReportInput *self
);
Atomically increments the reference count of self
by one.
|
a QmiMessageDmsSetEventReportInput. |
Returns : |
the new reference to self . |
void qmi_message_dms_set_event_report_input_unref
(QmiMessageDmsSetEventReportInput *self
);
Atomically decrements the reference count of self
by one.
If the reference count drops to 0, self
is completely disposed.
|
a QmiMessageDmsSetEventReportInput. |
gboolean qmi_message_dms_set_event_report_input_get_prl_init_reporting (QmiMessageDmsSetEventReportInput *self
,gboolean *prl_init_reporting
,GError **error
);
Get the 'PRL Init Reporting' field from self
.
gboolean qmi_message_dms_set_event_report_input_set_prl_init_reporting (QmiMessageDmsSetEventReportInput *self
,gboolean prl_init_reporting
,GError **error
);
Set the 'PRL Init Reporting' field in the message.
|
a QmiMessageDmsSetEventReportInput. |
|
a gboolean. |
|
Return location for error or NULL . |
Returns : |
TRUE if value was successfully set, FALSE otherwise. |
gboolean qmi_message_dms_set_event_report_input_get_wireless_disable_state_reporting (QmiMessageDmsSetEventReportInput *self
,gboolean *wireless_disable_state_reporting
,GError **error
);
Get the 'Wireless Disable State Reporting' field from self
.
gboolean qmi_message_dms_set_event_report_input_set_wireless_disable_state_reporting (QmiMessageDmsSetEventReportInput *self
,gboolean wireless_disable_state_reporting
,GError **error
);
Set the 'Wireless Disable State Reporting' field in the message.
|
a QmiMessageDmsSetEventReportInput. |
|
a gboolean. |
|
Return location for error or NULL . |
Returns : |
TRUE if value was successfully set, FALSE otherwise. |
gboolean qmi_message_dms_set_event_report_input_get_uim_state_reporting (QmiMessageDmsSetEventReportInput *self
,gboolean *uim_state_reporting
,GError **error
);
Get the 'UIM State Reporting' field from self
.
gboolean qmi_message_dms_set_event_report_input_set_uim_state_reporting (QmiMessageDmsSetEventReportInput *self
,gboolean uim_state_reporting
,GError **error
);
Set the 'UIM State Reporting' field in the message.
|
a QmiMessageDmsSetEventReportInput. |
|
a gboolean. |
|
Return location for error or NULL . |
Returns : |
TRUE if value was successfully set, FALSE otherwise. |
gboolean qmi_message_dms_set_event_report_input_get_operating_mode_reporting (QmiMessageDmsSetEventReportInput *self
,gboolean *operating_mode_reporting
,GError **error
);
Get the 'Operating Mode Reporting' field from self
.
gboolean qmi_message_dms_set_event_report_input_set_operating_mode_reporting (QmiMessageDmsSetEventReportInput *self
,gboolean operating_mode_reporting
,GError **error
);
Set the 'Operating Mode Reporting' field in the message.
|
a QmiMessageDmsSetEventReportInput. |
|
a gboolean. |
|
Return location for error or NULL . |
Returns : |
TRUE if value was successfully set, FALSE otherwise. |
gboolean qmi_message_dms_set_event_report_input_get_activation_state_reporting (QmiMessageDmsSetEventReportInput *self
,gboolean *activation_state_reporting
,GError **error
);
Get the 'Activation State Reporting' field from self
.
gboolean qmi_message_dms_set_event_report_input_set_activation_state_reporting (QmiMessageDmsSetEventReportInput *self
,gboolean activation_state_reporting
,GError **error
);
Set the 'Activation State Reporting' field in the message.
|
a QmiMessageDmsSetEventReportInput. |
|
a gboolean. |
|
Return location for error or NULL . |
Returns : |
TRUE if value was successfully set, FALSE otherwise. |
gboolean qmi_message_dms_set_event_report_input_get_pin_state_reporting (QmiMessageDmsSetEventReportInput *self
,gboolean *pin_state_reporting
,GError **error
);
Get the 'PIN State Reporting' field from self
.
gboolean qmi_message_dms_set_event_report_input_set_pin_state_reporting (QmiMessageDmsSetEventReportInput *self
,gboolean pin_state_reporting
,GError **error
);
Set the 'PIN State Reporting' field in the message.
|
a QmiMessageDmsSetEventReportInput. |
|
a gboolean. |
|
Return location for error or NULL . |
Returns : |
TRUE if value was successfully set, FALSE otherwise. |
gboolean qmi_message_dms_set_event_report_input_get_battery_level_report_limits (QmiMessageDmsSetEventReportInput *self
,guint8 *battery_level_report_limits_lower_limit
,guint8 *battery_level_report_limits_upper_limit
,GError **error
);
Get the 'Battery Level Report Limits' field from self
.
|
a QmiMessageDmsSetEventReportInput. |
|
a placeholder for the output guint8, or NULL if not required. |
|
a placeholder for the output guint8, or NULL if not required. |
|
Return location for error or NULL . |
Returns : |
TRUE if the field is found, FALSE otherwise. |
gboolean qmi_message_dms_set_event_report_input_set_battery_level_report_limits (QmiMessageDmsSetEventReportInput *self
,guint8 battery_level_report_limits_lower_limit
,guint8 battery_level_report_limits_upper_limit
,GError **error
);
Set the 'Battery Level Report Limits' field in the message.
gboolean qmi_message_dms_set_event_report_input_get_power_state_reporting (QmiMessageDmsSetEventReportInput *self
,gboolean *power_state_reporting
,GError **error
);
Get the 'Power State Reporting' field from self
.
gboolean qmi_message_dms_set_event_report_input_set_power_state_reporting (QmiMessageDmsSetEventReportInput *self
,gboolean power_state_reporting
,GError **error
);
Set the 'Power State Reporting' field in the message.
|
a QmiMessageDmsSetEventReportInput. |
|
a gboolean. |
|
Return location for error or NULL . |
Returns : |
TRUE if value was successfully set, FALSE otherwise. |
QmiMessageDmsSetEventReportOutput * qmi_message_dms_set_event_report_output_ref
(QmiMessageDmsSetEventReportOutput *self
);
Atomically increments the reference count of self
by one.
|
a QmiMessageDmsSetEventReportOutput. |
Returns : |
the new reference to self . |
void qmi_message_dms_set_event_report_output_unref
(QmiMessageDmsSetEventReportOutput *self
);
Atomically decrements the reference count of self
by one.
If the reference count drops to 0, self
is completely disposed.
|
a QmiMessageDmsSetEventReportOutput. |
gboolean qmi_message_dms_set_event_report_output_get_result (QmiMessageDmsSetEventReportOutput *self
,GError **error
);
Get the result of the QMI operation.
void qmi_client_dms_set_event_report (QmiClientDms *self
,QmiMessageDmsSetEventReportInput *input
,guint timeout
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously sends a Set Event Report 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_dms_set_event_report_finish()
to get the result of the operation.
|
a QmiClientDms. |
|
a QmiMessageDmsSetEventReportInput. |
|
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 . |
QmiMessageDmsSetEventReportOutput * qmi_client_dms_set_event_report_finish (QmiClientDms *self
,GAsyncResult *res
,GError **error
);
Finishes an async operation started with qmi_client_dms_set_event_report()
.
|
a QmiClientDms. |
|
the GAsyncResult obtained from the GAsyncReadyCallback passed to qmi_client_dms_set_event_report() . |
|
Return location for error or NULL . |
Returns : |
a QmiMessageDmsSetEventReportOutput, or NULL if error is set. The returned value should be freed with qmi_message_dms_set_event_report_output_unref() . |