libqmi-glib Reference Manual | ||||
---|---|---|---|---|
Top | Description | Object Hierarchy |
QmiMessagePbmIndicationRegisterInput; QmiMessagePbmIndicationRegisterOutput; QmiMessagePbmIndicationRegisterInput * qmi_message_pbm_indication_register_input_new (void
); QmiMessagePbmIndicationRegisterInput * qmi_message_pbm_indication_register_input_ref (QmiMessagePbmIndicationRegisterInput *self
); void qmi_message_pbm_indication_register_input_unref (QmiMessagePbmIndicationRegisterInput *self
); gboolean qmi_message_pbm_indication_register_input_get_event_registration_mask (QmiMessagePbmIndicationRegisterInput *self
,QmiPbmEventRegistrationFlag *event_registration_mask
,GError **error
); gboolean qmi_message_pbm_indication_register_input_set_event_registration_mask (QmiMessagePbmIndicationRegisterInput *self
,QmiPbmEventRegistrationFlag event_registration_mask
,GError **error
); QmiMessagePbmIndicationRegisterOutput * qmi_message_pbm_indication_register_output_ref (QmiMessagePbmIndicationRegisterOutput *self
); void qmi_message_pbm_indication_register_output_unref (QmiMessagePbmIndicationRegisterOutput *self
); gboolean qmi_message_pbm_indication_register_output_get_result (QmiMessagePbmIndicationRegisterOutput *self
,GError **error
); gboolean qmi_message_pbm_indication_register_output_get_event_registration_mask (QmiMessagePbmIndicationRegisterOutput *self
,QmiPbmEventRegistrationFlag *event_registration_mask
,GError **error
); void qmi_client_pbm_indication_register (QmiClientPbm *self
,QmiMessagePbmIndicationRegisterInput *input
,guint timeout
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
); QmiMessagePbmIndicationRegisterOutput * qmi_client_pbm_indication_register_finish (QmiClientPbm *self
,GAsyncResult *res
,GError **error
);
GBoxed +----QmiMessagePbmIndicationRegisterInput
GBoxed +----QmiMessagePbmIndicationRegisterOutput
typedef struct _QmiMessagePbmIndicationRegisterInput QmiMessagePbmIndicationRegisterInput;
The QmiMessagePbmIndicationRegisterInput structure contains private data and should only be accessed using the provided API.
typedef struct _QmiMessagePbmIndicationRegisterOutput QmiMessagePbmIndicationRegisterOutput;
The QmiMessagePbmIndicationRegisterOutput structure contains private data and should only be accessed using the provided API.
QmiMessagePbmIndicationRegisterInput * qmi_message_pbm_indication_register_input_new
(void
);
Allocates a new QmiMessagePbmIndicationRegisterInput.
Returns : |
the newly created QmiMessagePbmIndicationRegisterInput. The returned value should be freed with qmi_message_pbm_indication_register_input_unref() . |
QmiMessagePbmIndicationRegisterInput * qmi_message_pbm_indication_register_input_ref
(QmiMessagePbmIndicationRegisterInput *self
);
Atomically increments the reference count of self
by one.
|
a QmiMessagePbmIndicationRegisterInput. |
Returns : |
the new reference to self . |
void qmi_message_pbm_indication_register_input_unref
(QmiMessagePbmIndicationRegisterInput *self
);
Atomically decrements the reference count of self
by one.
If the reference count drops to 0, self
is completely disposed.
|
a QmiMessagePbmIndicationRegisterInput. |
gboolean qmi_message_pbm_indication_register_input_get_event_registration_mask (QmiMessagePbmIndicationRegisterInput *self
,QmiPbmEventRegistrationFlag *event_registration_mask
,GError **error
);
Get the 'Event Registration Mask' field from self
.
|
a QmiMessagePbmIndicationRegisterInput. |
|
a placeholder for the output QmiPbmEventRegistrationFlag, or NULL if not required. |
|
Return location for error or NULL . |
Returns : |
TRUE if the field is found, FALSE otherwise. |
gboolean qmi_message_pbm_indication_register_input_set_event_registration_mask (QmiMessagePbmIndicationRegisterInput *self
,QmiPbmEventRegistrationFlag event_registration_mask
,GError **error
);
Set the 'Event Registration Mask' field in the message.
|
a QmiMessagePbmIndicationRegisterInput. |
|
a QmiPbmEventRegistrationFlag. |
|
Return location for error or NULL . |
Returns : |
TRUE if value was successfully set, FALSE otherwise. |
QmiMessagePbmIndicationRegisterOutput * qmi_message_pbm_indication_register_output_ref
(QmiMessagePbmIndicationRegisterOutput *self
);
Atomically increments the reference count of self
by one.
|
a QmiMessagePbmIndicationRegisterOutput. |
Returns : |
the new reference to self . |
void qmi_message_pbm_indication_register_output_unref
(QmiMessagePbmIndicationRegisterOutput *self
);
Atomically decrements the reference count of self
by one.
If the reference count drops to 0, self
is completely disposed.
|
a QmiMessagePbmIndicationRegisterOutput. |
gboolean qmi_message_pbm_indication_register_output_get_result (QmiMessagePbmIndicationRegisterOutput *self
,GError **error
);
Get the result of the QMI operation.
gboolean qmi_message_pbm_indication_register_output_get_event_registration_mask (QmiMessagePbmIndicationRegisterOutput *self
,QmiPbmEventRegistrationFlag *event_registration_mask
,GError **error
);
Get the 'Event Registration Mask' field from self
.
|
a QmiMessagePbmIndicationRegisterOutput. |
|
a placeholder for the output QmiPbmEventRegistrationFlag, or NULL if not required. |
|
Return location for error or NULL . |
Returns : |
TRUE if the field is found, FALSE otherwise. |
void qmi_client_pbm_indication_register (QmiClientPbm *self
,QmiMessagePbmIndicationRegisterInput *input
,guint timeout
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously sends a Indication Register 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_pbm_indication_register_finish()
to get the result of the operation.
|
a QmiClientPbm. |
|
a QmiMessagePbmIndicationRegisterInput. |
|
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 . |
QmiMessagePbmIndicationRegisterOutput * qmi_client_pbm_indication_register_finish (QmiClientPbm *self
,GAsyncResult *res
,GError **error
);
Finishes an async operation started with qmi_client_pbm_indication_register()
.
|
a QmiClientPbm. |
|
the GAsyncResult obtained from the GAsyncReadyCallback passed to qmi_client_pbm_indication_register() . |
|
Return location for error or NULL . |
Returns : |
a QmiMessagePbmIndicationRegisterOutput, or NULL if error is set. The returned value should be freed with qmi_message_pbm_indication_register_output_unref() . |