set_preferred_networks
Description:
[ Version ( since = "1.18" ) ]
public async bool set_preferred_networks (List<SimPreferredNetwork> preferred_networks, Cancellable? cancellable) throws Error
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 thread-default main loop of the thread you are calling this
method from. You can then call set_preferred_networks.end to get the result of the operation.
Parameters:
this |
A Sim. |
preferred_networks |
A list of SimPreferredNetwork objects |
cancellable |
A Cancellable or |
callback |
A TaskReadyCallback to call when the request is satisfied or |
user_data |
User data to pass to |