[ Version ( since = "1.18" ) ]
public async bool set_preferred_networks (List<SimPreferredNetwork> preferred_networks, Cancellable? cancellable) throws Error
Asynchronously sets the preferred network list of this Sim.
When the operation is finished, callback will be invoked in the <link linkend="g-main-context-push-thread-default">
thread-default main loop</link> of the thread you are calling this method from. You can then call
set_preferred_networks.end to get the result of the operation.
| this |
A Sim. |
| preferred_networks |
A list of SimPreferredNetwork objects |
| cancellable |
A Cancellable or null. |
| callback |
A TaskReadyCallback to call when the request is satisfied or null. |
| user_data |
User data to pass to |