Method

QmiMessageNasSetPreferredNetworksInputset_preferred_networks

since: 1.30

Declaration [src]

gboolean
qmi_message_nas_set_preferred_networks_input_set_preferred_networks (
  QmiMessageNasSetPreferredNetworksInput* self,
  GArray* value_preferred_networks,
  GError** error
)

Description [src]

Set the ‘Preferred Networks’ field in the message.

Available since: 1.30

This method is not directly available to language bindings.

The implementation of this method is provided by qmi_message_nas_set_preferred_networks_input_set_preferred_networks_gir() in language bindings.

Parameters

value_preferred_networks

Type: An array of None

A GArray of QmiMessageNasSetPreferredNetworksInputPreferredNetworksElement elements. A new reference to value_preferred_networks will be taken, so the caller must make sure the array was created with the correct GDestroyNotify as clear function for each element in the array.

The data is owned by the caller of the method.
error

Type: GError **

The return location for a recoverable error.

The argument can be NULL.
If the return location is not NULL, then you must initialize it to a NULL GError*.
The argument will be left initialized to NULL by the method if there are no errors.
In case of error, the argument will be set to a newly allocated GError; the caller will take ownership of the data, and be responsible for freeing it.

Return value

Type: gboolean

TRUE if value was successfully set, FALSE otherwise.