register_sync


Description:

[ Version ( since = "1.0" ) ]
public bool register_sync (string network_id, Cancellable? cancellable = null) throws Error

Synchronously requests registration with a given mobile network.

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

Parameters:

this

A Modem3gpp.

network_id

The operator ID to register. An empty string can be used to register to the home network.

cancellable

A Cancellable or null.

Returns:

true if the modem was registered, false if error is set.