activate_sync


Description:

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

Synchronously requests to provision the modem for use with a given carrier using the modem's OTA activation functionality, if any.

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

Parameters:

this

A ModemCdma.

carrier

Name of the carrier.

cancellable

A Cancellable or null.

Returns:

true if the activation was successful, false if error is set.