set_preferred_networks_sync


Description:

[ Version ( since = "1.18" ) ]
public bool set_preferred_networks_sync (List<SimPreferredNetwork> preferred_networks, Cancellable? cancellable = null) throws Error

Synchronously sets the preferred network list of this Sim.

The calling thread is blocked until a reply is received. See set_preferred_networks for the asynchronous version of this method.

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 null.




2022 vala-language.org