list_calls_sync


Description:

[ Version ( since = "1.6" ) ]
public List<Call> list_calls_sync (Cancellable? cancellable = null) throws Error

Synchronously lists the Call objects in the modem.

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

Parameters:

this

A ModemVoice.

cancellable

A Cancellable or null.

Returns:

A list of Call 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.




2022 vala-language.org