list_sim_slots_sync


Description:

[ Version ( since = "1.16" ) ]
public GenericArray<Sim> list_sim_slots_sync (Cancellable? cancellable = null) throws Error

Synchronously lists the SIM slots available in the Modem.

The returned array contains one element per slot available in the system; a Sim in each of the slots that contains a valid SIM card or null if no SIM card is found.

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

Parameters:

this

A Modem.

cancellable

A Cancellable or null.

Returns:

The array of Sim objects, or null if error is set.