get_sim_sync


Description:

[ Version ( since = "1.0" ) ]
public Sim get_sim_sync (Cancellable? cancellable = null) throws Error

Synchronously gets the Sim object managed by this Modem.

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

Parameters:

this

A Modem.

cancellable

A Cancellable or null.

Returns:

a Sim or null if error is set. The returned value should be freed with unref.