get_status_sync


Description:

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

Synchronously requests a compilation of the status of the modem.

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

Parameters:

this

A ModemSimple.

cancellable

A Cancellable or null.

Returns:

A SimpleStatus, or false if error is set. The returned value must be freed with unref.