list_bearers_sync


Description:

[ Version ( since = "1.0" ) ]
public List<Bearer> list_bearers_sync (Cancellable? cancellable = null) throws Error

Synchronously lists the packet data bearers in the Modem.

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

Parameters:

this

A Modem.

cancellable

A Cancellable or null.

Returns:

The list of Bearer objects, or null if either none found or if error is set.