set_primary_sim_slot_sync


Description:

[ Version ( since = "1.16" ) ]
public bool set_primary_sim_slot_sync (uint sim_slot, Cancellable? cancellable = null) throws Error

Synchronously requests to select which SIM slot to be considered as primary.

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

Parameters:

this

A Modem.

sim_slot

SIM slot number.

cancellable

A Cancellable or null.

Returns:

true if the SIM slot switch has been successfully requested, false if error is set.