list_sync


Description:

[ Version ( since = "1.0" ) ]
public List<Sms> list_sync (Cancellable? cancellable = null) throws Error

Synchronously lists the Sms objects in the modem.

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

Parameters:

this

A ModemMessaging.

cancellable

A Cancellable or null.

Returns:

A list of Sms objects, or null if either not found or error is set. The returned value should be freed with g_list_free_full using unref as DestroyNotify function.