get_current_bands


Description:

[ Version ( since = "1.0" ) ]
public bool get_current_bands (out ModemBand[] bands)

Gets the list of radio frequency and technology bands the Modem is currently using when connecting to a network.

For POTS devices, only the ANY band is supported.

Parameters:

this

A Modem.

bands

Return location for the array of ModemBand values. The returned array should be freed with g_free when no longer needed.

n_bands

Return location for the number of values in bands.

Returns:

true if bands and bands.length are set, false otherwise.