Function
QmiDevicenew_from_node
since: 1.28
Declaration [src]
void
qmi_device_new_from_node (
QrtrNode* node,
GCancellable* cancellable,
GAsyncReadyCallback callback,
gpointer user_data
)
Description [src]
Asynchronously creates a QmiDevice object to manage node.
When the operation is finished, callback will be invoked. You can then call
qmi_device_new_finish() to get the result of the operation.
Available since: 1.28
This function completes asynchronously. Use qmi_device_new_from_node_finish() inside the GAsyncReadyCallback to obtain the result of the operation.
Parameters
node-
Type:
QrtrNodeA
QrtrNode.The data is owned by the caller of the function. cancellable-
Type:
GCancellableOptional
GCancellableobject,NULLto ignore.The argument can be NULL.The data is owned by the caller of the function. callback-
Type:
GAsyncReadyCallbackA
GAsyncReadyCallbackto call when the initialization is finished. user_data-
Type:
gpointerThe data to pass to callback function.
The argument can be NULL.The data is owned by the caller of the function.