connect_sync
Description:
[ Version ( since = "1.0" ) ]
public Bearer connect_sync (SimpleConnectProperties properties, Cancellable? cancellable = null) throws Error
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 |
Returns:
A Bearer, or |