connect_sync


Description:

[ Version ( since = "1.0" ) ]
public Bearer connect_sync (SimpleConnectProperties properties, Cancellable? cancellable = null) throws Error

Synchronously requests to connect the modem using the given properties.

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

Parameters:

this

A ModemSimple.

properties

A SimpleConnectProperties bundle.

cancellable

A Cancellable or null.

Returns:

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




2022 vala-language.org