Top |
QmiMessageDmsSetEventReportInput *
qmi_message_dms_set_event_report_input_new
(void
);
Allocates a new QmiMessageDmsSetEventReportInput.
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.
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.
gboolean qmi_message_dms_set_event_report_input_get_prl_init_reporting (QmiMessageDmsSetEventReportInput *self
,gboolean *value_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 value_prl_init_reporting
,GError **error
);
Set the 'PRL Init Reporting' field in the message.
gboolean qmi_message_dms_set_event_report_input_get_wireless_disable_state_reporting (QmiMessageDmsSetEventReportInput *self
,gboolean *value_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 value_wireless_disable_state_reporting
,GError **error
);
Set the 'Wireless Disable State Reporting' field in the message.
gboolean qmi_message_dms_set_event_report_input_get_uim_state_reporting (QmiMessageDmsSetEventReportInput *self
,gboolean *value_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 value_uim_state_reporting
,GError **error
);
Set the 'UIM State Reporting' field in the message.
gboolean qmi_message_dms_set_event_report_input_get_operating_mode_reporting (QmiMessageDmsSetEventReportInput *self
,gboolean *value_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 value_operating_mode_reporting
,GError **error
);
Set the 'Operating Mode Reporting' field in the message.
gboolean qmi_message_dms_set_event_report_input_get_activation_state_reporting (QmiMessageDmsSetEventReportInput *self
,gboolean *value_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 value_activation_state_reporting
,GError **error
);
Set the 'Activation State Reporting' field in the message.
gboolean qmi_message_dms_set_event_report_input_get_pin_state_reporting (QmiMessageDmsSetEventReportInput *self
,gboolean *value_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 value_pin_state_reporting
,GError **error
);
Set the 'PIN State Reporting' field in the message.
gboolean qmi_message_dms_set_event_report_input_get_battery_level_report_limits (QmiMessageDmsSetEventReportInput *self
,guint8 *value_battery_level_report_limits_lower_limit
,guint8 *value_battery_level_report_limits_upper_limit
,GError **error
);
Get the 'Battery Level Report Limits' field from self
.
gboolean qmi_message_dms_set_event_report_input_set_battery_level_report_limits (QmiMessageDmsSetEventReportInput *self
,guint8 value_battery_level_report_limits_lower_limit
,guint8 value_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 *value_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 value_power_state_reporting
,GError **error
);
Set the 'Power State Reporting' field in the message.
QmiMessageDmsSetEventReportOutput *
qmi_message_dms_set_event_report_output_ref
(QmiMessageDmsSetEventReportOutput *self
);
Atomically increments the reference count of self
by one.
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.
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.
self |
a QmiClientDms. |
|
input |
||
timeout |
maximum time to wait for the method to complete, in seconds. |
|
cancellable |
a GCancellable or |
|
callback |
a GAsyncReadyCallback to call when the request is satisfied. |
|
user_data |
user data to pass to |
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()
.
self |
a QmiClientDms. |
|
res |
the GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
a QmiMessageDmsSetEventReportOutput, or NULL
if error
is set. The returned value should be freed with qmi_message_dms_set_event_report_output_unref()
.
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.